{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle-transportation-management/json-schema/oracle-transportation-management-shipment-order-schema.json",
  "title": "ShipmentOrder",
  "description": "An OTM shipment order (order to move)",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-transportation-management-shipment-orders-api-openapi.yml#/components/schemas/ShipmentOrder",
  "type": "object",
  "properties": {
    "shipmentOrderGid": {
      "type": "string",
      "description": "Global identifier (domain.xid format)"
    },
    "shipmentOrderXid": {
      "type": "string",
      "description": "User-defined order ID"
    },
    "status": {
      "type": "string",
      "enum": [
        "I",
        "OB",
        "PL",
        "DP",
        "IT",
        "DL",
        "CL"
      ],
      "description": "I=Initial, OB=Open-Booked, PL=Planned, DP=Dispatched, IT=InTransit, DL=Delivered, CL=Closed"
    },
    "sourceLocationGid": {
      "type": "string",
      "description": "Origin location GID"
    },
    "destLocationGid": {
      "type": "string",
      "description": "Destination location GID"
    },
    "earlyPickupDate": {
      "type": "string",
      "format": "date-time"
    },
    "latePickupDate": {
      "type": "string",
      "format": "date-time"
    },
    "earlyDeliveryDate": {
      "type": "string",
      "format": "date-time"
    },
    "lateDeliveryDate": {
      "type": "string",
      "format": "date-time"
    },
    "transportationMode": {
      "type": "string",
      "enum": [
        "LTL",
        "TL",
        "OCEAN",
        "AIR",
        "RAIL",
        "PARCEL",
        "INTERMODAL"
      ]
    },
    "totalWeight": {
      "type": "number",
      "format": "double"
    },
    "totalWeightUom": {
      "type": "string",
      "enum": [
        "LB",
        "KG",
        "T",
        "MT"
      ]
    },
    "totalVolume": {
      "type": "number",
      "format": "double"
    },
    "totalVolumeUom": {
      "type": "string"
    },
    "insertDate": {
      "type": "string",
      "format": "date-time"
    },
    "lastUpdateDate": {
      "type": "string",
      "format": "date-time"
    }
  }
}