Evgeny Poberezkin
|
88199d569c
|
rename option to strictDefaults
|
2019-03-03 09:16:00 +00:00 |
Teddy Katz
|
c081061a1e
|
feat: invalidDefaults option to warn when defaults are ignored, fixes #957
|
2019-03-01 02:19:12 -05:00 |
Evgeny Poberezkin
|
6831b68f64
|
feat: extract method to validate custom keyword definition
|
2019-02-22 11:16:30 +00:00 |
Evgeny Poberezkin
|
ac2221a4b5
|
style fix
|
2019-02-09 11:40:40 +00:00 |
Mathew Polzin
|
28c85ada05
|
Allow nullable property of JSON Schema object to be false as well as true. Remove test that asserted failure if nullable was false.
|
2019-02-06 23:34:14 -08:00 |
Evgeny Poberezkin
|
223058beb0
|
refactor: remove uri format change during schema validation, closes #906
|
2018-12-16 20:46:30 +00:00 |
Evgeny Poberezkin
|
f5937d93a9
|
remove old draft-6 mentions
|
2018-11-11 11:49:20 +00:00 |
Evgeny Poberezkin
|
f2010f40f2
|
feat: keyword "nullable", #486, closes epoberezkin/ajv-keywords#32
|
2018-11-10 21:03:51 +00:00 |
Evgeny Poberezkin
|
32651b5cfd
|
fix: compileAsync schema with multiple remote schemas and some recursive, fixes #801
|
2018-06-10 10:58:30 +01:00 |
Vadim Cebaniuc
|
5ebfe2c1f4
|
passContext in recursive $ref
|
2018-04-30 21:56:55 +03:00 |
Evgeny Poberezkin
|
ce62f117ee
|
feat: use only $id by default, closes #641
|
2017-12-02 12:32:45 +00:00 |
Evgeny Poberezkin
|
896aa8d08e
|
Merge branch 'master' into beta
|
2017-12-02 10:45:34 +00:00 |
Travis
|
b3b5b57d8e
|
Make addSchema chainable when submitting an array of schemas.
|
2017-12-01 21:17:19 -05:00 |
Evgeny Poberezkin
|
e15f543dbd
|
refactor: remove patternGroups keyword, #614
|
2017-11-26 10:11:55 +00:00 |
Evgeny Poberezkin
|
04d62ae67e
|
Merge branch 'master' into beta
|
2017-11-24 21:18:06 +00:00 |
Philipp Thuerwaechter
|
c9a6f995a9
|
Add method chaining to all add* and remove* methods
According to issue #625 this enables crazy things like
`new Ajv().addSchema(mySchema).validate(schema, data)`
|
2017-11-22 08:37:42 +01:00 |
Evgeny Poberezkin
|
89a80cabf8
|
check that console has log, warn and error methods as well
|
2017-11-20 20:10:57 +00:00 |
Meir Rotstein
|
5ba22a36aa
|
remove Logger class, resolve logger object on Ajv ctor instead
|
2017-11-19 23:02:08 +02:00 |
Meir Rotstein
|
e0c7eac50d
|
create logger instance per Ajv instance
|
2017-11-19 17:40:44 +02:00 |
Meir Rotstein
|
91374acba3
|
add logger option
|
2017-11-19 11:18:40 +02:00 |
Evgeny Poberezkin
|
9abe4e78a9
|
refactor: rename $data.js and $data.json without $, closes #526
|
2017-11-05 22:08:36 +00:00 |
Evgeny Poberezkin
|
b6d927980b
|
feat: draft-07 meta-schema
|
2017-11-05 22:02:43 +00:00 |
Evgeny Poberezkin
|
c9548d2c74
|
refactor: remove compilation of async schemas to generator functions, closes #585
|
2017-11-05 21:14:31 +00:00 |
Evgeny Poberezkin
|
75c95950a2
|
refactor: use fast-json-stable-stringify, closes #569, closes #579
|
2017-10-24 18:52:13 +01:00 |
Evgeny Poberezkin
|
3f9ab64490
|
feat: more comprehencive uri-reference format in {format: "full"} mode
|
2017-03-19 18:55:51 +00:00 |
Evgeny Poberezkin
|
cbef7f3061
|
refactor: update draft-06 meta-schema, fix URI resolution, fix tests
|
2017-03-12 17:10:16 +00:00 |
Evgeny Poberezkin
|
83bdcb1508
|
fix: uri-ref -> uri-reference
|
2017-03-12 12:55:47 +00:00 |
Evgeny Poberezkin
|
4f631e61b8
|
feat: support $id, #384
|
2017-02-27 00:18:42 +00:00 |
Evgeny Poberezkin
|
f4f80784b4
|
feat: add meta-schema for $data reference with options {meta: false, $data: true}
|
2017-02-10 18:40:07 +00:00 |
Evgeny Poberezkin
|
de0c827dec
|
feat: throw exception if schema id is not a string and report error, closes #380
|
2017-02-04 22:36:21 +00:00 |
Evgeny Poberezkin
|
ca6916385b
|
feat: throw exception if $schema is not a string, closes #394
|
2017-02-04 21:30:26 +00:00 |
Evgeny Poberezkin
|
e949b8462c
|
test: patternGroups with meta; meta: false warns insead of throwing meta-schema validation
|
2017-01-23 20:16:38 +00:00 |
Evgeny Poberezkin
|
8bb3b52f55
|
feat: serialize option, closes #385, closes #341
|
2017-01-21 20:28:50 +00:00 |
Evgeny Poberezkin
|
41ecdaff7c
|
refactor: contains implemented as a standard keyword, #367
|
2016-12-30 17:44:18 +00:00 |
Evgeny Poberezkin
|
cf3f1cea50
|
refactor: changed format "uriref" to "uri-ref", #367
|
2016-12-29 23:05:28 +00:00 |
Evgeny Poberezkin
|
4a9d765e5a
|
feat: support numeric exclusiveMaximum/Minimum (no $data support yet), #367
|
2016-12-28 23:08:25 +00:00 |
Evgeny Poberezkin
|
6f2cea2244
|
refactor: support for transpile option moved to ajv-async package, #383
|
2016-12-26 20:57:14 +00:00 |
Evgeny Poberezkin
|
fc1c46cbfa
|
feat: option processCode replaced option beautify, closes #382
|
2016-12-26 16:57:06 +00:00 |
Evgeny Poberezkin
|
ad7ae50c51
|
refactor: move const keyword to rules (as standard keyword)
|
2016-12-25 20:42:54 +00:00 |
Evgeny Poberezkin
|
484df70eb5
|
feat: support boolean schemas, #367
|
2016-12-24 23:04:07 +00:00 |
Evgeny Poberezkin
|
416f294350
|
Merge branch 'master' into 5.0.0
|
2016-12-23 19:47:01 +00:00 |
Evgeny Poberezkin
|
9f487e2833
|
refactor: rename keyword "constant" to "const", #367
|
2016-12-21 21:50:10 +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
|
afd02f1f72
|
refactor: patternGroups deprecated, requires option to use, #371
|
2016-12-20 20:33:51 +00:00 |
Evgeny Poberezkin
|
506370804a
|
feat: get and remove custom keywords from the Ajv instance, related to #371
|
2016-12-11 11:17:37 +00:00 |
Evgeny Poberezkin
|
84bee02a61
|
refactor: MissingRefError class, closes #348
|
2016-11-25 20:37:03 +00:00 |
Evgeny Poberezkin
|
599f579db4
|
refactor: do not bind ajv methods to the instance, closes #232
|
2016-10-21 21:33:32 +01:00 |
Evgeny Poberezkin
|
d9bcf2841a
|
refactor: move async compilation to separate file
|
2016-10-17 21:27:40 +01:00 |
Evgeny Poberezkin
|
a3ab001d5b
|
fix: do NOT log warning if extendRef is explicitely set to true, fix schema path in messages; closes #303
|
2016-10-05 18:11:31 +01:00 |
Evgeny Poberezkin
|
2d9241a658
|
feat: allow refs to fragments in "getSchema" and "validate" methods, closes #47
|
2016-08-15 21:22:07 +01:00 |