{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/allianz-docs/json-schema/allianz-docs-lead-referral-response-schema.json",
  "title": "LeadReferralResponse",
  "description": "Confirmation of a submitted lead referral",
  "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/LeadReferralResponse",
  "type": "object",
  "properties": {
    "lead_id": {
      "type": "string",
      "description": "Unique identifier for the submitted lead"
    },
    "status": {
      "type": "string",
      "description": "Status of the lead submission",
      "enum": [
        "submitted",
        "assigned",
        "contacted"
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the lead was submitted"
    },
    "assigned_to": {
      "type": "string",
      "description": "Team or person the lead has been assigned to"
    }
  }
}