{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/alaska-air/refs/heads/main/json-schema/alaska-air-cargo-shipment-request-schema.json", "title": "ShipmentRequest", "description": "Request body for creating a cargo shipment booking", "type": "object", "properties": { "origin": { "type": "string", "description": "Origin airport IATA code", "example": "SEA" }, "destination": { "type": "string", "description": "Destination airport IATA code", "example": "HNL" }, "shipDate": { "type": "string", "format": "date", "description": "Desired ship date (YYYY-MM-DD)", "example": "2026-04-20" }, "commodity": { "type": "string", "description": "Commodity description", "example": "Electronics" }, "weight": { "type": "number", "description": "Total shipment weight", "example": 45.5 }, "weightUnit": { "type": "string", "description": "Weight unit", "enum": [ "KG", "LB" ], "example": "KG" }, "pieces": { "type": "integer", "description": "Number of pieces in shipment", "example": 3 }, "dimensions": { "$ref": "#/components/schemas/Dimensions" }, "specialHandling": { "type": "array", "description": "Special handling requirements", "items": { "type": "string" }, "example": [ "Fragile" ] } }, "required": [ "origin", "destination", "shipDate", "weight", "pieces" ] }