Raw schema
{
"type": "object",
"properties": {
"location": {
"description": "Where to stay: city, region, mountain range, lake, landmark or area in Poland, e.g. \"Zakopane\", \"Mazury\", \"nad morzem\", \"near Morskie Oko\".",
"type": "string",
"minLength": 1,
"maxLength": 200
},
"date_from": {
"description": "Arrival (check-in) date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"date_to": {
"description": "Departure (check-out) date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"adults": {
"description": "Number of adults.",
"type": "integer",
"minimum": 1,
"maximum": 30
},
"children": {
"description": "Number of children.",
"type": "integer",
"minimum": 0,
"maximum": 20
},
"children_ages": {
"description": "Ages of the children, when known.",
"maxItems": 20,
"type": "array",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 17
}
},
"pets": {
"description": "True when the guests travel with a pet (dog, cat, …).",
"type": "boolean"
},
"amenities": {
"description": "Amenities the user wishes for, in their words, e.g. [\"śniadanie\", \"sauna\", \"parking\"]. A preference rather than a filter: offers that have them are ranked first and the others follow with a note.",
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 80
}
},
"required_amenities": {
"description": "Amenities that are hard requirements (\"musi być\", \"koniecznie\", \"tylko z\", \"required\"): offers without them are dropped.",
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 80
}
},
"budget_min": {
"description": "Minimum budget in PLN.",
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1000000
},
"budget_max": {
"description": "Maximum budget in PLN.",
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1000000
},
"budget_scope": {
"description": "Whether the budget is per night (default) or for the whole stay.",
"type": "string",
"enum": [
"per_night",
"total_stay"
]
},
"expectations": {
"description": "Other wishes in free text: type of place, style, atmosphere, distance to the beach or slopes, quiet area, etc. Personal data is not needed.",
"type": "string",
"maxLength": 1000
},
"exclude_offer_ids": {
"description": "Offer ids to leave out of the results (for example offers already seen), so that further results are new ones.",
"maxItems": 50,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"limit": {
"description": "How many offers to return (default 6, max 10).",
"type": "integer",
"minimum": 1,
"maximum": 10
},
"language": {
"description": "Language of the user's conversation ('pl' or 'en'). Determines the language of texts and the offer link locale.",
"type": "string",
"enum": [
"pl",
"en"
]
}
},
"required": [
"location"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}