{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/purolator/main/json-schema/purolator-get-summary-manifest-request-schema.json",
  "title": "GetSummaryManifestRequest",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/purolator-get-summary-manifest-openapi.yml#/components/schemas/GetSummaryManifestRequest",
  "type": "object",
  "required": [
    "lineOfBusiness",
    "manifestDate"
  ],
  "properties": {
    "lineOfBusiness": {
      "$ref": "#/$defs/LineOfBusiness"
    },
    "requestReference": {
      "$ref": "#/$defs/RequestReference"
    },
    "manifestDate": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "string",
        "format": "date"
      },
      "description": "Manifest dates in YYYY-MM-DD. Each date must fall in the inclusive window from today minus 10 days through today."
    }
  },
  "$defs": {
    "LineOfBusiness": {
      "type": "string",
      "enum": [
        "Courier",
        "Freight"
      ],
      "description": "Line of business. Case-insensitive. Only Courier is supported."
    },
    "RequestReference": {
      "type": "string",
      "maxLength": 36,
      "description": "A unique identifier for the request. Can be used to match request with the response. If not provided, a random UUID is generated."
    }
  }
}