Updated schema for the menu_category property (#142)
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user