From 80ec9981aef1dd8c8dd252e09e86221facf6f2b9 Mon Sep 17 00:00:00 2001 From: yoeriwalstra Date: Mon, 1 Jun 2026 18:13:06 +0200 Subject: [PATCH 1/2] :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": [ From 970aeaa6761496fc3ae33465a8ef8d88692135ef Mon Sep 17 00:00:00 2001 From: Zwaans Date: Tue, 2 Jun 2026 15:31:01 +0200 Subject: [PATCH 2/2] :bricks: Update file to trigger build --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 74859ece..c7f829f5 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ Parameter file names are prefixed with the corresponding parameter type. A path specification/parameters/path-carrier_id.json ``` -Unique parameters can just remain in the path file and do not need to be extracted to their own files. +Unique parameters can just remain in the path file and do not need to be extracted to their own files. ## License All software by MyParcel.com is licensed under the [MyParcel.com general terms and conditions](https://solutions.myparcel.com/legal).