Raw schema
{
"type": "object",
"properties": {
"adults": {
"default": 2,
"description": "Antal vuxna 12-99 år, default 2",
"maximum": 9,
"minimum": 1,
"type": "integer"
},
"bbox": {
"description": "Geografisk sökning begränsad med en rektangel. Format: minLat,minLon,maxLat,maxLon.",
"example": "28.0,-15.5,28.2,-15.3",
"type": "string"
},
"board_type": {
"description": "Måltider inkluderade på hotellet, till exempel frukost, halvpension, helpension, all inclusive",
"enum": [
"breakfast",
"half_board",
"full_board",
"all_inclusive"
],
"type": "string"
},
"category": {
"description": "Kategori för semestern SUNBATH=Sol och bad, CITY=Storstad, SKI=Skidsemester, EXOTIC=Exotisk",
"enum": [
"SUNBATH",
"CITY",
"SKI",
"EXOTIC"
],
"type": "string"
},
"children": {
"default": 0,
"description": "Antal barn 2-11 år, default 0",
"maximum": 6,
"minimum": 0,
"type": "integer"
},
"country_iso": {
"description": "ISO-kod för land, till exempel ES, GR, PL, TR",
"type": "string"
},
"days_max": {
"description": "Maximalt antal dagar för semestern, till exempel 3, 7, 14",
"type": "integer"
},
"days_min": {
"description": "Minimum antal dagar för semestern, till exempel 3, 7, 14",
"type": "integer"
},
"depart_date_exact": {
"description": "Semestern ska börja denna dag (ISO 8601 format YYYY-MM-DDTHH:MM:SSZ)",
"format": "date-time",
"type": "string"
},
"depart_date_max": {
"description": "Senast möjlig start på semestern (ISO 8601 format YYYY-MM-DDTHH:MM:SSZ)",
"format": "date-time",
"type": "string"
},
"depart_date_min": {
"description": "Tidigast möjlig start på semestern (ISO 8601 format YYYY-MM-DDTHH:MM:SSZ)",
"format": "date-time",
"type": "string"
},
"destination_airport_code": {
"description": "IATA kod för destination flygplats, till exempel ALC, AGP, TFS",
"type": "string"
},
"destination_name": {
"description": "Destinationsnamn, till exempel Malta, Magaluf, Gran Canaria",
"type": "string"
},
"direct_flight": {
"description": "Sätt till true för att hitta hotell med direktflyg",
"type": "boolean"
},
"distance_airport": {
"description": "Maximalt avstånd mellan hotell och flygplats i km, till exempel 20, 40, 80",
"type": "integer"
},
"distance_beach": {
"description": "Maximalt avstånd till stranden i meter, till exempel 0, 100, 500",
"type": "integer"
},
"distance_centre": {
"description": "Maximalt avstånd till centrum i meter, till exempel 0, 100, 500",
"type": "integer"
},
"features": {
"description": "Faciliteter på hotellet: ac=luftkonditionering, adultsonly=Endast för vuxna, apartment=lägenhet, bar=bar, childspool=barnpool, gym=gym, heatedpool=uppvärmd pool, kidsclub=barnklubb, pool=pool, seaview=havsutsikt, restaurant=restaurang, spa=spa",
"items": {
"enum": [
"ac",
"adultsonly",
"apartment",
"bar",
"childspool",
"gym",
"heatedpool",
"kidsclub",
"pool",
"seaview",
"restaurant",
"spa"
],
"type": "string"
},
"type": "array"
},
"fields": {
"default": [
"distance_beach",
"url",
"price_per_pers",
"total_price",
"departure_date",
"destination_name",
"number_of_nights",
"temp_water",
"return_date",
"distance_airport",
"destination_airport_code",
"origin_airport_name",
"supplier_name",
"currency",
"lat",
"lon",
"room_type",
"features_text",
"categories",
"supplier_logo",
"guest_rating",
"temp_air_day",
"destination_airport_name",
"origin_airport_code",
"country_code",
"country_name",
"hotel_name",
"features",
"hotel_image",
"hotel_description",
"distance_centre"
],
"description": "Fält som ska inkluderas i sökresultatet",
"example": [
"origin_airport_name",
"destination_airport_name",
"destination_name",
"hotel_name",
"departure_date",
"return_date",
"url",
"total_price"
],
"items": {
"enum": [
"distance_beach",
"url",
"price_per_pers",
"total_price",
"departure_date",
"destination_name",
"number_of_nights",
"temp_water",
"return_date",
"distance_airport",
"destination_airport_code",
"origin_airport_name",
"supplier_name",
"currency",
"lat",
"lon",
"room_type",
"features_text",
"categories",
"supplier_logo",
"guest_rating",
"temp_air_day",
"destination_airport_name",
"origin_airport_code",
"country_code",
"country_name",
"hotel_name",
"features",
"hotel_image",
"hotel_description",
"distance_centre"
],
"type": "string"
},
"type": "array"
},
"guest_rating": {
"description": "Minimum gästbetyg, till exempel 8.2, 9.0. Median: 8.4",
"example": 8.4,
"format": "float",
"maximum": 10,
"minimum": 1,
"type": "number"
},
"hotel_name": {
"description": "Hotellnamn, till exempel Riu Palace, Iberostar, Sol",
"type": "string"
},
"infants": {
"default": 0,
"description": "Antal spädbarn 0-1 år, default 0",
"maximum": 6,
"minimum": 0,
"type": "integer"
},
"lat": {
"description": "Latitud i decimalgrader, används med lon och radie",
"example": 27.5797,
"format": "float",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"limit": {
"default": 1,
"description": "Antal erbjudanden som ska returneras, till exempel 5, 10. Standard 1",
"maximum": 25,
"minimum": 1,
"type": "integer"
},
"lon": {
"description": "Longitud i decimalgrader, används med lat och radie",
"example": -15.5803,
"format": "float",
"maximum": 180,
"minimum": -180,
"type": "number"
},
"max_price": {
"description": "Maximal totalpris för hela resan, till exempel 5000, 10000, 15000",
"type": "integer"
},
"number_of_nights": {
"description": "Exakt antal nätter för semestern, till exempel 3, 7, 14",
"type": "integer"
},
"origin_airport_code": {
"description": "IATA kod för avreseflygplats, till exempel ARN, GOT, MMX",
"type": "string"
},
"radius": {
"description": "Radie i kilometer från lat, lon",
"example": 1.8,
"format": "float",
"maximum": 200,
"minimum": 0,
"type": "number"
},
"rating": {
"description": "Minimum antal stjärnor, till exempel 3, 4, 5",
"maximum": 5,
"minimum": 1,
"type": "integer"
},
"return_date_exact": {
"description": "Hemresan ska börja denna dag (ISO 8601 format YYYY-MM-DDTHH:MM:SSZ)",
"format": "date-time",
"type": "string"
},
"return_date_max": {
"description": "Senast möjlig hemresa (ISO 8601 format YYYY-MM-DDTHH:MM:SSZ)",
"format": "date-time",
"type": "string"
},
"return_date_min": {
"description": "Tidigast möjlig hemresa (ISO 8601 format YYYY-MM-DDTHH:MM:SSZ)",
"format": "date-time",
"type": "string"
},
"sort": {
"description": "Sorteringsordning för erbjudandena. Standard är price_asc",
"enum": [
"price_asc",
"price_desc",
"rating_asc",
"rating_desc",
"distance_beach_asc",
"distance_airport_asc",
"guest_rating_desc"
],
"type": "string"
},
"temp_air_day_max": {
"description": "Maksimum förväntad dagstemperatur i Celsius, till exempel 25, 30",
"type": "integer"
},
"temp_air_day_min": {
"description": "Minimum förväntad dagstemperatur i Celsius, till exempel 20, 25",
"type": "integer"
},
"temp_water": {
"description": "Minimum förväntad vattentemperatur i Celsius, till exempel 20, 25",
"type": "integer"
}
}
}