Versions in this module Expand all Collapse all v0 v0.2.0 Jul 11, 2025 v0.1.0 Jul 1, 2025 Changes in this version + func Equal(x, y any) bool + func Ptr[T any](x T) *T + type Loader func(uri *url.URL) (*Schema, error) + type ResolveOptions struct + BaseURI string + Loader Loader + ValidateDefaults bool + type Resolved struct + func (r *Resolved) Schema() *Schema + func (rs *Resolved) ApplyDefaults(instancep any) error + func (rs *Resolved) Validate(instance any) error + type Schema struct + AdditionalItems *Schema + AdditionalProperties *Schema + AllOf []*Schema + Anchor string + AnyOf []*Schema + Comment string + Const *any + Contains *Schema + ContentEncoding string + ContentMediaType string + ContentSchema *Schema + Default json.RawMessage + Definitions map[string]*Schema + Defs map[string]*Schema + DependentRequired map[string][]string + DependentSchemas map[string]*Schema + Deprecated bool + Description string + DynamicAnchor string + DynamicRef string + Else *Schema + Enum []any + Examples []any + ExclusiveMaximum *float64 + ExclusiveMinimum *float64 + Extra map[string]any + Format string + ID string + If *Schema + Items *Schema + MaxContains *int + MaxItems *int + MaxLength *int + MaxProperties *int + Maximum *float64 + MinContains *int + MinItems *int + MinLength *int + MinProperties *int + Minimum *float64 + MultipleOf *float64 + Not *Schema + OneOf []*Schema + Pattern string + PatternProperties map[string]*Schema + PrefixItems []*Schema + Properties map[string]*Schema + PropertyNames *Schema + ReadOnly bool + Ref string + Required []string + Schema string + Then *Schema + Title string + Type string + Types []string + UnevaluatedItems *Schema + UnevaluatedProperties *Schema + UniqueItems bool + Vocabulary map[string]bool + WriteOnly bool + func For[T any]() (*Schema, error) + func (root *Schema) Resolve(opts *ResolveOptions) (*Resolved, error) + func (s *Schema) MarshalJSON() ([]byte, error) + func (s *Schema) ResolvedRef() *Schema + func (s *Schema) String() string + func (s *Schema) UnmarshalJSON(data []byte) error