Evgeny Poberezkin
|
0ecd3eaa13
|
change async/transpile options
|
2016-01-31 22:07:19 +00:00 |
Evgeny Poberezkin
|
86d97d4337
|
async options, expose Ajv.ValidationError class
|
2016-01-30 22:13:00 +00:00 |
Evgeny Poberezkin
|
6e583554a1
|
async with nodent transpiler
|
2016-01-29 09:26:11 +00:00 |
Evgeny Poberezkin
|
98c9c195aa
|
references to async schemas
|
2016-01-27 23:43:28 +00:00 |
Evgeny Poberezkin
|
002c99311f
|
use regenerator to transpile asynchronous validation functions if generators are not supported, #40
|
2016-01-26 23:56:38 +00:00 |
Evgeny Poberezkin
|
0729d6d19d
|
async schemas and async formats using generators, #40
|
2016-01-25 06:37:36 +00:00 |
Evgeny Poberezkin
|
27bd49f182
|
renamed opts property of ajv instance to _opts; options object passed to constructor is copied
|
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
|
5b7d9f9ff7
|
fixed inline reference resolution
|
2016-01-16 14:33:46 +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
|
a1afce910c
|
prevent scope change if definitions uses id
|
2016-01-04 22:28:05 +00:00 |
Evgeny Poberezkin
|
2eef59dede
|
minified browser bundle
|
2015-12-27 21:33:07 +00:00 |
Evgeny Poberezkin
|
694e81684f
|
throw exception if custom keyword is not an identifier; update tests as macro keyword definition supports type
|
2015-12-26 23:04:45 +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
|
10c6685027
|
support $data ref in formatMaximum/Minimum and exclusiveFormatMaximum/Minimum, #81
|
2015-12-24 17:43:48 +00:00 |
Evgeny Poberezkin
|
abff815d38
|
refactored schema compilation to reduce browser bundle size
|
2015-12-23 01:50:11 +00:00 |
Evgeny Poberezkin
|
a38bf04418
|
refactor keywords with common code
|
2015-12-22 17:03:09 +00:00 |
Evgeny Poberezkin
|
9d4be9c72a
|
$data ref in multipleOf keyword, #81
|
2015-12-20 20:48:15 +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
|
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
|
d7fd8229a9
|
time format; formatMaximum/formatMinimum and exclusiveFormatMaximum/exclusiveFormatMinimum keywords from v5 proposals
|
2015-12-05 21:16:28 +00:00 |
Evgeny Poberezkin
|
8a0719ea27
|
additionalItems added to reserved keywords (can be defined as custom)
|
2015-11-28 16:11:56 +00:00 |
Evgeny Poberezkin
|
65e534ee8b
|
check/extend errors in inline custom keywords; tests for custom keywords creating errors
|
2015-11-21 23:12:03 +00:00 |
Evgeny Poberezkin
|
ee450ec8d0
|
removed caching of compiled subschemas of custom keywords (it made performance worse in most cases)
|
2015-11-17 23:20:12 +00:00 |
Evgeny Poberezkin
|
ae5b4c0f45
|
support for "inline" custom keywords, #69
|
2015-11-17 23:20:12 +00:00 |
Evgeny Poberezkin
|
87292f80ea
|
validate schemas generated by macro keywords
|
2015-11-17 23:20:12 +00:00 |
Evgeny Poberezkin
|
18c1ef858c
|
support for "macro" custom keywords, #69
|
2015-11-17 23:20:11 +00:00 |
Evgeny Poberezkin
|
285850ce20
|
pass parent schema to compile/validate functions of custom keywords if they use it, #69
|
2015-11-17 23:17:59 +00:00 |
Evgeny Poberezkin
|
5e45d4eadf
|
support compiling schemas in custom keywords, #69
|
2015-11-17 23:17:59 +00:00 |
Evgeny Poberezkin
|
fcc776e794
|
basic implementation of custom keywords, #69
|
2015-11-17 23:17:59 +00:00 |
Evgeny Poberezkin
|
368332ab42
|
fixed bug in remote ref resolution, closes #70
|
2015-11-07 13:53:41 +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 |
Evgeny Poberezkin
|
d1ff86ef5e
|
refactor resolve
|
2015-10-25 01:49:07 +01:00 |
Evgeny Poberezkin
|
70844207cf
|
fixed resolution scope change - changing folder in subschema, closes #62
|
2015-10-25 01:03:19 +01:00 |
Evgeny Poberezkin
|
2259dc76cd
|
find schema ref that changes resolution scope in another schema, fixed one test for #62
|
2015-10-24 22:25:08 +01:00 |
Evgeny Poberezkin
|
579e5c5a1d
|
refactor, remove unused code, test
|
2015-10-16 19:37:43 +01:00 |
Evgeny Poberezkin
|
50d30a262a
|
fixed incorrect resolution scope change when "id" property is not a schema id - closes #61, closes #63
|
2015-10-15 18:53:55 +01: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
|
738e343ccf
|
fixed reference resolution when multiple schema files are compiled, closes #50, closes #53
|
2015-10-02 22:06:00 +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
|
6723287c3e
|
optimized equal
|
2015-09-07 09:58:33 +01:00 |
Yury Chebotaev
|
de02d4d8ab
|
Compare objects with better approach by @blakeembrey that not count order of keys
|
2015-09-07 03:45:10 +05:00 |
Yury Chebotaev
|
1b0a471448
|
equal fail when order of keys is different
|
2015-09-07 02:58:01 +05:00 |