changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": {},
+ "properties": {
+ "coverage": {
+ "additionalProperties": {},
+ "properties": {
+ "excludedNoFacilityData": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "excludedNoPrice": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "localities": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "count": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "includes": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "members": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "place": {
+ "additionalProperties": {},
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "names": {
+ "additionalProperties": {},
+ "properties": {
+ "en": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "zh": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "en",
+ "zh"
+ ],
+ "type": "object"
+ },
+ "placeId": {
+ "pattern": "^plc_\\d{1,12}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "placeId",
+ "name",
+ "names"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "place",
+ "members"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "place": {
+ "additionalProperties": {},
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "names": {
+ "additionalProperties": {},
+ "properties": {
+ "en": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "zh": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "en",
+ "zh"
+ ],
+ "type": "object"
+ },
+ "placeId": {
+ "pattern": "^plc_\\d{1,12}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "placeId",
+ "name",
+ "names"
+ ],
+ "type": "object"
+ },
+ "total": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "place",
+ "count",
+ "total",
+ "includes"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "more": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "unassigned": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "items",
+ "unassigned",
+ "more"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "matched": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "nameAsText": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "poolRadiusMeters": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "priced": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "textAnywhere": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "withPrice": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "withinMaxRadius": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "matched",
+ "priced",
+ "withPrice",
+ "poolRadiusMeters",
+ "excludedNoPrice",
+ "excludedNoFacilityData",
+ "withinMaxRadius",
+ "textAnywhere",
+ "localities",
+ "nameAsText"
+ ],
+ "type": "object"
+ },
+ "data": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "address": {
+ "additionalProperties": {},
+ "properties": {
+ "countryCode": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "line": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "locale": {
+ "anyOf": [
+ {
+ "enum": [
+ "en",
+ "zh"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "text",
+ "locale"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "region": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "names": {
+ "additionalProperties": {},
+ "properties": {
+ "en": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "zh": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "en",
+ "zh"
+ ],
+ "type": "object"
+ },
+ "placeId": {
+ "pattern": "^plc_\\d{1,12}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "placeId",
+ "name",
+ "names"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "line",
+ "countryCode",
+ "region"
+ ],
+ "type": "object"
+ },
+ "distanceMeters": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "hotelId": {
+ "pattern": "^htl_[0-9A-Za-z]{20}$",
+ "type": "string"
+ },
+ "location": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "lat": {
+ "type": "number"
+ },
+ "lng": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "lat",
+ "lng"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "names": {
+ "additionalProperties": {},
+ "properties": {
+ "en": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "zh": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "en",
+ "zh"
+ ],
+ "type": "object"
+ },
+ "photo": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "caption": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "locale": {
+ "anyOf": [
+ {
+ "enum": [
+ "en",
+ "zh"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "text",
+ "locale"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "url",
+ "caption"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "price": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "approx": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "fromPerRoomNight": {
+ "additionalProperties": {},
+ "properties": {
+ "amount": {
+ "pattern": "^\\d+(\\.\\d+)?$",
+ "type": "string"
+ },
+ "currency": {
+ "pattern": "^[A-Z]{3}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "currency"
+ ],
+ "type": "object"
+ },
+ "fromPerRoomStay": {
+ "additionalProperties": {},
+ "properties": {
+ "amount": {
+ "pattern": "^\\d+(\\.\\d+)?$",
+ "type": "string"
+ },
+ "currency": {
+ "pattern": "^[A-Z]{3}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "currency"
+ ],
+ "type": "object"
+ },
+ "rateDate": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "fromPerRoomNight",
+ "fromPerRoomStay",
+ "rateDate"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "basis": {
+ "anyOf": [
+ {
+ "enum": [
+ "lowest_unit"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "fromPerRoomNight": {
+ "additionalProperties": {},
+ "properties": {
+ "amount": {
+ "pattern": "^\\d+(\\.\\d+)?$",
+ "type": "string"
+ },
+ "currency": {
+ "pattern": "^[A-Z]{3}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "currency"
+ ],
+ "type": "object"
+ },
+ "fromPerRoomStay": {
+ "additionalProperties": {},
+ "properties": {
+ "amount": {
+ "pattern": "^\\d+(\\.\\d+)?$",
+ "type": "string"
+ },
+ "currency": {
+ "pattern": "^[A-Z]{3}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "currency"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "anyOf": [
+ {
+ "enum": [
+ "indicative"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "basis",
+ "fromPerRoomNight",
+ "fromPerRoomStay",
+ "approx"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "stars": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "timeZone": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "hotelId",
+ "name",
+ "names",
+ "stars",
+ "address",
+ "location",
+ "timeZone",
+ "distanceMeters",
+ "price"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "destination": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "center": {
+ "additionalProperties": {},
+ "properties": {
+ "basis": {
+ "anyOf": [
+ {
+ "enum": [
+ "seat",
+ "capital",
+ "busiest_settlement",
+ "hub",
+ "point"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "location": {
+ "additionalProperties": {},
+ "properties": {
+ "lat": {
+ "type": "number"
+ },
+ "lng": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "lat",
+ "lng"
+ ],
+ "type": "object"
+ },
+ "place": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "names": {
+ "additionalProperties": {},
+ "properties": {
+ "en": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "zh": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "en",
+ "zh"
+ ],
+ "type": "object"
+ },
+ "placeId": {
+ "pattern": "^plc_\\d{1,12}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "placeId",
+ "name",
+ "names"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "location",
+ "place",
+ "basis"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "place",
+ "type": "string"
+ },
+ "otherMatches": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "place": {
+ "additionalProperties": {},
+ "properties": {
+ "cityLike": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "countryCode": {
+ "type": "string"
+ },
+ "kind": {
+ "anyOf": [
+ {
+ "enum": [
+ "country",
+ "region",
+ "district",
+ "settlement",
+ "neighbourhood",
+ "island"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "location": {
+ "additionalProperties": {},
+ "properties": {
+ "lat": {
+ "type": "number"
+ },
+ "lng": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "lat",
+ "lng"
+ ],
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "names": {
+ "additionalProperties": {},
+ "properties": {
+ "en": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "zh": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "en",
+ "zh"
+ ],
+ "type": "object"
+ },
+ "placeId": {
+ "pattern": "^plc_\\d{1,12}$",
+ "type": "string"
+ },
+ "population": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "region": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "names": {
+ "additionalProperties": {},
+ "properties": {
+ "en": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "zh": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "en",
+ "zh"
+ ],
+ "type": "object"
+ },
+ "placeId": {
+ "pattern": "^plc_\\d{1,12}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "placeId",
+ "name",
+ "names"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "scope": {
+ "anyOf": [
+ {
+ "enum": [
+ "area",
+ "radius"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ }
+ },
+ "required": [
+ "placeId",
+ "name",
+ "names",
+ "kind",
+ "scope",
+ "cityLike",
+ "population",
+ "region",
+ "countryCode",
+ "location"
+ ],
+ "type": "object"
+ },
+ "radiusMeters": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "radiusSource": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "enum": [
+ "default",
+ "requested"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "resolution": {
+ "anyOf": [
+ {
+ "enum": [
+ "only_match",
+ "dominant",
+ "by_id",
+ "by_country_code",
+ "by_locality"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "scope": {
+ "anyOf": [
+ {
+ "enum": [
+ "area",
+ "radius",
+ "locality"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "place",
+ "resolution",
+ "otherMatches",
+ "scope",
+ "center",
+ "radiusMeters",
+ "radiusSource"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "center": {
+ "additionalProperties": {},
+ "properties": {
+ "basis": {
+ "anyOf": [
+ {
+ "enum": [
+ "seat",
+ "capital",
+ "busiest_settlement",
+ "hub",
+ "point"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "location": {
+ "additionalProperties": {},
+ "properties": {
+ "lat": {
+ "type": "number"
+ },
+ "lng": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "lat",
+ "lng"
+ ],
+ "type": "object"
+ },
+ "place": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "names": {
+ "additionalProperties": {},
+ "properties": {
+ "en": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "zh": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "en",
+ "zh"
+ ],
+ "type": "object"
+ },
+ "placeId": {
+ "pattern": "^plc_\\d{1,12}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "placeId",
+ "name",
+ "names"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "location",
+ "place",
+ "basis"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "point",
+ "type": "string"
+ },
+ "radiusMeters": {
+ "type": "number"
+ },
+ "radiusSource": {
+ "anyOf": [
+ {
+ "enum": [
+ "default",
+ "requested"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "scope": {
+ "anyOf": [
+ {
+ "enum": [
+ "radius"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "center",
+ "scope",
+ "radiusMeters",
+ "radiusSource"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "kind": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "nextCursor": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "notes": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "code": {
+ "anyOf": [
+ {
+ "enum": [
+ "indicative_prices",
+ "prices_unavailable",
+ "pool_limited",
+ "amenities_listed_only",
+ "place_resolved_dominant",
+ "area_absorbed",
+ "broad_area",
+ "island_radius",
+ "area_retired",
+ "more_outside_radius",
+ "more_elsewhere",
+ "few_hotels_in_scope",
+ "party_split_required",
+ "no_results",
+ "locality_available"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "pricing": {
+ "additionalProperties": {},
+ "properties": {
+ "mode": {
+ "anyOf": [
+ {
+ "enum": [
+ "indicative",
+ "none"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "scope": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "enum": [
+ "page",
+ "pool"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "enum": [
+ "ok",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "mode",
+ "scope",
+ "status"
+ ],
+ "type": "object"
+ },
+ "sort": {
+ "anyOf": [
+ {
+ "enum": [
+ "distance",
+ "relevance",
+ "stars_desc",
+ "price_asc",
+ "price_desc"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "stay": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "checkIn": {
+ "type": "string"
+ },
+ "checkOut": {
+ "type": "string"
+ },
+ "rooms": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "adults": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "childrenAges": {
+ "items": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "adults",
+ "childrenAges"
+ ],
+ "type": "object"
+ },
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "checkIn",
+ "checkOut",
+ "rooms"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "text": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "match": {
+ "anyOf": [
+ {
+ "enum": [
+ "exact"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "value",
+ "match"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "destination",
+ "text",
+ "stay",
+ "pricing",
+ "sort",
+ "coverage",
+ "data",
+ "nextCursor",
+ "notes"
+ ],
+ "type": "object"
+}