Commit Graph

25 Commits (e949b8462ce3298a92acbb8a532f6ff07d4a47ab)

Author SHA1 Message Date
Evgeny Poberezkin cf3f1cea50 refactor: changed format "uriref" to "uri-ref", #367 2016-12-29 23:05:28 +00:00
Evgeny Poberezkin 416f294350 Merge branch 'master' into 5.0.0 2016-12-23 19:47:01 +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 ab488a4f57 feat: option $data instead of v5, use draft-6 meta schema, support constant and contains keywords by default, #372 2016-12-21 21:11:59 +00:00
Evgeny Poberezkin d19bc92c8b refactor: move format comparison functions to ajv-keywords, #371 2016-12-11 18:49:02 +00: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 321a6d1a83 fix: date-time validation, closes #261 2016-08-05 11:57:58 +01:00
Victor Emanouilov 4246d726a9 chore: move date-time guard for missing time part to date_time function rather than date function 2016-08-05 09:53:00 +03: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 10c6685027 support $data ref in formatMaximum/Minimum and exclusiveFormatMaximum/Minimum, #81 2015-12-24 17:43:48 +00:00
Evgeny Poberezkin bed46b41aa relative-json-pointer format 2015-12-19 21:58:45 +00:00
Evgeny Poberezkin 984a70d36c json-pointer format 2015-12-19 21:23:40 +00:00
Evgeny Poberezkin 35214f3c68 uuid format 2015-12-19 20:03:41 +00:00
Evgeny Poberezkin d7fd8229a9 time format; formatMaximum/formatMinimum and exclusiveFormatMaximum/exclusiveFormatMinimum keywords from v5 proposals 2015-12-05 21:16:28 +00:00
Evgeny Poberezkin 889fcc12c5 fixed email format regex 2015-10-25 18:50:50 +00:00
Evgeny Poberezkin c4bf67cab0 changed uri format to allow URNs, closes #59 2015-10-25 11:31:07 +00:00
Le Lan Johan c486e8f25b Do not force two slashes for uris
To allow relative urls (conformed to https://tools.ietf.org/html/rfc1808), URI regex do not force two slashes after scheme.
2015-10-14 09:52:28 +02:00
Evgeny Poberezkin ed7c14801d jshint, closes #34 2015-08-27 20:55:44 +01:00
Evgeny Poberezkin 32ee26ec94 readme: supported formats 2015-07-21 22:36:20 +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 60b186402f custom formats support 2015-06-13 13:55:23 +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 b9b9affcf4 correct unicode string lengths with "unicode" option 2015-06-04 23:08:45 +01:00
Evgeny Poberezkin 1c2444f4d7 $ref with internal refs 2015-05-30 11:50:18 +01:00
Evgeny Poberezkin ec1f473804 formats, readme 2015-05-29 23:22:59 +01:00