http://maasglobal.com/maas-backend/products/provider.json
MaaS product provider schema
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | No | Develop | No | Forbidden | Forbidden | maas-backend/products/provider.json |
http://maasglobal.com/maas-backend/products/provider.json
http://maasglobal.com/core/components/common.json
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
agencyId | string |
Required | No | provider (this schema) |
branding | object |
Required | No | provider (this schema) |
disruption | object |
Optional | No | provider (this schema) |
extra | object |
Optional | No | provider (this schema) |
features | object |
Required | No | provider (this schema) |
groupId | string |
Required | No | provider (this schema) |
hidden | boolean |
Required | No | provider (this schema) |
name | string |
Required | No | provider (this schema) |
optionalParameters | object[] |
Required | No | provider (this schema) |
personalDataCreateAllow | personalDataAllowItem | Required | No | provider (this schema) |
personalDataOptionsAllow | personalDataAllowItem | Required | No | provider (this schema) |
requiredPersonalDocuments | personalDocumentRequiredItem | Optional | No | provider (this schema) |
agencyId
string
string
branding
object
object
with following properties:
Property | Type | Required |
---|---|---|
icon |
string | Optional |
logoFullColor |
string | Optional |
logoSolidColor |
string | Optional |
primaryColor |
string | Optional |
secondaryColor |
string | Optional |
Icon shown in whim wheel, url to 240x240 png
icon
string
All instances must conform to this regular expression (test examples here):
^(https?|ftp):\/\/[^\s/$.?#].[^\s]*$
Icon that retains the providers brand identity, url to ???x105 png
logoFullColor
string
All instances must conform to this regular expression (test examples here):
^(https?|ftp):\/\/[^\s/$.?#].[^\s]*$
Icon that can be shown against dark or light background, url to ???x105 png
logoSolidColor
string
All instances must conform to this regular expression (test examples here):
^(https?|ftp):\/\/[^\s/$.?#].[^\s]*$
Primary brand color, used in backgrounds etc.
primaryColor
string
string
All instances must conform to this regular expression (test examples here):
^#(?:[0-9A-Fa-f]{3}){1,2}$
Secondary brand color, used in accent parts of the app.
secondaryColor
string
string
All instances must conform to this regular expression (test examples here):
^#(?:[0-9A-Fa-f]{3}){1,2}$
Disruption detail in JSON. For usage such as off-season products
disruption
object
object
with following properties:
| Property | Type | Required | | ——– | —- | ——– |
extra
object
object
with following properties:
Property | Type | Required |
---|---|---|
prebooking |
object | Optional |
radius |
object | Optional |
prebooking
object
object
with following properties:
Property | Type | Required |
---|---|---|
isSupported |
boolean | Required |
maxIntervalUntilBooking |
number | Required |
minIntervalUntilBooking |
number | Required |
Is pre-booking supported
isSupported
boolean
boolean
Maximum amount of milliseconds before the taxi can be prebooked in the future
maxIntervalUntilBooking
number
number
Minimum amount of milliseconds before the taxi can be prebooked in the future
minIntervalUntilBooking
number
number
radius
object
object
with following properties:
Property | Type | Required |
---|---|---|
description |
string | Optional |
fixedFareAmount |
number | Required |
fixedFareCurrency |
Required | |
maxRadiusMetres |
integer | Required |
User facing description of the radius rule
description
string
string
The amount of the maximum fixed fare
fixedFareAmount
number
number
0
0.01
fixedFareCurrency
One of the following conditions need to be fulfilled.
http://maasglobal.com/core/components/units.json#/definitions/currency
string
The maximum radius to which the maximum fixed fare applies, in metres
maxRadiusMetres
integer
integer
0
Boolean properties indicating which features are supported by the provider
features
object
object
with following properties:
Property | Type | Required |
---|---|---|
stationsList |
boolean | Required |
stationsRetrieve |
boolean | Required |
ticket |
boolean | Required |
stationsList
boolean
boolean
stationsRetrieve
boolean
boolean
ticket
boolean
boolean
groupId
string
string
hidden
boolean
boolean
name
string
string
optionalParameters
object[]
Array type: object[]
All items must be of the type: object
with following properties:
Property | Type | Required |
---|---|---|
id |
string | Required |
inputs |
array | Required |
name |
string | Required |
type |
Optional | |
userSelectable |
boolean | Optional |
id
string
string
inputs
object[]
* at least 1
items in the arrayArray type: object[]
All items must be of the type: object
with following properties:
Property | Type | Required |
---|---|---|
default |
string,number,boolean | Optional |
id |
string | Required |
name |
string | Required |
type |
Required |
default
Unknown type string,number,boolean
.
{
"type": ["string", "number", "boolean"],
"simpletype": "multiple"
}
id
string
string
name
string
string
type
enum
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
string |
|
number |
|
boolean |
|
station |
name
string
string
type
enum
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
oneOf |
|
someOf |
|
allOf |
|
oneOrNoneOf |
|
someOrNoneOf |
userSelectable
boolean
boolean
personalDataCreateAllow
Array type: personalDataAllowItem
All items must be of the type:
http://maasglobal.com/core/components/personalDataAllowItem.json
personalDataOptionsAllow
Array type: personalDataAllowItem
All items must be of the type:
http://maasglobal.com/core/components/personalDataAllowItem.json
requiredPersonalDocuments
Array type: personalDocumentRequiredItem
All items must be of the type:
http://maasglobal.com/core/components/personalDocumentRequiredItem.json