draft-07 support:
if
/then
/else
keywords$comment
keyword (reserved)- default meta-schema is draft-07
Formats:
date
,date-time
,time
: support leap year and leap secondjson-pointer
: only validates a string format of JSON pointerjson-pointer-uri-fragment
: to validate uri-fragment format of JSON pointer
Keyword changes
- Improved algorithm for
uniqueItems
keyword to validate an array of same-type scalars in a single pass - Keywords
uniqueItems
andcontains
are validated afteritems
and type coercion (withcoerceTypes
option) - Additional error parameters for
oneOf
keyword
Other
- Async schemas can only be compiled to async functions, compilation to generator functions is no longer supported.
- Documented convention for plugins.