{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/anymailfinder-com/json-schema/anymailfinder-com-api5-search-bulk-dto-schema.json",
  "title": "Api5SearchBulkDto",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/anymailfinder-com-openapi.json#/components/schemas/Api5SearchBulkDto",
  "type": "object",
  "properties": {
    "status": {
      "enum": [
        "on_deck",
        "queued",
        "running",
        "paused",
        "completed",
        "deleted",
        "extraction_queued",
        "extraction_running"
      ],
      "type": "string",
      "description": "The current status of the bulk operation. Each status represents a specific stage in the bulk operation lifecycle:<br />\n    - \"on_deck\": Indicates the bulk file has been uploaded through the UI, but the columns have not been mapped yet. This status is internal and typically not encountered by API users.<br />\n    - \"queued\": The bulk operation is queued and will be processed soon. This status implies that the operation is in the waiting list and will be picked up by the processing system.<br />\n    - \"running\": The bulk operation is currently in progress. This status indicates that the processing of the bulk file is actively ongoing.<br />\n    - \"paused\": The operation has been temporarily paused.<br />\n    - \"completed\": The bulk operation has been completed successfully. All records in the bulk file have been processed as intended.<br />\n    - \"failed\": The bulk operation has failed. This status indicates that there was an error during the processing which prevented the operation from completing successfully.<br />\n    Note: The status flow typically progresses from \"queued\" to \"running\", and then to either \"completed\" or \"failed\", but can also include \"paused\"."
    },
    "counts": {
      "type": "object",
      "properties": {
        "failed": {
          "type": "number"
        },
        "found_unknown": {
          "type": "number"
        },
        "found_valid": {
          "type": "number"
        },
        "not_found": {
          "type": "number"
        },
        "total": {
          "type": "number"
        }
      },
      "required": [
        "failed",
        "found_unknown",
        "found_valid",
        "not_found",
        "total"
      ]
    },
    "created_at": {
      "format": "date-time",
      "type": "string"
    },
    "credits_needed": {
      "type": "number"
    },
    "decision_maker_category": {
      "type": [
        "string",
        "null"
      ]
    },
    "file_name": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "paid": {
      "type": "boolean"
    },
    "started_running_at": {
      "format": "date-time",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "status",
    "counts",
    "created_at",
    "credits_needed",
    "decision_maker_category",
    "file_name",
    "id",
    "paid",
    "started_running_at"
  ]
}