|
33 | 33 | "type": "string" |
34 | 34 | }, |
35 | 35 | "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).", |
37 | 37 | "type": "string" |
38 | 38 | }, |
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" |
42 | 42 | }, |
43 | 43 | "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).", |
45 | 45 | "type": "number" |
46 | 46 | }, |
| 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 | + }, |
47 | 55 | "clamd_host": { |
48 | 56 | "description": "Hostname of ClamD server listening on TCP port 3310. If set, uploaded files are checked by ClamAV", |
49 | 57 | "type": "string" |
|
75 | 83 | "geometry_default_allow_null": { |
76 | 84 | "description": "Whether to allow null geometries by default", |
77 | 85 | "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" |
86 | 86 | } |
87 | 87 | } |
88 | 88 | }, |
|
0 commit comments