Raw schema
{
"type": "object",
"properties": {
"tier": {
"type": "string",
"enum": [
"moto",
"bajaj",
"economy",
"comfort",
"xl"
],
"description": "Vehicle tier from quote_ride"
},
"pickup": {
"type": "string",
"minLength": 2,
"maxLength": 120,
"description": "Pickup: a place name in Addis Ababa (e.g. \"Edna Mall\", \"Bole Airport\", \"Piassa\") or \"lat,lng\" like \"9.0108,38.7578\". Prefer the pickup_coords from quote_ride."
},
"dropoff": {
"type": "string",
"minLength": 2,
"maxLength": 120,
"description": "Drop-off: a place name in Addis Ababa (e.g. \"Edna Mall\", \"Bole Airport\", \"Piassa\") or \"lat,lng\" like \"9.0108,38.7578\". Prefer the dropoff_coords from quote_ride."
},
"rider_name": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"description": "Rider's name (or the booker's name when booking for someone else)"
},
"rider_phone": {
"type": "string",
"minLength": 9,
"maxLength": 20,
"description": "Ethiopian mobile: 09XXXXXXXX or +2519XXXXXXXX (any number if booking for someone else)"
},
"payment_method": {
"type": "string",
"enum": [
"cash",
"chapa"
],
"description": "cash (default) or chapa (telebirr/card link)"
},
"passenger_name": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"description": "Book for someone else: the passenger's name (the driver calls the passenger)"
},
"passenger_phone": {
"type": "string",
"minLength": 9,
"maxLength": 20,
"description": "Book for someone else: the passenger's Ethiopian mobile (09… or +2519…)"
}
},
"required": [
"tier",
"pickup",
"dropoff",
"rider_name",
"rider_phone"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}