auto: Generated Json Schemas
This commit is contained in:
@@ -1,44 +1 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.texture.item_texture",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Item Texture File",
|
||||
"description": "",
|
||||
"definitions": {
|
||||
"texture": {
|
||||
"oneOf": [
|
||||
{ "description": "A texture file", "type": "string", "pattern": "^textures/.+$" },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"overlay_color": { "description": "The color to apply to the texture", "format": "color-hex" },
|
||||
"path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"resource_pack_name": { "type": "string", "title": "Resource Pack Name", "description": "TODO: add description" },
|
||||
"texture_data": {
|
||||
"title": "Texture Data",
|
||||
"description": "TODO: add description",
|
||||
"type": "object",
|
||||
"propertyNames": { "pattern": "^[\\w_\\-\\.]+$" },
|
||||
"additionalProperties": {
|
||||
"title": "Texture Data",
|
||||
"description": "TODO: add description",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"textures": {
|
||||
"oneOf": [{ "$ref": "#/definitions/texture" }, { "description": "A collection of textures", "type": "array", "items": { "$ref": "#/definitions/texture" } }]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"texture_name": { "title": "Texture Name", "description": "TODO: add description", "type": "string" }
|
||||
}
|
||||
}
|
||||
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.texture.item_texture","additionalProperties":false,"type":"object","title":"Item Texture File","description":"","definitions":{"texture":{"oneOf":[{"description":"A texture file","type":"string","pattern":"^textures/.+$"},{"type":"object","additionalProperties":false,"properties":{"overlay_color":{"description":"The color to apply to the texture","format":"color-hex"},"path":{"description":"A texture file","type":"string","pattern":"^textures/.+$"}}}]}},"properties":{"resource_pack_name":{"type":"string","title":"Resource Pack Name","description":"TODO: add description"},"texture_data":{"title":"Texture Data","description":"TODO: add description","type":"object","propertyNames":{"pattern":"^[\\w_\\-\\.]+$"},"additionalProperties":{"title":"Texture Data","description":"TODO: add description","type":"object","additionalProperties":false,"properties":{"textures":{"oneOf":[{"$ref":"#/definitions/texture"},{"description":"A collection of textures","type":"array","items":{"$ref":"#/definitions/texture"}}]}}}},"texture_name":{"title":"Texture Name","description":"TODO: add description","type":"string"}}}
|
||||
Reference in New Issue
Block a user