|
174 | 174 | "type": "object", |
175 | 175 | "properties": { |
176 | 176 | "type": { "enum": ["array"] }, |
177 | | - "editor": { "enum": ["json", "requestListSources", "pseudoUrls", "globs", "keyValue", "stringList", "select", "hidden"] }, |
178 | | - "title": { "type": "string" }, |
179 | | - "description": { "type": "string" }, |
180 | | - "default": { "type": "array" }, |
181 | | - "prefill": { "type": "array" }, |
182 | | - "example": { "type": "array" }, |
183 | | - "nullable": { "type": "boolean" }, |
184 | | - "minItems": { "type": "integer" }, |
185 | | - "maxItems": { "type": "integer" }, |
186 | | - "uniqueItems": { "type": "boolean" }, |
187 | | - |
188 | | - "sectionCaption": { "type": "string" }, |
189 | | - "sectionDescription": { "type": "string" } |
| 177 | + "editor": { "enum": ["json", "requestListSources", "pseudoUrls", "globs", "keyValue", "stringList", "select", "hidden"] } |
190 | 178 | }, |
191 | 179 | "additionalProperties": true, |
192 | 180 | "required": ["type", "title", "description", "editor"], |
|
196 | 184 | } |
197 | 185 | }, |
198 | 186 | "then": { |
| 187 | + "additionalProperties": false, |
199 | 188 | "required": ["items"], |
200 | 189 | "properties": { |
| 190 | + "type": { "enum": ["array"] }, |
| 191 | + "editor": { "enum": ["select"] }, |
| 192 | + "title": { "type": "string" }, |
| 193 | + "description": { "type": "string" }, |
| 194 | + "default": { "type": "array" }, |
| 195 | + "prefill": { "type": "array" }, |
| 196 | + "example": { "type": "array" }, |
| 197 | + "nullable": { "type": "boolean" }, |
| 198 | + "minItems": { "type": "integer" }, |
| 199 | + "maxItems": { "type": "integer" }, |
| 200 | + "uniqueItems": { "type": "boolean" }, |
| 201 | + "sectionCaption": { "type": "string" }, |
| 202 | + "sectionDescription": { "type": "string" }, |
201 | 203 | "items": { |
202 | 204 | "type": "object", |
203 | 205 | "additionalProperties": false, |
|
218 | 220 | } |
219 | 221 | }, |
220 | 222 | "else": { |
| 223 | + "additionalProperties": false, |
221 | 224 | "properties": { |
| 225 | + "type": { "enum": ["array"] }, |
| 226 | + "editor": { "enum": ["json", "requestListSources", "pseudoUrls", "globs", "keyValue", "stringList", "hidden"] }, |
| 227 | + "title": { "type": "string" }, |
| 228 | + "description": { "type": "string" }, |
| 229 | + "default": { "type": "array" }, |
| 230 | + "prefill": { "type": "array" }, |
| 231 | + "example": { "type": "array" }, |
| 232 | + "nullable": { "type": "boolean" }, |
| 233 | + "minItems": { "type": "integer" }, |
| 234 | + "maxItems": { "type": "integer" }, |
| 235 | + "uniqueItems": { "type": "boolean" }, |
| 236 | + "sectionCaption": { "type": "string" }, |
| 237 | + "sectionDescription": { "type": "string" }, |
222 | 238 | "placeholderKey": { "type": "string" }, |
223 | 239 | "placeholderValue": { "type": "string" }, |
224 | 240 | "patternKey": { "type": "string" }, |
|
0 commit comments