maxContains : Integer
maxContains
IntegerThe number of times that the contains
keyword (if set) successfully validates against the instance must be less than or equal to the given integer.
Value | This keyword must be set to a zero or positive integer |
---|---|
Kind | Assertion |
Applies To | Array |
Dialect | 2019-09 |
Changed In | None |
Introduced In | 2019-09 |
Vocabulary | Validation |
Specification | https://json-schema.org/draft/2019-09/draft-handrews-json-schema-validation-02#rfc.section.6.4.4 |
Metaschema | https://json-schema.org/draft/2019-09/meta/validation |
Official Tests | draft2019-09/maxContains.json |
Default | None |
Annotation | None |
Affected By | None |
Affects |
|
Also See |
|