git.iko.soy/typeable/hjsonschema
on 0.7 help sign in
27 lines 1.0 kB history raw
1# Intro
3An implementation of [JSON Schema](http://json-schema.org/) Draft 4 in haskell.
5# Status
7Still in development. Lacks solid code to handle changing resolution scope.
9Also note that hjsonschema uses the [regexpr](https://hackage.haskell.org/package/regexpr-0.5.4) regular expression library for the "pattern" validator. This isn't compatible with the ECMA 262 regex dialect, which the [spec](http://json-schema.org/latest/json-schema-validation.html#anchor33) requires.
11# Example
13See [Example.hs](./Example.hs).
15# Install Tests
17 git submodule update --init
19# Notes
21+ `draft4.json` is from commit # cc8ec81ce0abe2385ebd6c2a6f2d6deb646f874a [here](https://github.com/json-schema/json-schema).
23# Credits
25Thanks to [Julian Berman](https://github.com/Julian) for the fantastic test suite.
27Also thanks to Tim Baumann for his [aeson-schema](https://hackage.haskell.org/package/aeson-schema) library. Hjsonschema's test code and its implementation of `Graph` both originally came from there.