hjsonschema-0.4.0.0: Haskell implementation of JSON Schema Draft 4.

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