{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/leadmagic-io/json-schema/leadmagic-io-bulk-submission-response-schema.json",
  "title": "BulkSubmissionResponse",
  "description": "Response for a successful bulk job submission. HTTP 202 Accepted.",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/leadmagic-io-leadmagic-openapi-3-1-openapi.json#/components/schemas/BulkSubmissionResponse",
  "type": "object",
  "required": [
    "jobId",
    "product",
    "totalRows",
    "status",
    "queue"
  ],
  "properties": {
    "jobId": {
      "type": "string",
      "format": "uuid",
      "description": "UUID identifier for the bulk job."
    },
    "product": {
      "type": "string",
      "description": "The enrichment product this job is running."
    },
    "endpoint": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalRows": {
      "type": "integer",
      "description": "Total number of rows in the submission."
    },
    "status": {
      "type": "string",
      "description": "Always 'uploaded' for a freshly submitted job."
    },
    "queue": {
      "type": "object",
      "properties": {
        "position": {
          "type": "integer"
        },
        "started": {
          "type": "boolean"
        },
        "queuedAt": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "statusUrl": {
      "type": "string",
      "format": "uri"
    },
    "streamUrl": {
      "type": "string",
      "format": "uri"
    },
    "wsUrl": {
      "type": "string"
    },
    "resultsUrl": {
      "type": "string",
      "format": "uri"
    },
    "rowsUrl": {
      "type": "string",
      "format": "uri"
    },
    "errorsUrl": {
      "type": "string",
      "format": "uri"
    },
    "eventsUrl": {
      "type": "string",
      "format": "uri"
    },
    "eventsExportUrl": {
      "type": "string",
      "format": "uri"
    },
    "logsUrl": {
      "type": "string",
      "format": "uri"
    },
    "downloadUrl": {
      "type": "string",
      "format": "uri"
    },
    "progressUrl": {
      "type": "string",
      "format": "uri"
    },
    "token": {
      "type": "string",
      "description": "Progress token for follow-up reads without the API key."
    },
    "exp": {
      "type": "integer",
      "description": "Unix timestamp when the progress token expires."
    }
  }
}