mono/packages/kbot/tests/response-format/countries.json
2025-04-01 20:21:08 +02:00

63 lines
1.9 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://example.com/cities.schema.json",
"title": "countries Wrapper",
"description": "An object containing a list of countries (without coordinates).",
"type": "object",
"properties": {
"cities": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Country name."
},
"population": {
"type": "integer",
"description": "Total population of the city."
},
"conflict": {
"type": "string",
"description": "list of conflicts the country is involved in."
},
"exports": {
"type": "string",
"description": "Goods exported from the country."
},
"languages": {
"type": "string",
"description": "list of languages spoken in the country."
},
"religion": {
"type": "string",
"description": "list of religions practiced in the country."
},
"colonies": {
"type": "string",
"description": "Colonial history of the country."
},
"currency": {
"type": "string",
"description": "Currency of the country."
},
"links": {
"type": "array",
"items": {
"type": "string",
"description": "2 Links to the country. wikipedia and britannica."
}
},
"location": {
"type": "string",
"description": "Google Map link to the country."
}
},
"required": ["name", "country"]
}
}
},
"required": ["cities"]
}