Raw schema
{
"type": "object",
"properties": {
"where": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "A country name, a region (europe, asia, americas, middle_east, africa, oceania), a city IATA or slug, or \"anywhere\". Default anywhere."
},
"from": {
"type": "string",
"pattern": "^[A-Za-z0-9]{3}$",
"description": "Departure city IATA, e.g. VIE. Default VIE."
},
"dates": {
"type": "object",
"properties": {
"depart": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"ret": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"depart",
"ret"
],
"additionalProperties": true,
"description": "Exact dates, YYYY-MM-DD. Give dates or month."
},
"month": {
"type": "integer",
"minimum": 1,
"maximum": 12,
"description": "Flexible month, 1 to 12 (the next occurrence). Give dates or month."
},
"temp_min": {
"type": "number",
"minimum": -30,
"maximum": 45,
"description": "Lowest daytime temperature wanted, C."
},
"temp_max": {
"type": "number",
"minimum": -30,
"maximum": 45,
"description": "Highest daytime temperature wanted, C."
},
"budget_eur": {
"type": "integer",
"minimum": 50,
"maximum": 20000,
"description": "Total trip budget in EUR for the whole party. Default 750."
},
"mood": {
"type": "string",
"enum": [
"somewhere-warm",
"break-from-routine",
"cultural-immersion",
"active-outdoors",
"quiet-and-remote",
"surprise-me"
],
"description": "One mood."
},
"travellers": {
"type": "integer",
"minimum": 1,
"maximum": 8,
"description": "How many people travel. Default 1."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"description": "Results, 1 to 20. Default 10."
}
},
"additionalProperties": false
}