From 4f183fe4abc14869a5aa00350325a3057c6ecada Mon Sep 17 00:00:00 2001 From: Max Martens Date: Tue, 31 Mar 2026 12:37:44 +0200 Subject: [PATCH] Also update POST/PATCH PurchasedTapConnectTicket CRUD spec --- .../products/purchased_products-crud.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/openapi/products/purchased_products-crud.yaml b/src/openapi/products/purchased_products-crud.yaml index 628a83b..95ff59e 100644 --- a/src/openapi/products/purchased_products-crud.yaml +++ b/src/openapi/products/purchased_products-crud.yaml @@ -965,6 +965,8 @@ paths: "activatedAt": "2024-10-05T12:34:56.000", "cancelledAt": "2024-10-06T12:34:56.000", "lastUpdatedOn": "2024-10-05T12:34:56.000", + "validityStart": "2024-10-05T12:34:56.000", + "validityEnd": "2024-10-06T12:34:56.000" } responses: "200": @@ -1194,6 +1196,7 @@ components: - lastUpdatedOn - createdBy - serviceId + - activateBefore properties: issuedAt: type: string @@ -1230,6 +1233,21 @@ components: serviceId: type: string example: HTM-1234-7654-8945 + activateBefore: + type: string + format: date + description: Tickets can only be activated BEFORE this date. Should be equal to TapConnect's `lifeSpanEnd + P1D` + example: 2024-10-08 + validityStart: + type: string + format: date-time + description: The date-time at which the ticket will become valid for for traveling. The ticket will not be valid before this date/time. + example: 2024-10-05T12:34:56.000 + validityEnd: + type: string + format: date-time + description: The date-time at which the ticket will become invalid for traveling. The ticket will not be valid after this date/time. + example: 2024-10-06T12:34:56.000 BulkResponseBody: type: object properties: