Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / config / tests / config_test / config / schema / config_test.schema.yml
1 # Schema for the configuration files of the Configuration Test module.
2
3 config_test_dynamic:
4   type: config_entity
5   mapping:
6     id:
7       type: string
8       label: 'ID'
9     label:
10       type: label
11       label: 'Label'
12     weight:
13       type: integer
14       label: 'Weight'
15     style:
16       type: string
17       label: 'style'
18     size:
19       type: string
20       label: 'Size'
21     size_value:
22       type: string
23       label: 'Size value'
24     protected_property:
25       type: string
26       label: 'Protected property'
27
28 config_test.dynamic.*:
29   type: config_test_dynamic
30   label: 'Config test dynamic settings'
31
32 config_test.dynamic.*.*:
33   type: config_test_dynamic
34   label: 'Config test dynamic settings'
35
36 config_test.dynamic.*.third_party.node:
37   type: mapping
38   mapping:
39     foo:
40       type: string
41
42 config_test.query.*:
43   type: config_entity
44   mapping:
45     id:
46       type: string
47       label: 'ID'
48     label:
49       type: label
50       label: 'Label'
51     array:
52       type: sequence
53       label: 'Array level 1'
54       sequence:
55         type: sequence
56         label: 'Array level 2'
57         sequence:
58           type: integer
59           label: 'Value'
60     number:
61       type: integer
62       label: 'number'
63
64 config_test.types:
65   type: config_object
66   label: 'Configuration type'
67   mapping:
68     array:
69       type: sequence
70       label: 'Array'
71       sequence:
72         type: string
73         label: 'Item'
74     boolean:
75       type: boolean
76       label: 'Boolean'
77     float:
78       type: float
79       label: 'Float'
80     float_as_integer:
81       type: float
82       label: 'Float'
83     exp:
84       type: float
85       label: 'Exponential'
86     hex:
87       type: integer
88       label: 'Hexadecimal'
89     int:
90       type: integer
91       label: 'Integer'
92     octal:
93       type: integer
94       label: 'Octal'
95     string:
96       type: string
97       label: 'String'
98     string_int:
99       type: string
100       label: 'String integer'
101
102 config_test.no_status.default:
103   type: config_object
104   label: 'Configuration no status default'
105   mapping:
106     id:
107       type: string
108       label: 'ID'
109     label:
110       type: label
111       label: 'Label'
112
113 config_test.system:
114   type: config_object
115   label: 'Configuration system'
116   mapping:
117     foo:
118       type: string
119       label: 'Foo'
120     baz:
121       type: string
122       label: 'Baz'
123     '404':
124       type: string
125       label: '404'
126
127 config_test.new:
128   type: config_object
129   label: 'Configuration test'
130   mapping:
131      key:
132        type: string
133        label: 'Test setting'
134      new_key:
135        type: string
136        label: 'Test setting'
137      uuid:
138       type: uuid
139
140 config_test.old:
141   type: config_test.new
142
143 config_test.foo:
144   type: config_object
145   label: 'Configuration test'
146   mapping:
147      value:
148        type: mapping
149        label: 'Value'
150        mapping:
151          key:
152            type: string
153            label: 'Key'
154      label:
155        type: label
156        label: 'Label'
157
158 config_test.bar:
159   type: config_test.foo
160
161 config_test.validation:
162   type: config_object
163   label: 'Configuration type'
164   constraints:
165     Callback:
166       callback: [\Drupal\config_test\ConfigValidation, validateMapping]
167   mapping:
168     llama:
169       type: string
170       constraints:
171         Callback:
172           callback: [\Drupal\config_test\ConfigValidation, validateLlama]
173     cat:
174       type: mapping
175       mapping:
176         type:
177           type: string
178           constraints:
179             Callback:
180               callback: [\Drupal\config_test\ConfigValidation, validateCats]
181         count:
182           type: integer
183           constraints:
184             Callback:
185               callback: [\Drupal\config_test\ConfigValidation, validateCatCount]
186     giraffe:
187       type: sequence
188       constraints:
189         Callback:
190           callback: [\Drupal\config_test\ConfigValidation, validateSequence]
191       sequence:
192         type: string
193         constraints:
194           Callback:
195             callback: [\Drupal\config_test\ConfigValidation, validateGiraffes]
196     uuid:
197       type: uuid