{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/pokeapi/refs/heads/main/json-schema/pokeapi-encounter-condition-schema.json", "title": "EncounterCondition", "description": "Pok\u00e9API EncounterCondition schema.", "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "names": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "language": { "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." } } } } } }, "values": { "type": "array", "items": { "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." } } } } } }