JSON::Schema::Modern::Vocabulary - Base role for JSON Schema vocabulary classes
version 0.512
package MyApp::Vocabulary::Awesome; use Moo::Role; with 'JSON::Schema::Modern::Vocabulary';
This package is the role which all all vocabulary classes for JSON::Schema::Modern must compose, describing the basic structure expected of a vocabulary class.
User-defined custom vocabularies are not supported at this time.
The canonical URI describing the vocabulary, as described in JSON Schema Core Meta-specification, section 8.1.2. Must be implemented by the composing class.
The list of keywords defined by the vocabulary. Must be implemented by the composing class.
Traverses a subschema.
Recursively traverses the schema at the current keyword.
Recursively traverses the list of subschemas at the current keyword.
Recursively traverses the (subschema) values of the object at the current keyword.
Recursively traverses the subschema under one property of the object at the current keyword.
Evaluates a subschema.
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.
irc.perl.org
irc.libera.chat
Karen Etheridge <ether@cpan.org>
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.
To install JSON::Schema::Modern, copy and paste the appropriate command in to your terminal.
cpanm
cpanm JSON::Schema::Modern
CPAN shell
perl -MCPAN -e shell install JSON::Schema::Modern
For more information on module installation, please visit the detailed CPAN module installation guide.