132 Commits

Author SHA1 Message Date
miloyip
3d3555d373 Use move semantics for property name 2015-05-07 23:37:05 +08:00
miloyip
242d67fa8d Handle all properties in schema 2015-05-07 23:05:05 +08:00
miloyip
e9dd5fffa6 Add schema dependencies (not handling missing property)
[ci skip]
2015-05-07 18:27:17 +08:00
miloyip
9e907ea219 Remove unused multiTypeSchema 2015-05-07 17:22:16 +08:00
Milo Yip
761561a28d Fix clang compilation and a memory leak 2015-05-07 17:09:55 +08:00
miloyip
1948fb5786 Fix multipleOf in schema tests 2015-05-07 16:42:41 +08:00
miloyip
e33049d288 Fix minLength & maxLength with code point instead of code unit 2015-05-07 16:15:09 +08:00
miloyip
9c0e409ff2 Fix "additional items do not match schema" 2015-05-07 15:36:48 +08:00
Milo Yip
f19a1b6abc Fix clang errors/warnings 2015-05-07 15:12:25 +08:00
miloyip
bbbd1c6f5e Schema code simplification 2015-05-07 15:05:55 +08:00
miloyip
838e29f482 Remove polymorphism in schema 2015-05-07 10:26:13 +08:00
miloyip
a274063ab2 Massive refactoring of schema 2015-05-07 00:59:51 +08:00
miloyip
a30a641c3e Fix warnings 2015-05-06 21:24:01 +08:00
miloyip
ca2061acef Turn off some not-yet-implemented test cases, and fix a few
[ci skip]
2015-05-06 18:31:56 +08:00
miloyip
5ad3639dd5 Add Json Schema Test Suite
[ci skip]
2015-05-06 18:11:57 +08:00
miloyip
15c712dc8f Attempt to make correct implementation of logic combiners 2015-05-06 16:29:11 +08:00
Milo Yip
d6871c3f15 Fix warnings 2015-05-05 21:43:27 +08:00
Milo Yip
eb7d02b51d Add anyOf, oneOf and not in schema (buggy) 2015-05-05 18:27:22 +08:00
Milo Yip
1062f0a46b Add allOf in schema 2015-05-05 16:44:05 +08:00
miloyip
d5c2f2ec78 Add patternProperties in schema 2015-05-05 00:47:06 +08:00
miloyip
8366bb8975 Add string pattern in schema 2015-05-05 00:08:36 +08:00
miloyip
a5d700e9e8 Implemented property dependencies of schema 2015-05-04 01:08:42 +08:00
miloyip
c629d37a00 Simplify FindMember() in schema 2015-05-04 00:20:15 +08:00
miloyip
0713b8931d Implement Multi-type 2015-05-02 17:46:55 +08:00
miloyip
e0c26e44c0 Fix the test, and refactor to simplify 2015-05-02 12:24:23 +08:00
miloyip
ae645a2ce4 Fix a bug in additionalItems 2015-05-02 11:03:58 +08:00
Milo Yip
602f87545e Add a failed case 2015-05-02 10:28:10 +08:00
Milo Yip
05ae593583 Implement additionalItems 2015-05-02 10:06:48 +08:00
miloyip
33b5c59e5d Fix some gcc warnings/errors 2015-05-01 22:38:00 +08:00
miloyip
9a5283eb0a Fix mismatched delete 2015-05-01 21:42:26 +08:00
miloyip
5c93e64c68 Fix clang compilation 2015-05-01 20:16:41 +08:00
Milo Yip
c1bcccb16a Very basic JSON schema implementation 2015-05-01 17:59:31 +08:00