Breaking changes
- errors are now returned in the order they occur
- specifying any other properties in a schema with a
$ref
throws an error #47 #54
Notable changes
- default schema loader now supports
file:
, http:
and https:
URI schemes.
When a schema cannot be found in the internal storage, a schema hosted under
one of the supported URI schemes will be fetched and stored.
To maintain the old behavior (internal storage only) give the option
schema_loader_fun
the value fun jesse_database:load/1
- RFC 3339 validator for date and time formats
- a schema referenced by
$ref
can now follow a different JSON Schema draft
than the parent
- allow an external validator to be given as option e.g. to verify runtime requirements #42
- schema id needs to be a fully qualified URI. jesse will build a canonical one otherwise
based on the context - parent schema's id, loading path, etc.
Full list of changes since 1.4.0