PokéAPI · Schema
Generation
PokéAPI Generation schema.
PokémonOpen SourceOpen DataRESTGraphQLGamingEducationalCommunity
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | |
| name | string | |
| abilities | array | |
| names | array | |
| main_region | object | |
| moves | array | |
| pokemon_species | array | |
| types | array | |
| version_groups | 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-generation-schema.json",
"title": "Generation",
"description": "Pok\u00e9API Generation schema.",
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"abilities": {
"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."
}
}
}
},
"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."
}
}
}
}
}
},
"main_region": {
"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."
}
}
},
"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."
}
}
}
},
"pokemon_species": {
"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."
}
}
}
},
"types": {
"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."
}
}
}
},
"version_groups": {
"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."
}
}
}
}
}
}