PokéAPI · Schema

Pokemon

PokéAPI Pokemon schema.

PokémonOpen SourceOpen DataRESTGraphQLGamingEducationalCommunity

Properties

Name Type Description
id integer
name string
base_experience integer
height integer
is_default boolean
order integer
weight integer
abilities array
forms array
game_indices array
held_items array
location_area_encounters string
moves array
species object
sprites object
stats array
types array
View JSON Schema on GitHub

JSON Schema

pokeapi-pokemon-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/pokeapi/refs/heads/main/json-schema/pokeapi-pokemon-schema.json",
  "title": "Pokemon",
  "description": "Pok\u00e9API Pokemon schema.",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "base_experience": {
      "type": "integer"
    },
    "height": {
      "type": "integer"
    },
    "is_default": {
      "type": "boolean"
    },
    "order": {
      "type": "integer"
    },
    "weight": {
      "type": "integer"
    },
    "abilities": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "is_hidden": {
            "type": "boolean"
          },
          "slot": {
            "type": "integer"
          },
          "ability": {
            "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."
              }
            }
          }
        }
      }
    },
    "forms": {
      "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."
          }
        }
      }
    },
    "game_indices": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "held_items": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "location_area_encounters": {
      "type": "string"
    },
    "moves": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "species": {
      "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."
        }
      }
    },
    "sprites": {
      "type": "object"
    },
    "stats": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "base_stat": {
            "type": "integer"
          },
          "effort": {
            "type": "integer"
          },
          "stat": {
            "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": {
          "slot": {
            "type": "integer"
          },
          "type": {
            "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."
              }
            }
          }
        }
      }
    }
  }
}