Evgeny Poberezkin
|
a607d4f422
|
refactor: generic management of keywords implemented in other keywords (additionalProperties, patternProperties)
|
2016-12-11 16:22:02 +00:00 |
Evgeny Poberezkin
|
03051f90ba
|
feat: log errors using console.error/warn, closes #265
|
2016-10-05 20:50:37 +01:00 |
Evgeny Poberezkin
|
0bdb5a4fa5
|
feat: make option extendRef default to "fail", closes #294
|
2016-10-05 20:14:11 +01:00 |
Evgeny Poberezkin
|
40319b9e22
|
fix: message about changing default for extendRefs option, #303
|
2016-10-05 18:21:36 +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
|
d272e05abe
|
refactor: rename option to sourceCode, #293
|
2016-09-06 21:48:42 +01:00 |
Evgeny Poberezkin
|
33081b4911
|
feat: pass rootData to validating functions as 5th parameters, related to #289
|
2016-08-29 21:52:05 +01:00 |
Evgeny Poberezkin
|
84b900889f
|
refactor: function to check that schema has no rules except one specified (e.g. $ref)
|
2016-08-07 11:05:27 +01:00 |
Evgeny Poberezkin
|
3185847572
|
feat: log warning if other keywords are used with "$ref", #260
|
2016-08-06 21:10:57 +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 |
will Farrell
|
9e18e68ce7
|
Add in ability to coerce to an array
|
2016-07-22 18:07:10 -06:00 |
Evgeny Poberezkin
|
caf7557bc0
|
refactor: convert custom.def partial into custom.jst function (for better encapsulation)
|
2016-07-18 22:14:02 +01:00 |
Evgeny Poberezkin
|
79d16b3dee
|
alvays pass parent data and current data property when referenced schema called as a function (previously was passed only with option coerceTypes)
|
2016-02-12 23:08:28 +00:00 |
Evgeny Poberezkin
|
0ecd3eaa13
|
change async/transpile options
|
2016-01-31 22:07:19 +00:00 |
Evgeny Poberezkin
|
86d97d4337
|
async options, expose Ajv.ValidationError class
|
2016-01-30 22:13:00 +00:00 |
Evgeny Poberezkin
|
6e583554a1
|
async with nodent transpiler
|
2016-01-29 09:26:11 +00:00 |
Evgeny Poberezkin
|
7365dd6e41
|
transpiling async validation functions from es7 with nodent
|
2016-01-28 12:31:20 +00:00 |
Evgeny Poberezkin
|
98c9c195aa
|
references to async schemas
|
2016-01-27 23:43:28 +00:00 |
Evgeny Poberezkin
|
0729d6d19d
|
async schemas and async formats using generators, #40
|
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
|
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
|
c4786866e2
|
simplify compiling macro keywords
|
2015-12-26 22:27:13 +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
|
9d4be9c72a
|
$data ref in multipleOf keyword, #81
|
2015-12-20 20:48:15 +00:00 |
Evgeny Poberezkin
|
1c5be913b6
|
correctly report schema path, #80
|
2015-12-19 10:52:39 +00:00 |
Evgeny Poberezkin
|
318af74629
|
switch keyword
|
2015-12-12 13:41:51 +00:00 |
Evgeny Poberezkin
|
5ebfb41903
|
fixed missing schemaPath in type keyword
|
2015-11-29 00:44:25 +00:00 |
Evgeny Poberezkin
|
7d96e1b642
|
patternGroups keyword (v5 proposals)
|
2015-11-28 14:59:08 +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
|
18c1ef858c
|
support for "macro" custom keywords, #69
|
2015-11-17 23:20:11 +00:00 |
Evgeny Poberezkin
|
fcc776e794
|
basic implementation of custom keywords, #69
|
2015-11-17 23:17:59 +00:00 |
Evgeny Poberezkin
|
7b142c56bd
|
optimized generated code for deep schemas
|
2015-10-25 21:55:07 +00:00 |
Evgeny Poberezkin
|
70844207cf
|
fixed resolution scope change - changing folder in subschema, closes #62
|
2015-10-25 01:03:19 +01:00 |
Evgeny Poberezkin
|
b161a6f1d0
|
fixed resolution scope change - changing folder, fixed test for #62
|
2015-10-24 23:16:37 +01:00 |
Evgeny Poberezkin
|
e02972207c
|
validate "required" properties within "properties" keyword, closes #41
|
2015-10-11 00:08:58 +01:00 |
Evgeny Poberezkin
|
80dc982d59
|
replaced Array functions with for loop, added ajv instances to tests
|
2015-10-10 20:50:57 +01:00 |
Evgeny Poberezkin
|
e74f79eea6
|
removed unused code with _debug option
|
2015-08-19 00:22:05 +01:00 |
Evgeny Poberezkin
|
94f51e1248
|
Merge branch 'master' into 1.0.0
|
2015-07-31 20:06:43 +01:00 |
Andy Scott
|
d5ed4403b8
|
During validation allow flag to remove values flagged by `additionalProperties: false`
|
2015-07-28 16:34:46 -07:00 |
Evgeny Poberezkin
|
8a5d8f32b7
|
fixed losing errors when validating mutually recursive schemas, #5
|
2015-07-04 01:37:35 +01:00 |
Evgeny Poberezkin
|
46812e0ac6
|
fixed #14: remote ref in definitions in remote ref with ids
|
2015-06-18 20:48:35 +01:00 |
Evgeny Poberezkin
|
5f36f17f63
|
precompiled dot templates, dot is devDependency, closes #3
|
2015-06-17 14:42:13 +01:00 |