http://maasglobal.com/core/product.json
Product in core which encapsulates at least an id, name and a tspProductId
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Develop | No | Forbidden | Permitted | core/product.json |
http://maasglobal.com/core/product.json
http://maasglobal.com/core/components/common.json
Property | Type | Group |
---|---|---|
minimumExtra | fare | http://maasglobal.com/core/product.json#/definitions/preAuthBuffer |
percentageExtra | number |
http://maasglobal.com/core/product.json#/definitions/preAuthBuffer |
Minimum amount, expressed as a fare, that will be added as a safety margin to the estimated fare
minimumExtra
http://maasglobal.com/core/components/fare.json
Percentage of the fare which is added as a safety margin when pre-authorizing; e.g. if 20% is added as a safety margin, this value would be 0.2
percentageExtra
number
number
0
0.01
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
agencyId | string |
Optional | No | product (this schema) |
allowFinishTrip | boolean |
Optional | No | product (this schema) |
description | string |
Optional | No | product (this schema) |
icon | string |
Optional | No | product (this schema) |
id | string |
Required | No | product (this schema) |
name | string |
Required | No | product (this schema) |
preAuthBuffer | object |
Optional | No | product (this schema) |
priority | integer |
Optional | No | product (this schema) |
tspProductId | string |
Required | No | product (this schema) |
* |
any | Additional | Yes | this schema allows additional properties |
agencyId
string
string
allowFinishTrip
boolean
boolean
description
string
string
icon
string
string
id
string
string
name
string
string
preAuthBuffer
object
object
with following properties:
Property | Type | Required |
---|---|---|
minimumExtra |
Optional | |
percentageExtra |
number | Optional |
Minimum amount, expressed as a fare, that will be added as a safety margin to the estimated fare
minimumExtra
http://maasglobal.com/core/components/fare.json
Percentage of the fare which is added as a safety margin when pre-authorizing; e.g. if 20% is added as a safety margin, this value would be 0.2
percentageExtra
number
number
0
0.01
priority
integer
integer
0
tspProductId
string
string