From 44d9fe8df074f6e3940b314f2cbb6a5d4a0b5767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B8ran=20Dalum?= Date: Tue, 5 Nov 2024 15:00:27 +0100 Subject: [PATCH] feat: Remove latestActivationDate on product --- schema-definitions/referenceData.json | 3 --- src/reference-data.ts | 1 - 2 files changed, 4 deletions(-) diff --git a/schema-definitions/referenceData.json b/schema-definitions/referenceData.json index 7aadbaa..0a6d3f2 100644 --- a/schema-definitions/referenceData.json +++ b/schema-definitions/referenceData.json @@ -73,9 +73,6 @@ }, "appVersionMax": { "type": "string" - }, - "latestActivationDate": { - "type": "number" } }, "required": [ diff --git a/src/reference-data.ts b/src/reference-data.ts index 2e38339..c3fe558 100644 --- a/src/reference-data.ts +++ b/src/reference-data.ts @@ -13,7 +13,6 @@ export const PreassignedFareProduct = z.object({ tariffZoneRefs: z.array(z.string()).optional(), appVersionMin: z.string().optional(), appVersionMax: z.string().optional(), - latestActivationDate: z.number().optional(), }), durationDays: z.number().optional(), isApplicableOnSingleZoneOnly: z.boolean().optional(),