Adding pack scope and product type

This commit is contained in:
DaanV2
2024-01-07 14:58:21 +01:00
parent 9424aeea7d
commit 9cfbf9a577

View File

@@ -146,6 +146,12 @@
"type": "string", "type": "string",
"description": "This is the name of the pack as it appears within Minecraft. This is a required field." "description": "This is the name of the pack as it appears within Minecraft. This is a required field."
}, },
"pack_scope": {
"title": "Pack Scope",
"type": "string",
"description": "This is the scope of the pack. This is only for resource packs",
"enum": ["global", "world", "any"]
},
"uuid": { "uuid": {
"title": "UUID", "title": "UUID",
"$ref": "../UUIDV4.json", "$ref": "../UUIDV4.json",
@@ -216,8 +222,6 @@
"type": "array", "type": "array",
"items": { "type": "string", "title": "Name", "description": "Name of the author of the pack." } "items": { "type": "string", "title": "Name", "description": "Name of the author of the pack." }
}, },
"license": { "type": "string", "title": "License", "description": "The license of the pack." },
"url": { "type": "string", "format": "uri", "title": "Url", "description": "The home website of your pack." },
"generated_with": { "generated_with": {
"title": "Generated With", "title": "Generated With",
"description": "A list of tools and their version that have modified this pack.", "description": "A list of tools and their version that have modified this pack.",
@@ -239,7 +243,15 @@
"pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$" "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$"
} }
} }
} },
"license": { "type": "string", "title": "License", "description": "The license of the pack." },
"product_type": {
"type": "string",
"title": "Product Type",
"description": "The type of product this pack is. This is used to determine how the pack is displayed in the store.",
"enum": ["", "addon"]
},
"url": { "type": "string", "format": "uri", "title": "Url", "description": "The home website of your pack." }
} }
}, },
"subpacks": { "subpacks": {