Skip to content
This repository was archived by the owner on May 2, 2020. It is now read-only.
/ hjsonschema Public archive

JSON Schema Draft 4 library (DEPRECATED)

License

Notifications You must be signed in to change notification settings

seagreen/hjsonschema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

May 1, 2020
fde6e67 · May 1, 2020
Mar 23, 2017
Mar 8, 2018
Apr 30, 2020
Apr 30, 2020
Apr 30, 2020
Apr 30, 2020
Apr 28, 2018
Feb 1, 2015
May 1, 2020
Feb 1, 2015
May 1, 2020
May 1, 2020
Jan 16, 2018
Mar 17, 2018

Repository files navigation

DEPRECATION NOTICE

hjsonschema was an attempt to build a very modular JSON Schema library. Validators have a concrete type and can be mixed and matched into new Specs.

However this flexibility came at the price of complicating the code. I don't think it was the right tradeoff, especially since situations where you'd want to change what validators make up a Spec at runtime seem rare.

Also, there are many parts of JSON Schema that hjsonschema doesn't implement properly (as you can see from the issue tracker). I'm hoping that a new JSON Schema library will come along that handles these correctly.

Links

Hackage / GitHub / Travis CI

Example

See here.

System dependencies

  • Requires pcre (pkgs.pcre in Nixpkgs).

Vendoring

  • JSON-Schema-Test-Suite is vendored from commit # c1b12bf699f29a04b4286711c6e3bbfba66f21e5 here.

  • src/draft4.json is from commit # c1b12bf699f29a04b4286711c6e3bbfba66f21e5 here. The root ref in remote ref test has been modified to fix #175.

About

JSON Schema Draft 4 library (DEPRECATED)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages