Commit Graph

40 Commits (225ef67ce5e4da5f81903176c20a4971a553630f)

Author SHA1 Message Date
Evgeny Poberezkin 484df70eb5 feat: support boolean schemas, #367 2016-12-24 23:04:07 +00:00
Evgeny Poberezkin 5193d45fdc feat: add used defaults and patterns to validation function to support ajv-pack, #156 2016-09-24 15:58:14 +01:00
Evgeny Poberezkin 3806b9d8a3 fix: correctly resolve $data refs with absolute JSON pointers, #289 2016-08-29 22:26:33 +01:00
Don Rouse 53e9971edd Add JSON pointer support to $data reference. 2016-08-25 21:35:35 -07:00
Evgeny Poberezkin 84b900889f refactor: function to check that schema has no rules except one specified (e.g. $ref) 2016-08-07 11:05:27 +01:00
will Farrell 4d1aa5fe31 linting 2016-07-22 18:41:57 -06:00
will Farrell 9e18e68ce7 Add in ability to coerce to an array 2016-07-22 18:07:10 -06:00
Evgeny Poberezkin 7e0482619d
fix: support control characters in "properties" and "required", closes #226 2016-07-09 23:16:24 +01:00
Evgeny Poberezkin 81f442b325 NaN validation, closes #182 2016-05-16 22:05:08 +01:00
Evgeny Poberezkin 89a5ce76f9 eslint; code style 2016-02-02 18:55:02 +00:00
Evgeny Poberezkin 98c9c195aa references to async schemas 2016-01-27 23:43:28 +00:00
Evgeny Poberezkin 0729d6d19d async schemas and async formats using generators, #40 2016-01-25 06:37:36 +00:00
Evgeny Poberezkin 878f3559f6 do not try to coerce to object/array, #95 2016-01-17 13:12:28 +00:00
Evgeny Poberezkin 8c4557f1ac fixed relative json-pointer pattern/code to access data 2016-01-14 21:31:00 +00:00
Evgeny Poberezkin 37dd0415da fixed relative JSON-pointer pattern 2016-01-13 22:23:32 +00:00
Evgeny Poberezkin 0b725bbc31 "default" keyword in "properties" subschemas, #42 2016-01-09 01:07:33 +00:00
Evgeny Poberezkin c4786866e2 simplify compiling macro keywords 2015-12-26 22:27:13 +00:00
Evgeny Poberezkin f449f68a3d safe access with guards to $data ref 2015-12-25 22:36:23 +00:00
Evgeny Poberezkin 9d4be9c72a $data ref in multipleOf keyword, #81 2015-12-20 20:48:15 +00:00
Evgeny Poberezkin 1c5be913b6 correctly report schema path, #80 2015-12-19 10:52:39 +00:00
Evgeny Poberezkin 610dcd17eb replace $ in properties with $$ replace pattern, closes #87 2015-12-07 21:55:38 +00:00
Evgeny Poberezkin 18c1ef858c support for "macro" custom keywords, #69 2015-11-17 23:20:11 +00:00
Evgeny Poberezkin 579e5c5a1d refactor, remove unused code, test 2015-10-16 19:37:43 +01:00
Evgeny Poberezkin d6ed06766c fixed #48 - indices in dataPath in error messages for items keyword 2015-09-23 21:58:19 +01:00
Evgeny Poberezkin 843557e03f optimised regexps to create them during compile time, reuse regexp instances 2015-08-22 23:57:16 +01:00
Evgeny Poberezkin 4c4fdd5afc optimised getExprPath for numbers (items keyword), #32 2015-08-22 21:21:18 +01:00
Blake Embrey e6da675f91 Support JSON pointers 2015-08-22 11:52:05 -07:00
Evgeny Poberezkin 8abbf63e9b Merge branch 'master' into 1.0.0 2015-08-16 23:00:43 +01:00
Evgeny Poberezkin c4fb165f8d simplified util.toHash 2015-08-11 22:52:34 +01:00
Evgeny Poberezkin eeb1307448 jshint "validthis" option 2015-08-11 19:24:31 +01:00
Evgeny Poberezkin be023eda11 Merge branch 'master' into 1.0.0 2015-07-26 10:37:56 +01:00
Evgeny Poberezkin 6c93d0346d fixed "required" with properties that are not identifiers, closes #20 2015-07-22 16:26:28 +01:00
Evgeny Poberezkin 8a5d8f32b7 fixed losing errors when validating mutually recursive schemas, #5 2015-07-04 01:37:35 +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 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 1f0eca163d removed recursive parameter, improved performance 2015-06-13 11:40:45 +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 0dfa95c011 optimized generated code for patternProperties 2015-06-10 23:58:49 +01:00
Evgeny Poberezkin 4db4008e2c optimized code generation, beautify option 2015-06-06 14:13:31 +01:00