{
  "$id": "https://hash.ai/@h/types/entity-type/shipment/v/1",
  "$schema": "https://blockprotocol.org/types/modules/graph/0.3/schema/entity-type",
  "description": "The transport of goods, potentially grouping several deliveries.",
  "icon": "/icons/types/truck-container.svg",
  "kind": "entityType",
  "labelProperty": "https://hash.ai/@h/types/property-type/shipment-number/",
  "links": {
    "https://hash.ai/@h/types/entity-type/arrives-at/v/1": {
      "items": {
        "oneOf": [
          {
            "$ref": "https://hash.ai/@h/types/entity-type/site/v/1"
          },
          {
            "$ref": "https://hash.ai/@h/types/entity-type/customer/v/1"
          }
        ]
      },
      "type": "array"
    },
    "https://hash.ai/@h/types/entity-type/departs-from/v/1": {
      "items": {
        "oneOf": [
          {
            "$ref": "https://hash.ai/@h/types/entity-type/site/v/1"
          }
        ]
      },
      "type": "array"
    },
    "https://hash.ai/@h/types/entity-type/has-line-item/v/1": {
      "items": {
        "oneOf": [
          {
            "$ref": "https://hash.ai/@h/types/entity-type/shipment-item/v/1"
          }
        ]
      },
      "type": "array"
    },
    "https://hash.ai/@h/types/entity-type/transports/v/1": {
      "items": {
        "oneOf": [
          {
            "$ref": "https://hash.ai/@h/types/entity-type/delivery/v/1"
          }
        ]
      },
      "type": "array"
    }
  },
  "properties": {
    "https://hash.ai/@h/types/property-type/actual-arrival-date/": {
      "$ref": "https://hash.ai/@h/types/property-type/actual-arrival-date/v/1"
    },
    "https://hash.ai/@h/types/property-type/actual-departure-date/": {
      "$ref": "https://hash.ai/@h/types/property-type/actual-departure-date/v/1"
    },
    "https://hash.ai/@h/types/property-type/actual-shipment-completion-date/": {
      "$ref": "https://hash.ai/@h/types/property-type/actual-shipment-completion-date/v/1"
    },
    "https://hash.ai/@h/types/property-type/actual-shipment-end-date/": {
      "$ref": "https://hash.ai/@h/types/property-type/actual-shipment-end-date/v/1"
    },
    "https://hash.ai/@h/types/property-type/leg-indicator/": {
      "$ref": "https://hash.ai/@h/types/property-type/leg-indicator/v/1"
    },
    "https://hash.ai/@h/types/property-type/planned-arrival-date/": {
      "$ref": "https://hash.ai/@h/types/property-type/planned-arrival-date/v/1"
    },
    "https://hash.ai/@h/types/property-type/planned-shipment-end-date/": {
      "$ref": "https://hash.ai/@h/types/property-type/planned-shipment-end-date/v/1"
    },
    "https://hash.ai/@h/types/property-type/route/": {
      "$ref": "https://hash.ai/@h/types/property-type/route/v/1"
    },
    "https://hash.ai/@h/types/property-type/shipment-number/": {
      "$ref": "https://hash.ai/@h/types/property-type/shipment-number/v/1"
    }
  },
  "required": [
    "https://hash.ai/@h/types/property-type/shipment-number/"
  ],
  "title": "Shipment",
  "type": "object"
}