-
-
25 Jun 2022 03:30:49 UTC
- Distribution: JSON-Schema-Modern
- Module version: 0.553
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (28)
- Testers (88 / 0 / 0)
- Kwalitee
Bus factor: 1- 92.66% Coverage
- License: perl_5
- Perl: v5.20.0
- Activity
24 month- Tools
- Download (161.44KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- B
- Carp
- Exporter
- Feature::Compat::Try
- File::ShareDir
- Getopt::Long::Descriptive
- JSON::MaybeXS
- JSON::PP
- List::Util
- MIME::Base64
- Module::Runtime
- Mojo::JSON::Pointer
- Mojo::URL
- Mojolicious
- Moo
- Moo::Role
- MooX::HandlesVia
- MooX::TypeTiny
- Path::Tiny
- Ref::Util
- Safe::Isa
- Scalar::Util
- Storable
- Sub::Install
- Types::Standard
- constant
- experimental
- if
- namespace::clean
- open
- overload
- strict
- strictures
- warnings
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
JSON::Schema::Modern::Vocabulary::FormatAssertion - Implementation of the JSON Schema Format-Assertion vocabulary
VERSION
version 0.553
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://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-validation-01#section-7.Support is also provided for
the equivalent Draft 2019-09 keyword, indicated in metaschemas with the URI
https://json-schema.org/draft/2019-09/vocab/format
and formally specified in https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-02#section-7.the equivalent Draft 7 keyword, as formally specified in https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-7.
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.
Formats
iri-reference
anduri-template
are not yet implemented. Use of these formats will always result in an error.SEE ALSO
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
andirc.libera.chat
.You can also find me on the JSON Schema Slack server and OpenAPI Slack server, 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.
Module Install Instructions
To install JSON::Schema::Modern, copy and paste the appropriate command in to your terminal.
cpanm JSON::Schema::Modern
perl -MCPAN -e shell install JSON::Schema::Modern
For more information on module installation, please visit the detailed CPAN module installation guide.