Skip to content

Commit 9cfbf9a

Browse files
committed
Adding pack scope and product type
1 parent 9424aee commit 9cfbf9a

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

source/general/manifest/manifest.2.json

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,12 @@
146146
"type": "string",
147147
"description": "This is the name of the pack as it appears within Minecraft. This is a required field."
148148
},
149+
"pack_scope": {
150+
"title": "Pack Scope",
151+
"type": "string",
152+
"description": "This is the scope of the pack. This is only for resource packs",
153+
"enum": ["global", "world", "any"]
154+
},
149155
"uuid": {
150156
"title": "UUID",
151157
"$ref": "../UUIDV4.json",
@@ -216,8 +222,6 @@
216222
"type": "array",
217223
"items": { "type": "string", "title": "Name", "description": "Name of the author of the pack." }
218224
},
219-
"license": { "type": "string", "title": "License", "description": "The license of the pack." },
220-
"url": { "type": "string", "format": "uri", "title": "Url", "description": "The home website of your pack." },
221225
"generated_with": {
222226
"title": "Generated With",
223227
"description": "A list of tools and their version that have modified this pack.",
@@ -239,7 +243,15 @@
239243
"pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$"
240244
}
241245
}
242-
}
246+
},
247+
"license": { "type": "string", "title": "License", "description": "The license of the pack." },
248+
"product_type": {
249+
"type": "string",
250+
"title": "Product Type",
251+
"description": "The type of product this pack is. This is used to determine how the pack is displayed in the store.",
252+
"enum": ["", "addon"]
253+
},
254+
"url": { "type": "string", "format": "uri", "title": "Url", "description": "The home website of your pack." }
243255
}
244256
},
245257
"subpacks": {

0 commit comments

Comments
 (0)