Summary
- Description
- The shape of a Pokémon’s body. Appears in the Pokédex starting with Generation IV.
- Data path
- resources/data/pokemon_shape/
- Schema
- https://poketools.gamestuff.info/data/schema/pokemon_shape.json
Filename
Pokémon Shape identifier
A machine-usable name for the entity. This is usually a munged version of the entity name. An identifier must consist only of lowercase ASCII characters, 0-9, and/or a hyphen.
i.e. anything unique to the entity matching the regular expression
^[a-z0-9\-]+$ (Test it here)
- type
- string
- pattern
-
^[a-z0-9\-]+$(Test)
Top-level keys
Version group identifier
A machine-usable name for the entity. This is usually a munged version of the entity name. An identifier must consist only of lowercase ASCII characters, 0-9, and/or a hyphen.
i.e. anything unique to the entity matching the regular expression
^[a-z0-9\-]+$ (Test it here)
- type
- string
- pattern
-
^[a-z0-9\-]+$(Test)
Fields
name
The entity’s user-facing name. All of UTF-8 is valid here, so use “é” where appropriate.
- type
-
string
- required
taxonomy_name
A taxonomy name for this shape, roughly corresponding to a family name in zoological taxonomy.
- type
- string
- required
description
A full description of the entity, usually used on entity pages.
Textual content formatted with Markdown. See the CommonMark Spec for details.
- type
- string
icon
The path to the asset, relative to the entity type’s asset directory.
- type
-
string
- required
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://poketools.gamestuff.info/data/schema/pokemon_shape.json",
"title": "Pokemon Shape",
"description": "The shape of a Pokémon’s body. Appears in the Pokédex starting with Generation IV.",
"type": "object",
"propertyNames": {
"title": "Version Group identifier",
"allOf": [
{
"$ref": "types/identifier.json"
},
{
"type": "string",
"$filters": "versionGroupIdentifier"
}
]
},
"minProperties": 1,
"additionalProperties": {
"type": "object",
"properties": {
"name": {
"$ref": "types/name.json"
},
"taxonomy_name": {
"title": "Taxonomy name",
"description": "A taxonomy name for this shape, roughly corresponding to a family name in zoological taxonomy.",
"type": "string",
"minLength": 1
},
"description": {
"title": "Description",
"$ref": "types/markdown.json"
},
"icon": {
"title": "Icon",
"$ref": "types/asset_path.json"
}
},
"additionalProperties": false,
"required": [
"name",
"taxonomy_name",
"icon"
]
}
}