hjsonschema-0.7.0.0: JSON Schema library

Safe HaskellNone
LanguageHaskell2010

Data.JsonSchema.Draft4.Any

Synopsis

Documentation

enum :: ValidatorConstructor err [FailureInfo] Source

http://json-schema.org/latest/json-schema-validation.html#anchor76

The value of this keyword MUST be an array.
This array MUST have at least one element.
Elements in the array MUST be unique.

Elements in the array MAY be of any type, including null.

NOTE: We actually respect this, and don't build the validator if any of the elements aren't unique.