git.iko.soy/typeable/hjsonschema
on 0.5.1.1 help sign in

JSON Schema Draft 4 library (DEPRECATED)

git clone https://git.iko.soy/typeable/hjsonschema.git

Intro

An implementation of JSON Schema Draft 4 in haskell.

Status

Still in development. Lacks documentation and solid code to fetch remote schemas.

Install Tests

git submodule update --init

Run Tests

cd JSON-Schema-Test-Suite/remotes
python -m SimpleHTTPServer 1234

Then run the normal cabal test from another terminal.

Note that the tests require an internet connection.

Notes

Credits

Thanks to Julian Berman for the fantastic test suite.

Also thanks to Tim Baumann for his aeson-schema library. Hjsonschema's test code and its implementation of Graph both come from Aeson-Schema.