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 |
Evgeny Poberezkin
|
c103dc04b9
|
feat: support validating [meta-]schemas against themselves, closes #259
|
2016-08-07 00:37:30 +01:00 |
Evgeny Poberezkin
|
39b4a8f637
|
feat: option "extendRefs" to fail compilation or to ignore other keywords when "$ref" is used, closes #260
|
2016-08-06 13:05:39 +01:00 |
Evgeny Poberezkin
|
ac5c746f0a
|
Revert "Revert "feat: meta schema for custom keywords schemas, closes #230""
This reverts commit 09879d21ad .
|
2016-07-22 14:49:43 +01:00 |
Evgeny Poberezkin
|
09879d21ad
|
Revert "feat: meta schema for custom keywords schemas, closes #230"
This reverts commit 1a6e4b576c .
|
2016-07-18 18:51:57 +01:00 |
Evgeny Poberezkin
|
1a6e4b576c
|
feat: meta schema for custom keywords schemas, closes #230
|
2016-07-17 11:20:47 +01:00 |
Evgeny Poberezkin
|
2bcb74fc8c
|
fix: support mutual recursive refs when both refs are schema fragments, closes #210
|
2016-07-10 18:36:09 +01:00 |
Evgeny Poberezkin
|
95c40a55d4
|
fix: v5 with "schemas" option when schemas dont have $schema keyword (or use v5 metaschema), closes #204
|
2016-06-01 07:01:46 +01:00 |
Evgeny Poberezkin
|
44dd6b78b9
|
Android 4 compatibility, #143
|
2016-04-18 21:15:38 +01:00 |
Evgeny Poberezkin
|
8020465d74
|
Merge branch 'master' into v4.0
|
2016-04-15 22:20:40 +01:00 |
Evgeny Poberezkin
|
d730049184
|
meteor compatibility: error reporting, closes #159
|
2016-04-11 20:40:31 +01:00 |