From 6eaf8a96de5da5139da9e6fea76a2dd97cb2f54e Mon Sep 17 00:00:00 2001 From: Ralf Bayer Date: Mon, 11 Jan 2021 17:25:27 +0100 Subject: [PATCH] New try of committing changes: updated FulfillmentDocument type, taking into account modifications in meeting on Jan 08, 2021 --- .../v1.1.0-rc/OSDM-online-api-v1.1.0-rc.yml | 21 +++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/specification/v1.1.0-rc/OSDM-online-api-v1.1.0-rc.yml b/specification/v1.1.0-rc/OSDM-online-api-v1.1.0-rc.yml index e8beffda..67f6dd05 100644 --- a/specification/v1.1.0-rc/OSDM-online-api-v1.1.0-rc.yml +++ b/specification/v1.1.0-rc/OSDM-online-api-v1.1.0-rc.yml @@ -4343,11 +4343,11 @@ 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 @@ -4355,9 +4355,22 @@ components: - 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