auto: Generated
This commit is contained in:
@@ -1,62 +1 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.items",
|
||||
"examples": [
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"minecraft:item": {
|
||||
"description": { "identifier": "blockception:item", "category": "Equipment" },
|
||||
"components": { "minecraft:icon": "item", "minecraft:render_offsets": "apple" }
|
||||
}
|
||||
}
|
||||
],
|
||||
"allOf": [
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } }, "then": { "$ref": "#/definitions/A" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "#/definitions/A" } }
|
||||
],
|
||||
"definitions": {
|
||||
"B": {
|
||||
"type": "string",
|
||||
"title": "The minecraft item identifier 1.8.0",
|
||||
"description": "The minecraft item identifier",
|
||||
"pattern": "^[0-9a-zA-Z:_\\-\\.]+$"
|
||||
},
|
||||
"A": {
|
||||
"description": "Minecraft items 1.10.0",
|
||||
"required": ["format_version", "minecraft:item"],
|
||||
"title": "Item",
|
||||
"properties": {
|
||||
"format_version": { "type": "string", "description": "TODO description", "title": "TODO title" },
|
||||
"minecraft:item": {
|
||||
"title": "Item",
|
||||
"description": "TODO",
|
||||
"required": ["description", "components"],
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"description": {
|
||||
"title": "Description",
|
||||
"description": "TODO",
|
||||
"required": ["identifier"],
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"identifier": { "title": "Identifier", "description": "TODO", "$ref": "#/definitions/B" },
|
||||
"category": { "title": "Category", "description": "TODO", "type": "string" }
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"title": "Components",
|
||||
"description": "TODO",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"minecraft:icon": { "title": "Icon", "description": "The texture defined in `textures/item_texture.json`", "type": "string" },
|
||||
"minecraft:render_offsets": { "type": "string", "description": "TODO", "title": "Render offsets", "enum": ["apple"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.items","examples":[{"format_version":"1.10.0","minecraft:item":{"description":{"identifier":"blockception:item","category":"Equipment"},"components":{"minecraft:icon":"item","minecraft:render_offsets":"apple"}}}],"allOf":[{"if":{"properties":{"format_version":{"type":"string","const":"1.10"}}},"then":{"$ref":"#/definitions/A"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.10.0"}}},"then":{"$ref":"#/definitions/A"}}],"definitions":{"B":{"type":"string","title":"The minecraft item identifier 1.8.0","description":"The minecraft item identifier","pattern":"^[0-9a-zA-Z:_\\-\\.]+$"},"A":{"description":"Minecraft items 1.10.0","required":["format_version","minecraft:item"],"title":"Item","properties":{"format_version":{"type":"string","description":"TODO description","title":"TODO title"},"minecraft:item":{"title":"Item","description":"TODO","required":["description","components"],"type":"object","additionalProperties":false,"properties":{"description":{"title":"Description","description":"TODO","required":["identifier"],"type":"object","additionalProperties":false,"properties":{"identifier":{"title":"Identifier","description":"TODO","$ref":"#/definitions/B"},"category":{"title":"Category","description":"TODO","type":"string"}}},"components":{"title":"Components","description":"TODO","additionalProperties":false,"properties":{"minecraft:icon":{"title":"Icon","description":"The texture defined in `textures/item_texture.json`","type":"string"},"minecraft:render_offsets":{"type":"string","description":"TODO","title":"Render offsets","enum":["apple"]}}}}}}}}}
|
||||
Reference in New Issue
Block a user