hjsonschema-1.6.1: JSON Schema library

Safe HaskellNone
LanguageHaskell2010

JSONSchema.Draft4.Failure

Synopsis

Documentation

data Invalid Source #

Used to report an entire instance being invalidated, as opposed to the failure of a single validator.

newtype SchemaInvalid Source #

A description of why a schema (or one of its reference) is itself invalid.

Nothing indicates the starting schema. Just indicates a referenced schema. The contents of the Just is the schema's URI.

NOTE: 'HashMap (Maybe Text) Invalid' would be a nicer way of defining this, but then we lose the guarantee that there's at least one key.