Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 107 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | return [ |
3 | 'type' => 'object', |
4 | 'properties' => [ |
5 | 'displaymode' => [ |
6 | 'enum' => [ |
7 | 0 => 'normal', |
8 | 1 => 'error' |
9 | ] |
10 | ], |
11 | 'introduction' => [ |
12 | 'type' => 'string', |
13 | ], |
14 | 'footer' => [ |
15 | 'type' => 'string', |
16 | ], |
17 | 'display_name' => [ |
18 | 'type' => 'string', |
19 | ], |
20 | 'image' => [ |
21 | 'type' => 'string', |
22 | ], |
23 | 'colour' => [ |
24 | 'enum' => [ |
25 | 0 => 'red', |
26 | 1 => 'lightgrey', |
27 | 2 => 'skyblue', |
28 | 3 => 'bluegrey', |
29 | 4 => 'aquamarine', |
30 | 5 => 'violet', |
31 | 6 => 'salmon', |
32 | 7 => 'yellow', |
33 | 8 => 'gold', |
34 | 9 => 'brightgreen', |
35 | ], |
36 | ], |
37 | 'content' => [ |
38 | 'type' => 'array', |
39 | 'items' => [ [ |
40 | 'type' => 'object', |
41 | 'properties' => [ |
42 | 'title' => [ |
43 | 'type' => 'string', |
44 | ], |
45 | 'image' => [ |
46 | 'type' => 'string', |
47 | ], |
48 | 'display_title' => [ |
49 | 'type' => 'string', |
50 | ], |
51 | ], |
52 | 'required' => [ |
53 | 0 => 'title', |
54 | ], |
55 | ] ], |
56 | ], |
57 | 'scope' => [ |
58 | 'type' => 'object', |
59 | 'properties' => [ |
60 | 'included_categories' => [ |
61 | 'type' => 'array', |
62 | 'items' => [ [ |
63 | 'type' => 'object', |
64 | 'properties' => [ |
65 | 'category_name' => [ |
66 | 'type' => 'string' |
67 | ], |
68 | 'category_depth' => [ |
69 | 'type' => 'number', |
70 | 'default' => 9 |
71 | ] |
72 | ] |
73 | ] ] |
74 | ], |
75 | 'excluded_categories' => [ |
76 | 'type' => 'array', |
77 | 'items' => [ [ |
78 | 'type' => 'object', |
79 | 'properties' => [ |
80 | 'category_name' => [ |
81 | 'type' => 'string' |
82 | ], |
83 | 'category_depth' => [ |
84 | 'type' => 'number', |
85 | 'default' => 9 |
86 | ] |
87 | ] |
88 | ] ] |
89 | ], |
90 | 'included_pages' => [ |
91 | 'type' => 'array', |
92 | 'items' => [ [ |
93 | 'type' => 'string' |
94 | ] ] |
95 | ], |
96 | 'excluded_pages' => [ |
97 | 'type' => 'array', |
98 | 'items' => [ [ |
99 | 'type' => 'string' |
100 | ] ] |
101 | ] |
102 | ] |
103 | ] |
104 | ], |
105 | 'required' => [ |
106 | 0 => 'content', |
107 | ], |
108 | ]; |