{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BenefitElection",
  "title": "BenefitElection",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "example": "abc123"
    },
    "descriptor": {
      "type": "string",
      "example": "example_value"
    },
    "benefitPlan": {
      "$ref": "#/components/schemas/ResourceReference"
    },
    "coverageLevel": {
      "$ref": "#/components/schemas/ResourceReference"
    },
    "electionStatus": {
      "type": "string",
      "description": "The status of the election (e.g., Elected, Waived).",
      "example": "example_value"
    },
    "coverageBeginDate": {
      "type": "string",
      "format": "date",
      "example": "2026-01-15"
    },
    "coverageEndDate": {
      "type": "string",
      "format": "date",
      "example": "2026-01-15"
    },
    "employeeCost": {
      "type": "number",
      "format": "double",
      "example": 42.5
    },
    "employerCost": {
      "type": "number",
      "format": "double",
      "example": 42.5
    },
    "currency": {
      "$ref": "#/components/schemas/ResourceReference"
    },
    "dependents": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ResourceReference"
      },
      "example": []
    },
    "beneficiaries": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ResourceReference"
      },
      "example": []
    }
  }
}