Raw schema
{
"type": "object",
"properties": {
"trip_id": {
"description": "trip_id of a departure listed by search_transfers.",
"type": "string",
"pattern": "^[0-9a-f]{12}$"
},
"pickup_time": {
"description": "Private taxi / van / boat (no fixed time): pickup time HH:MM chosen by the traveller.",
"type": "string",
"pattern": "^\\d{2}:\\d{2}$"
},
"from": {
"type": "string",
"minLength": 2,
"maxLength": 40
},
"to": {
"type": "string",
"minLength": 2,
"maxLength": 40
},
"type": {
"type": "string",
"enum": [
"Ferry",
"Speedboat"
]
},
"date": {
"type": "string",
"description": "YYYY-MM-DD"
},
"departure_time": {
"description": "HH:MM exactly as listed by search_transfers (our own departures).",
"type": "string",
"maxLength": 5
},
"company": {
"description": "Operator exactly as listed by search_transfers (our own departures).",
"type": "string",
"maxLength": 80
},
"passengers": {
"type": "integer",
"minimum": 1,
"maximum": 30
},
"hotel": {
"description": "Hotel name, for pickup.",
"type": "string",
"maxLength": 200
},
"hotel_pickup": {
"description": "Only for departures listed 'hotel pickup on request, +100 THB/person'.",
"type": "boolean"
},
"traveller_name": {
"type": "string",
"minLength": 2,
"maxLength": 120,
"description": "Full name of the lead traveller."
},
"traveller_email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"description": "Email: receives the confirmation and e-ticket after payment."
},
"traveller_phone": {
"description": "WhatsApp number with country code (e.g. +33612345678). Strongly recommended: the local team uses it on the day.",
"type": "string",
"maxLength": 40
},
"language": {
"description": "Traveller language code (en, fr, de, es, zh...). Sets the emails and the payment page language.",
"type": "string",
"maxLength": 8
},
"notes": {
"description": "Kids ages, allergies, special requests.",
"type": "string",
"maxLength": 1500
},
"confirm_duplicate": {
"description": "Only true if the traveller explicitly wants a SECOND identical booking after an ALREADY BOOKED answer.",
"type": "boolean"
},
"traveller_confirmed": {
"type": "boolean",
"const": true,
"description": "true once the traveller has approved the restated product, date, party, total and payment."
}
},
"required": [
"date",
"passengers",
"traveller_name",
"traveller_email",
"traveller_confirmed"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}