uniqueItems : Boolean

uniqueItems

Boolean

If this keyword is set to the boolean value true, the instance validates successfully if all of its elements are unique.

Value This keyword must be set to a boolean value
Kind Assertion
Applies To Array
Dialect 2019-09
Changed In None
Introduced In Draft 2
Vocabulary Validation
Specification https://json-schema.org/draft/2019-09/draft-handrews-json-schema-validation-02#rfc.section.6.4.3
Metaschema https://json-schema.org/draft/2019-09/meta/validation
Official Tests draft2019-09/uniqueItems.json
Default false
Annotation None
Affected By None
Affects None
Also See