changedInput schema / $schema
Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
removedInput schema / additionalProperties
Removed value: -false
removedInput schema / properties / checkout / $ref
Removed value: -"#/properties/checkin"
addedInput schema / properties / checkout / type
Added value: +"string"
addedInput schema / properties / currency
Added value: +{
+ "description": "Currency to show prices in (ISO 4217, default: USD). Pass the user's local currency when you know it, e.g. GBP for a UK user or EUR for a user in Germany. Prices are converted from USD and are approximate; sorting and booking links are unaffected.",
+ "enum": [
+ "USD",
+ "AUD",
+ "BRL",
+ "CAD",
+ "CHF",
+ "CNY",
+ "CZK",
+ "DKK",
+ "EUR",
+ "GBP",
+ "HKD",
+ "IDR",
+ "INR",
+ "JPY",
+ "KRW",
+ "MXN",
+ "MYR",
+ "PLN",
+ "RON",
+ "SEK",
+ "SGD",
+ "TRY",
+ "TWD",
+ "UAH",
+ "VND"
+ ],
+ "type": "string"
+}
changedOutput schema / $schema
Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
addedOutput schema / properties / pagination / properties / currentlyShowing / maximum
Added value: +9007199254740991
addedOutput schema / properties / pagination / properties / currentlyShowing / minimum
Added value: +-9007199254740991
addedOutput schema / properties / pagination / properties / limit / maximum
Added value: +9007199254740991
addedOutput schema / properties / pagination / properties / limit / minimum
Added value: +-9007199254740991
addedOutput schema / properties / pagination / properties / offset / maximum
Added value: +9007199254740991
addedOutput schema / properties / pagination / properties / offset / minimum
Added value: +-9007199254740991
addedOutput schema / properties / pagination / properties / totalAvailable / maximum
Added value: +9007199254740991
addedOutput schema / properties / pagination / properties / totalAvailable / minimum
Added value: +-9007199254740991
addedOutput schema / properties / pricing
Added value: +{
+ "additionalProperties": false,
+ "description": "Currency used for `results[].price`",
+ "properties": {
+ "approximate": {
+ "description": "True when prices were converted from USD; the final charge on the booking site may differ",
+ "type": "boolean"
+ },
+ "currency": {
+ "description": "ISO 4217 code the prices are shown in",
+ "type": "string"
+ },
+ "notice": {
+ "description": "Short note to relay to the user about the shown currency",
+ "type": "string"
+ },
+ "rate": {
+ "description": "Units of `currency` per 1 USD used for conversion (1 for USD)",
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "rateAsOf": {
+ "description": "When the server fetched the exchange rate (ISO datetime)",
+ "type": "string"
+ },
+ "requestedCurrency": {
+ "description": "ISO 4217 code the caller asked for (may differ on fallback)",
+ "type": "string"
+ }
+ },
+ "required": [
+ "currency",
+ "requestedCurrency",
+ "rate",
+ "approximate"
+ ],
+ "type": "object"
+}
addedOutput schema / properties / results / items / properties / price / properties / amount / description
Added value: +"Nightly price in `currency` (converted from USD)"
addedOutput schema / properties / results / items / properties / price / properties / currency / description
Added value: +"ISO 4217 code of `amount`"
addedOutput schema / properties / results / items / properties / price / properties / usdAmount
Added value: +{
+ "description": "Source nightly price in US dollars; use it for comparison",
+ "type": "number"
+}