Summary

Description
A Pokemon Ability
Data path
resources/data/ability/
Schema
https://poketools.gamestuff.info/data/schema/ability.json

Filename

Ability 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)

Top-level keys

Version group 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

short_description

A short version of the description, usually used in lists.

Textual content formatted with Markdown. See the CommonMark Spec for details.

type
string

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

flavor_text

How this entity is described in-game. Include line breaks where appropriate.

type
string

JSON Schema

View raw

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://poketools.gamestuff.info/data/schema/ability.json",
  "title": "Ability",
  "description": "A Pokemon Ability",
  "type": "object",
  "propertyNames": {
    "title": "Version Group identifier",
    "allOf": [
      {
        "$ref": "types/identifier.json"
      },
      {
        "type": "string",
        "$filters": "versionGroupIdentifier"
      }
    ]
  },
  "minProperties": 1,
  "additionalProperties": {
    "type": "object",
    "properties": {
      "name": {
        "$ref": "types/name.json"
      },
      "short_description": {
        "title": "Short description",
        "$ref": "types/markdown.json"
      },
      "description": {
        "title": "Description",
        "$ref": "types/markdown.json"
      },
      "flavor_text": {
        "title": "Flavor Text",
        "oneOf": [
          {
            "$ref": "types/flavor_text.json"
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "additionalProperties": false,
    "required": [
      "name",
      "description"
    ]
  }
}