Files
minecraft-bedrock-json-schemas/source/skinpacks/skins.json

53 lines
1.9 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
"title": "Skip Pack",
2022-07-22 19:41:04 +02:00
"description": "Skin pack definition.",
2021-06-06 10:07:19 +00:00
"type": "object",
"additionalProperties": false,
"required": ["serialize_name", "localization_name", "skins"],
"properties": {
"serialize_name": {
"title": "Serialize Name",
2022-07-22 19:41:04 +02:00
"description": "The name of the pack as an identifier, they must be the same as the name of pack without spaces.",
2021-06-06 10:07:19 +00:00
"type": "string"
},
2022-07-22 19:41:04 +02:00
"localization_name": { "title": "Locatlization Name", "description": "The key in the language file to use to display text.", "type": "string" },
2021-06-06 10:07:19 +00:00
"skins": {
"type": "array",
"title": "Skins",
2022-07-22 19:41:04 +02:00
"description": "An array of item.",
2021-10-11 17:03:39 +02:00
"examples": [
{
"localization_name": "TemplateSkin1",
"geometry": "geometry.humanoid.custom",
"texture": "some_texture.png",
"type": "paid"
}
],
2021-06-06 10:07:19 +00:00
"items": {
"title": "Skin",
2022-07-22 19:41:04 +02:00
"description": "A single skin definition.",
2021-06-06 10:07:19 +00:00
"additionalProperties": false,
"required": ["localization_name", "geometry", "texture", "type"],
2021-10-11 16:55:37 +02:00
"type": "object",
2021-06-06 10:07:19 +00:00
"properties": {
"localization_name": {
"title": "Locatlization Name",
2022-07-22 19:41:04 +02:00
"description": "The key in the language file to use to display text.",
2021-06-06 10:07:19 +00:00
"type": "string"
},
"geometry": {
"title": "Geometry",
2022-07-22 19:41:04 +02:00
"description": "The type of geometry to use.",
2021-11-16 13:48:05 +01:00
"type": "string",
"pattern": "^[Gg]eometry\\..+$",
"examples": ["geometry.humanoid.custom", "geometry.humanoid.customSlim"]
2021-06-06 10:07:19 +00:00
},
2022-07-22 19:41:04 +02:00
"texture": { "title": "Texture", "description": "The filename of the skin.", "pattern": "^.*\\.png$" },
"type": { "title": "Type", "description": "The type of skin.", "enum": ["free", "paid"] }
2021-06-06 10:07:19 +00:00
}
}
}
}
}