Documentation ¶
Index ¶
- type AdditionalItems
- type AdditionalProperties
- type AllOf
- type AnyOf
- type Const
- type Contains
- type ContentEncoding
- type ContentMediaType
- type ContentSchema
- type Dependency
- type DependentRequired
- type Enum
- type ExclusiveMaximum
- type ExclusiveMinimum
- type FalseSchema
- type Format
- type Group
- type InvalidJsonValue
- type MaxContains
- type MaxItems
- type MaxLength
- type MaxProperties
- type Maximum
- type MinContains
- type MinItems
- type MinLength
- type MinProperties
- type Minimum
- type MultipleOf
- type Not
- type OneOf
- type Pattern
- type PropertyNames
- type RefCycle
- type Reference
- type Required
- type Schema
- type Type
- type UniqueItems
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdditionalItems ¶
type AdditionalItems struct {
Count int
}
func (*AdditionalItems) KeywordPath ¶
func (*AdditionalItems) KeywordPath() []string
func (*AdditionalItems) LocalizedString ¶
func (k *AdditionalItems) LocalizedString(p *message.Printer) string
type AdditionalProperties ¶
type AdditionalProperties struct {
Properties []string
}
func (*AdditionalProperties) KeywordPath ¶
func (*AdditionalProperties) KeywordPath() []string
func (*AdditionalProperties) LocalizedString ¶
func (k *AdditionalProperties) LocalizedString(p *message.Printer) string
type Const ¶
func (*Const) KeywordPath ¶
type ContentEncoding ¶
func (*ContentEncoding) KeywordPath ¶
func (*ContentEncoding) KeywordPath() []string
func (*ContentEncoding) LocalizedString ¶
func (k *ContentEncoding) LocalizedString(p *message.Printer) string
type ContentMediaType ¶
func (*ContentMediaType) KeywordPath ¶
func (*ContentMediaType) KeywordPath() []string
func (*ContentMediaType) LocalizedString ¶
func (k *ContentMediaType) LocalizedString(p *message.Printer) string
type ContentSchema ¶
type ContentSchema struct{}
func (*ContentSchema) KeywordPath ¶
func (*ContentSchema) KeywordPath() []string
func (*ContentSchema) LocalizedString ¶
func (*ContentSchema) LocalizedString(p *message.Printer) string
type Dependency ¶
type Dependency struct { Prop string // dependency of prop that failed Missing []string // missing props }
func (*Dependency) KeywordPath ¶
func (k *Dependency) KeywordPath() []string
func (*Dependency) LocalizedString ¶
func (k *Dependency) LocalizedString(p *message.Printer) string
type DependentRequired ¶
type DependentRequired struct { Prop string // dependency of prop that failed Missing []string // missing props }
func (*DependentRequired) KeywordPath ¶
func (k *DependentRequired) KeywordPath() []string
func (*DependentRequired) LocalizedString ¶
func (k *DependentRequired) LocalizedString(p *message.Printer) string
type Enum ¶
func (*Enum) KeywordPath ¶
KeywordPath implements jsonschema.ErrorKind.
type ExclusiveMaximum ¶
func (*ExclusiveMaximum) KeywordPath ¶
func (*ExclusiveMaximum) KeywordPath() []string
func (*ExclusiveMaximum) LocalizedString ¶
func (k *ExclusiveMaximum) LocalizedString(p *message.Printer) string
type ExclusiveMinimum ¶
func (*ExclusiveMinimum) KeywordPath ¶
func (*ExclusiveMinimum) KeywordPath() []string
func (*ExclusiveMinimum) LocalizedString ¶
func (k *ExclusiveMinimum) LocalizedString(p *message.Printer) string
type FalseSchema ¶
type FalseSchema struct{}
func (*FalseSchema) KeywordPath ¶
func (*FalseSchema) KeywordPath() []string
func (*FalseSchema) LocalizedString ¶
func (*FalseSchema) LocalizedString(p *message.Printer) string
type Format ¶
func (*Format) KeywordPath ¶
type InvalidJsonValue ¶
type InvalidJsonValue struct {
Value any
}
func (*InvalidJsonValue) KeywordPath ¶
func (*InvalidJsonValue) KeywordPath() []string
func (*InvalidJsonValue) LocalizedString ¶
func (k *InvalidJsonValue) LocalizedString(p *message.Printer) string
type MaxContains ¶
func (*MaxContains) KeywordPath ¶
func (*MaxContains) KeywordPath() []string
func (*MaxContains) LocalizedString ¶
func (k *MaxContains) LocalizedString(p *message.Printer) string
type MaxProperties ¶
type MaxProperties struct {
Got, Want int
}
func (*MaxProperties) KeywordPath ¶
func (*MaxProperties) KeywordPath() []string
func (*MaxProperties) LocalizedString ¶
func (k *MaxProperties) LocalizedString(p *message.Printer) string
type Maximum ¶
func (*Maximum) KeywordPath ¶
type MinContains ¶
func (*MinContains) KeywordPath ¶
func (*MinContains) KeywordPath() []string
func (*MinContains) LocalizedString ¶
func (k *MinContains) LocalizedString(p *message.Printer) string
type MinProperties ¶
type MinProperties struct {
Got, Want int
}
func (*MinProperties) KeywordPath ¶
func (*MinProperties) KeywordPath() []string
func (*MinProperties) LocalizedString ¶
func (k *MinProperties) LocalizedString(p *message.Printer) string
type Minimum ¶
func (*Minimum) KeywordPath ¶
type MultipleOf ¶
func (*MultipleOf) KeywordPath ¶
func (*MultipleOf) KeywordPath() []string
func (*MultipleOf) LocalizedString ¶
func (k *MultipleOf) LocalizedString(p *message.Printer) string
type OneOf ¶
type OneOf struct { // Subschemas gives indexes of Subschemas that have matched. // Value nil, means none of the subschemas matched. Subschemas []int }
func (*OneOf) KeywordPath ¶
type Pattern ¶
func (*Pattern) KeywordPath ¶
type PropertyNames ¶
type PropertyNames struct {
Property string
}
func (*PropertyNames) KeywordPath ¶
func (*PropertyNames) KeywordPath() []string
func (*PropertyNames) LocalizedString ¶
func (k *PropertyNames) LocalizedString(p *message.Printer) string
type RefCycle ¶
func (*RefCycle) KeywordPath ¶
type Reference ¶
func (*Reference) KeywordPath ¶
type Type ¶
func (*Type) KeywordPath ¶
type UniqueItems ¶
type UniqueItems struct {
Duplicates [2]int
}
func (*UniqueItems) KeywordPath ¶
func (*UniqueItems) KeywordPath() []string
func (*UniqueItems) LocalizedString ¶
func (k *UniqueItems) LocalizedString(p *message.Printer) string
Click to show internal directories.
Click to hide internal directories.