Lines Matching defs:Type

29 	*Type  anonMember
34 type Type struct { struct
36 Version string `json:"$schema,omitempty"` // section 6.1
37 Ref string `json:"$ref,omitempty"` // section 7
39 MultipleOf int `json:"multipleOf,omitempty"` // section 5.1
40 Maximum int `json:"maximum,omitempty"` // section 5.2
41 ExclusiveMaximum bool `json:"exclusiveMaximum,omitempty"` // section 5.3
42 Minimum int `json:"minimum,omitempty"` // section 5.4
43 ExclusiveMinimum bool `json:"exclusiveMinimum,omitempty"` // section 5.5
44 MaxLength int `json:"maxLength,omitempty"` // section 5.6
45 MinLength int `json:"minLength,omitempty"` // section 5.7
46 Pattern string `json:"pattern,omitempty"` // section 5.8
47 AdditionalItems *Type `json:"additionalItems,omitempty"` // section 5.9
48 Items *Type `json:"items,omitempty"` // section 5.9
49 MaxItems int `json:"maxItems,omitempty"` // section 5.10
50 MinItems int `json:"minItems,omitempty"` // section 5.11
51 UniqueItems bool `json:"uniqueItems,omitempty"` // section 5.12
52 MaxProperties int `json:"maxProperties,omitempty"` // section 5.13
53 MinProperties int `json:"minProperties,omitempty"` // section 5.14
54 Required []string `json:"required,omitempty"` // section 5.15
55 Properties *orderedmap.OrderedMap `json:"properties,omitempty"` // section 5.16
56 PatternProperties map[string]*Type `json:"patternProperties,omitempty"` // section 5.17
57 AdditionalProperties json.RawMessage `json:"additionalProperties,omitempty"` // section 5.18
58 Dependencies map[string]*Type `json:"dependencies,omitempty"` // section 5.19
59 Enum []interface{} `json:"enum,omitempty"` // section 5.20
60 Type string `json:"type,omitempty"` // section 5.21 member
61 AllOf []*Type `json:"allOf,omitempty"` // section 5.22
62 AnyOf []*Type `json:"anyOf,omitempty"` // section 5.23
63 OneOf []*Type `json:"oneOf,omitempty"` // section 5.24
64 Not *Type `json:"not,omitempty"` // section 5.25
65 Definitions Definitions `json:"definitions,omitempty"` // section 5.26
67 Title string `json:"title,omitempty"` // section 6.1
68 Description string `json:"description,omitempty"` // section 6.1
69 Default interface{} `json:"default,omitempty"` // section 6.2
70 Format string `json:"format,omitempty"` // section 7
71 Examples []interface{} `json:"examples,omitempty"` // section 7.4
73 Media *Type `json:"media,omitempty"` // section 4.3
74 BinaryEncoding string `json:"binaryEncoding,omitempty"` // section 4.3
76 Extras map[string]interface{} `json:"-"`
85 func ReflectFromType(t reflect.Type) *Schema {
349 …nc (t *Type) structKeywordsFromTags(f reflect.StructField, parentType *Type, propertyName string) {
368 func (t *Type) genericKeywords(tags []string, parentType *Type, propertyName string) {
423 func (t *Type) stringKeywords(tags []string) {
453 func (t *Type) numbericKeywords(tags []string) {
503 func (t *Type) arrayKeywords(tags []string) {
528 func (t *Type) extraKeywords(tags []string) {
537 func (t *Type) setExtra(key, val string) {
649 func (t *Type) MarshalJSON() ([]byte, error) {