Evgeny Poberezkin
|
db56b51fff
fix: error messages for exclusiveMaximum/Minimum wint $data, closes #722
|
6 年之前 |
Jürg Lehni
|
4a12ca3b92
Fix additionalProperties error with errorDataPath
|
6 年之前 |
Evgeny Poberezkin
|
dad7132adf
test: fix browser tests, replace id with $id
|
7 年之前 |
Evgeny Poberezkin
|
05e2b38d67
fix: "default" should work inside "then" and "else", closes #635
|
7 年之前 |
Evgeny Poberezkin
|
a68e9a7535
feat: improve oneOf error reporting, #573
|
7 年之前 |
Evgeny Poberezkin
|
5e17f9b4ee
feat: faster uniqueItems when items are scalars of the same type, closes #608
|
7 年之前 |
Evgeny Poberezkin
|
b4561767ff
feat: if/then/else keyword, closes #586
|
7 年之前 |
Evgeny Poberezkin
|
52e944b9fa
fix: incorrect error reporting for exclusiveMaximum/Minimum, closes #506
|
7 年之前 |
Evgeny Poberezkin
|
022a825362
test: additional tests to verify number of errors when type is used
|
7 年之前 |
Evgeny Poberezkin
|
3c86da4f1b
fix: improve error reporting from oneOf keyword, closes #427
|
7 年之前 |
Evgeny Poberezkin
|
82775ee8de
feat: draft6 propertyName keyword (standard, inline)
|
8 年之前 |
Evgeny Poberezkin
|
ab488a4f57
feat: option $data instead of v5, use draft-6 meta schema, support constant and contains keywords by default, #372
|
8 年之前 |
Evgeny Poberezkin
|
b853218249
style: eslint tests, closes #250
|
8 年之前 |
Evgeny Poberezkin
|
6a14e347c4
use new with Ajv constructor in tests and examples
|
8 年之前 |
Evgeny Poberezkin
|
b92e6e86a7
property dependencies in allErrors mode create error for each missing dependency; #151, closes 73
|
8 年之前 |
Evgeny Poberezkin
|
27bd49f182
renamed opts property of ajv instance to _opts; options object passed to constructor is copied
|
8 年之前 |
Evgeny Poberezkin
|
2eef59dede
minified browser bundle
|
9 年之前 |
Evgeny Poberezkin
|
eab087a792
loopRequired option
|
9 年之前 |
Evgeny Poberezkin
|
9d4be9c72a
$data ref in multipleOf keyword, #81
|
9 年之前 |
Evgeny Poberezkin
|
ca80b2ec42
correct schemaPath for $refs, additionalProperties, additionalItems, etc.
|
9 年之前 |
Evgeny Poberezkin
|
1c5be913b6
correctly report schema path, #80
|
9 年之前 |
Evgeny Poberezkin
|
56a8b5b582
"dependencies" with option errorDataPath = "property" sets dataPath to missing property, error params has missingProperty, #68, #69
|
9 年之前 |
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"
|
9 年之前 |
Evgeny Poberezkin
|
79ab4add57
fixed errors for "required", tests
|
9 年之前 |
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"
|
9 年之前 |
Marc MacLeod
|
975dee4d1d
update tests to reflect change to required message
|
9 年之前 |
Evgeny Poberezkin
|
a67b661e10
fixed #52 (compileAsync); loadSchema should be called only once for any schema; error is always passed via callback
|
9 年之前 |
Evgeny Poberezkin
|
d6ed06766c
fixed #48 - indices in dataPath in error messages for items keyword
|
9 年之前 |
Evgeny Poberezkin
|
34993de951
i18n support for ajv-i18n package
|
9 年之前 |
Evgeny Poberezkin
|
f9017a54d3
dataPath using jsonPointers in "required" keyword when allErrors == false, #32
|
9 年之前 |