changedOutput schema / (root)
Previous value: -{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "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"
- },
- "amenities": {
- "additionalProperties": {},
- "properties": {
- "items": {
- "items": {
- "additionalProperties": {},
- "properties": {
- "code": {
- "anyOf": [
- {
- "enum": [
- "parking",
- "wifi",
- "laundry",
- "restaurant",
- "room_service",
- "bar",
- "non_smoking",
- "business_center",
- "pool",
- "airport_shuttle",
- "spa",
- "gym",
- "accessible",
- "ev_charging",
- "air_conditioning",
- "pets_allowed",
- "kitchen",
- "other"
- ],
- "type": "string"
- },
- {
- "type": "string"
- }
- ]
- },
- "name": {
- "additionalProperties": {},
- "properties": {
- "locale": {
- "anyOf": [
- {
- "enum": [
- "en",
- "zh"
- ],
- "type": "string"
- },
- {
- "type": "string"
- }
- ]
- },
- "text": {
- "type": "string"
- }
- },
- "required": [
- "text",
- "locale"
- ],
- "type": "object"
- }
- },
- "required": [
- "code",
- "name"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "listed": {
- "type": "boolean"
- }
- },
- "required": [
- "listed",
- "items"
- ],
- "type": "object"
- },
- "bookable": {
- "type": "boolean"
- },
- "breakfastServed": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "checkInTimes": {
- "additionalProperties": {},
- "properties": {
- "from": {
- "anyOf": [
- {
- "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "until": {
- "anyOf": [
- {
- "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "from",
- "until"
- ],
- "type": "object"
- },
- "checkOutTimes": {
- "additionalProperties": {},
- "properties": {
- "from": {
- "anyOf": [
- {
- "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "until": {
- "anyOf": [
- {
- "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "from",
- "until"
- ],
- "type": "object"
- },
- "contact": {
- "additionalProperties": {},
- "properties": {
- "phone": {
- "type": [
- "string",
- "null"
- ]
- },
- "website": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "phone",
- "website"
- ],
- "type": "object"
- },
- "deposit": {
- "additionalProperties": {},
- "properties": {
- "amount": {
- "anyOf": [
- {
- "additionalProperties": {},
- "properties": {
- "amount": {
- "pattern": "^\\d+(\\.\\d+)?$",
- "type": "string"
- },
- "currency": {
- "pattern": "^[A-Z]{3}$",
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "required": {
- "type": [
- "boolean",
- "null"
- ]
- }
- },
- "required": [
- "required",
- "amount"
- ],
- "type": "object"
- },
- "description": {
- "anyOf": [
- {
- "additionalProperties": {},
- "properties": {
- "locale": {
- "anyOf": [
- {
- "enum": [
- "en",
- "zh"
- ],
- "type": "string"
- },
- {
- "type": "string"
- }
- ]
- },
- "text": {
- "type": "string"
- }
- },
- "required": [
- "text",
- "locale"
- ],
- "type": "object"
- },
- {
- "type": "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"
- },
- "photos": {
- "anyOf": [
- {
- "items": {
- "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": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Up to 8 hotel photos, the cover first; null when the catalogue lists none."
- },
- "policies": {
- "additionalProperties": {},
- "properties": {
- "items": {
- "items": {
- "additionalProperties": {},
- "properties": {
- "locale": {
- "anyOf": [
- {
- "anyOf": [
- {
- "enum": [
- "en",
- "zh"
- ],
- "type": "string"
- },
- {
- "type": "string"
- }
- ]
- },
- {
- "type": "null"
- }
- ]
- },
- "text": {
- "type": "string"
- },
- "topic": {
- "anyOf": [
- {
- "enum": [
- "check_in",
- "important_notices",
- "booking",
- "booking_tips",
- "check_in_out",
- "check_in_tips",
- "reception",
- "deposit",
- "meal",
- "extra_bed",
- "pets",
- "surroundings",
- "meetings",
- "non_smoking",
- "other"
- ],
- "type": "string"
- },
- {
- "type": "string"
- }
- ]
- }
- },
- "required": [
- "topic",
- "text",
- "locale"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "listed": {
- "type": "boolean"
- }
- },
- "required": [
- "listed",
- "items"
- ],
- "type": "object"
- },
- "rooms": {
- "additionalProperties": {},
- "properties": {
- "items": {
- "items": {
- "additionalProperties": {},
- "properties": {
- "areaSqm": {
- "anyOf": [
- {
- "additionalProperties": {},
- "properties": {
- "max": {
- "type": "number"
- },
- "min": {
- "type": "number"
- }
- },
- "required": [
- "min",
- "max"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "beds": {
- "anyOf": [
- {
- "additionalProperties": {},
- "properties": {
- "locale": {
- "anyOf": [
- {
- "anyOf": [
- {
- "enum": [
- "en",
- "zh"
- ],
- "type": "string"
- },
- {
- "type": "string"
- }
- ]
- },
- {
- "type": "null"
- }
- ]
- },
- "text": {
- "type": "string"
- }
- },
- "required": [
- "text",
- "locale"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "maxOccupancy": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "name": {
- "additionalProperties": {},
- "properties": {
- "locale": {
- "anyOf": [
- {
- "anyOf": [
- {
- "enum": [
- "en",
- "zh"
- ],
- "type": "string"
- },
- {
- "type": "string"
- }
- ]
- },
- {
- "type": "null"
- }
- ]
- },
- "text": {
- "type": "string"
- }
- },
- "required": [
- "text",
- "locale"
- ],
- "type": "object"
- },
- "window": {
- "anyOf": [
- {
- "anyOf": [
- {
- "enum": [
- "yes",
- "no",
- "partial"
- ],
- "type": "string"
- },
- {
- "type": "string"
- }
- ]
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "name",
- "beds",
- "areaSqm",
- "maxOccupancy",
- "window"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "listed": {
- "type": "boolean"
- }
- },
- "required": [
- "listed",
- "items"
- ],
- "type": "object"
- },
- "stars": {
- "type": [
- "number",
- "null"
- ]
- },
- "timeZone": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "hotelId",
- "name",
- "names",
- "bookable",
- "stars",
- "address",
- "location",
- "timeZone",
- "description",
- "photos",
- "checkInTimes",
- "checkOutTimes",
- "policies",
- "amenities",
- "breakfastServed",
- "deposit",
- "contact"
- ],
- "type": "object"
-}New value: +null