|
179 | 179 | "type": "object",
|
180 | 180 | "properties": {
|
181 | 181 | "type": { "enum": ["array"] },
|
182 |
| - "editor": { "enum": ["json", "requestListSources", "pseudoUrls", "globs", "keyValue", "stringList", "select", "schemaBased", "hidden"] }, |
| 182 | + "editor": { "enum": ["json", "requestListSources", "pseudoUrls", "globs", "keyValue", "stringList", "fileupload", "select", "schemaBased", "hidden"] }, |
183 | 183 | "isSecret": { "type": "boolean" }
|
184 | 184 | },
|
185 | 185 | "required": ["type", "title", "description", "editor"],
|
|
225 | 225 | "items": { "$ref": "#/definitions/arrayItemsKeyValue" }
|
226 | 226 | }
|
227 | 227 | },
|
| 228 | + { |
| 229 | + "required": ["editor"], |
| 230 | + "properties": { |
| 231 | + "editor": { "enum": ["fileupload"] }, |
| 232 | + "items": { "$ref": "#/definitions/arrayItemsFileupload" } |
| 233 | + } |
| 234 | + }, |
228 | 235 | {
|
229 | 236 | "required": ["editor"],
|
230 | 237 | "properties": {
|
|
679 | 686 | "type": "object",
|
680 | 687 | "properties": {
|
681 | 688 | "type": { "enum": ["array"] },
|
682 |
| - "editor": { "enum": ["json", "requestListSources", "pseudoUrls", "globs", "keyValue", "stringList", "select", "hidden"] }, |
| 689 | + "editor": { "enum": ["json", "requestListSources", "pseudoUrls", "globs", "keyValue", "stringList", "fileupload", "select", "hidden"] }, |
683 | 690 | "title": { "type": "string" },
|
684 | 691 | "description": { "type": "string" },
|
685 | 692 | "nullable": { "type": "boolean" },
|
|
708 | 715 | "items": { "$ref": "#/definitions/arrayItemsKeyValue" }
|
709 | 716 | }
|
710 | 717 | },
|
| 718 | + { |
| 719 | + "required": ["editor"], |
| 720 | + "properties": { |
| 721 | + "editor": { "enum": ["fileupload"] }, |
| 722 | + "items": { "$ref": "#/definitions/arrayItemsFileupload" } |
| 723 | + } |
| 724 | + }, |
711 | 725 | {
|
712 | 726 | "required": ["editor"],
|
713 | 727 | "properties": {
|
|
1007 | 1021 | },
|
1008 | 1022 | "required": ["type"]
|
1009 | 1023 | },
|
| 1024 | + "arrayItemsFileupload": { |
| 1025 | + "title": "Utils: Array items fileupload definition", |
| 1026 | + "type": "object", |
| 1027 | + "additionalProperties": false, |
| 1028 | + "properties": { |
| 1029 | + "type": { "enum": ["string"] }, |
| 1030 | + "pattern": { "type": "string" }, |
| 1031 | + "minLength": { "type": "integer" }, |
| 1032 | + "maxLength": { "type": "integer" } |
| 1033 | + }, |
| 1034 | + "required": ["type"] |
| 1035 | + }, |
1010 | 1036 | "arrayItemsGlobs": {
|
1011 | 1037 | "title": "Utils: Array items globs definition",
|
1012 | 1038 | "type": "object",
|
|
0 commit comments