AddressTO
streetAddressareaReferencecity or town, principal subdivision such as province, state or county, could match Content-Language
streetstreet, consistent with streetAddress
houseNumberhouse number, consistent with streetAddress
houseNumberAdditionthe additional part of the house number (f.x. 13bis, where 'bis' is the additional part), consistent with streetAddress
addressAdditionalInfoadditional information to find the address (f.x. just around the corner)
cityspecified city or town, consistent with areaReference
provinceprovince or region, consistent with areaReference
statestate, consistent with areaReference
postalCodecountrytwo-letter country codes according to ISO 3166-1
AssetPropertiesEcoLabelInnerTO
countryCodetwo-letter country codes according to ISO 3166-1
ecoStickerAssetPropertiesTO
namename of asset (type), required in either assetType or asset, should match Content-Language
brandbrand of the asset
modelbuildingYearcolourcolour of the asset, should match Content-Language
maxSpeedthe maximum allowed speed for this asset (in km/h)
wheelCountthe number of wheels
imageLink to an image of the asset
iconLink to an icon of the asset
accessMethodsaccess method for trip execution. Data will be delivered in the response of /booking/{id}/events - COMMIT or /leg/{id}/events - PREPARE (preferred) or GET /bookings/{id}.
fuelpropulsionway in which the asset is powered
energyLabelEnergy efficiency
co2PerKmgearsnumber of gears of the asset
gearboxtype of gearbox
airConditioningairconditioning available
cabriocabrio model
towingHooktowing hook available
winterTireswinter tires applied
nrOfDoorsthe number of doors of the vehicle. Return only when applicable
nrOfHelmetsthe number of available helmets. Return only when applicable
navigationnavigation available
cruiseControlcruise control available
personsnumber of persons able to use the asset
infantSeattrue indicates infant seat is supplied
petstrue indicates pets are allowed on asset
smokingtrue indicates smoking is allowed on asset
easyAccessibilitydescribes if asset is or needs to be easily accessible
regionIdthe region where this asset or assetType is used.
cargodescribes options to carry cargo, should match Content-Language
cargoVolumethe volume in liters of the cargo
cargoLoadthe weight in kilograms of the cargo
travelAbroadtrue indicates asset is allowed to travel abroad
undergroundParkingtrue indicates underground parking is allowed with asset
helmetRequiredis a helmet required to operate this asset
defaultReserveTimeMaximum time in minutes that a vehicle can be reserved before a rental begins. When a vehicle is reserved by a user, the vehicle remains locked until the rental begins. During this time the vehicle is unavailable and cannot be reserved or rented by other users. The vehicle status in free_bike_status.json MUST be set to is_reserved = true. If the value of default_reserve_time elapses without a rental beginning, the vehicle status MUST change to is_reserved = false. If default_reserve_time is set to 0, the vehicle type cannot be reserved.
otherfree text to describe asset, should match Content-Language
this object can contain extra information about the type of asset. For instance values from the 'Woordenboek Reizigerskenmerken'. [https://github.com/efel85/TOMP-API/issues/17]. These values can also be used in the planning.
AssetTO
idIdentifier of an asset. Whenever used in Operator Information changed after every trip (GDPR).
isReservedtrue indicates the bike is currently reserved for someone else
isReservedFromoptional addition to determine if an asset is reserved in the future
isReservedTooptional addition to determine when asset is available in the future
isDisabledtrue indicates the asset is currently disabled (broken)
availableUntilThe date and time when any rental of the vehicle must be completed. The vehicle must be returned and made available for the next user by this time. If this field is empty, it indicates that the vehicle is available indefinitely. This field SHOULD be published by carsharing or other mobility systems where vehicles can be booked in advance for future travel.
mileagethe current mileage of the asset
stateOfChargepercentage of charge available
maxRangemaximum range in meters
licensePlatethe usage of this field requires a secure environment. When assets are published in available-assets, this field can be used to track assets. Be aware of this.
stationIdreference to station_id in /operator/stations, station where it is located
homeStationIdreference to station_id in /operator/stations, station where it is assigned to
List of known vehicle damages.
rentalUrldeep-linking option from GBFS+. Only added to be consistent with GBFS 2.0
rentalUrlAndroiddeep-linking option from GBFS 2.0. Only added to be consistent with GBFS 2.0
rentalUrlIOSdeep-linking option from GBFS 2.0. Only added to be consistent with GBFS 2.0
AssetTypeTO
idUnique identifier of an asset type,
stationIdIf stationId is present, the nrAvailable is expected to find the availability at that particular station
nrAvailableuse this field only in the map-oriented scenario or in the committed bookings. Don't use it in public data (to prevent GDPR issues).
assetClassassetSubClassa more precise classification of the asset, like 'cargo bike', 'public bus', 'coach bus', 'office bus', 'water taxi', 'segway'. This is mandatory when using 'OTHER' as class.
pricing plans that can be applicable for this assetType. Business logic to determine the final pricing plan is not exposed. Just call the plannings endpoint (v1.2) or the inquiries endpoint (v.1.3)
conditionsextra information about the asset type, making it possible to f.x. specifying that booking this car requires a driver license.
ConditionDepositTO
conditionTypeidAn identifier for this condition that can be used to refer to this condition
amountThis should be in the base unit as defined by the ISO 4217 currency code with the appropriate number of decimal places and omitting the currency symbol. e.g. if the price is in US Dollars the price would be 9.95. This is inclusive VAT
amountExVatcurrencyCodeISO 4217 currency code
vatRatevalue added tax rate (percentage of amount)
vatCountryCodetwo-letter country codes according to ISO 3166-1
ConditionPayWhenFinishedTO
conditionTypeidAn identifier for this condition that can be used to refer to this condition
ConditionPostponedCommitTO
conditionTypeultimateResponseTimeidAn identifier for this condition that can be used to refer to this condition
ConditionRequireBookingDataTO
conditionTyperequiredFieldsidAn identifier for this condition that can be used to refer to this condition
claimswhen in the 'requiredFields' array 'BLOCKCHAIN_CLAIMS' is specified, in this array claims can be specified. On the WIKI page, the known ones are enlisted, but this list isn't finalized yet. https://github.com/TOMP-WG/TOMP-API/wiki/Blockchain---Verifiable-credentials
ConditionRequireEvidenceTO
conditionTypeevidenceTypesidAn identifier for this condition that can be used to refer to this condition
ConditionRequireOffboardingStepsTO
conditionTypeidAn identifier for this condition that can be used to refer to this condition
ConditionRequireOnboardingStepsTO
conditionTypeidAn identifier for this condition that can be used to refer to this condition
ConditionRequirePausingStepsTO
conditionTypeidAn identifier for this condition that can be used to refer to this condition
ConditionRequireResumingStepsTO
conditionTypeidAn identifier for this condition that can be used to refer to this condition
ConditionReturnAreaTO
conditionTypeidAn identifier for this condition that can be used to refer to this condition
stationIdstation to which the asset should be returned
returnAreageojson representation of a polygon. First and last point must be equal. See also https://geojson.org/geojson-spec.html#polygon and example https://geojson.org/geojson-spec.html#id4. The order should be lon, lat [[[lon1, lat1], [lon2,lat2], [lon3,lat3], [lon1,lat1]]], the first point should match the last point.
the return hours of the facility (if different from operating-hours)
ConditionTO
conditionTypeidAn identifier for this condition that can be used to refer to this condition
ConditionUpfrontPaymentTO
conditionTypeidAn identifier for this condition that can be used to refer to this condition
CoordinatesTO
lnglataltaltitude, in meters above sea level
DamageTO
vehicleComponentPart/Component of the vehicle affected. If OTHER is specified the description needs to provide more detail as to what part/component is affected.
descriptionDescription of the damage.
picturesURL where pictures of the damage can be accessed. Any special characters in the URL must be correctly escaped.
FarePartTO
amountThis should be in the base unit as defined by the ISO 4217 currency code with the appropriate number of decimal places and omitting the currency symbol. e.g. if the price is in US Dollars the price would be 9.95. This is inclusive VAT
amountExVatcurrencyCodeISO 4217 currency code
vatRatevalue added tax rate (percentage of amount)
vatCountryCodetwo-letter country codes according to ISO 3166-1
typetype of fare part. If there is only one farepart and this field is missing, it should be assumed it is 'FIXED'. In all other situations this field is mandatory.
kindis this the default price or is this an additional part (discount, price surge). In case of a DISCOUNT, the amount must always be negative and in case of SURGE it must be positive. This also means, that when you're working with discounts or surges, you have to deliver 2 fareparts, one for the default price and one for the discount/surge. This can be used in combination with as well the fixed price parts as with the flex price parts.
unitTypein case of 'FLEX' mandatory, otherwise not allowed. E.g. 0.5 EUR per HOUR
unitsthe number of km, seconds etc. Mandatory when the type is 'FLEX', otherwise not allowed. In case of 0.5 EUR per 15 MINUTES, units should contain 15 and unitType MINUTES.
scaleFromin case of scaling, this is the bottom value (f.x. in the first hour 3 CAD, the scaleFrom should contain 0 and the scaleType HOUR). When scaleTo is used, but this field is missing, it should be assumed it is a 0.
scaleTothe upper value of the scale (f.x. 3 CAD in the first hour, this field should contain 1, scaleFrom 0 and scaleType HOUR)
scaleTypenamean optional description of this fare part.
classclass of this fare part. Could be FARE or ANCILLARY
minimumAmountThe minimum price, in the same currency as amount. Place in amount the most likely value.
maximumAmountThe minimum price, in the same currency as amount. Place in amount the most likely value.
assetStatein case the fare is dependent on being in use or being paused, this field must be used. Default IN_USE
FareTO
estimatedis this fare an estimation?
descriptionuser friendly description of the fare (e.g. 'full fare'), should match Content-Language
classin the future we'll set up an enumeration of possible "fare classes". For now it's free format.
InformationTO
typethe type of the information provided
urlthe internet location of the information, used in case or type URL or IMAGE
goalthe purpose of the information
textfree format text or HTML, depending on the type. Not to use in combination with URL or IMAGE
showTimethe moment when the information must be displayed
LegTO
idThe unique identifier (TO) of this leg
departureTimeThe departure time of this leg. Or, in case of a parking, the start of the usage.
arrivalTimeThe intended arrival time at the to place. Or, in case of a parking, the end of the usage.
actualArrivalTimethe 'arrivalTime' can be used as 'plannedArrivalTime' whenever the leg has ended. Use this field to ease searching for discrepances between planned and actual arrival times
actualDepartureTimethe 'departureTime' can be used as 'plannedDepartureTime' whenever the leg has started. Use this field to ease searching for discrepances between planned and actual departure times
travelerReferenceNumbersreference to the travelers field of the request. If missing, it is refering to the first (if any). it is an array to facilitate multiple users on one leg (e.g. using a car). If multiple access informations are needed, please create a leg per used asset.
legSequenceNumberThe order of the leg in the booking. There can be multiple legs with the same sequence (different user or parallel usage (eg. parking lot and a bike)).
conditionsThe conditions that apply to this leg, there may be more conditions in a parent booking and planning object (if this is returned as part of those)
statedepartureDelayA duration of some time (relative to a time) in milliseconds
arrivalDelayA duration of some time (relative to a time) in milliseconds
distanceThe estimated distance travelled in the leg (in meters)
progressGeometryAn array of WGS84 coordinate pairs
Additional information a TO can send to a customer (instructions, sales info, ...)
memoOffBoardingStepTO
typethe type of the information provided
urlthe internet location of the information, used in case or type URL or IMAGE
goalthe purpose of the information
textfree format text or HTML, depending on the type. Not to use in combination with URL or IMAGE
actionthese actions are available
SEND_START_FINISHING - the TO needs to be informed the leg is about to finish
PARK_ASSIST - user action to park (stop) using the asset
UNLOCK_LOCKER - user action, could be triggered by the START_FINISH event
CONNECT_CHARGER - user action
LOCK_ASSET - user action, could be triggered by the FINISH event
SEND_OPEN_TRUNK - the TO opens the trunk remotely
UNLOCK_TRUNK - user action
STOW_HELMET - user action
LOCK_TRUNK - user action
LOCK_LOCKER - user action
SEND_FINISH - the TO wants to be informed about the end of the leg
SEND_EVIDENCE_PARKED - the TO requires parking evidence
SEND_EVIDENCE_HELMET - the TO requires evidence of storing the helmet
SEND_EVIDENCE_CHARGER - the TO requires evidence of correct usage of the charger
showTimethe moment when the information must be displayed
OnBoardingStepTO
typethe type of the information provided
urlthe internet location of the information, used in case or type URL or IMAGE
goalthe purpose of the information
textfree format text or HTML, depending on the type. Not to use in combination with URL or IMAGE
actionThe possible steps are described here
SEND_PREPARE - indicate the leg is going to start
UNLOCK_LOCKER - user action - optionally triggered by the PREPARE event
DISCONNECT_CHARGER - requested user action
SHOW_DAMAGES - show known damages to end user
UNLOCK_ASSET - requested user action or triggered by SET_IN_USE event
START_ASSET - requested user action
SEND_OPEN_TRUNK - request TO to open trunk/helmet case remotely
UNLOCK_TRUNK - requested user action
TAKE_HELMET - requested user action
SEND_SET_IN_USE - request to start leg
SEND_ASSIGN_ASSET - request to assign the specified asset to the leg
LOCK_LOCKER - requested user action
showTimethe moment when the information must be displayed
PausingStepTO
typethe type of the information provided
urlthe internet location of the information, used in case or type URL or IMAGE
goalthe purpose of the information
textfree format text or HTML, depending on the type. Not to use in combination with URL or IMAGE
actionallowed actions
SEND_PAUSE - send leg event PAUSE to inform the TO
PARK_ASSIST - user action, the end user can be informed how and where to park
LOCK_ASSET - user action, can be triggered by the PAUSE event
SEND_OPEN_TRUNK - request TO to open the trunk remotely
UNLOCK_TRUNK - user action
STOW_HELMET - user action
LOCK_TRUNK - user action
showTimethe moment when the information must be displayed
PlaceTO
nameHuman readable name of the place, could match Content-Language
stationIdreference to /operator/stations
RequirementTO
categoryreferences to the first column of the specification initial values [ HR, AV, HV, AB, AER, K, ZR, RR ]
numberreferences to the second column of the specification
sourceif obsolete, it is referencing the travelers' dictionary (https://github.com/TOMP-WG/TOMP-API/blob/master/documents/CROW%20passenger%20characteristics.xlsx)
typeconditionally extra information, referencing to the 3th column
memoextra field for detailed information, not standardized
variable-numberin some requirements there is references to '[variable number]' e.g. of meters (like ZR06)
applicable-daysdays of week that are applicable
ResumingStepTO
typethe type of the information provided
urlthe internet location of the information, used in case or type URL or IMAGE
goalthe purpose of the information
textfree format text or HTML, depending on the type. Not to use in combination with URL or IMAGE
actionpossible values
UNLOCK_ASSET - user action, could be triggered by SET_IN_USE event
SEND_OPEN_TRUNK - request TO to open trunk remotely
UNLOCK_TRUNK - user action
TAKE_HELMET - user action
LOCK_TRUNK - user action
START_ASSET - user action
SEND_SET_IN_USE - the TO wants to be informed that the leg is resumed. Optionally triggers the unlock of the vehicle
showTimethe moment when the information must be displayed
StopReferenceTO
typetype of external reference (GTFS, CHB).
idthis field should contain the complete ID. E.g. NL:S:13121110 or BE:S:79640040
countrytwo-letter country codes according to ISO 3166-1
SuboperatorTO
nameName of the operator, could match Content-Language
maasIdthe maasId from the operator
descriptionshort description of the operator, should match Content-Language
contactcontact information, should match Content-Language
SystemHoursTO
startTimeendTimedaysAn array of abbreviations (first 3 letters) of English names of the days of the week that this hour object applies to (i.e. ["mon", "tue"]). Each day can only appear once within all of the hours objects in this feed.
userTypeThis indicates that this set of rental hours applies to either members or non-members only.
stationIdIf this parameter is present, it means that startTime and endTime correspond to the opening and closing hours of the station. (GET /operator/stations)
regionIdIf this parameter is present, it means that startTime and endTime correspond to the opening and closing hours for the region. (GET /operator/regions)
SystemPricingPlanTO
planIda unique identifier for this plan in the system
namename of this pricing scheme, could match Content-Language
isTaxablefalse indicates that no additional tax will be added (either because tax is not charged, or because it is included) true indicates that tax will be added to the base price
descriptionText field describing the particular pricing plan in human readable terms. This should include the duration, price, conditions, etc. that the publisher would like users to see. This is intended to be a human-readable description and should not be used for automatic calculations, should match Content-Language
urla fully qualified URL where the customer can learn more about this particular scheme
stationIdpricing plan for a specific station
regionIdpricing plan for a specific region
surgePricingIs there currently an increase in price in response to increased demand in this pricing plan? If this field is empty, it means there is no surge pricing in effect.
TokenDeeplinkTO
tokenTypeurlthe base deeplink url for the MP app. Can be extended by the 'knownParamaters'. Including the scheme.
knownParametersTokenEKeyAllOfLockTO
bdAddressphysical address
deviceNamehow it advertises itself
TokenTO
validFromvalidUntiltokenTypeThe type of data held in this token, will later be an enum
ErrorTO
errorcodeThe TOMP specific error code. See https://github.com/TOMP-WG/TOMP-API/wiki/Error-handling-in-TOMP for more details of this error.
typeThe category of this type of error.
titleA short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except to match Content-Language
statusThe HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.
detailA human-readable explanation specific to this occurrence of the problem, could match Content-Language
instanceA URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
LegEventTO
timeeventBookingStepTO
typethe type of the information provided
urlthe internet location of the information, used in case or type URL or IMAGE
goalthe purpose of the information
textfree format text or HTML, depending on the type. Not to use in combination with URL or IMAGE
actionThe possible steps are described here
PENDING - to show whenever the booking is in PENDING state (not confirmed)
WAITING - to indicate that the TO is processing the booking, optionally after an extension of the expiry time
WAITING_FOR_PAYMENT - to indicate that the payment hasn't been settled, after an extension of the expiry time with reason payment
CONFIRMED - to show whenever the booking is in a COMMITTED state (confirmed)
CANCELLED - to show whenever the booking is cancelled
CONDITIONAL_CONFIRMED - to show whenever the booking is conditionally confirmed (see process identifiers)
EXPIRED - to show whenever the booking is expired (the expiry time has passed)
showTimethe moment when the information must be displayed
EndpointImplementationStepsTO
this array should be considered as a sequence!
this array should be considered as a sequence!
this array should be considered as a sequence!
this array should be considered as a sequence!
EndpointImplementationTO
versionbaseUrlscenariosEndpointTO
methodpaththe exact path of the endpoint, starting after the base URL
statuseventTypein case the path is ending in /events, the event type/operator enum should be added here.
supportsPagingdoes this endpoint support paging? In that case this endpoint can be accessed using query parameters offset=x and limit=y. Only allowed at endpoints that have specified these query parameters.
maxPageSizethe maximum size of the pages (only valid when supportsPaging=true). If the limit-parameter of the request is above this amount, a http code 400 will be returned.
externalTypethis field must be used when adressing other standards for exchanging 'static' data (Level 1 MaaS)
useAssetTypesuseAssetsPlanningStepTO
typethe type of the information provided
urlthe internet location of the information, used in case or type URL or IMAGE
goalthe purpose of the information
textfree format text or HTML, depending on the type. Not to use in combination with URL or IMAGE
actionthe RESULT_SHOWN action requires the MP to display some information to the customer when it is viewing the proposed legs. the SHOW_TERMS_CONDITIONS action requires the MP to show the terms & conditions, as provided in the step
showTimethe moment when the information must be displayed