{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/artashippinginc/json-schema/artashippinginc-shipment-exception-schema.json",
  "title": "ShipmentException",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/artashippinginc-shipment-exceptions-api-openapi.yml#/components/schemas/ShipmentException",
  "properties": {
    "created_at": {
      "description": "A NaiveDatetime-formatted timestamp describing when the exception was created with microsecond precision",
      "format": "date-time",
      "type": "string",
      "x-struct": null,
      "x-validate": null
    },
    "exception_type_label": {
      "description": "An additional label providing context about the exception type (optional)",
      "type": [
        "string",
        "null"
      ],
      "x-struct": null,
      "x-validate": null
    },
    "hold_until": {
      "description": "The date the shipment will be held until",
      "type": [
        "string",
        "null"
      ],
      "x-struct": null,
      "x-validate": null
    },
    "id": {
      "description": "The id of the exception in UUID format",
      "format": "uuid",
      "type": "string",
      "x-struct": null,
      "x-validate": null
    },
    "package_id": {
      "description": "The package associated with this exception (optional)",
      "format": "int64",
      "type": [
        "integer",
        "null"
      ],
      "x-struct": null,
      "x-validate": null
    },
    "resolution": {
      "description": "A brief description of the method by which this exception was resolved",
      "type": [
        "string",
        "null"
      ],
      "x-struct": null,
      "x-validate": null
    },
    "shipment_id": {
      "description": "The id of the shipment associated with this exception",
      "format": "uuid",
      "type": "string",
      "x-struct": null,
      "x-validate": null
    },
    "source": {
      "description": "The source of the exception",
      "type": "string",
      "x-struct": null,
      "x-validate": null
    },
    "status": {
      "description": "The current status for this exception",
      "enum": [
        "new",
        "in_progress",
        "resolved"
      ],
      "type": "string",
      "x-struct": null,
      "x-validate": null
    },
    "type": {
      "description": "The type of exception",
      "type": "string",
      "x-struct": null,
      "x-validate": null
    },
    "updated_at": {
      "description": "A NaiveDatetime-formatted timestamp describing when the exception was last updated with microsecond precision",
      "format": "date-time",
      "type": "string",
      "x-struct": null,
      "x-validate": null
    }
  },
  "type": "object",
  "x-struct": "Elixir.DocsWeb.Schemas.Response.ShipmentException",
  "x-validate": null
}