hjsonschema-0.5.1.0: JSON Schema Draft 4 library

Safe HaskellNone
LanguageHaskell2010

Data.JsonSchema

Synopsis

Documentation

isValidSchema :: RawSchema -> Vector ValErr Source

Check if a schema is valid or not. Just a helper function built out of the JSON Schema document which describes valid draft 4 schemas and the normal compile and validate functions.

newtype Spec Source

Constructors

Spec 

type Graph = HashMap Text (HashMap Text Value) Source

Set of potentially mutually recursive schemas.

data RawSchema Source

Constructors

RawSchema