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": [