Updated schema for the menu_category property (#142)

This commit is contained in:
Ultra
2022-11-25 19:42:49 +00:00
committed by GitHub
parent b09a6a81cf
commit beafe8e116

View File

@@ -64,24 +64,11 @@
"additionalProperties": false,
"required": ["category"],
"properties": {
"menu_category": {
"title": "",
"description": "",
"type": "object",
"additionalProperties": false,
"properties": {
"category": {
"title": "Category",
"description": "Determines which category this block will be placed under in the inventory and crafting table container screens. Options are \"construction\", \"nature\", \"equipment\", \"items\", and \"none\". If omitted or \"none\" is specified, the block will not appear in the inventory or crafting table container screens.",
"type": "string",
"enum": ["construction", "nature", "equipment", "items", "none"]
},
"group": {
"title": "Group",
"description": "Specifies the language file key that maps to which expandable/collapsible group this block will be a part of within a category. If this field is omitted, or there is no group whose name matches the loc string, this block will be placed standalone in the given category.",
"type": "string"
}
}
"category": {
"title": "Category",
"description": "Determines which category this block will be placed under in the inventory and crafting table container screens. Options are \"construction\", \"nature\", \"equipment\", \"items\", and \"none\". If omitted or \"none\" is specified, the block will not appear in the inventory or crafting table container screens.",
"type": "string",
"enum": ["construction", "nature", "equipment", "items", "none"]
},
"group": {
"title": "Group",