{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/easyemailverification-com/json-schema/easyemailverification-com-bulk-job-status-schema.json",
  "title": "BulkJobStatus",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/easyemailverification-com-openapi.json#/components/schemas/BulkJobStatus",
  "type": "object",
  "required": [
    "list_id",
    "status",
    "progress"
  ],
  "properties": {
    "list_id": {
      "type": "string"
    },
    "status": {
      "$ref": "#/$defs/BulkJobStatusValue"
    },
    "progress": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100,
      "description": "Percentage processed."
    },
    "started_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Upload time."
    },
    "estimated_finish": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Completion time once the job is completed; null before that."
    },
    "totals": {
      "type": [
        "object",
        "null"
      ],
      "description": "Counters; null before processing starts.",
      "properties": {
        "total": {
          "type": "integer",
          "format": "int64"
        },
        "processed": {
          "type": "integer",
          "format": "int64"
        },
        "valid": {
          "type": "integer",
          "format": "int64"
        },
        "invalid": {
          "type": "integer",
          "format": "int64"
        },
        "unknown": {
          "type": "integer",
          "format": "int64"
        }
      }
    }
  },
  "$defs": {
    "BulkJobStatusValue": {
      "type": "string",
      "enum": [
        "queued",
        "processing",
        "completed",
        "failed",
        "deleted",
        "not_enough_credits",
        "unknown"
      ],
      "description": "`not_enough_credits`: processing stopped because the account ran out of credits.\n"
    }
  }
}