{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/larvabot-com/json-schema/larvabot-com-get-leads-response-schema.json",
  "title": "GetLeadsResponse",
  "x-generated": "2026-11-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/larvabot-com-openapi-generated.yml#/components/schemas/GetLeadsResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "number",
      "description": "Lead ID"
    },
    "name": {
      "type": "string",
      "description": "Lead name"
    },
    "email": {
      "type": "string",
      "description": "Contact email"
    },
    "company": {
      "type": "string",
      "description": "Company name"
    },
    "website": {
      "type": "string",
      "description": "Company website"
    },
    "domain": {
      "type": "string",
      "description": "Company domain"
    },
    "page_url": {
      "type": "string",
      "description": "Page that made them worth contacting"
    },
    "contact_form_url": {
      "type": "string",
      "description": "Contact form URL"
    },
    "socials": {
      "type": "string",
      "description": "Social links (comma‑separated)"
    },
    "offering": {
      "type": "string",
      "description": "What they sell"
    },
    "location": {
      "type": "string",
      "description": "Location"
    },
    "fit_score": {
      "type": "number",
      "description": "Fit score 0‑100"
    },
    "fit_reason": {
      "type": "string",
      "description": "Why they fit"
    },
    "stage": {
      "type": "string",
      "description": "Lead stage (qualified, contact, drafted, approved, sent, replied, linked)"
    },
    "project": {
      "type": "string",
      "description": "Project name"
    },
    "project_domain": {
      "type": "string",
      "description": "Project domain"
    },
    "campaign": {
      "type": "string",
      "description": "Campaign name"
    },
    "found_at": {
      "type": "string",
      "description": "ISO‑8601 timestamp when found"
    },
    "contacted_at": {
      "type": "string",
      "description": "ISO‑8601 timestamp when contacted"
    },
    "replied_at": {
      "type": "string",
      "description": "ISO‑8601 timestamp when replied"
    },
    "dashboard_url": {
      "type": "string",
      "description": "URL to lead in Larvabot dashboard"
    }
  }
}