From 4afb64408b1a36a90848b2c5d5d1b2ea20d02b5e Mon Sep 17 00:00:00 2001 From: yoeriwalstra Date: Tue, 23 Jun 2026 13:48:52 +0200 Subject: [PATCH] make pickup_location.address optional --- specification/paths/MultiColliShipments.json | 3 +-- specification/paths/RegisteredShipments.json | 6 ++---- specification/paths/Shipments.json | 6 ++---- specification/schemas/shipments/ShipmentResponse.json | 6 ++---- 4 files changed, 7 insertions(+), 14 deletions(-) diff --git a/specification/paths/MultiColliShipments.json b/specification/paths/MultiColliShipments.json index 8b3c32cd..59c2b78b 100644 --- a/specification/paths/MultiColliShipments.json +++ b/specification/paths/MultiColliShipments.json @@ -76,8 +76,7 @@ }, "pickup_location": { "required": [ - "code", - "address" + "code" ], "properties": { "address": { diff --git a/specification/paths/RegisteredShipments.json b/specification/paths/RegisteredShipments.json index b9ec63cc..b0d8987d 100644 --- a/specification/paths/RegisteredShipments.json +++ b/specification/paths/RegisteredShipments.json @@ -76,8 +76,7 @@ }, "pickup_location": { "required": [ - "code", - "address" + "code" ], "properties": { "address": { @@ -91,8 +90,7 @@ }, "drop_off_location": { "required": [ - "code", - "address" + "code" ], "properties": { "address": { diff --git a/specification/paths/Shipments.json b/specification/paths/Shipments.json index 0b419b06..1a048ce8 100644 --- a/specification/paths/Shipments.json +++ b/specification/paths/Shipments.json @@ -233,8 +233,7 @@ }, "pickup_location": { "required": [ - "code", - "address" + "code" ], "properties": { "address": { @@ -248,8 +247,7 @@ }, "drop_off_location": { "required": [ - "code", - "address" + "code" ], "properties": { "address": { diff --git a/specification/schemas/shipments/ShipmentResponse.json b/specification/schemas/shipments/ShipmentResponse.json index 2d8307ad..8530b707 100644 --- a/specification/schemas/shipments/ShipmentResponse.json +++ b/specification/schemas/shipments/ShipmentResponse.json @@ -47,8 +47,7 @@ }, "pickup_location": { "required": [ - "code", - "address" + "code" ], "properties": { "address": { @@ -62,8 +61,7 @@ }, "drop_off_location": { "required": [ - "code", - "address" + "code" ], "properties": { "address": {