Raw schema
{
"type": "object",
"properties": {
"listingMapId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Listing id to book."
},
"arrivalDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Arrival date (YYYY-MM-DD)."
},
"departureDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Departure date (YYYY-MM-DD)."
},
"channelId": {
"description": "2000 direct (default), 2002 homeaway, 2020 partner.",
"anyOf": [
{
"type": "number",
"const": 2000
},
{
"type": "number",
"const": 2002
},
{
"type": "number",
"const": 2020
}
]
},
"totalPrice": {
"description": "Total price of the stay.",
"type": "number",
"minimum": 0
},
"currency": {
"description": "Currency code, e.g. USD.",
"type": "string"
},
"guestName": {
"description": "Guest full name.",
"type": "string"
},
"guestFirstName": {
"description": "Guest first name.",
"type": "string"
},
"guestLastName": {
"description": "Guest last name.",
"type": "string"
},
"guestEmail": {
"description": "Guest email.",
"type": "string"
},
"phone": {
"description": "Guest phone, e.g. +15125551212.",
"type": "string"
},
"guestAddress": {
"description": "Guest street address.",
"type": "string"
},
"guestCity": {
"description": "Guest city.",
"type": "string"
},
"guestZipCode": {
"description": "Guest ZIP / postal code.",
"type": "string"
},
"guestCountry": {
"description": "Guest country (ISO 3166 code, e.g. US).",
"type": "string"
},
"numberOfGuests": {
"description": "Total number of guests.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"adults": {
"description": "Adults.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"children": {
"description": "Children.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"infants": {
"description": "Infants.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pets": {
"description": "Pets.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"checkInTime": {
"description": "Check-in time (hour of day, 0-23).",
"type": "integer",
"minimum": 0,
"maximum": 23
},
"checkOutTime": {
"description": "Check-out time (hour of day, 0-23).",
"type": "integer",
"minimum": 0,
"maximum": 23
},
"hostNote": {
"description": "Internal host note (not shown to the guest).",
"type": "string"
},
"guestNote": {
"description": "Note from the guest.",
"type": "string"
},
"doorCode": {
"description": "Door / lock code for this stay.",
"type": "string"
},
"doorCodeVendor": {
"description": "Lock vendor.",
"type": "string"
},
"doorCodeInstruction": {
"description": "Door-code instructions.",
"type": "string"
},
"comment": {
"description": "Free-text comment.",
"type": "string"
}
},
"required": [
"listingMapId",
"arrivalDate",
"departureDate"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}