Commit Graph

85 Commits (0357b8221bd21952c301b741b6497d401d7e64e9)

Author SHA1 Message Date
Evgeny Poberezkin 5416eaf86d improved error messages for "required" keyword, closes #18 2015-07-01 00:30:57 +01:00
Evgeny Poberezkin 1cbcade81f fixed #1 IDs in refs without root id 2015-06-24 01:28:40 +01:00
Evgeny Poberezkin 0ccf7e73f1 use properties as properties or indeces correctly in all cases 2015-06-24 00:43:52 +01:00
Evgeny Poberezkin 391d60482c fixed escaping pattern property (fixes #17) 2015-06-23 17:26:03 +01:00
Evgeny Poberezkin 853ed64bf9 prevent including js-beautify in the browser 2015-06-22 14:40:25 +01:00
Evgeny Poberezkin a97e6740e7 removeSchema method, closes #8 2015-06-20 18:41:56 +01:00
Evgeny Poberezkin b16989f779 cache option to change the way the schemas are cached, issue #8 2015-06-20 15:37:29 +01:00
Evgeny Poberezkin 2368b95d56 refactored json-schema-test into separate npm module 2015-06-19 11:39:48 +01:00
Evgeny Poberezkin 4e1f0e54c4 prevent possible issues like #13 2015-06-19 00:59:53 +01:00
Evgeny Poberezkin 46812e0ac6 fixed #14: remote ref in definitions in remote ref with ids 2015-06-18 20:48:35 +01:00
Evgeny Poberezkin 5b2ba08813 missingRefs option - "ignore", "fail" or throw error during compilation (default) 2015-06-17 22:23:49 +01:00
Evgeny Poberezkin 2ae8c89708 allow uri and throw on error when validating schemas against meta-schema 2015-06-17 22:06:07 +01:00
Evgeny Poberezkin 9931223dd9 list rules requires explicitely to make browserify work 2015-06-17 15:52:24 +01:00
Evgeny Poberezkin 5f36f17f63 precompiled dot templates, dot is devDependency, closes #3 2015-06-17 14:42:13 +01:00
Evgeny Poberezkin 5b434b426e validate schema against meta-schema 2015-06-17 02:05:52 +01:00
Evgeny Poberezkin 08c8032fe1 include property in error.dataPath for additionalProperty, closes #11 2015-06-16 22:54:08 +01:00
Evgeny Poberezkin 0576ea986e removed unused code 2015-06-16 22:19:26 +01:00
Evgeny Poberezkin 058fcfb5cb fixed ref resolution using wrong root when compiling resolved schema 2015-06-16 18:14:24 +01:00
Evgeny Poberezkin e0d6afe7dc evgeny, jason: fixed incorrect root replacing and failure to resolve ref to another file root from inside ref, closes #12 2015-06-16 17:10:27 +01:00
Evgeny Poberezkin 082284d9cc fixed incorrect resolution of root ref in ref, fixes #2 2015-06-16 15:11:33 +01:00
Evgeny Poberezkin 536d958cf1 fixed incorrect dataPath in errors for refs, closes #9 2015-06-16 00:21:14 +01:00
Evgeny Poberezkin 993e2a73d7 optimized $ref for simple cases 2015-06-15 16:30:48 +01:00
Evgeny Poberezkin 5582e13c1d maximum/minimum keywords optimized 2015-06-15 11:14:13 +01:00
Evgeny Poberezkin 106826146e z-schema benchmark 2015-06-15 08:00:40 +01:00
Evgeny Poberezkin 13e4f251cc removed redundant extra check in properties 2015-06-14 10:05:45 +01:00
Evgeny Poberezkin 9dfa073e28 optimized generated code for simple schemas 2015-06-14 09:04:11 +01:00
Evgeny Poberezkin 31c7d22c8b fixed bug: subschema with additiona/patternProperties only was ignored as always valid 2015-06-13 23:41:57 +01:00
Evgeny Poberezkin e3a692f602 optimized additionalProperties validation 2015-06-13 16:35:15 +01:00
Evgeny Poberezkin 60b186402f custom formats support 2015-06-13 13:55:23 +01:00
Evgeny Poberezkin 0b3806fd18 do not create errors array until the first error 2015-06-13 13:01:05 +01:00
Evgeny Poberezkin db3ec5d51e fixed code cleanup that was removing empty "if" leaving "else" 2015-06-13 10:27:05 +01:00
Evgeny Poberezkin 4bc538933d fixed broken template 2015-06-12 23:30:50 +01:00
Evgeny Poberezkin 32e83e5f28 exclude schemas without validation keywords, dont create data variables unless they are used at least twice 2015-06-12 22:12:34 +01:00
Evgeny Poberezkin 80b04dfc4c optimised generated code for all keywords 2015-06-12 11:43:41 +01:00
Evgeny Poberezkin 0dfa95c011 optimized generated code for patternProperties 2015-06-10 23:58:49 +01:00
Evgeny Poberezkin ea974ab48d fast mode for format validation; optimised code generated for enum rule 2015-06-10 21:51:14 +01:00
Evgeny Poberezkin 1cd5eb5c72 make errors available after validate method call 2015-06-08 08:03:33 +01:00
Evgeny Poberezkin 88e65a1800 benchmark link 2015-06-08 07:45:43 +01:00
Evgeny Poberezkin b8f9cffda6 readme 2015-06-08 00:29:04 +01:00
Evgeny Poberezkin 1d7c5549fe api in readme 2015-06-08 00:19:34 +01:00
Evgeny Poberezkin d9cf3dad95 readme 2015-06-07 21:59:04 +01:00
Evgeny Poberezkin 606e81ad4b full support of remote refs 2015-06-07 21:55:40 +01:00
Evgeny Poberezkin 6284b83db7 ajv api changed, api tests, "resolve refs" progress 2015-06-07 12:47:57 +01:00
Evgeny Poberezkin fca4c77820 more tests, fixed resolve infinite loop 2015-06-06 19:44:07 +01:00
Evgeny Poberezkin 64b80cbfff more tests, fixed/optimized refs 2015-06-06 16:18:52 +01:00
Evgeny Poberezkin 4db4008e2c optimized code generation, beautify option 2015-06-06 14:13:31 +01:00
Evgeny Poberezkin 808e2270f8 removed unused dataPath 2015-06-06 02:40:17 +01:00
Evgeny Poberezkin d0089f82e5 optimize & tidy up 2015-06-06 02:07:50 +01:00
Evgeny Poberezkin 38ff8565c8 readme 2015-06-05 21:38:00 +01:00
Evgeny Poberezkin 951572fdde added JSON-schema-test-suite as submodule 2015-06-05 21:35:20 +01:00