Summary

Description
Characteristics give a hint to the Pokemon’s highest IV. They are rather confusing, see here for a full explanation.
Data path
resources/data/characteristic.csv
Schema
https://poketools.gamestuff.info/data/schema/characteristic.json

Fields

stat

Stat 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

iv_determinator

This is the result of {highest IV value} % 5

type
integer
minimum
0
maximum
4
required

flavor_text

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

type

string

required

JSON Schema

View raw

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://poketools.gamestuff.info/data/schema/characteristic.json",
  "title": "Characteristic",
  "description": "Characteristics give a hint to the Pokemon's highest IV.  They are rather confusing, see [here](https://bulbapedia.bulbagarden.net/wiki/Characteristic) for a full explanation.",
  "type": "object",
  "properties": {
    "stat": {
      "title": "Stat identifier",
      "allOf": [
        {
          "$ref": "types/identifier.json"
        },
        {
          "type": "string",
          "$filters": "statIdentifier"
        }
      ]
    },
    "iv_determinator": {
      "type": "integer",
      "title": "IV Determinator",
      "description": "This is the value of `highest IV value % 5`.",
      "minimum": 0,
      "maximum": 4
    },
    "flavor_text": {
      "$ref": "types/flavor_text.json"
    }
  },
  "additionalProperties": false,
  "required": [
    "stat",
    "iv_determinator",
    "flavor_text"
  ]
}