-
Notifications
You must be signed in to change notification settings - Fork 42
Home
This WIKI contains the lastest version of the TOMP-API. To facilitate the implementation of the API, we've made some supportive documentation with some examples/explanations. Not all scenario's are reflected in them, but they'll probably will be of value.
- Planning phase
- Booking phase
- Trip execution phase - start
- Trip execution phase - on route
- Trip execution phase - end
- Operator information
- Payment
- How do I start a TO?
- Semantic versioning in the TOMP API
- Simple Operator information
- Planning phase - multiple assets with one booking
- Display all assets on a map and book one of them
- Scan for bluetooth devices nearby and book one of them
- Specify pick up or drop off locations
- Simple planning & booking phase
- Planning phase - prices
Implementing operators
- How do I implement a taxi operator
- How do I implement a bike operator
- How do I implement a public transport operator
- How do I implement a parking facility
- How do I implement a micromobility operator
TOMP-API is licensed under the Apache License 2.0, an open source license. Contributions are very welcome! Ways to contribute include:
- Posting issues with suggestions for new features, bug reports or other changes you'd like to see
- Contributing code, see How to contribute code
- illustrative document
- https://app.swaggerhub.com/apis/TOMP-API-WG/transport-operator_maas_provider_api/
0.9.0 - Release Candidate Dragonfly
We've taken the lessons learned so far and applied them in the API. Also used reviews to make it better. Major changes: support module has been reviewed (#146), some simplification (#176) and a new endpoint to facilitate a self describing API (#180).
- #147 [FEATURE REQUEST] Using a single url for multiple organizations
- #167 [FEATURE REQUEST] conditionRequireBookingData lacks name
- #176 [CHANGE-REQUEST] PlanningOptions has duplicate items and in general could use a cleanup
- #144 [CHANGE-REQUEST] renaming "provide-ids" in /planning-options
- #186 [BUG] Example timestamp is in seconds, not in milliseconds
- #159 [FEATURE REQUEST] Use ISO 8601 (RFC3339) timestamps in JSON body
- #146 [CHANGE-REQUEST] Support endpoint refactoring
- #134 [CHANGE-REQUEST] Restructure error object duplicate / #163 [FEATURE REQUEST] Specify errors WT1
- #165 [BUG]: mandatory fields
- #180 [FEATURE REQUEST] Self describing facilities
0.5.0 Breaking changes
- #136 Standardized API error breaking change request
- #133 kebab-case to camelCase breaking change request
- #120 composit-leg should be named composite-leg breaking bug
- #114 Remove items from asset and asset-type (#110) breaking change request
- #111 Consistency in the Operator Information breaking
- #126 Coordinates instead of coordinate
0.4.0
- #93 Trip Execution: ETA is missing change request question
- #115 Add GBFS attributes to station information change request
- #119 Adding personal info change request
- #105 Multiple fields in "type-of-asset" in /planning-options response should not be on type level bug change request
- #112/#116 Missing geometries in Operator Information change request
0.3.1: bugfix
- #131 key-value only contains key.... (bug)
0.3.0: semantic versioning adopted
- #102 Add semantic versioning
1.2: confirmed 1.1.2. No real changes, except for removing server, contact etc.
1.1.2: more payment phase, but also include the first implementation impacts
Includes:
- Operator information:
- missing available assets in operator information (#83, #96)
- Planning options:
- overlays can now be handled in a composit-leg (#59)
- fare scales (#89)
- amount of available assets added (in case of type-of-asset results) (#91)
- Payment:
- extra condititions for payment (upfront-payment and pay-when-finished) and optional bank account (#85)
- distance or time based scales (#87)
- in journal entries time and distance are reported (#87)
- composit leg is supported (88)
- some small adjustments:
- missing MP/TO id (#86)
- geojson to communicate the leg (reducing the message length) (#63)
- when booking some extra information could be required (physical pick-up/drop-off addresses, e-mail addresses, date of birth). (#94, #97)
- extra modalities (moped, step)
1.1.1: goal: first set up for the payment phase (batch payment). Includes:
- payment phase
- 'Postponed commit' scenario
- Transport types clarified
- More precise description of travellers for more accurate planning
- return conditions
- some smaller issues:
- corrected example values
- merge 'mode' and 'type-of-asset'
1.1.0: major changes, not compatible with 1.0.0.
Includes now:
- planning phase
- booking phase
- trip execution phase
- REST implementation
- first setup webhooks
- first setup authentication
- one swaggerfile to maintain
- first setup TOMP API for dummies (WIKI)
- all kinds of smaller issues:
- adjustments on the availability check (timestamp, number of passangers, request of ID's, 'woordenboek reizigers'
- longitude/latitude is now everywhere in an object instead of array
- generic message header
- uniformity
Introduction
- Roadmap
- Semantic versioning
- Use cases
- Changes per version
- Contribution
- Participants
Workflow
- Operator information
- Planning phase
- Booking phase
- Trip execution phase - start
- Trip execution phase - on route
- Trip execution phase - end
- Support
- Payment
Points of attention
- Modalities
- Specifying locations
- GDPR
Eco system
- Relations
Introduction
Scope of the TOMP-API
Versioning and releases
Process Flows
- Authentication
- Operator Information
- Privacy and Registration
- Planning Module
- Booking Module
- Trip Execution Module
- Payment Module
- Support Module
Meta-Information
Reference implementations
To-dos and risks
Technical Specifications
A1 List of terms and definitions
A2 Passenger characteristics dictionary
A3 APIs available on the transportation ecosystem
A4 Overview of the User stories
A5 Authors, Architects, collaborators and stakeholders involved
A6 Adoption and Implementation of the TOMP-API