Scroll to navigation

JSON::Schema::Modern::Vocabulary::FormatAssertion(3pm) User Contributed Perl Documentation JSON::Schema::Modern::Vocabulary::FormatAssertion(3pm)

NAME

JSON::Schema::Modern::Vocabulary::FormatAssertion - Implementation of the JSON Schema Format-Assertion vocabulary

VERSION

version 0.583

DESCRIPTION

Implementation of the JSON Schema Draft 2020-12 "Format-Assertion" vocabulary, indicated in metaschemas with the URI "https://json-schema.org/draft/2020-12/vocab/format-assertion" and formally specified in <https://json-schema.org/draft/2020-12/json-schema-validation.html#section-7>.

Support is also provided for

Assertion behaviour can be enabled by "/json-schema.org/draft/2020-12/json-schema-core.html#rfc.section.8.1.2/referencing this vocabulary explicitly" in https: in a metaschema's $vocabulary keyword, or by toggling the "validate_formats" in JSON::Schema::Modern option.

Overrides to particular format implementations, or additions of new ones, can be done through "format_validations" in JSON::Schema::Modern.

Format "uri-template" is not yet implemented. Use of this format will always result in an error.

SEE ALSO

"Format Validation" in JSON::Schema::Modern

SUPPORT

Bugs may be submitted through <https://github.com/karenetheridge/JSON-Schema-Modern/issues>.

I am also usually active on irc, as 'ether' at "irc.perl.org" and "irc.libera.chat".

You can also find me on the JSON Schema Slack server <https://json-schema.slack.com> and OpenAPI Slack server <https://open-api.slack.com>, which are also great resources for finding help.

AUTHOR

Karen Etheridge <ether@cpan.org>

COPYRIGHT AND LICENCE

This software is copyright (c) 2020 by Karen Etheridge.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2024-04-03 perl v5.38.2