Skip to content

Reference Data

There are a number of types that are predefined lists of values that will either not change or will change very infrequently and pre-communicated. These are:

Vehicle Types

ValueDescription
Saloon4 seater 'standard' car
WAVVehicle capable of carrying an electric wheelchair that cannot be folded. Also needs to carry at least 4 passengers
MPVCan carry up top 8 passengers (without luggage)
MinibusCan carry up to 10 passengers
ExecExecutive saloon vehicle with capacity of 4 passengers
BlackCabHackney carriage with capacity for up to 5 passengers

Vehicle Attributes

While the type of vehicle may not change, it is useful to be able to specify additional requirements/attributes that the vehicle should meet

ValueDescription
ElectricThe vehicle is 100% electric (not hybrid)
HybridA combined electric and combustion engine
PetsThe vehicle will transport passengers and their pets

Price Types

To enable maximum flexibility each booking can contain one or more Prices. Each of these entries is identified with a type, description, amount and currency. Each type of price should only exist once per booking but there can be multiple price entries per booking.

ValueDescription
JourneyNetThe price, net of any tax, associated with the travel/journey. Often referred to as the "Fare"
JourneyTaxThe tax element that relates to the journey performed. Whether this is included depends on a number of factors including whether the operator is registered for tax/VAT etc
WaitingThe amount to be charged waiting for a passenger at a location. The number of minutes can be included in the Price description
GreenFeeSome locations employ a clean air or ULEZ zone and therefore charge vehicles who enter it
TollThe toll fee paid to travel on some roads
ParkingAny parking charges incurred by the driver/vehicle
MeetAndGreetAdditional amount that is charged if the driver should leave the vehicle to meet the passenger
SoilageIf the driver/operator has to charge extra for cleaning of a vehicle as a result of a passenger
LeadMilesThe additional distance to the pickup location
BookingFeeA charge per booking that is added
MiscellaneousA catch all rarely used but allows for capture of additional 'one off' charges

Currency

Wherever a currency is used it should be the 3 character ISO reference value e.g. GBP (Great British Pounds), EUR (Euro) etc

Booking Status

ValueDescription
BookedThe initial state of a booking when it has been received but not assigned to a driver/vehicle
DispatchedThe vehicle is on it's way to the pickup location
ArrivedThe vehicle has arrived at the pickup location but the passenger is yet to be picked up
PickedUpThe passenger has boarded the vehicle and it is on it's way to the destination/stops
DroppedOffThe vehicle has finished all the stops in the booking request and the passenger has left the vehicle. (FINAL STATE)
CancelledThe booking is/has been cancelled by the operator and will not be fulfilled. (FINAL STATE)
NoShowThe passenger did not arrive at the pickup location or could not be found so the vehicle has left and the booking has been finished. (FINAL STATE)

Common Elements

Price

Example

json
"type": "Waiting",
"description": null,
"amount": 850,
"currency": "GBP",
"attributes": [{ "key": "Minutes", "value": "15" }]
"type": "Waiting",
"description": null,
"amount": 850,
"currency": "GBP",
"attributes": [{ "key": "Minutes", "value": "15" }]

Schema

ElementDescription
typeRequired. One of the predefined price types
descriptionOptional. String description. Max length 255
amountRequired. Integer value of price amount e.g. pence for GBP or cents for EUR
currencyRequired. 3 character ISO string as described here
attributesOptional. Array of objects containing key/value string pairs used to communicate additional info around the price if required e.g. number of lead miles or number of wait minutes

Address

Example

json
"pickupPoint": null,
"address1": "45 Destination Avenue",
"address2": "Over there",
"town": "Somewhere else",
"region": null,
"postcode": "SH4 6WE",
"country": "England",
"isoCountry": "GB",
"lat": 53.9173,
"lng": -1.3254
"pickupPoint": null,
"address1": "45 Destination Avenue",
"address2": "Over there",
"town": "Somewhere else",
"region": null,
"postcode": "SH4 6WE",
"country": "England",
"isoCountry": "GB",
"lat": 53.9173,
"lng": -1.3254

Schema

ElementDescription
pickupPointOptional. String with instructions on where the passenger will be located. Max length 50
address1Required. First line of the address. Max length 255
address2Optional. Multi-line string. Max length 255
townOptional. City/town name. Max length 50
regionOptional. Region/county/area. Max length 50
postcodeOptional. Postal code. Max length 20
countryRequired. Country name. Max length 50
isoCountryRequired. 2 character ISO country code e.g. GB or FR. Max length 2
latRequired. Double floating point numeric value
lngRequired. Double floating point numeric value

Vehicle

Example

json
"type": "Saloon",
"attributes": []
"type": "Saloon",
"attributes": []

Schema

ElementDescription
typeRequired. One of the predefined vehicle types
attributesOptional. Array of strings containing one or more of the predefined vehicle attributes