We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4273cb commit ac68ce9Copy full SHA for ac68ce9
jsonschema/json.go
@@ -53,6 +53,8 @@ type Definition struct {
53
Ref string `json:"$ref,omitempty"`
54
// Defs A map of reusable schema definitions.
55
Defs map[string]Definition `json:"$defs,omitempty"`
56
+ // MaxContains specifies the maximum number of elements in an array that can match the schema.
57
+ MinContains int `json:"minContains,omitempty"`
58
}
59
60
func (d *Definition) MarshalJSON() ([]byte, error) {
0 commit comments