-
Notifications
You must be signed in to change notification settings - Fork 41
Blockchain Verifiable credentials
The TOMP-API facilitates in communicating the DID and in the claims that can be verified.
In the result of the planning (v1.3: inquiry or offer), the claims that are going to be verified can be found in the condition field of the leg:
{
"validUntil": "2021-11-19T13:37:36.113Z",
"options": [
{
"id": "string",
...
"legs": [
{
"id": "string",
...
"conditions": [
{
"requiredFields": [
"BLOCKCHAIN_CLAIMS"
],
"claims": [
"ABOVE_18", "DRIVER_LICENSE_CAR"
],
"conditionType": "conditionRequireBookingData",
"id": "claims"
}
],
...
}
]
}
]
}
The claims so far are:
- ABOVE_12
- ABOVE_18
- ABOVE_21
- DRIVER_LICENSE_CAR
- DRIVER_LICENSE_TRUCK
- DRIVER_LICENSE_MOPED This list can be extended on request. Please add an issue to the Github to request one.
The DID is provided in the field knownIdentifierProvider
in the booking request:
{
"id": "34920hg3903",
"customer": {
{
"knownIdentifierProvider": "did:example:123456789abcdefghi"
}
}
}
The TO can use this DID to verify the requested claims.
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