{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/anymailfinder-com/json-schema/anymailfinder-com-api51-geo-lead-create-body-dto-schema.json",
  "title": "Api51GeoLeadCreateBodyDto",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/anymailfinder-com-openapi.json#/components/schemas/Api51GeoLeadCreateBodyDto",
  "type": "object",
  "properties": {
    "file_name": {
      "type": "string",
      "description": "A label to identify the geo lead search."
    },
    "find_company_emails": {
      "type": "boolean",
      "description": "Whether to search for company emails. If false, only decision maker emails will be searched. Defaults to true."
    },
    "find_decision_maker_categories": {
      "description": "Decision maker categories to search for. If not provided, defaults to [\"ceo\"]. If empty array [], no decision maker search will be performed. Valid categories: \"ceo\", \"engineering\", \"finance\", \"hr\", \"it\", \"logistics\", \"marketing\", \"operations\", \"buyer\", \"sales\".",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "latitude": {
      "type": "number",
      "minimum": -90,
      "maximum": 90,
      "description": "The latitude coordinate for the search center point."
    },
    "longitude": {
      "type": "number",
      "minimum": -180,
      "maximum": 180,
      "description": "The longitude coordinate for the search center point."
    },
    "query": {
      "type": "string",
      "description": "The search query to find businesses or locations within the specified radius."
    },
    "radius_km": {
      "type": "number",
      "minimum": 1,
      "maximum": 25,
      "description": "The search radius in km from the center point."
    },
    "result_limit": {
      "type": [
        "number",
        "null"
      ],
      "minimum": 1,
      "description": "Optional limit on the number of leads to extract. If specified, the extraction will stop once this limit is reached."
    }
  },
  "required": [
    "find_company_emails",
    "find_decision_maker_categories",
    "latitude",
    "longitude",
    "query",
    "radius_km"
  ]
}