Summary

Description
A collection of Pokémon species ordered in a particular way.
Data path
resources/data/pokedex/
Schema
https://poketools.gamestuff.info/data/schema/pokedex.json

Filename

Pokédex 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

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

required

version_groups

A list of Version Group identifiers that contain this Pokédex.

type
list
required

JSON Schema

View raw

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://poketools.gamestuff.info/data/schema/pokedex.json",
  "title": "Pokedex",
  "description": "A collection of Pokémon species ordered in a particular way.",
  "type": "object",
  "properties": {
    "name": {
      "$ref": "types/name.json"
    },
    "description": {
      "title": "Description",
      "$ref": "types/markdown.json"
    },
    "version_groups": {
      "title": "Version groups",
      "description": "Version groups that can use this Pokedex.",
      "type": "array",
      "items": {
        "allOf": [
          {
            "$ref": "types/identifier.json"
          },
          {
            "type": "string",
            "$filters": "versionGroupIdentifier"
          }
        ]
      }
    }
  },
  "additionalProperties": false,
  "required": [
    "name",
    "description",
    "version_groups"
  ]
}