addedOutput schema / properties / hotels / description
Added value: +"Hotels sorted by rank."
changedOutput schema / properties / hotels / items / properties / cheapest / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "check_in": {
- "type": "string"
- },
- "check_out": {
- "type": "string"
- },
- "fetched_at": {
- "type": "string"
- },
- "per_night_inr": {
- "type": [
- "number",
- "null"
- ]
- },
- "seller": {
- "type": "string"
- },
- "source": {
- "type": "string"
- }
- },
- "required": [
- "per_night_inr",
- "seller",
- "source",
- "fetched_at",
- "check_in",
- "check_out"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "adults": {
+ "description": "Adults in that search.",
+ "type": "number"
+ },
+ "check_in": {
+ "description": "Check-in date of that search, YYYY-MM-DD.",
+ "type": "string"
+ },
+ "check_out": {
+ "description": "Check-out date of that search, YYYY-MM-DD.",
+ "type": "string"
+ },
+ "children_ages": {
+ "description": "Ages of children in that search.",
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "fetched_at": {
+ "description": "ISO time the source returned this price.",
+ "type": "string"
+ },
+ "per_night_inr": {
+ "description": "Per-night price converted to INR (null if no exchange rate).",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "seller": {
+ "description": "Booking site the price is from; the source id when the source names no seller.",
+ "type": "string"
+ },
+ "source": {
+ "description": "Id of the data source that returned the price.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "per_night_inr",
+ "seller",
+ "source",
+ "fetched_at",
+ "check_in",
+ "check_out",
+ "adults",
+ "children_ages"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]
changedOutput schema / properties / hotels / items / properties / cheapest / description
Previous value: -"Cheapest price from the search that returned this hotel, for that search's dates."New value: +"Lowest per-night INR price across sources from that search, for its dates and party."
addedOutput schema / properties / hotels / items / properties / hotel_id / description
Added value: +"hotel_id as given (null when the hotel was given by lat/lng)."
addedOutput schema / properties / hotels / items / properties / lat / description
Added value: +"Hotel latitude."
addedOutput schema / properties / hotels / items / properties / legs / description
Added value: +"Travel from this hotel to each place, in the order given."
addedOutput schema / properties / hotels / items / properties / legs / items / properties / from / description
Added value: +"Label of the origin."
addedOutput schema / properties / hotels / items / properties / legs / items / properties / minutes / description
Added value: +"Travel time after the traffic multiplier, minutes; equals minutes_raw for walking (null when no route)."
addedOutput schema / properties / hotels / items / properties / legs / items / properties / minutes_raw / description
Added value: +"Free-flow travel time from the router, minutes (null when no route)."
addedOutput schema / properties / hotels / items / properties / legs / items / properties / road_km / description
Added value: +"Road distance along the route, km (null when no route was found)."
addedOutput schema / properties / hotels / items / properties / legs / items / properties / straight_km / description
Added value: +"Straight-line distance, km."
addedOutput schema / properties / hotels / items / properties / legs / items / properties / to / description
Added value: +"Label of the destination."
addedOutput schema / properties / hotels / items / properties / legs / items / properties / traffic_multiplier / description
Added value: +"Factor applied to free-flow drive time for traffic, higher in metro areas; 1 for walking."
addedOutput schema / properties / hotels / items / properties / legs / items / properties / warning / description
Added value: +"Set when no route was found or a point is over 500 m from the nearest road."
addedOutput schema / properties / hotels / items / properties / lng / description
Added value: +"Hotel longitude."
addedOutput schema / properties / hotels / items / properties / name / description
Added value: +"Hotel name (the coordinates when no name was given)."
addedOutput schema / properties / hotels / items / properties / rank / description
Added value: +"Position by total_minutes, then per_night_inr; 1 is best."
addedOutput schema / properties / hotels / items / properties / total_minutes / description
Added value: +"Sum of minutes over all legs (null when any leg has no route)."
addedOutput schema / properties / notes / description
Added value: +"How times are computed, caveats and attribution."