| 1 |
# vim: set ft=perl ts=8 sts=2 sw=2 tw=100 et : |
| 2 |
package MyVocabulary::ReservedKeyword; |
| 3 |
use Moo; |
| 4 |
use strictures 2; |
| 5 |
use stable 0.031 'postderef'; |
| 6 |
use experimental 'signatures'; |
| 7 |
use if "$]" >= 5.022, experimental => 're_strict'; |
| 8 |
no if "$]" >= 5.031009, feature => 'indirect'; |
| 9 |
no if "$]" >= 5.033001, feature => 'multidimensional'; |
| 10 |
no if "$]" >= 5.033006, feature => 'bareword_filehandles'; |
| 11 |
no if "$]" >= 5.041009, feature => 'smartmatch'; |
| 12 |
no feature 'switch'; |
| 13 |
with 'JSON::Schema::Modern::Vocabulary'; |
| 14 |
|
| 15 |
sub vocabulary { |
| 16 |
'https://vocabulary/reserved/keyword' => 'draft2020-12', |
| 17 |
} |
| 18 |
|
| 19 |
sub keywords { '$furble' } |
| 20 |
|
| 21 |
sub _traverse_keyword_furble ($self, $schema, $state) { 1 } |
| 22 |
|
| 23 |
sub _eval_keyword_furble ($self, $data, $schema, $state) { 1 } |
| 24 |
|
| 25 |
1; |