Trainer

Pokemon trainers - the heroes of our story

Fields

id: ID!

Trainer's display name

name: String!

Official trainer ID number

trainerId: String!

Gym badges collected

badges: [Badge!]!

All owned Pokemon

pokemon: [Pokemon!]!

Where the trainer began their journey

hometown: String!

Battle statistics

battleRecord: BattleRecord!

Inventory items

items: [InventoryItem!]!

Currency for purchases

money: Int!

Trainer specialization

trainerClass: TrainerClass!

Active battle team (max 6)

battleTeam: [Pokemon!]!

Trainer's current location

currentLocation: Location!

Play time in hours

playTime: Float!

Pokedex completion

pokedex: Pokedex!

Achievements earned

achievements: [Achievement!]!

Favorite Pokemon

favoritePokemon: Pokemon

Rival trainers

rivals: [Trainer!]!