{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/allianz-docs/json-schema/allianz-docs-lead-referral-request-schema.json",
  "title": "LeadReferralRequest",
  "description": "Request body for submitting an instant lead referral to Allianz",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/allianz-docs-leads-api-openapi.yml#/components/schemas/LeadReferralRequest",
  "type": "object",
  "required": [
    "customer_name",
    "customer_email",
    "product_type"
  ],
  "properties": {
    "customer_name": {
      "type": "string",
      "description": "Full name of the customer being referred"
    },
    "customer_email": {
      "type": "string",
      "format": "email",
      "description": "Email address of the customer being referred"
    },
    "customer_phone": {
      "type": "string",
      "description": "Phone number of the customer being referred"
    },
    "product_type": {
      "type": "string",
      "description": "Insurance product the customer is interested in",
      "enum": [
        "home",
        "landlord",
        "car"
      ]
    },
    "notes": {
      "type": "string",
      "description": "Additional notes about the customer's insurance needs"
    }
  }
}