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

88 lines
2.0 KiB
JSON
Raw Normal View History

2021-06-06 10:07:19 +00:00
{
2021-11-20 11:26:35 +01:00
"$schema": "http://json-schema.org/draft-07/schema",
2021-06-06 10:07:19 +00:00
"$id": "blockception.minecraft.manifest",
"type": "object",
"title": "Manifest Schema",
2022-07-22 19:41:04 +02:00
"description": "The minecraft manifest schema.",
"required": [ "format_version", "header" ],
2021-06-06 10:07:19 +00:00
"examples": [
{
"format_version": 3,
2023-11-28 19:52:40 +01:00
"header": {
"description": "pack.description",
"name": "pack.name",
"uuid": "UUID2",
"min_engine_version": [ 1, 20, 40 ],
"version": [ 1, 0, 0 ]
2023-11-28 19:52:40 +01:00
},
"modules": [
{
"type": "data",
"uuid": "UUID2",
"version": [ 1, 0, 0 ]
2023-11-28 19:52:40 +01:00
}
]
2021-06-06 10:07:19 +00:00
}
],
2021-11-05 11:18:28 +01:00
"defaultSnippets": [
{
"label": "New Manifest",
"body": {
"format_version": 3,
2023-11-28 19:52:40 +01:00
"header": {
"description": "pack.description",
"name": "pack.name",
"uuid": "$UUID",
"min_engine_version": [ 1, 20, 10 ],
"version": [ 1, 0, 0 ]
2023-11-28 19:52:40 +01:00
},
"modules": [
{
"type": "data",
"uuid": "$UUID",
"version": [ 1, 0, 0 ]
2023-11-28 19:52:40 +01:00
}
]
2021-11-05 11:18:28 +01:00
}
}
],
2021-06-06 10:07:19 +00:00
"allOf": [
{
2023-11-28 19:52:40 +01:00
"if": {
"properties": {
"format_version": {
"const": 1,
"type": "number",
"title": "Format Version"
}
}
},
2021-06-06 10:07:19 +00:00
"then": { "$ref": "./manifest/manifest.1.json" }
},
{
2023-11-28 19:52:40 +01:00
"if": {
"properties": {
"format_version": {
"const": 2,
"type": "number",
"title": "Format Version"
}
}
},
2021-06-06 10:07:19 +00:00
"then": { "$ref": "./manifest/manifest.2.json" }
},
{
"if": {
"properties": {
"format_version": {
"const": 3,
"type": "number",
"title": "Format Version"
}
}
},
"then": { "$ref": "./manifest/manifest.3.json" }
2021-06-06 10:07:19 +00:00
}
]
}