changedInput schema / properties / adults / description
Previous value: -"Adults (default 2)"New value: +"Number of adults. Defaults to 2."
changedInput schema / properties / checkin / description
Previous value: -"Optional check-in date, YYYY-MM-DD"New value: +"Check-in date, YYYY-MM-DD. Used only when checkout is also given."
addedInput schema / properties / checkin / pattern
Added value: +"^\\d{4}-\\d{2}-\\d{2}$"
changedInput schema / properties / checkout / description
Previous value: -"Optional check-out date, YYYY-MM-DD"New value: +"Check-out date, YYYY-MM-DD."
addedInput schema / properties / checkout / pattern
Added value: +"^\\d{4}-\\d{2}-\\d{2}$"
addedInput schema / properties / children
Added value: +{
+ "description": "Number of children. Defaults to 0.",
+ "maximum": 10,
+ "minimum": 0,
+ "type": "integer"
+}
changedInput schema / properties / city / description
Previous value: -"City, region or property name to search, e.g. Rome, Phuket"New value: +"City, region or property name to search, e.g. Rome, Phuket, Hotel Kossak."
addedInput schema / properties / city / maxLength
Added value: +120
changedInput schema / properties / country / description
Previous value: -"Optional ISO 3166-1 alpha-2 country of the traveler; defaults to the caller's geolocation"New value: +"ISO 3166-1 alpha-2 country the traveler is booking from, e.g. US, DE, GB. Selects the regional Booking.com programme. Defaults to the caller's geolocation, then to the language default."
addedInput schema / properties / country / pattern
Added value: +"^[A-Za-z]{2}$"
changedInput schema / properties / lang / description
Previous value: -"Content language for the guides that come back (default \"en\")"New value: +"Language of the VoyageHacks guides returned. One of: en, de, fr, es, it, pl, cs, ja, nl, pt, zh. Defaults to \"en\"."
changedInput schema / properties / rooms / description
Previous value: -"Rooms (default 1)"New value: +"Number of rooms. Defaults to 1."
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "adults": {
+ "type": "integer"
+ },
+ "checkin": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "checkout": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "children": {
+ "type": "integer"
+ },
+ "city": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "disclosure": {
+ "type": "string"
+ },
+ "guides": {
+ "description": "Matching VoyageHacks guides that can be cited as sources.",
+ "items": {
+ "properties": {
+ "section": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "url"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "hotelSearch": {
+ "type": "string"
+ },
+ "ihg": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "rooms": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "disclosure",
+ "hotelSearch",
+ "guides"
+ ],
+ "type": "object"
+}