From 966602d8b0423d603bdc9ded3260ba8fdefabefa Mon Sep 17 00:00:00 2001 From: "b.boterman@htm.nl" Date: Wed, 1 Oct 2025 14:15:57 +0200 Subject: [PATCH] OVPAY-2186 - Updated schema. --- src/openapi/contracts/contracts-crud.yaml | 24 +++++++++++------------ 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/src/openapi/contracts/contracts-crud.yaml b/src/openapi/contracts/contracts-crud.yaml index 2f755cb..e363b19 100644 --- a/src/openapi/contracts/contracts-crud.yaml +++ b/src/openapi/contracts/contracts-crud.yaml @@ -1111,12 +1111,6 @@ components: contractStatus: type: object $ref: "#/components/schemas/ContractStatus" - productId: - type: integer - example: 1 - productName: - type: string - example: HTM Maand 20% korting termDuration: type: string format: ISO8601 @@ -1184,18 +1178,22 @@ components: type: string format: url example: https://www.htm.nl/reisproducten/productvoorwaarden/htm-maandkorting/ - termAmountExclTax: + productId: type: integer - example: 1200 + example: 1 + productName: + type: string + example: HTM Maand 20% korting taxCode: type: string - example: V21 - taxAmount: - type: integer - example: 108 + example: V9 + taxPercentage: + type: number + format: float + example: 9.0 termAmountInclTax: type: integer - example: 1308 + example: 400 start: type: string format: date-time