Commit Graph

109 Commits (master)

Author SHA1 Message Date
Christian Pillsbury 382c2b9ed1 Issue #1061 - Update time and date-time format definitions to support two digit and colon-less variants of timezone offset. Add tests. Update test eslint to include global after function. 2019-09-10 08:34:05 -05:00
Evgeny Poberezkin c1f929bcc8 fix: propertyNames with empty schema, closes #861 2018-09-23 11:33:11 +01:00
Evgeny Poberezkin 70362b9529 test: failing test for #861 2018-09-23 11:28:49 +01:00
Evgeny Poberezkin 8bbc1a2107 fix: uniqueItems when item type is array of types, closes #727 2018-03-03 10:35:40 +00:00
Dominik Moritz c6de7746cd
Fix typo 2018-03-01 01:41:02 -08:00
Dominik Moritz 6d62c71daa failing test for #725 2018-02-28 14:12:48 -08:00
Evgeny Poberezkin dad7132adf test: fix browser tests, replace id with $id 2017-12-02 19:35:57 +00:00
Evgeny Poberezkin 41074e8e6a test: change test schemas to draft-07 2017-12-02 18:31:03 +00:00
Evgeny Poberezkin 4687ed3465 docs: corrections 2017-11-25 20:23:52 +00:00
Evgeny Poberezkin dd884fe93d feat: option $comment, closes #609 2017-11-10 21:41:27 +00:00
Evgeny Poberezkin b6d927980b feat: draft-07 meta-schema 2017-11-05 22:02:43 +00:00
Evgeny Poberezkin 5e17f9b4ee feat: faster uniqueItems when items are scalars of the same type, closes #608 2017-10-29 18:20:24 +00:00
Evgeny Poberezkin b4561767ff feat: if/then/else keyword, closes #586 2017-10-28 20:46:53 +01:00
Evgeny Poberezkin e6aa9e0855 feat: format json-pointer only means string now, added format json-pointer-uri-fragment, closes #589 2017-10-26 18:35:09 +01:00
Evgeny Poberezkin d20da89819 feat: formats time and date-time allow leap second, closes #594 2017-10-26 18:10:10 +01:00
Evgeny Poberezkin 297708866b fix: contains allows empty array when sibling property uses $ref in schema, closes #502 2017-05-25 21:25:39 +01:00
Evgeny Poberezkin 78ba5ef3b9 test: failing test for #502 (contains allows epty array when sibling property uses $ref in schema) 2017-05-25 21:06:19 +01:00
Evgeny Poberezkin 58a22728ab fix: incorrect integer validation, closes #490 2017-05-14 23:29:18 +01:00
Evgeny Poberezkin 8bb21ddd21 Merge branch 'feat/add-url-record-format' of https://github.com/gajus/ajv into gajus-feat/add-url-record-format 2017-04-08 18:29:39 +01:00
Evgeny Poberezkin 3f9ab64490 feat: more comprehencive uri-reference format in {format: "full"} mode 2017-03-19 18:55:51 +00:00
Evgeny Poberezkin cbef7f3061 refactor: update draft-06 meta-schema, fix URI resolution, fix tests 2017-03-12 17:10:16 +00:00
Evgeny Poberezkin 83bdcb1508 fix: uri-ref -> uri-reference 2017-03-12 12:55:47 +00:00
Evgeny Poberezkin 4f631e61b8 feat: support $id, #384 2017-02-27 00:18:42 +00:00
Evgeny Poberezkin ac27a2473d feat: uri should be absolute, relative uri-ref is not valid uri 2017-02-25 22:35:36 +00:00
Evgeny Poberezkin 647cd6eccb Merge branch 'master' into 5.0.0 2017-02-12 00:26:33 +00:00
Evgeny Poberezkin 8413890875 fix: schema "dependencies" with property containing single quotes, closes #413 2017-02-12 00:21:53 +00:00
Gajus Kuizinas e7de15c60b Revert "test: remove invalid test cases"
This reverts commit af37a943cc.
2017-01-25 22:26:31 +00:00
Gajus Kuizinas 5a374ed7b7 test: correct test format 2017-01-25 20:30:26 +00:00
Gajus Kuizinas af37a943cc test: remove invalid test cases
These cases are not expected to pass using the current regex.
2017-01-25 20:19:16 +00:00
Gajus Kuizinas 625bed10d2 test: add test cases for URL format 2017-01-25 20:00:05 +00:00
Evgeny Poberezkin 254c2672d5 feat: format uri-template, #384 2017-01-23 22:08:05 +00:00
Evgeny Poberezkin ac6097f285 Merge branch 'master' into 5.0.0 2016-12-25 00:22:01 +00:00
Evgeny Poberezkin c4335abf53 fix: allOf with empty schemas failing compilation, fixes #381 2016-12-24 23:42:36 +00:00
Evgeny Poberezkin 559efa2b49 feat: support dependencies keyword with empty array of required properties, #367 2016-12-24 16:21:34 +00:00
Evgeny Poberezkin 23f2572d1c fix: formats json-pointer and relative-json-pointer now support empty fragments 2016-12-23 17:34:25 +00:00
Evgeny Poberezkin 01ff755d4b test: whitelisted unknown formats should be valid (remove warnings), #310 2016-10-16 12:32:44 +01:00
Evgeny Poberezkin 72a3bd0c2a fix: allow segments of hostnames to start with digit, closes #312 2016-10-02 18:21:17 +01:00
Evgeny Poberezkin 7c95ec9fa8 fix: escaped characters in $refs, closes #311 2016-09-28 14:28:52 +01:00
Evgeny Poberezkin 321a6d1a83 fix: date-time validation, closes #261 2016-08-05 11:57:58 +01:00
Victor Emanouilov 6df7b2040b fix: date-time string validation to fail validating for date-only strings instead of throwing a TypeError 2016-08-04 13:49:53 +03:00
Evgeny Poberezkin 57e09aab22
test: control characters in "enum" and "dependencies", #226 2016-07-09 23:39:26 +01:00
Evgeny Poberezkin 7e0482619d
fix: support control characters in "properties" and "required", closes #226 2016-07-09 23:16:24 +01:00
Evgeny Poberezkin 28711287ff
test: failing test for #226: control chars in schema JSON 2016-07-08 22:11:24 +01:00
Evgeny Poberezkin a8af73f45f fix incorrect change of resolution scope when sibling subschema has id in switch keyword, issue #170 2016-04-23 19:36:47 +01:00
Evgeny Poberezkin 07f344e752 fix incorrect change of resolution scope when sibling subschema has id in allOf, oneOf, anyOf and dependencies keywords, issue #170 2016-04-23 17:00:32 +01:00
Evgeny Poberezkin a2610bca0d fix incorrect change of resolution scope when sibling schema has id, closes #170 2016-04-23 14:56:16 +01:00
Evgeny Poberezkin 939ae53f7d failing test for #170 (ref resolution when sibling has id) 2016-04-23 13:49:23 +01:00
Evgeny Poberezkin 5f2cc30449 option multipleOfPrecision, closes #84 2016-01-02 17:16:01 +00:00
Evgeny Poberezkin c3d09d7699 fixed bug in dependencies keyword, closes #94 2015-12-30 23:04:14 +00:00
Evgeny Poberezkin 8648a98047 support $data ref in format keyword, #81 2015-12-22 01:18:52 +00:00