Skip to content

Card files ​

data/<namespace>/tcg/cards/<set>/<number>.json, one file per card. Base Set's Charizard:

json
{ "id": "base1-4", "number": 4, "name": "Charizard", "supertype": "pokemon", "type": "fire", "hp": 120, "rarity": "rare_holo", "pokedex": 6, "evolves_from_pokedex": 5 }
FieldRequiredDescription
idyesA unique name, like base1-4
numberyesNumber in the set. Two cards with the same number replace each other
nameyesCard name, shown in the tooltip
supertypeyespokemon, trainer or energy
typenograss, fire, water, lightning, psychic, fighting or colorless
hpnoHit points
rarityyescommon, uncommon, rare or rare_holo
pokedexnoNational Pokédex number: Cobblemon's model of this Pokémon is drawn in the art window
evolves_from_pokedexnoNational Pokédex number of the previous stage, drawn in the evolution portrait

A card can evolve from a Pokémon of an earlier set, like Jungle's Clefable from Base Set's Clefairy: evolves_from_pokedex is only a Pokédex number.

Attacks, Pokémon Powers, weakness and retreat cost are not part of the card file: they are printed on the card texture. The set pages of this wiki read them from tools/<set>_text.json.

Released under the CC0-1.0 License. Unofficial fan project, not affiliated with Nintendo, The Pokémon Company, Game Freak or Creatures Inc.