PokéAPI · Schema
Type
PokéAPI Type schema.
PokémonOpen SourceOpen DataRESTGraphQLGamingEducationalCommunity
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | |
| name | string | |
| damage_relations | object | |
| past_damage_relations | array | |
| game_indices | array | |
| generation | object | |
| move_damage_class | object | |
| names | array | |
| pokemon | array | |
| moves | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/pokeapi/refs/heads/main/json-schema/pokeapi-type-schema.json",
"title": "Type",
"description": "Pok\u00e9API Type schema.",
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"damage_relations": {
"type": "object"
},
"past_damage_relations": {
"type": "array",
"items": {
"type": "object"
}
},
"game_indices": {
"type": "array",
"items": {
"type": "object"
}
},
"generation": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Slug name of the referenced resource."
},
"url": {
"type": "string",
"format": "uri",
"description": "Canonical URL of the referenced resource."
}
}
},
"move_damage_class": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Slug name of the referenced resource."
},
"url": {
"type": "string",
"format": "uri",
"description": "Canonical URL of the referenced resource."
}
}
},
"names": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"language": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Slug name of the referenced resource."
},
"url": {
"type": "string",
"format": "uri",
"description": "Canonical URL of the referenced resource."
}
}
}
}
}
},
"pokemon": {
"type": "array",
"items": {
"type": "object"
}
},
"moves": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Slug name of the referenced resource."
},
"url": {
"type": "string",
"format": "uri",
"description": "Canonical URL of the referenced resource."
}
}
}
}
}
}