City facts — schema
Practical city snapshot, safety, agenda and emergency numbers.
| Response key | Field group | Shape |
| area_label | _scalar_string |
object |
| city | city |
object |
| emergency_numbers | emergency |
array of objects |
| events | event |
array of objects |
Fields
| Group | Key | Type | Target field | Maps owns | |
| city |
description |
string |
description |
— |
edit |
| city |
altitude_m |
integer · nullable |
altitude_m |
— |
edit |
| city |
best_months |
arreglo de cadenas |
best_months |
— |
edit |
| city |
worst_months |
arreglo de cadenas |
worst_months |
— |
edit |
| city |
days_min |
integer · nullable |
days_min |
— |
edit |
| city |
days_ideal |
integer · nullable |
days_ideal |
— |
edit |
| city |
daily_budget_low |
integer · nullable |
daily_budget_low |
— |
edit |
| city |
daily_budget_mid |
integer · nullable |
daily_budget_mid |
— |
edit |
| city |
daily_budget_high |
integer · nullable |
daily_budget_high |
— |
edit |
| city |
climate |
string |
climate |
— |
edit |
| city |
cash_vs_card |
string |
cash_vs_card |
— |
edit |
| city |
areas_to_avoid |
arreglo de cadenas |
areas_to_avoid |
— |
edit |
| city |
scams |
arreglo de cadenas |
scams |
— |
edit |
| city |
typical_dishes |
arreglo de cadenas |
typical_dishes |
— |
edit |
| emergency |
service |
string |
service |
— |
edit |
| emergency |
number |
string |
number |
— |
edit |
| event |
name |
string |
name |
— |
edit |
| event |
start_month |
integer · nullable |
start_month |
— |
edit |
| event |
end_month |
integer · nullable |
end_month |
— |
edit |
| event |
description |
string |
description |
— |
edit |
Assembled JSON schema
{
"type": "object",
"properties": {
"area_label": {
"type": "string"
},
"city": {
"type": "object",
"properties": {
"description": {
"type": "string",
"description": "2-4 sentence description of the city in Spanish."
},
"altitude_m": {
"type": [
"integer",
"null"
],
"description": "Altitude in metres above sea level."
},
"best_months": {
"type": "array",
"items": {
"type": "string"
},
"description": "Best months to visit as NUMBERS 1-12."
},
"worst_months": {
"type": "array",
"items": {
"type": "string"
},
"description": "Months to avoid as NUMBERS 1-12."
},
"days_min": {
"type": [
"integer",
"null"
],
"description": "Minimum days worth staying."
},
"days_ideal": {
"type": [
"integer",
"null"
],
"description": "Ideal number of days."
},
"daily_budget_low": {
"type": [
"integer",
"null"
],
"description": "Backpacker daily budget in Bolivianos."
},
"daily_budget_mid": {
"type": [
"integer",
"null"
],
"description": "Mid-range daily budget in Bolivianos."
},
"daily_budget_high": {
"type": [
"integer",
"null"
],
"description": "Comfortable daily budget in Bolivianos."
},
"climate": {
"type": "string",
"description": "Short climate summary, max ~120 chars."
},
"cash_vs_card": {
"type": "string",
"enum": [
"cash",
"mixed",
"cards",
""
],
"description": "How payments usually work."
},
"areas_to_avoid": {
"type": "array",
"items": {
"type": "string"
},
"description": "Named neighbourhoods or areas to avoid."
},
"scams": {
"type": "array",
"items": {
"type": "string"
},
"description": "Common scams targeting travellers here."
},
"typical_dishes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Dishes the city is known for."
}
},
"required": [
"description",
"altitude_m",
"best_months",
"worst_months",
"days_min",
"days_ideal",
"daily_budget_low",
"daily_budget_mid",
"daily_budget_high",
"climate",
"cash_vs_card",
"areas_to_avoid",
"scams",
"typical_dishes"
],
"additionalProperties": false
},
"emergency_numbers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"service": {
"type": "string",
"description": "Service name, e.g. Policía."
},
"number": {
"type": "string",
"description": "The dialable number."
}
},
"required": [
"service",
"number"
],
"additionalProperties": false
}
},
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Festival or event name."
},
"start_month": {
"type": [
"integer",
"null"
],
"description": "Month number 1-12 it starts."
},
"end_month": {
"type": [
"integer",
"null"
],
"description": "Month number 1-12 it ends."
},
"description": {
"type": "string",
"description": "One or two sentences in Spanish."
}
},
"required": [
"name",
"start_month",
"end_month",
"description"
],
"additionalProperties": false
}
}
},
"required": [
"area_label",
"city",
"emergency_numbers",
"events"
],
"additionalProperties": false
}