Skip to content

Commit a980520

Browse files
committed
Improve schema descriptions
1 parent 9cca473 commit a980520

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

schemas/qwc-data-service.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,25 @@
3333
"type": "string"
3434
},
3535
"allowed_attachment_extensions": {
36-
"description": "Comma separated list of allowed attachment file extensions, i.e. '.png,.jpg'",
36+
"description": "Comma separated list of allowed attachment file extensions, i.e. '.png,.jpg'. If empty, all extensions are allowed. Default: `` (empty).",
3737
"type": "string"
3838
},
39-
"recaptcha_site_secret_key": {
40-
"description": "Captcha site secret key. Set to enable ReCAPTCHA verification for public users",
41-
"type": "string"
39+
"allowed_extensions_per_dataset": {
40+
"description": "Loopup of allowed attachment file extensions per dataset, values as comma separated list, i.e. '.png,.jpg'",
41+
"type": "object"
4242
},
4343
"max_attachment_file_size": {
44-
"description": "Maximum attachment file size in bytes",
44+
"description": "Maximum attachment file size in bytes. Default is `10485760` (10 MB).",
4545
"type": "number"
4646
},
47+
"max_attachment_file_size_per_dataset": {
48+
"description": "Lookup of maximum attachment file size in bytes per dataset.",
49+
"type": "object"
50+
},
51+
"recaptcha_site_secret_key": {
52+
"description": "Captcha site secret key. Set to enable ReCAPTCHA verification for public users",
53+
"type": "string"
54+
},
4755
"clamd_host": {
4856
"description": "Hostname of ClamD server listening on TCP port 3310. If set, uploaded files are checked by ClamAV",
4957
"type": "string"
@@ -75,14 +83,6 @@
7583
"geometry_default_allow_null": {
7684
"description": "Whether to allow null geometries by default",
7785
"type": "boolean"
78-
},
79-
"allowed_extensions_per_dataset": {
80-
"description": "Loopup of allowed attachment file extensions per dataset, values as comma separated list, i.e. '.png,.jpg'",
81-
"type": "object"
82-
},
83-
"max_attachment_file_size_per_dataset": {
84-
"description": "Lookup of maximum attachment file size in bytes per dataset",
85-
"type": "object"
8686
}
8787
}
8888
},

0 commit comments

Comments
 (0)