{
  "name": "Lead",
  "type": "object",
  "properties": {
    "full_name": {
      "type": "string",
      "description": "Full name of the lead"
    },
    "email": {
      "type": "string",
      "description": "Email address"
    },
    "phone": {
      "type": "string",
      "description": "Phone number"
    },
    "zip_code": {
      "type": "string",
      "description": "Postcode of the property"
    },
    "address_line": {
      "type": "string",
      "description": "Address line of the property"
    },
    "town": {
      "type": "string",
      "description": "Town or city of the property"
    },
    "property_type": {
      "type": "string",
      "enum": [
        "single_family",
        "multi_family",
        "commercial",
        "townhome"
      ],
      "description": "Type of property"
    },
    "roof_age": {
      "type": "string",
      "enum": [
        "0-5",
        "5-10",
        "10-15",
        "15-20",
        "20+",
        "not_sure"
      ],
      "description": "Age of roof in years"
    },
    "monthly_bill": {
      "type": "number",
      "description": "Average monthly electricity bill"
    },
    "estimated_savings": {
      "type": "number",
      "description": "Estimated monthly savings"
    },
    "panel_count": {
      "type": "number",
      "description": "Estimated number of panels needed"
    },
    "status": {
      "type": "string",
      "enum": [
        "new",
        "contacted",
        "qualified",
        "converted",
        "lost"
      ],
      "default": "new",
      "description": "Lead status"
    },
    "notes": {
      "type": "string",
      "description": "Additional notes"
    }
  },
  "required": [
    "full_name",
    "email",
    "phone",
    "zip_code"
  ]
}