changedOutput schema / properties / forms / items / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "description": "A form that exists in the requested generation, carrying the same fields as `get_pokemon` (minus evolutions and the long tail of dataset metadata).",
- "properties": {
- "abilities": {
- "additionalProperties": false,
- "description": "Abilities keyed by Showdown slot: \"0\" primary, \"1\" secondary, \"H\" hidden, \"S\" special.",
- "properties": {
- "0": {
- "description": "Primary ability.",
- "type": "string"
- },
- "1": {
- "description": "Secondary ability; absent from species with only one normal ability.",
- "type": "string"
- },
- "H": {
- "description": "Hidden ability; absent from species that have none.",
- "type": "string"
- },
- "S": {
- "description": "Special slot, used by abilities that come with a forme (Battle Bond, Power Construct); absent for species that have none.",
- "type": "string"
- }
- },
- "required": [
- "0"
- ],
- "type": "object"
- },
- "baseStats": {
- "additionalProperties": false,
- "description": "All six stats keyed by stat id (\"hp\", \"atk\", \"def\", \"spa\", \"spd\", \"spe\").",
- "properties": {
- "atk": {
- "description": "Attack.",
- "type": "number"
- },
- "def": {
- "description": "Defense.",
- "type": "number"
- },
- "hp": {
- "description": "Hit Points.",
- "type": "number"
- },
- "spa": {
- "description": "Special Attack.",
- "type": "number"
- },
- "spd": {
- "description": "Special Defense.",
- "type": "number"
- },
- "spe": {
- "description": "Speed.",
- "type": "number"
- }
- },
- "required": [
- "hp",
- "atk",
- "def",
- "spa",
- "spd",
- "spe"
- ],
- "type": "object"
- },
- "battleOnly": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- ],
- "description": "The species this form transforms from in battle; absent for normally selectable forms."
- },
- "bst": {
- "description": "Base stat total of the form.",
- "type": "number"
- },
- "doublesTier": {
- "description": "Doubles (VGC) tier label of the form; may be empty.",
- "type": "string"
- },
- "isCosmetic": {
- "description": "true when the form differs only cosmetically.",
- "type": "boolean"
- },
- "isMega": {
- "description": "true for Mega Evolutions; absent otherwise.",
- "type": "boolean"
- },
- "isPrimal": {
- "description": "true for Primal Reversions; absent otherwise.",
- "type": "boolean"
- },
- "name": {
- "description": "Form name, e.g. \"Rotom-Wash\".",
- "type": "string"
- },
- "tier": {
- "description": "Singles tier label of the form; may be empty for untiered forms.",
- "type": "string"
- },
- "types": {
- "description": "Typing of the form, e.g. [\"Electric\", \"Water\"]. One of \"Bug\", \"Dark\", \"Dragon\", \"Electric\", \"Fairy\", \"Fighting\", \"Fire\", \"Flying\", \"Ghost\", \"Grass\", \"Ground\", \"Ice\", \"Normal\", \"Poison\", \"Psychic\", \"Rock\", \"Steel\", \"Water\".",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "name",
- "types",
- "baseStats",
- "bst",
- "abilities",
- "tier",
- "doublesTier",
- "isCosmetic"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Placeholder for a form name the dataset knows about but that does not exist in the requested generation; distinguishes \"no such form\" from \"form missing here\".",
- "properties": {
- "name": {
- "description": "Form name that has no data in the requested generation.",
- "type": "string"
- },
- "note": {
- "description": "Why the entry is empty — currently always \"unavailable in this generation\".",
- "type": "string"
- }
- },
- "required": [
- "name",
- "note"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "description": "A form that exists in the dataset, carrying the same fields as `get_pokemon` (minus evolutions and the long tail of dataset metadata).",
+ "properties": {
+ "abilities": {
+ "additionalProperties": false,
+ "description": "Abilities keyed by Showdown slot: \"0\" primary, \"1\" secondary, \"H\" hidden, \"S\" special.",
+ "properties": {
+ "0": {
+ "description": "Primary ability.",
+ "type": "string"
+ },
+ "1": {
+ "description": "Secondary ability; absent from species with only one normal ability.",
+ "type": "string"
+ },
+ "H": {
+ "description": "Hidden ability; absent from species that have none.",
+ "type": "string"
+ },
+ "S": {
+ "description": "Special slot, used by abilities that come with a forme (Battle Bond, Power Construct); absent for species that have none.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "0"
+ ],
+ "type": "object"
+ },
+ "baseStats": {
+ "additionalProperties": false,
+ "description": "All six stats keyed by stat id (\"hp\", \"atk\", \"def\", \"spa\", \"spd\", \"spe\").",
+ "properties": {
+ "atk": {
+ "description": "Attack.",
+ "type": "number"
+ },
+ "def": {
+ "description": "Defense.",
+ "type": "number"
+ },
+ "hp": {
+ "description": "Hit Points.",
+ "type": "number"
+ },
+ "spa": {
+ "description": "Special Attack.",
+ "type": "number"
+ },
+ "spd": {
+ "description": "Special Defense.",
+ "type": "number"
+ },
+ "spe": {
+ "description": "Speed.",
+ "type": "number"
+ }
+ },
+ "required": [
+ "hp",
+ "atk",
+ "def",
+ "spa",
+ "spd",
+ "spe"
+ ],
+ "type": "object"
+ },
+ "battleOnly": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ ],
+ "description": "The species this form transforms from in battle; absent for normally selectable forms."
+ },
+ "bst": {
+ "description": "Base stat total of the form.",
+ "type": "number"
+ },
+ "isCosmetic": {
+ "description": "true when the form differs only cosmetically.",
+ "type": "boolean"
+ },
+ "isMega": {
+ "description": "true for Mega Evolutions; absent otherwise.",
+ "type": "boolean"
+ },
+ "isPrimal": {
+ "description": "true for Primal Reversions; absent otherwise.",
+ "type": "boolean"
+ },
+ "name": {
+ "description": "Form name, e.g. \"Rotom-Wash\".",
+ "type": "string"
+ },
+ "types": {
+ "description": "Typing of the form, e.g. [\"Electric\", \"Water\"]. One of \"Bug\", \"Dark\", \"Dragon\", \"Electric\", \"Fairy\", \"Fighting\", \"Fire\", \"Flying\", \"Ghost\", \"Grass\", \"Ground\", \"Ice\", \"Normal\", \"Poison\", \"Psychic\", \"Rock\", \"Steel\", \"Water\".",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "name",
+ "types",
+ "baseStats",
+ "bst",
+ "abilities",
+ "isCosmetic"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Placeholder for a form name the dataset knows about but that distinguishes \"no such form\" from \"form missing here\"; distinguishes \"no such form\" from \"form missing here\".",
+ "properties": {
+ "name": {
+ "description": "Form name that has no data in the dataset.",
+ "type": "string"
+ },
+ "note": {
+ "description": "Why the entry is empty — currently always \"unavailable in the dataset\".",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "note"
+ ],
+ "type": "object"
+ }
+]