Add additional descriptions to pokemon schema
This commit is contained in:
parent
4403532fdb
commit
f2365c92e0
|
@ -28,15 +28,23 @@
|
||||||
"evolutions"
|
"evolutions"
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"species": { "type": "string" },
|
"species": {
|
||||||
"id": { "type": "number" },
|
"type": "string",
|
||||||
|
"description": "The internal name of the Pokemon species."
|
||||||
|
},
|
||||||
|
"id": {
|
||||||
|
"type": "number",
|
||||||
|
"description": "The numerical pokedex identifier of the species."
|
||||||
|
},
|
||||||
"genderRatio": {
|
"genderRatio": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
|
"description": "The gender ratio of the species. A value of -1 means genderless, a value of 0 means always female, 100 means always male. 50 means 50% male, 50% female, etc.",
|
||||||
"minimum": -1,
|
"minimum": -1,
|
||||||
"maximum": 100
|
"maximum": 100
|
||||||
},
|
},
|
||||||
"growthRate": {
|
"growthRate": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"description": "The growth rate of the species.",
|
||||||
"enum": [
|
"enum": [
|
||||||
"Erratic",
|
"Erratic",
|
||||||
"Fast",
|
"Fast",
|
||||||
|
@ -48,22 +56,27 @@
|
||||||
},
|
},
|
||||||
"baseHappiness": {
|
"baseHappiness": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
"description": "The base happiness/friendship a species should have when captured.",
|
||||||
"minimum": 0,
|
"minimum": 0,
|
||||||
"maximum": 255
|
"maximum": 255
|
||||||
},
|
},
|
||||||
"catchRate": {
|
"catchRate": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
"description": "The catch rate of the species. 0 means impossible to capture, 255 means a perfect capture every time.",
|
||||||
"minimum": 0,
|
"minimum": 0,
|
||||||
"maximum": 255
|
"maximum": 255
|
||||||
},
|
},
|
||||||
"color": {
|
"color": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"description": "The color of the species. No real use in game outside of pokedex purposes."
|
||||||
},
|
},
|
||||||
"genderDifference": {
|
"genderDifference": {
|
||||||
"type": "boolean"
|
"type": "boolean",
|
||||||
|
"description": "Whether there are different sprites for different genders.."
|
||||||
},
|
},
|
||||||
"eggGroups": {
|
"eggGroups": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"description": "The egg groups the species has for breeding purposes.",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
|
@ -87,10 +100,12 @@
|
||||||
},
|
},
|
||||||
"eggCycles": {
|
"eggCycles": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
"description": "The number of egg cycles required for an egg of this species to hatch",
|
||||||
"minimum": 0
|
"minimum": 0
|
||||||
},
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"description": "Additional tags on the species for scripting purposes",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
|
@ -116,6 +131,7 @@
|
||||||
"abilities": {
|
"abilities": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"minItems": 1,
|
"minItems": 1,
|
||||||
|
"description": "The normal abilities a forme has.",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
|
@ -123,6 +139,7 @@
|
||||||
"hiddenAbilities": {
|
"hiddenAbilities": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"minItems": 0,
|
"minItems": 0,
|
||||||
|
"description": "The additional hidden abilities a forme has.",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue