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 4
Changed In None
Introduced In Draft 2
Vocabulary Validation
Specification https://json-schema.org/draft-04/draft-fge-json-schema-validation-00#rfc.section.5.3.4
Metaschema http://json-schema.org/draft-04/schema#
Official Tests draft4/uniqueItems.json
Default false
Annotation None
Affected By None
Affects None
Also See