aeson-schema-0.3.0.2: Haskell JSON schema validator and parser generator

Safe HaskellNone
LanguageHaskell98

Data.Aeson.Schema.Validator

Synopsis

Documentation

type ValidationError = String Source

 Errors encountered during validation

validate Source

Arguments

:: Ord ref 
=> Graph Schema ref

referenced schemas

-> Schema ref 
-> Value 
-> [ValidationError] 

Validates a JSON value against a schema.