Skip to content

Commit 9cf7a74

Browse files
revert schemas
1 parent 7f34ae5 commit 9cf7a74

File tree

3 files changed

+12
-24
lines changed

3 files changed

+12
-24
lines changed

assets/schemas/ExtensionSelector.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,11 @@
66
"input_geode_object": {
77
"type": "string"
88
},
9-
"filenames": {
10-
"type": "array",
11-
"items": {
12-
"type": "string"
13-
},
14-
"uniqueItems": true,
15-
"minItems": 1
9+
"filename": {
10+
"type": "string",
11+
"not": { "type": "null" }
1612
}
1713
},
18-
"required": ["input_geode_object", "filenames"],
14+
"required": ["input_geode_object", "filename"],
1915
"additionalProperties": false
2016
}

assets/schemas/MissingFilesSelector.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,11 @@
66
"input_geode_object": {
77
"type": "string"
88
},
9-
"filenames": {
10-
"type": "array",
11-
"items": {
12-
"type": "string"
13-
},
14-
"uniqueItems": true,
15-
"minItems": 1
9+
"filename": {
10+
"type": "string",
11+
"not": { "type": "null" }
1612
}
1713
},
18-
"required": ["input_geode_object", "filenames"],
14+
"required": ["input_geode_object", "filename"],
1915
"additionalProperties": false
2016
}

assets/schemas/ObjectSelector.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,14 @@
33
"type": "object",
44
"method": "POST",
55
"properties": {
6-
"filenames": {
7-
"type": "array",
8-
"items": {
9-
"type": "string"
10-
},
11-
"uniqueItems": true,
12-
"minItems": 1
6+
"filename": {
7+
"type": "string",
8+
"not": { "type": "null" }
139
},
1410
"key": {
1511
"type": ["string", "null"]
1612
}
1713
},
18-
"required": ["filenames", "key"],
14+
"required": ["filename", "key"],
1915
"additionalProperties": false
2016
}

0 commit comments

Comments
 (0)