maxItems : Integer

maxItems

Integer

An array instance is valid if its size is less than, or equal to, the value of this keyword.

Value This keyword must be set to a zero or positive integer
Kind Assertion
Applies To Array
Dialect Draft 6
Changed In None
Introduced In Draft 1
Vocabulary Validation
Specification https://json-schema.org/draft-06/draft-wright-json-schema-validation-01#rfc.section.6.11
Metaschema http://json-schema.org/draft-06/schema#
Official Tests draft6/maxItems.json
Default None
Annotation None
Affected By None
Affects None
Also See