Commit Graph

44 Commits

Author SHA1 Message Date
Patrick Boettcher
6680e9d8f8 comment: add some explaining comments wrt to the refernce-creation 2017-01-17 23:23:29 +01:00
JustCameToHelp
ee3de923f9 Documentation - Fixed file name in Code section
The .hpp file name is `json-schema.hpp`
2017-01-17 17:08:20 +01:00
Patrick Boettcher
c78ca226a8 code cleanup and comment for a FIXME 2017-01-12 16:18:40 +01:00
Patrick Boettcher
ec4d260f9c type-validation: better error message when type-check has failed 2017-01-12 16:18:40 +01:00
Patrick Boettcher
8971651d2d namespace: gcc-4.5 does not accept multiple namespaces-definitions 2017-01-10 11:03:04 +01:00
Patrick Boettcher
0212887677 compiler-quirk: false is interpreted as nullptr with gcc 4.5 2017-01-10 11:02:21 +01:00
Patrick Boettcher
0e5a5d9b56 validator: check utf-8 string-length 2016-12-29 08:50:06 +01:00
Patrick Boettcher
ce68fba2d3 error-messages: fixed typo 2016-12-29 07:58:47 +01:00
Patrick Boettcher
4c184bed77 validator: add error-messages of sub-schemas in combined-logic-checker 2016-12-28 16:46:03 +01:00
Patrick Boettcher
8b69330804 app: add a default format-checker - which is always happy 2016-12-28 16:46:03 +01:00
Patrick Boettcher
d50401a562 validator: print limits of min/max-values in error messages 2016-12-28 16:46:03 +01:00
Patrick Boettcher
4f874d317a license: license-filename changed 2016-12-28 16:08:41 +01:00
Patrick Boettcher
fd300592c7 README: update compliance-section 2016-12-28 13:50:55 +01:00
Patrick Boettcher
2ee354a43d test: format regex for new optional test (doens't work) 2016-12-28 13:48:22 +01:00
Patrick Boettcher
202700ada0 code: fix indentation 2016-12-28 13:47:59 +01:00
Patrick Boettcher
8a87818965 validator: handle special case of an integer is a number 2016-12-28 13:47:48 +01:00
Patrick Boettcher
93a0463bf5 tests: seperate optional and non-optional tests and define overridable name-prefix 2016-12-28 13:41:11 +01:00
Patrick Boettcher
4c985628d1 README: more and more compliant 2016-12-28 13:28:47 +01:00
Patrick Boettcher
82ac0cf039 fix: multipleOf is now working 2016-12-28 13:27:28 +01:00
Patrick Boettcher
f42d5fb587 validator: add some basic format-checking 2016-12-28 13:27:16 +01:00
Patrick Boettcher
c4a9cdb280 app: do not include <set> - not needed anymore 2016-12-28 10:53:39 +01:00
Patrick Boettcher
5fedc283da validator: pattern-field implemented 2016-12-27 14:26:26 +01:00
Patrick Boettcher
de05d4d754 README: more comments about what's not compliant 2016-12-27 14:18:47 +01:00
Patrick Boettcher
5e9605b055 validator: update API so that the root-schema-insertion can be located in a try-catch-block 2016-12-27 13:50:45 +01:00
Patrick Boettcher
8939ba9b05 validator: both, properties and patterProperties needs validation 2016-12-27 13:20:50 +01:00
Patrick Boettcher
998f97ba4e validator: handle undefined schema-loader via a std::function given at construction-time 2016-12-27 11:39:48 +01:00
Patrick Boettcher
685b759712 validator: place some methods outside of the class 2016-12-27 01:36:26 +01:00
Patrick Boettcher
f725e296cc validator: implement allOf, oneOf, anyOf and not logic 2016-12-27 01:30:51 +01:00
Patrick Boettcher
6c0620a90b validator: check unimplemented keyword after resolve nested schemas 2016-12-27 00:42:56 +01:00
Patrick Boettcher
9b3769a132 validator: escape json-pointer-field when appending 2016-12-27 00:34:11 +01:00
Patrick Boettcher
b2240084fe validator: rework everything to handle local and remote refs
Added json-uri and json-pointer-classes and a schema-preparation-pass.
2016-12-26 23:48:57 +01:00
Patrick Boettcher
43bd5b8e7d validator: $ref to array-elements implemented 2016-12-24 00:49:38 +01:00
Patrick Boettcher
2e53f0e5db copyright notice in .hpp-file 2016-12-24 00:15:19 +01:00
Patrick Boettcher
42a8b00d1d validator: $ref implemented for local references
But needs more work.
2016-12-24 00:10:48 +01:00
Patrick Boettcher
0789403a4b validator: items and additionalItems implemented 2016-12-24 00:09:04 +01:00
Patrick Boettcher
f77dfdb068 validation: use set-return-value to see whether an element has been inserted or not 2016-12-24 00:08:23 +01:00
Patrick Boettcher
6c344f9dcf validator: uniqueItems implemented for array 2016-12-23 16:29:33 +01:00
Patrick Boettcher
615b4a1fef validator: implement minItems and maxItems for arrays 2016-12-23 14:43:11 +01:00
Patrick Boettcher
7daee089ca validator: implement dependencies-handling for objects 2016-12-23 11:07:21 +01:00
Patrick Boettcher
ccc72e3673 test-app: use cout and print group-results 2016-12-23 11:05:14 +01:00
Patrick Boettcher
f59b151974 validator: implement minProperties and maxProperties 2016-12-23 10:27:10 +01:00
Patrick Boettcher
e0a69cff39 cmake: allow this project to be used as a cmake-subdirectory
Needs to have a json-hpp-target-available.
2016-12-23 09:52:17 +01:00
Patrick Boettcher
94b7e44dfa cmake: add install-target 2016-12-23 09:51:41 +01:00
Patrick Boettcher
bf4cef21c3 initial commit 2016-12-23 00:04:42 +01:00