Skip to content

Commit

Permalink
Merge pull request #7 from TOMP-WG/dragonfly
Browse files Browse the repository at this point in the history
Dragonfly
  • Loading branch information
edwinvandenbelt authored Aug 24, 2021
2 parents 6b51f7e + 6ea17de commit 9c9e3ec
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions TOMP-API.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ info:
description:
An API between MaaS providers and transport operators for booking trips and corresponding assets.
<p>The documentation (examples, process flows and sequence diagrams) can be found at <a href="https://github.com/TOMP-WG/TOMP-API/">github</a>.
version: "1.2.1"
version: "1.2.2"
license:
name: Apache 2.0
url: "http://www.apache.org/licenses/LICENSE-2.0.html"
Expand Down Expand Up @@ -2470,10 +2470,13 @@ components:
- $ref: "#/components/schemas/token"
assetAccessData:
description: Data to open a specific asset (e.g. QR code, image base64)
oneOf:
allOf:
- $ref: "#/components/schemas/token"
- $ref: "#/components/schemas/tokenArray"

allAssetAccessData:
description: Array of data to open a specific asset (e.g. QR code, image base64)
allOf:
- $ref: "#/components/schemas/tokenArray"

legEvent:
type: object
description: event for the execution
Expand Down Expand Up @@ -3261,7 +3264,7 @@ components:
- tokenType
properties:
tokenType:
$ref: '#/components/schemas/assetAccessMethods'
type: string

tokenDefault:
description: Arbitrary data the TO may pass along the ticket to the client
Expand Down

0 comments on commit 9c9e3ec

Please sign in to comment.