{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/anymailfinder-com/json-schema/anymailfinder-com-api5-geo-lead-dto-schema.json",
  "title": "Api5GeoLeadDto",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/anymailfinder-com-openapi.json#/components/schemas/Api5GeoLeadDto",
  "type": "object",
  "properties": {
    "status": {
      "enum": [
        "on_deck",
        "queued",
        "running",
        "paused",
        "completed",
        "deleted",
        "extraction_queued",
        "extraction_running"
      ],
      "type": "string",
      "description": "The current status of the GeoLead search:<br />\n    - \"extraction_queued\": The search for companies matching the specified criteria is queued and will start soon.<br />\n    - \"extraction_running\": The search for companies is in progress.<br />\n    - \"queued\": The search for emails of the found companies is queued and will start soon.<br />\n    - \"running\": The search for emails of the found companies is in progress.<br />\n    - \"paused\": The GeoLead search has been temporarily paused.<br />\n    - \"completed\": The GeoLead search has finished successfully.<br />\n    - \"failed\": The GeoLead search has failed. This indicates that an error occurred during processing and the operation could not complete."
    },
    "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"
    },
    "file_name": {
      "type": "string"
    },
    "find_company_emails": {
      "type": "boolean"
    },
    "find_decision_maker_categories": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "id": {
      "type": "string"
    },
    "latitude": {
      "type": "number"
    },
    "longitude": {
      "type": "number"
    },
    "paid": {
      "type": "boolean"
    },
    "query": {
      "type": "string"
    },
    "radius_km": {
      "type": "number"
    },
    "result_limit": {
      "type": [
        "number",
        "null"
      ]
    },
    "started_running_at": {
      "format": "date-time",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "status",
    "counts",
    "created_at",
    "credits_needed",
    "file_name",
    "find_company_emails",
    "find_decision_maker_categories",
    "id",
    "latitude",
    "longitude",
    "paid",
    "query",
    "radius_km",
    "started_running_at"
  ]
}