Versions in this module Expand all Collapse all v0 v0.0.1 Feb 5, 2025 Changes in this version + func Validate(schema Definition, data any) bool + func VerifySchemaAndUnmarshal(schema Definition, content []byte, v any) error + type DataType string + const Array + const Boolean + const Integer + const Null + const Number + const Object + const String + type Definition struct + AdditionalProperties any + Description string + Enum []string + Items *Definition + Properties map[string]Definition + Required []string + Type DataType + func GenerateSchemaForType(v any) (*Definition, error) + func (d *Definition) MarshalJSON() ([]byte, error) + func (d *Definition) Unmarshal(content string, v any) error