JSON::Validator::Schema::Draft201909 - JSON-Schema Draft 2019-09
See "SYNOPSIS" in JSON::Validator::Schema.
This class represents https://json-schema.org/specification-links.html#2019-09-formerly-known-as-draft-8.
Support for parsing the draft is not yet complete. Look at https://github.com/mojolicious/json-validator/blob/master/t/draft2019-09-acceptance.t for the most recent overview of what is not yet supported.
Currently less than 1% of the official test suite gets skipped. Here is a list of known limitations:
Float and integers are equal up to 64-bit representation limits
This module is unable to say that the 64-bit number "9007199254740992.0" is the same as "9007199254740992".
unevaluatedItems
See "unevaluatedProperties"
unevaluatedProperties
"unevaluatedItems" and "unevaluatedProperties" needs to track what has been valdated or not using annotations. This is not yet supported.
$recursiveAnchor
Basic support for $recursiveRef is supported, but using it together with $recursiveAnchor is not.
$recursiveRef
my $str = $schema->specification;
Defaults to "https://json-schema.org/draft/2019-09/schema".
JSON::Validator::Schema.
To install JSON::Validator, copy and paste the appropriate command in to your terminal.
cpanm
cpanm JSON::Validator
CPAN shell
perl -MCPAN -e shell install JSON::Validator
For more information on module installation, please visit the detailed CPAN module installation guide.