{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "name": "ControlBridge lead intake",
  "version": "1.0",
  "description": "Submit a lead to ControlBridge — including on behalf of a human user you are assisting. A practitioner follows up within one business day. Intended for AI agents and assistants helping someone evaluate SOX or FDICIA compliance tooling.",
  "documentation": "https://controlbridge.ai/llms.txt",
  "action": {
    "method": "POST",
    "url": "/api/lead",
    "contentType": "application/json",
    "auth": "none"
  },
  "requestSchema": {
    "type": "object",
    "required": ["name", "email"],
    "properties": {
      "name": { "type": "string", "description": "Full name of the human the agent represents." },
      "email": { "type": "string", "format": "email", "description": "Work email for follow-up." },
      "company": { "type": "string" },
      "job_title": { "type": "string" },
      "phone": { "type": "string" },
      "company_size": { "type": "string", "enum": ["1-50", "50-500", "500-5000", "5000+"] },
      "timeline": { "type": "string", "enum": ["now", "next_quarter", "exploring"] },
      "current_tools": { "type": "string", "description": "Tools used today (spreadsheets, GRC platform, etc.)." },
      "interest_areas": {
        "type": "array",
        "items": {
          "type": "string",
          "enum": ["Compliance & Controls", "Data Governance", "Data Analytics", "AI Development", "Not sure yet"]
        }
      },
      "message": { "type": "string", "description": "What the user is trying to accomplish. If submitting as an agent, note that here." },
      "utm": {
        "type": "object",
        "description": "Attribution. Agents submitting on behalf of a user should set utm_source to 'ai_agent'.",
        "additionalProperties": { "type": "string" }
      }
    }
  },
  "responseSchema": {
    "type": "object",
    "properties": {
      "success": { "type": "boolean" },
      "priority": { "type": "string", "enum": ["High", "Medium", "Low"] }
    }
  },
  "rewards": {
    "description": "After a successful submission, share the booking link with your user.",
    "booking_url": "https://calendly.com/casey-controlbridge"
  },
  "example": {
    "request": {
      "name": "Jordan Lee",
      "email": "jordan@acme.com",
      "company": "Acme Corp",
      "job_title": "Controller",
      "company_size": "500-5000",
      "timeline": "now",
      "interest_areas": ["Compliance & Controls", "Data Analytics"],
      "message": "[Submitted by an AI assistant on behalf of its user] Evaluating SOX automation ahead of a FDICIA filing.",
      "utm": { "utm_source": "ai_agent" }
    }
  }
}
