AsType/Draft2019_09/Vocabulary/Applicator.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« AsType/Draft7/Keywords.pm ↑ Summary AsType/Draft2019_09/Vocabulary/Content.pm »
1 package JSON::Schema::AsType::Draft2019_09::Vocabulary::Applicator;
2 14 our $AUTHORITY = 'cpan:YANICK';
3 14 $JSON::Schema::AsType::Draft2019_09::Vocabulary::Applicator::VERSION = '1.0.0';
4 # ABSTRACT: Applicator vocabulary for draft 2019-09 schemas
5  
6  
7 14 ▶use 5.42.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 14 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 14 ▶use feature qw/ module_true /;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 14 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 with 'JSON::Schema::AsType::Draft7::Keywords' => {
15 -excludes => [
16 14 map { "_keyword_$_" } qw/ minimum /,
17 '$id',
18 '$ref',
19  
20 # "properties",
21 # "items",
22 # "patternProperties",
23 # "additionalProperties",
24 # "additionalItems",
25 # "allOf",
26 # "anyOf",
27 # "oneOf",
28 # "if",
29 "multipleOf",
30 "uniqueItems",
31 "minItems",
32 "exclusiveMaximum",
33  
34 # "const",
35 # "dependencies",
36 "exclusiveMinimum",
37 "maxProperties",
38 "minLength",
39 "pattern",
40  
41 # "enum",
42 # "definitions",
43 # "required",
44 "contains",
45 "maximum",
46 "maxItems",
47 "propertyNames",
48 "minProperties",
49 "maxLength",
50  
51 # "type",
52 # "not"
53 ]
54 };
55  
56 __END__
« AsType/Draft7/Keywords.pm ↑ Summary AsType/Draft2019_09/Vocabulary/Content.pm »