diff --git a/specification/paths/ServiceRates.json b/specification/paths/ServiceRates.json index fba5861..76d03be 100644 --- a/specification/paths/ServiceRates.json +++ b/specification/paths/ServiceRates.json @@ -35,6 +35,7 @@ "required": [ "recipient_address", "sender_address", + "service", "physical_properties" ], "properties": { @@ -52,6 +53,11 @@ "country_code" ] }, + "service": { + "required": [ + "code" + ] + }, "physical_properties": { "required": [ "weight" diff --git a/specification/schemas/Shipment.json b/specification/schemas/Shipment.json index d988a82..e35d269 100644 --- a/specification/schemas/Shipment.json +++ b/specification/schemas/Shipment.json @@ -107,11 +107,18 @@ "properties": { "code": { "type": "string", - "example": "service-a01" + "example": "service-a01", + "description": "Shipment service code" }, "name": { "type": "string", - "example": "Parcel to Parcelshop" + "example": "Parcel to Parcelshop", + "description": "Shipment service name" + }, + "zone_to_code": { + "type": "string", + "example": "western-europe:netherlands", + "description": "Shipment service destination Zone code" } } },