Summary

Description
In versions with Pokemon Contests or Super Contests, every move has this type in addition to its usual battle type.
Data path
resources/data/contest_type.csv
Schema
https://poketools.gamestuff.info/data/schema/contest_type.json

Fields

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)

required

name

The entity’s user-facing name. All of UTF-8 is valid here, so use “é” where appropriate.

type

string

required

berry_flavor

Berry flavor 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)

required

pokeblock_color

Pokéblock color 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)

required

JSON Schema

View raw

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://poketools.gamestuff.info/data/schema/contest_type.json",
  "title": "Contest Type",
  "description": "In versions with Pokemon Contests or Super Contests, every move has this type in addition to its usual battle type.",
  "type": "object",
  "properties": {
    "identifier": {
      "$ref": "types/identifier.json"
    },
    "name": {
      "$ref": "types/name.json"
    },
    "berry_flavor": {
      "title": "Berry flavor identifier",
      "allOf": [
        {
          "$ref": "types/identifier.json"
        },
        {
          "type": "string",
          "$filters": "berryFlavorIdentifier"
        }
      ]
    },
    "pokeblock_color": {
      "title": "Pokeblock color identifier",
      "allOf": [
        {
          "$ref": "types/identifier.json"
        },
        {
          "type": "string",
          "$filters": "pokeblockColorIdentifier"
        }
      ]
    }
  },
  "additionalProperties": false,
  "required": [
    "identifier",
    "name",
    "berry_flavor",
    "pokeblock_color"
  ]
}