Skip to content

Commit 6edb329

Browse files
committed
Fix schema required syntax
1 parent 3e2c907 commit 6edb329

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

schemas/preset_category.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,11 @@
77
"properties": {
88
"name": {
99
"description": "The title of this category in US English",
10-
"type": "string",
11-
"required": true
10+
"type": "string"
1211
},
1312
"icon": {
1413
"description": "Name of preset icon which represents this preset",
15-
"type": "string",
16-
"required": true
14+
"type": "string"
1715
},
1816
"members": {
1917
"description": "The IDs of the presets in this category",
@@ -22,9 +20,9 @@
2220
"uniqueItems": true,
2321
"items": {
2422
"type": "string"
25-
},
26-
"required": true
23+
}
2724
}
2825
},
26+
"required": ["name", "icon", "members"],
2927
"additionalProperties": false
3028
}

0 commit comments

Comments
 (0)