Home
PokéAPI
Pokeapi Type Structure
Pokeapi Type Structure
PokéAPI Type structure.
Type: object
Properties: 10
Pokémon Open Source Open Data REST GraphQL Gaming Educational Community
Type is a JSON Structure definition published by PokéAPI, describing 10 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
Properties
id
name
damage_relations
past_damage_relations
game_indices
generation
move_damage_class
names
pokemon
moves
Meta-schema: https://json-structure.org/meta/core/v0/#
JSON Structure
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/pokeapi/refs/heads/main/json-structure/pokeapi-type-structure.json",
"name": "Type",
"description": "Pok\u00e9API Type structure.",
"type": "object",
"properties": {
"id": {
"type": "int32"
},
"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."
}
}
}
}
}
}