From 80ec9981aef1dd8c8dd252e09e86221facf6f2b9 Mon Sep 17 00:00:00 2001 From: yoeriwalstra Date: Mon, 1 Jun 2026 18:13:06 +0200 Subject: [PATCH] :sparkles: add required pickup and dropoff address properties --- specification/paths/MultiColliShipments.json | 11 +++++++++- specification/paths/RegisteredShipments.json | 22 +++++++++++++++++-- specification/paths/Shipments.json | 22 +++++++++++++++++-- .../schemas/shipments/ShipmentResponse.json | 22 +++++++++++++++++-- 4 files changed, 70 insertions(+), 7 deletions(-) diff --git a/specification/paths/MultiColliShipments.json b/specification/paths/MultiColliShipments.json index 0e290696..8b3c32cd 100644 --- a/specification/paths/MultiColliShipments.json +++ b/specification/paths/MultiColliShipments.json @@ -78,7 +78,16 @@ "required": [ "code", "address" - ] + ], + "properties": { + "address": { + "required": [ + "street_1", + "city", + "country_code" + ] + } + } }, "tracking_code": { "readOnly": true diff --git a/specification/paths/RegisteredShipments.json b/specification/paths/RegisteredShipments.json index 31a231cd..b9ec63cc 100644 --- a/specification/paths/RegisteredShipments.json +++ b/specification/paths/RegisteredShipments.json @@ -78,13 +78,31 @@ "required": [ "code", "address" - ] + ], + "properties": { + "address": { + "required": [ + "street_1", + "city", + "country_code" + ] + } + } }, "drop_off_location": { "required": [ "code", "address" - ] + ], + "properties": { + "address": { + "required": [ + "street_1", + "city", + "country_code" + ] + } + } }, "tracking_code": { "readOnly": true diff --git a/specification/paths/Shipments.json b/specification/paths/Shipments.json index ea2adba5..0b419b06 100644 --- a/specification/paths/Shipments.json +++ b/specification/paths/Shipments.json @@ -235,13 +235,31 @@ "required": [ "code", "address" - ] + ], + "properties": { + "address": { + "required": [ + "street_1", + "city", + "country_code" + ] + } + } }, "drop_off_location": { "required": [ "code", "address" - ] + ], + "properties": { + "address": { + "required": [ + "street_1", + "city", + "country_code" + ] + } + } }, "tracking_code": { "readOnly": true diff --git a/specification/schemas/shipments/ShipmentResponse.json b/specification/schemas/shipments/ShipmentResponse.json index 7db2de99..2d8307ad 100644 --- a/specification/schemas/shipments/ShipmentResponse.json +++ b/specification/schemas/shipments/ShipmentResponse.json @@ -49,13 +49,31 @@ "required": [ "code", "address" - ] + ], + "properties": { + "address": { + "required": [ + "street_1", + "city", + "country_code" + ] + } + } }, "drop_off_location": { "required": [ "code", "address" - ] + ], + "properties": { + "address": { + "required": [ + "street_1", + "city", + "country_code" + ] + } + } }, "physical_properties": { "required": [