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",
"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": {
"title": "UUID",
"$ref": "../UUIDV4.json",
@@ -216,8 +222,6 @@
"type": "array",
"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": {
"title": "Generated With",
"description": "A list of tools and their version that have modified this pack.",
@@ -239,7 +243,15 @@
"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": {