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
|
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
|
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
|
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
|
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
|
8114a2b442
|
tests for switch keyword
|
2015-12-12 18:14:53 +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
|
d7fd8229a9
|
time format; formatMaximum/formatMinimum and exclusiveFormatMaximum/exclusiveFormatMinimum keywords from v5 proposals
|
2015-12-05 21:16:28 +00:00 |
Evgeny Poberezkin
|
7d96e1b642
|
patternGroups keyword (v5 proposals)
|
2015-11-28 14:59:08 +00:00 |
Evgeny Poberezkin
|
2ddf957554
|
fixed schema substitution with some options when refs are inlined, closes #77
|
2015-11-26 22:49:49 +00:00 |
Evgeny Poberezkin
|
0fe807b68a
|
v5 keywords constant and contains
|
2015-11-22 00:31:01 +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
|
56a8b5b582
|
"dependencies" with option errorDataPath = "property" sets dataPath to missing property, error params has missingProperty, #68, #69
|
2015-11-21 12:43:44 +00:00 |
Evgeny Poberezkin
|
5c0c8b3b1c
|
default behaviour of "additionalProperties" in >=2.0.0 (#69) reverts #11 - now dataPath points to the object that is validated and not to the additional property; old (<=1.4.10 ) error reporting of dataPath for "additionalProperties" keyword is available with option errorDataPath == "property"
|
2015-11-21 01:45:52 +00:00 |
Evgeny Poberezkin
|
79ab4add57
|
fixed errors for "required", tests
|
2015-11-20 22:52:54 +00:00 |
Evgeny Poberezkin
|
a46600e14a
|
default behaviour in >=2.0.0 (#69) reverts #18 and #55 - now dataPath points to the object that is validated and not to the missing property; old (<=1.4.10 ) error reporting of dataPath for "required" keyword is available with option errorDataPath == "property"
|
2015-11-19 23:59:10 +00:00 |
Evgeny Poberezkin
|
771e79f36b
|
readme: validation errors, inline custom keywords
|
2015-11-18 21:34:50 +00:00 |
Evgeny Poberezkin
|
982264f192
|
removed i18n option (params always added to error objects)
|
2015-11-17 23:45:19 +00:00 |
Evgeny Poberezkin
|
41f313a798
|
refactor custom keywords tests
|
2015-11-17 23:20:12 +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
|
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
|
73f48e676d
|
failing tests for swagger api schema and schema with "local hash ref with remote hash ref that has inner hash ref", #70
|
2015-11-05 22:19:26 +00:00 |
Evgeny Poberezkin
|
7b142c56bd
|
optimized generated code for deep schemas
|
2015-10-25 21:55:07 +00:00 |
Evgeny Poberezkin
|
fb292c815d
|
test from cosmicrealms benchmark
|
2015-10-25 18:55:38 +00:00 |
Evgeny Poberezkin
|
c4bf67cab0
|
changed uri format to allow URNs, closes #59
|
2015-10-25 11:31:07 +00:00 |
Evgeny Poberezkin
|
70844207cf
|
fixed resolution scope change - changing folder in subschema, closes #62
|
2015-10-25 01:03:19 +01:00 |