Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New try of committing changes: updated FulfillmentDocument type, taki… #147

Merged
merged 1 commit into from Jan 12, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
21 changes: 17 additions & 4 deletions specification/v1.1.0-rc/OSDM-online-api-v1.1.0-rc.yml
Expand Up @@ -4343,21 +4343,34 @@ components:
FulfillmentDocument:
type: object
description: >-
document created for fulfillment
Document created for fulfillment. Either downloadLink + downloadExpiry or content + format must be provided.
properties:
medium:
$ref: '#/components/schemas/FulfillmentMediaType'
documentType:
type:
type: string
x-extensible-enum:
- BOOKING_RECEIPT
- TICKET
- BOARDING_PASS
- INFORMATION
- VOUCHER
documentLink:
downloadLink:
type: string
format: uri
downloadExpiry:
type: string
format: date-time
description: Expiration time of the donwloadLink, the document will not be available at the given URI after this time
content:
type: string
format: uri
format: base64
description: base64 encoded binary of the actual fulfillment document
format:
type: string
example: "application/pdf"
description: >-
Physical format of the document provided in the content field in Mime-Type format, e.g. application/pdf, image/jpeg, etc. Must be filled if the "content" field is present.

FulfillmentItem:
type: object
Expand Down