http://maasglobal.com/core/modes/MODE_TAXI.json
Schema for MODE_TAXI meta field
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
|---|---|---|---|---|---|---|
| Can be instantiated | No | Develop | No | Forbidden | Forbidden | core/modes/MODE_TAXI.json |
http://maasglobal.com/core/modes/MODE_TAXI.json
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| dispatchOrderId | string |
Optional | No | MODE_TAXI (this schema) |
| driver | object |
Optional | No | MODE_TAXI (this schema) |
| eta | integer |
Optional | No | MODE_TAXI (this schema) |
| messageToDriver | string |
Optional | No | MODE_TAXI (this schema) |
| noShowReportedByDriver | boolean |
Optional | No | MODE_TAXI (this schema) |
| pickupIdentificationCode | string |
Optional | No | MODE_TAXI (this schema) |
| taxiCenter | object |
Optional | No | MODE_TAXI (this schema) |
| vehicleDescription | string |
Optional | No | MODE_TAXI (this schema) |
| vehicleId | string |
Optional | No | MODE_TAXI (this schema) |
| vehicleLocation | object |
Optional | No | MODE_TAXI (this schema) |
| vehicleType | string |
Optional | No | MODE_TAXI (this schema) |
An internal use only number identifying the dispatch id for inspection
dispatchOrderId
stringstring
Driver information
driver
objectobject with following properties:
| Property | Type | Required |
|---|---|---|
image |
string | Optional |
name |
string | Optional |
phone |
string | Optional |
rating |
number | Optional |
Uniform resource locator, see https://en.wikipedia.org/wiki/Uniform_Resource_Locator and https://mathiasbynens.be/demo/url-regex
image
string
All instances must conform to this regular expression (test examples here):
^(https?|ftp):\/\/[^\s/$.?#].[^\s]*$
Driver name, e.g. ‘Sergey’ or ‘Jane S.’
name
stringstring
phone
stringstring
rating
numbernumber
POSIX time in milliseconds, https://en.wikipedia.org/wiki/Unix_time
eta
integerinteger
14516064009007199254740991Message to the driver with, for example, pick up instructions or any other information
messageToDriver
stringstring
noShowReportedByDriver
booleanboolean
Any code that the user can show/tell to the driver to confirm legitimacy of the ride (name, letters, numbers - depends on the service provider)
pickupIdentificationCode
stringstring
taxiCenter
objectobject with following properties:
| Property | Type | Required |
|---|---|---|
image |
string | Optional |
name |
string | Optional |
phone |
string | Optional |
Uniform resource locator, see https://en.wikipedia.org/wiki/Uniform_Resource_Locator and https://mathiasbynens.be/demo/url-regex
image
string
All instances must conform to this regular expression (test examples here):
^(https?|ftp):\/\/[^\s/$.?#].[^\s]*$
name
stringstring
ITU-T E.164 phone number, see https://www.safaribooksonline.com/library/view/regular-expressions-cookbook/9781449327453/ch04s03.html
phone
string
All instances must conform to this regular expression
^\+(?:\d){6,14}\d$
+358401234567
An arbitrary description of the vehicle, e.g. ‘Black Jaguar’
vehicleDescription
stringstring
The taxi id (in the taxi number plate on top of the vehicle)
vehicleId
stringstring
Geographic latitude-longitude object in WGS-84 system, see https://en.wikipedia.org/wiki/World_Geodetic_System
vehicleLocation
objectobject with following properties:
| Property | Type | Required |
|---|---|---|
lat |
Required | |
lon |
Required |
lat
#/definitions/latitudelon
#/definitions/longitudevehicleType
stringstring