From b63916906cf8b98c8d897fc9b0b9e91ed6f7ea41 Mon Sep 17 00:00:00 2001 From: Bent Lorentzen Date: Mon, 30 Mar 2026 14:54:40 +0200 Subject: [PATCH] Added stationId to useAssetRequest. Removed minItems on assets. --- TOMP-API-4-PURCHASE.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/TOMP-API-4-PURCHASE.yaml b/TOMP-API-4-PURCHASE.yaml index c0f3de5..e19ec40 100644 --- a/TOMP-API-4-PURCHASE.yaml +++ b/TOMP-API-4-PURCHASE.yaml @@ -282,14 +282,15 @@ components: properties: inputs: type: object - required: - - assets properties: customer: $ref: "TOMP-API-1-CORE.yaml#/components/schemas/customer" + stationId: + type: string + description: unique identifier of a station + example: XX:Y:12345678 assets: type: array - minItems: 1 items: $ref: "TOMP-API-1-CORE.yaml#/components/schemas/assetReference" distribution: