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
string
string
Driver information
driver
object
object
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
string
string
phone
string
string
rating
number
number
POSIX time in milliseconds, https://en.wikipedia.org/wiki/Unix_time
eta
integer
integer
1451606400
9007199254740991
Message to the driver with, for example, pick up instructions or any other information
messageToDriver
string
string
noShowReportedByDriver
boolean
boolean
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
string
string
taxiCenter
object
object
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
string
string
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
string
string
The taxi id (in the taxi number plate on top of the vehicle)
vehicleId
string
string
Geographic latitude-longitude object in WGS-84 system, see https://en.wikipedia.org/wiki/World_Geodetic_System
vehicleLocation
object
object
with following properties:
Property | Type | Required |
---|---|---|
lat |
Required | |
lon |
Required |
lat
#/definitions/latitude
lon
#/definitions/longitude
vehicleType
string
string