Evgeny Poberezkin
fcc776e794
basic implementation of custom keywords, #69
2015-11-17 23:17:59 +00:00
Evgeny Poberezkin
9e32fd55ee
set peerDependency version for ajv-i18n
2015-11-17 20:32:11 +00:00
Evgeny Poberezkin
619bc101b5
readme
2015-11-14 21:42:50 +00:00
Evgeny Poberezkin
d2c692116e
readme custom keywords
2015-11-13 12:24:34 +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
dbae38663d
additional examples in KEYWORDS.md
2015-11-01 10:29:37 +00:00
Evgeny Poberezkin
9730bb630c
fix mistakes in KEYWORDS.md
2015-10-31 00:51:04 +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
889fcc12c5
fixed email format regex
2015-10-25 18:50:50 +00:00
Evgeny Poberezkin
c4bf67cab0
changed uri format to allow URNs, closes #59
2015-10-25 11:31:07 +00:00
Evgeny Poberezkin
d1ff86ef5e
refactor resolve
2015-10-25 01:49:07 +01: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
2259dc76cd
find schema ref that changes resolution scope in another schema, fixed one test for #62
2015-10-24 22:25:08 +01:00
Evgeny Poberezkin
3073b00cf1
note on errors in readme, #65
2015-10-22 21:14:17 +01:00
Evgeny Poberezkin
946ada0229
additional test for resolution scope change, issue #62
2015-10-19 22:53:11 +01:00
Evgeny Poberezkin
3a38a935c5
test-fast npm script
2015-10-19 22:51:05 +01:00
Evgeny Poberezkin
39b2bf5c54
readme link to node repl
2015-10-19 20:38:20 +01:00
Evgeny Poberezkin
579e5c5a1d
refactor, remove unused code, test
2015-10-16 19:37:43 +01:00
Evgeny Poberezkin
777c05bb10
more tests for oneOf and items
2015-10-15 23:20:33 +01:00
Evgeny Poberezkin
cf136dc3f1
async test
2015-10-15 22:45:40 +01:00
Evgeny Poberezkin
40eafe036f
removed unused code
2015-10-15 21:41:50 +01:00
Evgeny Poberezkin
845c7245ca
fixed tests for IE9 and FF4
2015-10-15 21:10:37 +01:00
Evgeny Poberezkin
50d30a262a
fixed incorrect resolution scope change when "id" property is not a schema id - closes #61 , closes #63
2015-10-15 18:53:55 +01:00
Evgeny Poberezkin
a911fe4424
test for issue #62
2015-10-15 18:39:32 +01:00
Evgeny Poberezkin
588e4a951e
test for issue #63
2015-10-15 18:39:32 +01:00
Evgeny Poberezkin
29d29aa058
Merge pull request #60 from MGDIS/master
...
Do not force two slashes for uris
2015-10-14 13:49:03 +01:00
Le Lan Johan
c486e8f25b
Do not force two slashes for uris
...
To allow relative urls (conformed to https://tools.ietf.org/html/rfc1808 ), URI regex do not force two slashes after scheme.
2015-10-14 09:52:28 +02:00
Evgeny Poberezkin
3659450438
JSON schema validation keywords reference
2015-10-13 19:39:03 +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
aedc47cbbf
bump version
2015-10-02 22:15:03 +01:00
Evgeny Poberezkin
738e343ccf
fixed reference resolution when multiple schema files are compiled, closes #50 , closes #53
2015-10-02 22:06:00 +01:00
Evgeny Poberezkin
32ddef850f
Merge pull request #55 from marbemac/master
...
remove redundant property in required error message
2015-09-28 06:58:56 +01:00
Marc MacLeod
975dee4d1d
update tests to reflect change to required message
2015-09-26 12:24:54 -05:00
Marc MacLeod
71e8ff3f2c
update the required message rather than dataPath
2015-09-26 12:11:20 -05:00
Marc MacLeod
f024918133
remove redundant property val in error message
...
For required properties, the error message is currently:
"data.name should have required property .name"
This works for other validations, where the property is present, but required is a special case that indicates the property is not there. The above message is somewhat confusing. I've simply updated the required errors to read:
"data should have required property .name"
2015-09-25 15:18:17 -05:00
Evgeny Poberezkin
a67b661e10
fixed #52 (compileAsync); loadSchema should be called only once for any schema; error is always passed via callback
2015-09-23 23:42:33 +01:00
Evgeny Poberezkin
d6ed06766c
fixed #48 - indices in dataPath in error messages for items keyword
2015-09-23 21:58:19 +01:00
Evgeny Poberezkin
de3d3469fe
fixed #51 (compileAsync); ensure that callback in compileAsync is always called asynchronously
2015-09-23 21:04:34 +01:00
Evgeny Poberezkin
3e1c488d7d
fixed karma test
2015-09-23 11:22:37 +01:00
Evgeny Poberezkin
36c338d41e
test for issue #50
2015-09-23 10:20:51 +01:00
Evgeny Poberezkin
9903881a8f
function names for compiled templates to simplify debugging
2015-09-22 23:17:00 +01:00
Evgeny Poberezkin
f23deffff3
update text returned by errorsText method
2015-09-22 22:47:54 +01:00
Evgeny Poberezkin
34993de951
i18n support for ajv-i18n package
2015-09-13 01:01:20 +01:00
Evgeny Poberezkin
6723287c3e
optimized equal
2015-09-07 09:58:33 +01:00
Evgeny Poberezkin
f542604051
Merge pull request #46 from YChebotaev/master
...
Equal fail when order of keys is different
2015-09-07 09:52:21 +01:00
Yury Chebotaev
de02d4d8ab
Compare objects with better approach by @blakeembrey that not count order of keys
2015-09-07 03:45:10 +05:00