39 lines
819 B
JSON
39 lines
819 B
JSON
|
|
{
|
||
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
||
|
|
"$id": "blockception.minecraft.manifest",
|
||
|
|
"type": "object",
|
||
|
|
"title": "The minecraft manifest schema",
|
||
|
|
"description": "The minecraft manifest schema",
|
||
|
|
"required": ["format_version", "header"],
|
||
|
|
"allOf": [
|
||
|
|
{
|
||
|
|
"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"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|