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 Draft 6
Changed In None
Introduced In Draft 2
Vocabulary Validation
Specification https://json-schema.org/draft-06/draft-wright-json-schema-validation-01#rfc.section.6.13
Metaschema http://json-schema.org/draft-06/schema#
Official Tests draft6/uniqueItems.json
Default false
Annotation None
Affected By None
Affects None
Also See