hjsonschema-0.7.1.0: JSON Schema library

Safe HaskellNone
LanguageHaskell2010

Data.JsonSchema.Draft4.Arrays

Synopsis

Documentation

items :: ValidatorConstructor err [ValidationFailure (ItemsFailure err)] Source

A combination of items and additionalItems.

additionalItems :: ValidatorConstructor err [ValidationFailure (ItemsFailure err)] Source

Not included directly in the draft4 spec hashmap because it always validates data unless items is also present. This is because items defaults to {}.

TODO: Should have its own error type instead of sharing with Items.