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
|
0c60364a7f
|
coerce type when schema is in ref that is not inlined, #95
|
2016-01-17 14:08:50 +00:00 |
Evgeny Poberezkin
|
878f3559f6
|
do not try to coerce to object/array, #95
|
2016-01-17 13:12:28 +00:00 |
Evgeny Poberezkin
|
b5b6a06f09
|
coerceTypes option, #95
|
2016-01-17 01:05:06 +00:00 |
Evgeny Poberezkin
|
5b7d9f9ff7
|
fixed inline reference resolution
|
2016-01-16 14:33:46 +00:00 |
Evgeny Poberezkin
|
c99d6751ad
|
option addUsedSchema
|
2016-01-15 06:54:53 +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
|
8fe96db455
|
refactored "default" to correctly validate minProperties, minItems, etc. when defaults are present, closes #42
|
2016-01-09 13:28:40 +00:00 |
Evgeny Poberezkin
|
d7dd660d25
|
"default" keyword in "items" subschemas, #42
|
2016-01-09 01:37:45 +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
|
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
|
2eef59dede
|
minified browser bundle
|
2015-12-27 21:33:07 +00:00 |
Evgeny Poberezkin
|
17ed9c90f4
|
keyword property in errors for custom keywords is set to the keyword itself instead of "custom"
|
2015-12-26 23:18:57 +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
|
eab087a792
|
loopRequired option
|
2015-12-26 00:05:39 +00:00 |
Evgeny Poberezkin
|
f449f68a3d
|
safe access with guards to $data ref
|
2015-12-25 22:36:23 +00:00 |
Evgeny Poberezkin
|
1d9cad5ab7
|
$data ref equal to undefined is always valid
|
2015-12-25 20:10:15 +00:00 |
Evgeny Poberezkin
|
2d7b06a6db
|
support $data ref in required keyword, #81
|
2015-12-25 00:30:50 +00:00 |
Evgeny Poberezkin
|
2ab6aba454
|
support $data ref in uniqueItems, #81
|
2015-12-24 18:58:15 +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
|
3915d22a22
|
refactor
|
2015-12-23 16:45:54 +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
|
cdf172c2b8
|
support $data ref in constant keyword, #81; constant keyword is implemented as inline, closes #91
|
2015-12-22 11:47:12 +00:00 |
Evgeny Poberezkin
|
8648a98047
|
support $data ref in format keyword, #81
|
2015-12-22 01:18:52 +00:00 |
Evgeny Poberezkin
|
ae4e6009a1
|
support $data ref in maximum/minimum and exclusiveMaximum/Minimum keywords, #81
|
2015-12-21 15:37:12 +00:00 |
Evgeny Poberezkin
|
4bb4059e80
|
$data ref in pattern and enum keywords, #81
|
2015-12-21 00:39:09 +00:00 |
Evgeny Poberezkin
|
aa18f7cab1
|
support $data ref in max/minLength, max/minItems and max/minProperties keywords, #81
|
2015-12-20 22:40:19 +00:00 |
Evgeny Poberezkin
|
9d4be9c72a
|
$data ref in multipleOf keyword, #81
|
2015-12-20 20:48:15 +00:00 |
Evgeny Poberezkin
|
32fe82697a
|
v5 schema allowing $data references in some keywords
|
2015-12-19 22:26:26 +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
|
ca80b2ec42
|
correct schemaPath for $refs, additionalProperties, additionalItems, etc.
|
2015-12-19 15:56:08 +00:00 |
Evgeny Poberezkin
|
1c5be913b6
|
correctly report schema path, #80
|
2015-12-19 10:52:39 +00:00 |
Evgeny Poberezkin
|
afd3831b52
|
semicolon
|
2015-12-12 22:29:45 +00:00 |
Evgeny Poberezkin
|
723258f052
|
v5 meta-schema
|
2015-12-12 21:18:41 +00:00 |
Evgeny Poberezkin
|
081f061371
|
more tests for switch keyword
|
2015-12-12 19:43:38 +00:00 |
Evgeny Poberezkin
|
b5e3e7da6e
|
ignore coverage for code branches where error objects are not crerated
|
2015-12-12 18:27:57 +00:00 |
Evgeny Poberezkin
|
8114a2b442
|
tests for switch keyword
|
2015-12-12 18:14:53 +00:00 |
Evgeny Poberezkin
|
318af74629
|
switch keyword
|
2015-12-12 13:41:51 +00:00 |
Evgeny Poberezkin
|
7c7abbbc74
|
"parentSchema" property added to error objects when using "verbose" option
|
2015-12-11 21:35:14 +00:00 |
Evgeny Poberezkin
|
610dcd17eb
|
replace $ in properties with $$ replace pattern, closes #87
|
2015-12-07 21:55:38 +00:00 |
Evgeny Poberezkin
|
5dac3dd4b3
|
"contains" keyword (v5) is now valid if data is not an array
|
2015-12-06 21:57:41 +00:00 |
Evgeny Poberezkin
|
7141f1375e
|
cleanup formatMaximum/formatMinimum
|
2015-12-06 21:25:42 +00:00 |
Evgeny Poberezkin
|
1c16707ee5
|
readme
|
2015-12-06 20:34:46 +00:00 |