{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dhl/json-schema/dhl-common-response-schema.json",
  "title": "commonResponse",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dhl-manifest-dhl-ecommerce-americas-openapi.yml#/components/schemas/commonResponse",
  "type": "object",
  "properties": {
    "timestamp": {
      "type": "string",
      "minLength": 1,
      "maxLength": 30,
      "description": "Timestamp of the response; ISO-8601 date/time format. (M)"
    },
    "pickup": {
      "type": "string",
      "maxLength": 10,
      "description": "DHL eCommerce pickup account number (M)"
    },
    "requestId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "description": "DHL eCommerce manifest request ID (M)"
    },
    "status": {
      "type": "string",
      "minLength": 1,
      "maxLength": 20,
      "description": "Status of the manifest request (M)"
    },
    "link": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "API link to access the driver summary manifest documents once created (M)"
    },
    "manifests": {
      "type": "array",
      "description": "Manifest details (O)",
      "items": {
        "type": "object",
        "properties": {
          "createdOn": {
            "type": "string",
            "description": "The date and time the manifest document was created in UTC format. (M)"
          },
          "manifestId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 20,
            "description": "Manifest ID (M)"
          },
          "distributionCenter": {
            "type": "string",
            "maxLength": 6,
            "description": "Distribution center (M)"
          },
          "isInternational": {
            "type": "boolean",
            "enum": [
              true,
              false
            ],
            "description": "International destination flag (M)"
          },
          "total": {
            "type": "integer",
            "description": "Number of packages in the manifest (M)"
          },
          "manifestData": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100000,
            "description": "Encoded manifest document in PDF format (M)"
          },
          "encodeType": {
            "type": "string",
            "minLength": 1,
            "maxLength": 10,
            "description": "Encoding type (M)"
          },
          "format": {
            "type": "string",
            "minLength": 1,
            "maxLength": 10,
            "description": "Format of the manifest document (M)"
          }
        }
      }
    }
  }
}