Delivery failed
events
JSON Schema
Event that is emitted when a shipment delivery fails.
1{
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "type": "object",
4 "title": "DeliveryFailed",
5 "description": "Schema for delivery failed event",
6 "properties": {
7 "shipmentId": {
8 "type": "number",
9 "description": "Unique identifier for the shipment"
10 },
11 "orderId": {
12 "type": "string",
13 "description": "Identifier for the associated order"
14 },
15 "failureReason": {
16 "type": "string",
17 "description": "Reason for the delivery failure"
18 }
19 },
20 "required": ["shipmentId", "orderId", "failureReason"]
21}