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 a931bf7 commit 789544dCopy full SHA for 789544d
jsonschema/json.go
@@ -48,6 +48,8 @@ type Definition struct {
48
AdditionalProperties any `json:"additionalProperties,omitempty"`
49
// Whether the schema is nullable or not.
50
Nullable bool `json:"nullable,omitempty"`
51
+ // MaxContains specifies the maximum number of elements in an array that can match the schema.
52
+ MinContains int `json:"minContains,omitempty"`
53
}
54
55
func (d *Definition) MarshalJSON() ([]byte, error) {
0 commit comments