Skip to content
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 version #123

Open
garethsb opened this issue Aug 18, 2019 · 0 comments
Open

JSON Schema version #123

garethsb opened this issue Aug 18, 2019 · 0 comments

Comments

@garethsb
Copy link
Contributor

I've started looking at how to speed up JSON Schema validation. One of the things that looks like it could help is taking advantage of the facilities in 'draft07' and beyond to short-circuit the evaluation of discriminated anyOf and oneOf logical combination sub-schemas, via the new if-then-else keywords. E.g. Registration API /resource POST can be discriminated via the type property.

How do we feel about updating the official schemas to draft07 or draft08? Or maintaining both draft04 schemas and more modern ones?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants