Added support for gametest fields
This commit is contained in:
@@ -128,10 +128,16 @@
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": ["resources", "data", "client_data", "interface", "world_template", "javascript"],
|
||||
"enum": ["resources", "data", "client_data", "interface", "world_template", "javascript", "script"],
|
||||
"description": "This is the type of the module.",
|
||||
"title": "Type"
|
||||
},
|
||||
"language": {
|
||||
"type": "string",
|
||||
"title": "Language",
|
||||
"description": "The programming language to use",
|
||||
"enum": ["javascript"]
|
||||
},
|
||||
"uuid": {
|
||||
"$ref": "#/definitions/uuidv4",
|
||||
"description": "This is a unique identifier for the module in the same format as the pack's UUID in the header. This should be different from the pack's UUID, and different for every module",
|
||||
@@ -198,7 +204,7 @@
|
||||
"description": "A single definition of a subpack",
|
||||
"title": "Subpacks",
|
||||
"required": ["folder_name", "name", "memory_tier"],
|
||||
"example": [{"folder_name": "tier1", "name": "low", "memory_tier": 1}],
|
||||
"example": [{ "folder_name": "tier1", "name": "low", "memory_tier": 1 }],
|
||||
"properties": {
|
||||
"folder_name": {
|
||||
"type": "string",
|
||||
|
||||
Reference in New Issue
Block a user