-
-
Notifications
You must be signed in to change notification settings - Fork 889
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON Schema 2019-09 and JTD (v8) #1198
Labels
Milestone
Comments
Please comment on the questions here: #1247 (comment) #1247 is the scope for the first release of v7-alpha. |
v7.0.0-beta.0 release notes |
v8 now released too, with JSON Schema 2020-12 and JSON Type Definition support: https://ajv.js.org/v6-to-v8-migration.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
2019-09 introduced two extensions to draft-07 validation process, that are very difficult / impossible to implement in the current Ajv design, specifically:
In addition to that, it would help rethinking the definition of "keyword" in Ajv and eliminating the difference between "standard" and "custom" keyword (Ajv taxonomy) and replacing it with "applicators" and "vocabularies" of "assertions" and "annotations" (JSON Schema taxonomy).
Some other challenges that can be addressed:
consider allowing schema parametrisation ($param(s) to allow parametrized schemas #398)reduce size of the validation function by refactoring error generationthe solution is to use the optionmessages: false
together with ajv-i18n.TODO
formalise reference resolution algorithmsimplify reference resolution implementationformalise annotation collection algorithmonly implemented to support unevaluatedProperties/ItemsThe text was updated successfully, but these errors were encountered: