Files
minecraft-bedrock-json-schemas/skinpacks/skins.json
2021-02-24 22:48:32 +01:00

43 lines
1.6 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"title": "Skip pack",
"description": "Skin pack definition",
"type": "object",
"additionalProperties": false,
"required": ["serialize_name", "localization_name", "skins"],
"properties": {
"serialize_name": {
"title": "Serialize name",
"description": "The name of the pack as an identifier, they must be the same as the name of pack without spaces",
"type": "string"
},
"localization_name": { "title": "Locatlization name", "description": "The key in the language file to use to display text", "type": "string" },
"skins": {
"type": "array",
"title": "Skins",
"description": "An array of item",
"items": {
"title": "Skin definition",
"description": "A single skin definition",
"additionalProperties": false,
"required": ["localization_name", "geometry", "texture", "type"],
"properties": {
"localization_name": {
"title": "Locatlization name",
"description": "The key in the language file to use to display text",
"type": "string"
},
"geometry": {
"title": "Geometry",
"description": "The type of geometry to use",
"enum": ["geometry.humanoid.custom", "geometry.humanoid.customSlim"]
},
"texture": { "title": "Texture", "description": "The filename of the skin", "pattern": "^.*\\.png$" },
"type": { "title": "Type", "description": "The type of skin", "enum": ["free", "paid"] }
}
}
}
},
"definitions": {}
}