Commit Graph

4 Commits

Author SHA1 Message Date
Patrick Boettcher
7beb40bc61 Complete rewrite of the validator - aiming a 2.0-release
Schema a now "parsed" into C++-validator-objects in a first
step and then validation takes place with these objects.

Errors are now handled via a user-provided error-handler
allowing the user to collect all errors at once or bail out
when a certain threshold is reached. Fixes #36 and #8.

One (sub-)schema can now be referenced with different URIs. Fixes #9

JSON schema draft 7 is now supported. Fixes #35
2018-12-27 16:59:19 +01:00
Patrick Boettcher
57f7809532 tests: add draft4-tests from json-schema-test-suite to this repo 2018-04-18 11:49:36 +02:00
Patrick Boettcher
7daba70db3 cmake: use relative path to source-file
If this project is used via `add_subdirectory()` the
json-schema-test.cpp was not found.
2018-04-17 23:11:10 +02:00
Patrick Boettcher
c552c7c02a tests: add some issue-regression-tests 2018-03-30 12:26:52 +02:00