is-04
is-04 copied to clipboard
JSON Schema version
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?