forked from camptocamp/demo_geomapfish
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CONST_config-schema.yaml
442 lines (438 loc) · 16 KB
/
CONST_config-schema.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
type: map
mapping:
environment:
type: seq
required: True
sequence:
- type: str
vars:
type: map
required: True
mapping:
package:
type: str
required: True
enable_admin_interface:
type: bool
required: True
ogcproxy_enable:
type: bool
required: True
sqlalchemy.url:
type: str
required: True
default_max_age:
type: int
required: True
srid:
type: int
required: True
schema:
type: str
required: True
parentschema:
type: str
required: True
dbsessions:
type: map
required: True
mapping:
regex;([a-z0-9-]+):
type: map
mapping:
url:
type: str
required: true
jsbuild:
type: map
mapping:
config:
type: str
required: True
root_dir:
type: str
required: True
closure_library_path:
type: str
required: True
node_modules_path:
type: str
required: True
pyramid_closure:
type: map
required: True
mapping:
roots_with_prefix:
type: seq
required: True
sequence:
- type: seq
sequence:
- type: str
default_locale_name:
type: str
pattern: '[a-z][a-z]'
required: True
available_locale_names:
type: seq
required: True
sequence:
- type: str
pattern: '[a-z][a-z]'
authorized_referers:
type: seq
sequence:
- type: str
headers:
type: map
required: True
mapping:
login: &header
type: map
required: True
mapping:
access_control_allow_origin:
type: seq
sequence:
- type: str
access_control_max_age:
required: True
type: int
index: *header
config: *header
api: *header
themes: *header
fulltextsearch: *header
mapserver: *header
tinyows: *header
layers: *header
print: *header
profile: *header
raster: *header
shortener: *header
echo: *header
csvecho: *header
exportgpxkml: *header
error: *header
urllogin:
type: map
required: True
mapping:
rc4_key:
type: str
cache:
type: map
required: True
mapping:
backend:
required: True
type: str
admin_interface:
type: map
required: True
mapping:
map_x:
type: int
required: True
map_y:
type: int
required: True
map_zoom:
type: int
required: True
available_metadata:
type: seq
required: True
sequence: &types
- type: map
mapping:
name:
type: str
required: True
type:
type: str
available_functionalities:
type: seq
required: True
sequence:
- type: str
layers:
type: map
required: True
mapping:
geometry_validation:
type: bool
required: True
enum:
type: map
mapping:
defaults: &free_dict
type: map
mapping:
regex;(.+):
type: any
regex;(.+):
type: map
mapping:
defaults: *free_dict
dbsession:
type: str
attributes:
type: map
required: True
mapping:
regex;(.+):
type: map
mapping:
table:
type: str
required: True
column_name:
type: str
separator:
type: str
functionalities:
type: map
required: True
mapping:
anonymous:
<<: *free_dict
required: True
registered:
<<: *free_dict
required: True
available_in_templates:
type: seq
required: True
sequence:
- type: str
external_themes_url:
type: str
mapserverproxy:
type: map
required: True
mapping:
default_ogc_server:
type: str
required: True
default_external_ogc_server:
type: str
tinyowsproxy:
type: map
required: True
mapping:
tinyows_url:
type: str
required: True
proxy_online_resource:
type: str
online_resource:
type: str
tinyows_host:
type: str
fulltextsearch:
type: map
required: True
mapping:
defaultlimit:
type: int
required: True
maxlimit:
type: int
required: True
languages:
type: map
required: True
mapping:
regex;([a-z][a-z]):
type: str
reset_password:
type: map
required: True
mapping:
email_from:
type: str
email_body:
type: str
email_subject:
type: str
smtp_server:
type: str
servers:
<<: *free_dict
required: True
raster:
<<: *free_dict
required: True
shortener:
type: map
required: True
mapping:
base_url:
type: str
required: True
allowed_hosts:
type: seq
sequence:
- type: str
email_from:
type: str
email_subject:
type: str
email_body:
type: str
smtp_server:
type: str
hide_capabilities:
type: bool
required: True
print_url:
type: str
required: True
pdfreport:
type: map
mapping:
print_url:
type: str
layer-defaults: *free_dict
map-defaults: *free_dict
layers:
type: map
mapping:
regex;(.+):
type: map
mapping:
check_credentials:
type: bool
required: True
srs:
type: int
required: True
spec:
type: any
map: &map
type: map
mapping:
backgroundlayers:
type: seq
required: True
sequence:
- type: str
imageformat:
type: str
required: True
pattern: '[a-z]+/[a-z]+'
zoomType:
type: str
required: True
minScale:
type: int
required: True
style:
type: any
required: True
maps:
type: seq
sequence:
- *map
subdomain_url_template:
type: str
subdomains:
type: seq
sequence:
- type: str
checker:
type: map
required: True
mapping:
regex;(.+):
type: map
mapping:
fulltextsearch:
type: str
lang_files:
type: seq
sequence:
- type: str
print_template:
type: str
print_center_lon:
type: int
print_center_lat:
type: int
print_scale:
type: int
print_spec:
type: any
routes: &routes
type: seq
seq:
- type: map
mapping:
name:
type: str
required: true
params: ¶ms
type: map
mapping:
regex;([a-zA-Z0-9_\-~\.]+):
type: str
pattern: |-
[a-zA-Z0-9_\-~\.]+
phantomjs_routes: *routes
routes_disable:
type: seq
seq:
- type: str
themes:
type: map
mapping:
regex;([a-z]+):
type: map
mapping:
params: *params
forward_headers:
type: seq
sequence:
- type: str
check_collector:
type: map
required: True
mapping:
disabled:
type: seq
required: True
sequence:
- type: str
check_type:
type: map
required: True
mapping:
regex;([a-z]+):
type: seq
sequence:
- type: map
mapping:
name:
type: str
required: True
display:
type: str
required: True
hosts:
type: seq
required: True
sequence:
- type: map
mapping:
display:
type: str
required: True
url:
type: str
required: True
type:
type: str
required: True
regex;(.+):
type: any