Files
minecraft-bedrock-json-schemas/source/general/manifest.json

25 lines
856 B
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
"$id": "blockception.minecraft.manifest",
"type": "object",
2021-03-21 15:18:38 +01:00
"title": "Manifest Schema",
2020-11-01 17:22:42 +01:00
"description": "The minecraft manifest schema",
"required": ["format_version", "header"],
2020-11-17 09:56:41 +01:00
"examples": [
{
"format_version": 2,
2021-03-21 15:18:38 +01:00
"header": { "description": "pack.description", "name": "pack.name", "uuid": "UUID2", "min_engine_version": [1, 16, 0], "version": [1, 0, 0] },
"modules": [{ "type": "data", "uuid": "UUID2", "version": [1, 0, 0] }]
2020-11-17 09:56:41 +01:00
}
],
2020-11-01 17:22:42 +01:00
"allOf": [
2021-05-18 23:32:44 +02:00
{
"if": { "properties": { "format_version": { "const": 1, "type": "number", "title": "Format Version" } } },
"then": { "$ref": "./manifest/manifest.1.json" }
},
{
"if": { "properties": { "format_version": { "const": 2, "type": "number", "title": "Format Version" } } },
"then": { "$ref": "./manifest/manifest.2.json" }
}
2020-11-01 17:22:42 +01:00
]
}