Safe Haskell | None |
---|---|
Language | Haskell2010 |
- multipleOf :: ValidatorGen
- maximumVal :: ValidatorGen
- minimumVal :: ValidatorGen
- maxLength :: ValidatorGen
- minLength :: ValidatorGen
- pattern :: ValidatorGen
- items :: ValidatorGen
- additionalItems :: ValidatorGen
- maxItems :: ValidatorGen
- minItems :: ValidatorGen
- uniqueItems :: ValidatorGen
- maxProperties :: ValidatorGen
- minProperties :: ValidatorGen
- required :: ValidatorGen
- properties :: ValidatorGen
- patternProperties :: ValidatorGen
- runAdditionalProperties :: ValidatorGen
- additionalProperties :: ValidatorGen
- dependencies :: ValidatorGen
- enum :: ValidatorGen
- typeVal :: ValidatorGen
- allOf :: ValidatorGen
- anyOf :: ValidatorGen
- oneOf :: ValidatorGen
- notValidator :: ValidatorGen
- ref :: ValidatorGen
- noVal :: ValidatorGen
Number Validators
String Validators
Array Validators
Also covers additionalItems.
Object Validators
runAdditionalProperties :: ValidatorGen Source
An implementation of the "additionalProperties" keyword that never
disables itself. Not included directly in the draft4
spec hashmap.
Any Validators
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.