1### This file was generated by Nexus Schema
2### Do not make changes to this file directly
3
4"""
5Move a Pokémon can perform with the associated damage and type.
6"""
7type Attack {
8 damage: Int
9 name: String
10 type: PokemonType
11}
12
13type AttacksConnection {
14 fast: [Attack]
15 special: [Attack]
16}
17
18"""
19Requirement that prevents an evolution through regular means of levelling up.
20"""
21type EvolutionRequirement {
22 amount: Int
23 name: String
24}
25
26type Pokemon {
27 attacks: AttacksConnection
28 classification: String @deprecated(reason: "And this is the reason why")
29 evolutionRequirements: [EvolutionRequirement]
30 evolutions: [Pokemon]
31
32 """
33 Likelihood of an attempt to catch a Pokémon to fail.
34 """
35 fleeRate: Float
36 height: PokemonDimension
37 id: ID!
38
39 """
40 Maximum combat power a Pokémon may achieve at max level.
41 """
42 maxCP: Int
43
44 """
45 Maximum health points a Pokémon may achieve at max level.
46 """
47 maxHP: Int
48 name: String!
49 resistant: [PokemonType]
50 types: [PokemonType]
51 weaknesses: [PokemonType]
52 weight: PokemonDimension
53}
54
55type PokemonDimension {
56 maximum: String
57 minimum: String
58}
59
60"""
61Elemental property associated with either a Pokémon or one of their moves.
62"""
63enum PokemonType {
64 Bug
65 Dark
66 Dragon
67 Electric
68 Fairy
69 Fighting
70 Fire
71 Flying
72 Ghost
73 Grass
74 Ground
75 Ice
76 Normal
77 Poison
78 Psychic
79 Rock
80 Steel
81 Water
82}
83
84type Query {
85 """
86 Get a single Pokémon by its ID, a three character long identifier padded with zeroes
87 """
88 pokemon(id: ID!): Pokemon
89
90 """
91 List out all Pokémon, optionally in pages
92 """
93 pokemons(limit: Int, skip: Int): [Pokemon]
94}