minProperties : Integer

minProperties

Integer

An object instance is valid if its number of properties is greater 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 Object
Dialect 2019-09
Changed In None
Introduced In Draft 4
Vocabulary Validation
Specification https://json-schema.org/draft/2019-09/draft-handrews-json-schema-validation-02#rfc.section.6.5.2
Metaschema https://json-schema.org/draft/2019-09/meta/validation
Official Tests draft2019-09/minProperties.json
Default 0
Annotation None
Affected By None
Affects None
Also See