{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/pokeapi/refs/heads/main/json-schema/pokeapi-berry-schema.json", "title": "Berry", "description": "Pok\u00e9API Berry schema.", "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "growth_time": { "type": "integer" }, "max_harvest": { "type": "integer" }, "natural_gift_power": { "type": "integer" }, "size": { "type": "integer" }, "smoothness": { "type": "integer" }, "soil_dryness": { "type": "integer" }, "firmness": { "type": "object", "properties": { "name": { "type": "string", "description": "Slug name of the referenced resource." }, "url": { "type": "string", "format": "uri", "description": "Canonical URL of the referenced resource." } } }, "flavors": { "type": "array", "items": { "type": "object", "properties": { "potency": { "type": "integer" }, "flavor": { "type": "object", "properties": { "name": { "type": "string", "description": "Slug name of the referenced resource." }, "url": { "type": "string", "format": "uri", "description": "Canonical URL of the referenced resource." } } } } } }, "item": { "type": "object", "properties": { "name": { "type": "string", "description": "Slug name of the referenced resource." }, "url": { "type": "string", "format": "uri", "description": "Canonical URL of the referenced resource." } } }, "natural_gift_type": { "type": "object", "properties": { "name": { "type": "string", "description": "Slug name of the referenced resource." }, "url": { "type": "string", "format": "uri", "description": "Canonical URL of the referenced resource." } } } } }