Schemas
subscriber
successUriinProgressUrifailedUrisearchOfferInput
type^(search_offer) · requiredRequest-wide predicates that every returned offer must satisfy.
packageToExchangedefault string, full names etc (length 0-200)
Entur-specific OMSA extensions for search-offers input.
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: travellers | |
| type = object · requires: profiles |
type^(search_offer)Request-wide predicates that every returned offer must satisfy.
packageToExchangedefault string, full names etc (length 0-200)
Entur-specific OMSA extensions for search-offers input.
enturSearchOfferInput
Entur recommendation behavior control for Offers. If omitted, the API defaults to raw mode (recommendation-driven bundling disabled).
enturRecommendationType
Entur Offers recommendation category.
enturRecommendationControl
enabledEnable recommendation-driven bundling based on Offers recommendations and offersToBuy.
typesEntur recommendation categories to request when enabled is true.
If omitted, the API defaults to ["CHEAPEST", "NON_FLEXIBLE", "SEMI_FLEXIBLE", "FLEXIBLE"].
stripDuplicatesDeduplicate recommendation-driven plans by provider offer + traveller groups + ancillary selections + quantity.
selectOffersInput
offerIdstype^(select_offers) · requiredReference to an existing customer by id.
Reference to an existing customer by id.
externalReferencedefault string, full names etc (length 0-200)
packageInput
packageIddefault string, full names etc (length 0-200)
type^(package) · requiredlegInput
packageIddefault string, full names etc (length 0-200)
typelegIddefault string, full names etc (length 0-200)
offerIddefault string, full names etc (length 0-200)
refundOptionInput
type^(claim_refund_optio… · requiredoptionIdhttps://en.wikipedia.org/wiki/Universally_unique_identifier see also https://www.ietf.org/rfc/rfc4122.txt (ae76f51c-a1a6-46af-b9ab-8233564adcae)
addTravellerInput
type^(traveller)$ · requiredpackageIddefault string, full names etc (length 0-200)
A generic description of a traveler, not including any identifying information
removeTravellerInput
type^(traveller)$ · requiredtravellerIddefault string, full names etc (length 0-200)
packageIddefault string, full names etc (length 0-200)
updateTravellerInput
type^(traveller)$ · requiredpackageIddefault string, full names etc (length 0-200)
travellerIddefault string, full names etc (length 0-200)
A generic description of a traveler, not including any identifying information
assetInput
packageIddefault string, full names etc (length 0-200)
type^(asset)$ · requiredlegIddefault string, full names etc (length 0-200)
assetIddefault string, full names etc (length 0-200)
offerIddefault string, full names etc (length 0-200)
replaceAssetIddefault string, full names etc (length 0-200)
ancillaryInput
packageIddefault string, full names etc (length 0-200)
type^(ancillary)$ · requiredlegIddefault string, full names etc (length 0-200)
offerIddefault string, full names etc (length 0-200)
purchaseOffersInput
offerIdstype^(purchase_offers)$ · requiredReference to an existing customer by id.
Reference to an existing customer by id.
externalReferencedefault string, full names etc (length 0-200)
extendExpiryTimeInput
packageIddefault string, full names etc (length 0-200)
type^(extend_expiry_time… · requiredextensionReason^(purchase_pending|p…in case operation is EXTEND_EXPIRY_TIME, the reason for extension must be supplied here.
PURCHASE_PENDING - The internal purchase process on the MP side is not yet finished
PAYMENT_PENDING - The customer is in the payment process
OTHER - unspecified
updateTravelDocumentValidityInput
packageIddefault string, full names etc (length 0-200)
type^(update_travel_docu… · requiredtravelDocumentIdThe id of the travel document to update
newStartTimeEither RFC3339 date-time (for example 2019-10-12T07:20:50Z) or the keyword NOW for server-side immediate start.
updateTravelDocumentValidityResponse
previousTravelDocumentIdThe travel document id that was replaced
newTravelDocumentIdThe new travel document id with updated validity
geojsonLine
coordinatesgeojsonPolygon
coordinatesgeojsonMultiPolygon
coordinatesgeojsonFeature
type^(Feature)$ · requiredidshort string, display names (length 0-75)
geojson
type^(FeatureCollection)…propertiesnumberMatchednumberReturnedactions that can be performed on this package, but also alternative (rel=alternative+1, alternative+2) offers or references to other resources In case it is an alternative, specify clearly in the description what the financial consequences are.
offerCollection
type^(OfferCollection)$ · requirednumberMatchednumberReturnedactions that can be performed on this package, but also alternative (rel=alternative+1, alternative+2) offers or references to other resources In case it is an alternative, specify clearly in the description what the financial consequences are.
package
type^(package)$ · requiredstatusThe life-cycle state of the package (from NEW to ENDED)
OFFERED the package is offered
SELECTED the package is selected to modify
PENDING the purchase of the package is not confirmed (the end user has shown intentions to purchase this offer), must be finalized with the package-confirm operation
CONFIRMED a finalized package ('purchased'). Both parties agreed to deliver services in return of payment
CANCELLED the package is cancelled after it is purchased. The agreement will specify whether there is a refund, or under which conditions
EXPIRED the MP didn't respond on time, the package offer has been expired
STARTED the package is started, the trip execution module is needed now to manage the execution of the package
ENDED the package has ended, the trip has been executed
RELEASED for internal archiving, the package has not been purchased.
an amount of money, usable in fares, fare calculations or in extra costs.
use an ID contained in the placeDefinitions field, or from an external source, when using coordinates, please use the prefix 'gps:'
startTimehttps://www.rfc-editor.org/rfc/rfc3339#section-5.6, date-time (2019-10-12T07:20:50.52Z)
endTimehttps://www.rfc-editor.org/rfc/rfc3339#section-5.6, date-time (2019-10-12T07:20:50.52Z)
Places that are not specified in an external data source (like a home address)
idexternalReferencedefault string, full names etc (length 0-200)
guaranteesoffer
idshort string, display names (length 0-75)
type^(offer)$leg
iddefault string, full names etc (length 0-200)
type^(leg)$ · requireduse an ID contained in the placeDefinitions field, or from an external source, when using coordinates, please use the prefix 'gps:'
startTimehttps://www.rfc-editor.org/rfc/rfc3339#section-5.6, date-time (2019-10-12T07:20:50.52Z)
endTimehttps://www.rfc-editor.org/rfc/rfc3339#section-5.6, date-time (2019-10-12T07:20:50.52Z)
sequenceNumbera bit short integer (0-100)
travellerdefault string, full names etc (length 0-200)
statestatus of a leg
NOT_STARTED the leg is not started, initial state
PREPARING the PREPARE operation has been received
PREPARED the leg is ready to use
IN_USE the travelers are on their way
PAUSED the asset is paused
ENDED the travelers have arrived at their destination
ISSUE_REPORTED due to an issue, there is (temporarily) no progress to report, when the issue isn't solved, this is a final state
CANCELLED the leg has been cancelled, before execution
ABENDED the leg is abnormally ended (e.g. due to an issue)
an amount of money, usable in fares, fare calculations or in extra costs.
productsa reference to a product in the 'products' collection of the offer
ancillariesadditional products that can be assigned to this leg, references to 'ancillaries' collection
usageValidityPeriodsReferences to usage validity periods in the offer's usageValidityPeriods collection.
frequenciesOfUseReferences to frequency-of-use parameters in the offer's frequenciesOfUse collection.
modeThese classes are taken from the NeTeX standard, but ALL and UNKNOWN are removed. On the other hand OTHER and PARKING are added.
assetsThe physical asset(s) used for the execution of the leg
usageValidityPeriod
iddefault string, full names etc (length 0-200)
type^(usage_validity_per… · requiredvalidityPeriodTypeNeTEx classification of a usage validity period.
usageTriggerEvent that starts the usage validity period.
usageEndEvent that ends the usage validity period.
standardDurationPositive ISO 8601 duration of the usage validity period, for example PT168H.
activationMeansMeans used to activate the usage validity period.
startDatehttps://www.rfc-editor.org/rfc/rfc3339#section-5.6, full-date (2019-10-12)
startTimeendDatehttps://www.rfc-editor.org/rfc/rfc3339#section-5.6, full-date (2019-10-12)
endTimeusageStartConstraintTypeConstraint applied to the start of the usage validity period.
blackoutUseHow the validity period interacts with blackout periods.
usageValidityPeriodType
NeTEx classification of a usage validity period.
usageTrigger
Event that starts the usage validity period.
usageEnd
Event that ends the usage validity period.
activationMeans
Means used to activate the usage validity period.
usageStartConstraintType
Constraint applied to the start of the usage validity period.
blackoutUse
How the validity period interacts with blackout periods.
frequencyOfUse
iddefault string, full names etc (length 0-200)
type^(frequency_of_use)$ · requiredfrequencyOfUseTypeNeTEx classification of a frequency-of-use parameter.
minimalFrequencyMinimum number of times the product can be used.
maximalFrequencyMaximum number of times the product can be used.
frequencyIntervalPositive ISO 8601 interval within which frequency is measured.
frequencyOfUseType
NeTEx classification of a frequency-of-use parameter.
product
type^(product)$productNamedefault string, full names etc (length 0-200)
references to products that are contained in this product (to facilitate e.g. travel through) If his combined product is named in a package, the referenced packages must be enlisted as well.
Service characteristics covered by this product, such as service journey, class of use, asset, or accommodation.
Reservation rules carried by this product.
tripPattern
serviceJourneydefault string, full names etc (length 0-200)
datehttps://www.rfc-editor.org/rfc/rfc3339#section-5.6, full-date (2019-10-12)
travelSpecification
use an ID contained in the placeDefinitions field, or from an external source, when using coordinates, please use the prefix 'gps:'
startTimehttps://www.rfc-editor.org/rfc/rfc3339#section-5.6, date-time (2019-10-12T07:20:50.52Z)
endTimehttps://www.rfc-editor.org/rfc/rfc3339#section-5.6, date-time (2019-10-12T07:20:50.52Z)
travelDocument
startvalidityhttps://www.rfc-editor.org/rfc/rfc3339#section-5.6, date-time (2019-10-12T07:20:50.52Z)
endvalidityhttps://www.rfc-editor.org/rfc/rfc3339#section-5.6, date-time (2019-10-12T07:20:50.52Z)
formathow the travel document is presented to the traveller
statusThe lifecycle status of a travel document.
PENDING the document is being processed or awaiting distribution pickup
ACTIVE the document is ready for use
FAILED the document distribution failed
EXPIRED the document has expired
CANCELLED the document has been cancelled
travelDocumentFormat
how the travel document is presented to the traveller
mode
These classes are taken from the NeTeX standard, but ALL and UNKNOWN are removed. On the other hand OTHER and PARKING are added.
classOfUse
A classification of fare and other service classes by category of user entitled to use them. Use ECONOMY_CLASS for standard class products.
individualTraveller
type^(individual_travell… · requirediddefault string, full names etc (length 0-200)
isValidatedWhether this traveler's identity and properties have been verified by the MaaS provider
agea bit short integer (0-100)
genderfullNamedefault string, full names etc (length 0-200)
customerReferencedefault string, full names etc (length 0-200)
dictionary for extra fields (bilatural agreements)
searchOfferFilter
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object · requires: organisationId |
type^(service)$ · requiredproductIddefault string, full names etc (length 0-200)
serviceJourneydefault string, full names etc (length 0-200)
classA classification of fare and other service classes by category of user entitled to use them. Use ECONOMY_CLASS for standard class products.
berthTypesserviceFilter
type^(service)$ · requiredproductIddefault string, full names etc (length 0-200)
serviceJourneydefault string, full names etc (length 0-200)
classA classification of fare and other service classes by category of user entitled to use them. Use ECONOMY_CLASS for standard class products.
berthTypesorganisationalFilter
type^(organisational)$ · requiredorganisationIddefault string, full names etc (length 0-200)
postalAddress
addressLine1long string, memos etc (length 0-10.000)
addressLine2long string, memos etc (length 0-10.000)
streetdefault string, full names etc (length 0-200)
houseNumberdefault length for an integer (0-1000)
houseNumberAdditionreal short string, codes (length 0-10)
postalCodeshort string, display names (length 0-75)
cityshort string, display names (length 0-75)
provinceshort string, display names (length 0-75)
stateshort string, display names (length 0-75)
country[A-Z]{2}two-letter country codes according to ISO 3166-1
additionalInfolong string, memos etc (length 0-10.000)
packageStatus
The life-cycle state of the package (from NEW to ENDED)
OFFERED the package is offered
SELECTED the package is selected to modify
PENDING the purchase of the package is not confirmed (the end user has shown intentions to purchase this offer), must be finalized with the package-confirm operation
CONFIRMED a finalized package ('purchased'). Both parties agreed to deliver services in return of payment
CANCELLED the package is cancelled after it is purchased. The agreement will specify whether there is a refund, or under which conditions
EXPIRED the MP didn't respond on time, the package offer has been expired
STARTED the package is started, the trip execution module is needed now to manage the execution of the package
ENDED the package has ended, the trip has been executed
RELEASED for internal archiving, the package has not been purchased.
travelDocumentStatus
The lifecycle status of a travel document.
PENDING the document is being processed or awaiting distribution pickup
ACTIVE the document is ready for use
FAILED the document distribution failed
EXPIRED the document has expired
CANCELLED the document has been cancelled
legState
status of a leg
NOT_STARTED the leg is not started, initial state
PREPARING the PREPARE operation has been received
PREPARED the leg is ready to use
IN_USE the travelers are on their way
PAUSED the asset is paused
ENDED the travelers have arrived at their destination
ISSUE_REPORTED due to an issue, there is (temporarily) no progress to report, when the issue isn't solved, this is a final state
CANCELLED the leg has been cancelled, before execution
ABENDED the leg is abnormally ended (e.g. due to an issue)
travellingAsset
type^(asset)$ · requirediddefault string, full names etc (length 0-200)
userProfile
type^(user_profile)$ · requirediddefault string, full names etc (length 0-200)
counta bit short integer (0-100)
minimumAgea bit short integer (0-100)
maximumAgea bit short integer (0-100)
monthDayOnWhichAgeAppliesa bit short integer (0-100)
ageGroupminimumHeighta bit short integer (0-100)
maximumHeighta bit short integer (0-100)
localResidentgenderLimitationcommercialProfile
type^(commercial_profile… · requiredidshort string, display names (length 0-75)
codeshort string, display names (length 0-75)
namedefault string, full names etc (length 0-200)
entitlementGiven
type^(entitlement)$ · requiredentitlementTypedefault string, full names etc (length 0-200)
idshort string, display names (length 0-75)
equipmentParameter
type^(equipment)$ · requirednameshort string, display names (length 0-75)
descriptionlong string, memos etc (length 0-10.000)
infoLinkvalid URL
imagevalid URL
temporalParameter
type^(temporal)$ · requiredstartTimehttps://www.rfc-editor.org/rfc/rfc3339#section-5.6, date-time (2019-10-12T07:20:50.52Z)
endTimehttps://www.rfc-editor.org/rfc/rfc3339#section-5.6, date-time (2019-10-12T07:20:50.52Z)
durationdefault length for an integer (0-1000)
dayTypespotReservationParameter
type^(spot_reservation)$ · requiredspotTypespotFor LUGGAGE_SPOT and VEHICLE_SPOT, supported values are: HANDBAG, HAND_LUGGAGE, SMALL_SUITCASE, SUITCASE, TRUNK, OVERSIZE_ITEM, BICYCLE, SPORTING_EQUIPMENT, SKIS, MUSICAL_INSTRUMENT, PUSH_CHAIR, MOTORIZED_WHEELCHAIR, LARGE_MOTORIZED_WHEELCHAIR, WHEELCHAIR, SMALL_ANIMAL, ANIMAL, GAME, MOTORCYCLE, OTHER, GUIDE_DOG. Unknown values are ignored. Use VEHICLE_SPOT for vehicles transported as cargo (e.g. motorcycle on a ferry). For PASSENGER_SPOT, the value is an operator-specific seat identifier and is not used for requirement mapping.
deckdefault string, full names etc (length 0-200)
spacedefault string, full names etc (length 0-200)
widthlengthheightfuelweightmodeThese classes are taken from the NeTeX standard, but ALL and UNKNOWN are removed. On the other hand OTHER and PARKING are added.
reservationRequirement
type^(reservation_requir… · requiredspotTypeThe kind of spot the reservation rule applies to.
reservationPolicyReservation policy used by clients to decide whether reservation UI is hidden, optional, recommended, or required.
sourceReservationPolicyRaw reservation policy from the upstream provider, when available.
assetSelectionWhether a concrete asset, such as a seat, can be selected manually, assigned automatically, or is not available for this reservation.
serviceJourneydefault string, full names etc (length 0-200)
Ancillaries that can fulfill this reservation requirement when reservation is sold as a separate product.
reservationPolicy
Reservation policy used by clients to decide whether reservation UI is hidden, optional, recommended, or required.
assetSelection
Whether a concrete asset, such as a seat, can be selected manually, assigned automatically, or is not available for this reservation.
networkParameter
type^(network)$ · requiredlinedefault string, full names etc (length 0-200)
routingParameter
type^(routing)$ · requiredjourneyPatternserviceParameter
type^(service)$ · requiredassetdefault string, full names etc (length 0-200)
serviceJourneydefault string, full names etc (length 0-200)
classA classification of fare and other service classes by category of user entitled to use them. Use ECONOMY_CLASS for standard class products.
onboardStay
type^(onboard_stay)$ · requireddescriptionlong string, memos etc (length 0-10.000)
classOfUseA classification of fare and other service classes by category of user entitled to use them. Use ECONOMY_CLASS for standard class products.
permissiondurationshort string, display names (length 0-75)
accommodation
type^(accommodation)$descriptionlong string, memos etc (length 0-10.000)
classOfUseA classification of fare and other service classes by category of user entitled to use them. Use ECONOMY_CLASS for standard class products.
nameshort string, display names (length 0-75)
genderberthTypenuisanceFacilitydistributionParameter
type^(distribution)$ · requiredfulfilmentMethoddefault string, full names etc (length 0-200)
distributionChanneldefault string, full names etc (length 0-200)
organisationalParameter
idshort string, display names (length 0-75)
type^(organisational)$ · requirednamedefault string, full names etc (length 0-200)
legalNamedefault string, full names etc (length 0-200)
cancellationParameter
type^(cancel)$ · requiredcancellationAllowedis it possible to cancel this package?
an amount of money, usable in fares, fare calculations or in extra costs.
cancellationFeePercentagepercentage of the offered price you have to pay when you cancel this purchased package
purchaseParameter
type^(purchase)$ · requiredmaximumPeriodBeforeDeparturelong number, for distances etc. (>1.000)
ONE of these licenses is required to operate the asset
card
type^(card)$ · requiredcardNumbershort string, display names (length 0-75)
A generic description of a CARD
descriptionshort string, display names (length 0-75)
additionalNumbershort string, display names (length 0-75)
endValidityhttps://www.rfc-editor.org/rfc/rfc3339#section-5.6, full-date (2019-10-12)
country[A-Z]{2}two-letter country codes according to ISO 3166-1
cardType
idshort string, display names (length 0-75)
type^(card_type)$ · requiredcardCategoryThe category of card
DISCOUNT - discount card, can be applied in the purchase process to get rebate
TRAVEL - (external) travel card, possibly paid for in other context, but also monthly, weekly or day-cards
BANK - bank card
CREDIT - credit card
ID - identification card, like an ID card
PASSPORT - passport to identify yourself
OTHER - unspecified, use 'subCategory' to specify the category of card
subCategoryshort string, display names (length 0-75)
references to accepting parties, only if applicable
dictionary for extra fields (bilatural agreements)
license
type^(license)$ · requiredA category of license to use a certain asset class
licenseNumbershort string, display names (length 0-75)
endValidityhttps://www.rfc-editor.org/rfc/rfc3339#section-5.6, full-date (2019-10-12)
licenseType
type^(license_type)$ · requiredmodeslicenseCodeshort string, display names (length 0-75)
issuingCountry[A-Z]{2}two-letter country codes according to ISO 3166-1
dictionary for extra fields (bilatural agreements)
guarantee
idshort string, display names (length 0-75)
typedefault string, full names etc (length 0-200)
amountOfMoney
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
taxPercentageUsedthe travelled distance. Only if applicable.
currencyCode[a-zA-Z]{3}ISO 4217 currency code
vatCountryCode[A-Z]{2}two-letter country codes according to ISO 3166-1
ancillaryCollection
type^(AncillaryCollectio… · requirednumberMatchednumberReturnedactions that can be performed on this package, but also alternative (rel=alternative+1, alternative+2) offers or references to other resources In case it is an alternative, specify clearly in the description what the financial consequences are.
changeOptionCollection
type^(ChangeOptionCollec… · requirednumberMatchednumberReturnedactions that can be performed on this collection
refundOptionCollection
type^(RefundOptionCollec… · requirednumberMatchednumberReturnedactions that can be performed on this package, but also alternative (rel=alternative+1, alternative+2) offers or references to other resources In case it is an alternative, specify clearly in the description what the financial consequences are.
travelDocumentCollection
type^(TravelDocumentColl… · requirednumberMatchednumberReturnedactions that can be performed on this package, but also alternative (rel=alternative+1, alternative+2) offers or references to other resources In case it is an alternative, specify clearly in the description what the financial consequences are.
ancillary
ancillaryIddefault string, full names etc (length 0-200)
namedefault string, full names etc (length 0-200)
type^(ancillary)$an amount of money, usable in fares, fare calculations or in extra costs.
descriptionA user-friendly description of the ancillary (e.g. 'Reserved seat for bike').
availableNumber of items available in stock (inventory). Useful for creating urgency in GUI.
Service characteristics covered by this ancillary, such as service journey, class of use, asset, or accommodation.
Reservation rules carried by this ancillary.
seat
type^(seat)$iddefault string, full names etc (length 0-200)
deckshort string, display names (length 0-75)
spaceshort string, display names (length 0-75)
rowa bit short integer (0-100)
seatNumbera bit short integer (0-100)
facingbyWindowlegSpacea bit short integer (0-100)
byAislehasArmResthasTrayhasAircohasEnergySupplyhasLightasset
type^(asset)$iddefault string, full names etc (length 0-200)
visualIdshort string, display names (length 0-75)
modeThese classes are taken from the NeTeX standard, but ALL and UNKNOWN are removed. On the other hand OTHER and PARKING are added.
subModedefault string, full names etc (length 0-200)
list of external references
changeOption
type^(change_option)$idchangeTyperefundOption
type^(refund_option)$idhttps://en.wikipedia.org/wiki/Universally_unique_identifier see also https://www.ietf.org/rfc/rfc4122.txt (ae76f51c-a1a6-46af-b9ab-8233564adcae)
packageStateThe life-cycle state of the package (from NEW to ENDED)
OFFERED the package is offered
SELECTED the package is selected to modify
PENDING the purchase of the package is not confirmed (the end user has shown intentions to purchase this offer), must be finalized with the package-confirm operation
CONFIRMED a finalized package ('purchased'). Both parties agreed to deliver services in return of payment
CANCELLED the package is cancelled after it is purchased. The agreement will specify whether there is a refund, or under which conditions
EXPIRED the MP didn't respond on time, the package offer has been expired
STARTED the package is started, the trip execution module is needed now to manage the execution of the package
ENDED the package has ended, the trip has been executed
RELEASED for internal archiving, the package has not been purchased.
refundTypecountry
[A-Z]{2}two-letter country codes according to ISO 3166-1
placeDefinitions
Places that are not specified in an external data source (like a home address)
binaryTicket
startvalidityhttps://www.rfc-editor.org/rfc/rfc3339#section-5.6, date-time (2019-10-12T07:20:50.52Z)
endvalidityhttps://www.rfc-editor.org/rfc/rfc3339#section-5.6, date-time (2019-10-12T07:20:50.52Z)
formathow the travel document is presented to the traveller
type^(binary_ticket)$ · requiredcontentTypethe media type (IANA)
base64long string, memos etc (length 0-10.000)
statusThe lifecycle status of a travel document.
PENDING the document is being processed or awaiting distribution pickup
ACTIVE the document is ready for use
FAILED the document distribution failed
EXPIRED the document has expired
CANCELLED the document has been cancelled
versionreal short string, codes (length 0-10)
externalTicket
startvalidityhttps://www.rfc-editor.org/rfc/rfc3339#section-5.6, date-time (2019-10-12T07:20:50.52Z)
endvalidityhttps://www.rfc-editor.org/rfc/rfc3339#section-5.6, date-time (2019-10-12T07:20:50.52Z)
formathow the travel document is presented to the traveller
type^(external_ticket)$ · requiredstatusThe lifecycle status of a travel document.
PENDING the document is being processed or awaiting distribution pickup
ACTIVE the document is ready for use
FAILED the document distribution failed
EXPIRED the document has expired
CANCELLED the document has been cancelled
pendingTicket
startvalidityhttps://www.rfc-editor.org/rfc/rfc3339#section-5.6, date-time (2019-10-12T07:20:50.52Z)
endvalidityhttps://www.rfc-editor.org/rfc/rfc3339#section-5.6, date-time (2019-10-12T07:20:50.52Z)
formathow the travel document is presented to the traveller
type^(pending_ticket)$ · requiredstatusThe lifecycle status of a travel document.
PENDING the document is being processed or awaiting distribution pickup
ACTIVE the document is ready for use
FAILED the document distribution failed
EXPIRED the document has expired
CANCELLED the document has been cancelled
financialDetail
an amount of money, usable in fares, fare calculations or in extra costs.
packagedefault string, full names etc (length 0-200)
offerdefault string, full names etc (length 0-200)
legdefault string, full names etc (length 0-200)
categoryThe category of the journalled item
ALL - for filtering purposes only
TO initiated payments
To request these payments, use the notifications, send a notification containing the payment confirmation._DEPOSIT_ - a deposit, to refund, use _REFUND_
_DAMAGE_ - extra costs that must be paid by the MP due to damage to the asset or ancillaries
_LOSS_ - extra costs that must be paid by the MP due to loss of asset or ancillaries
_STOLEN_ - the asset (and ancillaries) are stolen and should be paid for
_EXTRA_USAGE_ - the asset is paid for in advance, additional usage must be paid for (can also be a refund when used less! The amount should be negative in that case)
_FINE_ - a fine that arrived later on
_OTHER_ASSET_USED_ - additional costs for a replaced asset
_FARE_ - the normal costs of the purchased and executed leg(s)
_OTHER_ - unspecified
_CREDIT_ - generic CREDIT, e.g. for kick-backs
_VOUCHER_ - part of the fare that is covered by a voucher (no need to pay)
_REFUND_ - refund of the deposit or upfront paid fare
_REBATE_ - (partial) rebate of the fare
_REIMBURSEMENT_ - reimbursement of the fare
expirationDatehttps://www.rfc-editor.org/rfc/rfc3339#section-5.6, date-time (2019-10-12T07:20:50.52Z)
dictionary for extra fields (bilatural agreements)
paymentCategory
The category of the journalled item
ALL - for filtering purposes only
TO initiated payments
To request these payments, use the notifications, send a notification containing the payment confirmation._DEPOSIT_ - a deposit, to refund, use _REFUND_
_DAMAGE_ - extra costs that must be paid by the MP due to damage to the asset or ancillaries
_LOSS_ - extra costs that must be paid by the MP due to loss of asset or ancillaries
_STOLEN_ - the asset (and ancillaries) are stolen and should be paid for
_EXTRA_USAGE_ - the asset is paid for in advance, additional usage must be paid for (can also be a refund when used less! The amount should be negative in that case)
_FINE_ - a fine that arrived later on
_OTHER_ASSET_USED_ - additional costs for a replaced asset
_FARE_ - the normal costs of the purchased and executed leg(s)
_OTHER_ - unspecified
_CREDIT_ - generic CREDIT, e.g. for kick-backs
_VOUCHER_ - part of the fare that is covered by a voucher (no need to pay)
_REFUND_ - refund of the deposit or upfront paid fare
_REBATE_ - (partial) rebate of the fare
_REIMBURSEMENT_ - reimbursement of the fare
externalReference
default string, full names etc (length 0-200)
organisationReference
organisationIddefault string, full names etc (length 0-200)
namedefault string, full names etc (length 0-200)
placeReference
placeId^(GPS:|NSR:StopPlace… · requiredthis string references to information that can be found in the data sources. Enlist all prefixes (=rel) from the /collections/datasources/items that apply to a place/location. Default it matches already with 'GPS' (no entry required in the datasources). In case of a custom place (like home address), you can use the 'P:' prefix and add the address to the placeDefinitions list of the request.
namedefault string, full names etc (length 0-200)
customerInput
firstNameshort string, display names (length 0-75)
lastNameshort string, display names (length 0-75)
initialsreal short string, codes (length 0-10)
middleNameshort string, display names (length 0-75)
prefixreal short string, codes (length 0-10)
postfixreal short string, codes (length 0-10)
emaildefault string, full names etc (length 0-200)
phoneNumberdefault string, full names etc (length 0-200)
address parts, where addressLine1 and 2 should contain the complete address, matches Content-Language
dateOfBirthhttps://www.rfc-editor.org/rfc/rfc3339#section-5.6, full-date (2019-10-12)
placeOfBirthshort string, display names (length 0-75)
countryOfBirth[A-Z]{2}two-letter country codes according to ISO 3166-1
dictionary for extra fields (bilatural agreements)
externalReferenceThe client's own reference for this customer, unique within the organisation. Must not be blank. Leading and trailing whitespace is trimmed. Defaults to the customer number when not set. Can only be set when the customer is created. On replace it must be omitted or equal to the stored value. Use id, not this value, when referring to the customer elsewhere in the API.
customer
firstNameshort string, display names (length 0-75)
lastNameshort string, display names (length 0-75)
iddefault string, full names etc (length 0-200)
initialsreal short string, codes (length 0-10)
middleNameshort string, display names (length 0-75)
prefixreal short string, codes (length 0-10)
postfixreal short string, codes (length 0-10)
emaildefault string, full names etc (length 0-200)
phoneNumberdefault string, full names etc (length 0-200)
address parts, where addressLine1 and 2 should contain the complete address, matches Content-Language
dateOfBirthhttps://www.rfc-editor.org/rfc/rfc3339#section-5.6, full-date (2019-10-12)
placeOfBirthshort string, display names (length 0-75)
countryOfBirth[A-Z]{2}two-letter country codes according to ISO 3166-1
dictionary for extra fields (bilatural agreements)
externalReferenceThe client's own reference for this customer, unique within the organisation. Must not be blank. Leading and trailing whitespace is trimmed. Defaults to the customer number when not set. Can only be set when the customer is created. On replace it must be omitted or equal to the stored value. Use id, not this value, when referring to the customer elsewhere in the API.
customerRef
iddefault string, full names etc (length 0-200)
customerCollection
typenumberMatchednumberReturnedactions that can be performed on this package, but also alternative (rel=alternative+1, alternative+2) offers or references to other resources In case it is an alternative, specify clearly in the description what the financial consequences are.
customerReference
default string, full names etc (length 0-200)
travellerReference
default string, full names etc (length 0-200)
userProfileReference
default string, full names etc (length 0-200)
productReference
productIddefault string, full names etc (length 0-200)
namedefault string, full names etc (length 0-200)
offerReference
default string, full names etc (length 0-200)
packageReference
default string, full names etc (length 0-200)
legReference
default string, full names etc (length 0-200)
usageValidityPeriodReference
default string, full names etc (length 0-200)
frequencyOfUseReference
default string, full names etc (length 0-200)
lineReference
default string, full names etc (length 0-200)
zoneReference
zoneIddefault string, full names etc (length 0-200)
namedefault string, full names etc (length 0-200)
assetReference
default string, full names etc (length 0-200)
ancillaryReference
ancillaryIddefault string, full names etc (length 0-200)
namedefault string, full names etc (length 0-200)
equipmentReference
equipmentIddefault string, full names etc (length 0-200)
namedefault string, full names etc (length 0-200)
serviceJourneyReference
default string, full names etc (length 0-200)
userNeedReference
iddefault string, full names etc (length 0-200)
namedefault string, full names etc (length 0-200)
error
typevalid URL
titleshort string, display names (length 0-75)
statusHTTP status code (100–599)
detaillong string, memos etc (length 0-10.000)
codeStable machine-readable problem code.
categoryPublic problem category used by curated problems.
hintShort client-facing remediation hint.
landingPage
titledescriptionattributionThe attribution should be short and intended for presentation to a user, for example, in a corner of a map. Parts of the text can be links to other resources if additional information is needed. The string can include HTML markup.
collections
timeStampnumberMatchednumberReturnedcollectionInfo
ididentifier of the collection used, for example, in URIs
titlehuman readable title of the collection
descriptiona description of the data in the collection
extentitemTypeindicator about the type of the items in the collection if the collection has an accessible /collections/{collectionId}/items endpoint
crsthe list of coordinate reference systems supported by the API; the first item is the default coordinate reference system
geometryDimensionThe geometry dimension of the features shown in this layer (0: points, 1: curves, 2: surfaces, 3: solids), unspecified: mixed or unknown
minScaleDenominatorMinimum scale denominator for usage of the collection
maxScaleDenominatorMaximum scale denominator for usage of the collection
minCellSizeMinimum cell size for usage of the collection
maxCellSizeMaximum cell size for usage of the collection
dataType
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = string |
processList
processSummary
idversiontitledescriptionkeywordsjobControlOptionsmetadata
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: href, rel | |
| type = object |
relthe action that can be performed OR part of the URI allowed values include the 'processId's, prefixes for the referenced data sources, prefixes for deeplinks ('apple' and 'android'), OGC compliant ones (alternative, next, etc)
hrefvalid URL
typeshort string, display names (length 0-75)
methodto indicate the http method.
descriptionthe description of the external data source
bodythe (prefilled) body for the request
isMandatoryis this link informative, or must it be used?
hashto validate that the content of the link hasn't been changed.
link
relthe action that can be performed OR part of the URI allowed values include the 'processId's, prefixes for the referenced data sources, prefixes for deeplinks ('apple' and 'android'), OGC compliant ones (alternative, next, etc)
hrefvalid URL
typeshort string, display names (length 0-75)
methodto indicate the http method.
descriptionthe description of the external data source
bodythe (prefilled) body for the request
isMandatoryis this link informative, or must it be used?
hashto validate that the content of the link hasn't been changed.
date
https://www.rfc-editor.org/rfc/rfc3339#section-5.6, full-date (2019-10-12)
dateTime
https://www.rfc-editor.org/rfc/rfc3339#section-5.6, date-time (2019-10-12T07:20:50.52Z)
dateTimeOrNow
Either RFC3339 date-time (for example 2019-10-12T07:20:50Z) or the keyword NOW for server-side immediate start.
uuid
https://en.wikipedia.org/wiki/Universally_unique_identifier see also https://www.ietf.org/rfc/rfc4122.txt (ae76f51c-a1a6-46af-b9ab-8233564adcae)