{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/aflac/refs/heads/main/json-schema/enterprise-connect-enrollment-schema.json", "title": "Enrollment", "description": "A supplemental insurance enrollment record for an employee.", "type": "object", "properties": { "enrollment_id": { "type": "string", "description": "Unique enrollment identifier.", "example": "ENR-500123" }, "employee_id": { "type": "string", "description": "Employee identifier.", "example": "EMP-789012" }, "group_id": { "type": "string", "description": "Employer group identifier.", "example": "GRP-123456" }, "policy_id": { "type": "string", "description": "Associated policy identifier assigned upon enrollment.", "example": "POL-987654" }, "product_type": { "type": "string", "description": "Type of supplemental insurance product.", "enum": [ "accident", "critical_illness", "cancer", "hospital_indemnity", "disability", "life" ], "example": "accident" }, "coverage_level": { "type": "string", "description": "Coverage level selected by the employee.", "enum": [ "employee_only", "employee_spouse", "employee_children", "family" ], "example": "family" }, "status": { "type": "string", "description": "Current enrollment status.", "enum": [ "active", "pending", "terminated" ], "example": "active" }, "effective_date": { "type": "string", "format": "date", "description": "Date the coverage became effective.", "example": "2025-01-01" }, "termination_date": { "type": "string", "format": "date", "description": "Date the coverage was terminated, if applicable.", "example": "2025-12-31" }, "monthly_premium": { "type": "number", "description": "Monthly premium amount in USD.", "example": 18.5 }, "created_at": { "type": "string", "format": "date-time", "description": "Timestamp when the enrollment was created.", "example": "2024-11-01T10:00:00Z" }, "updated_at": { "type": "string", "format": "date-time", "description": "Timestamp when the enrollment was last updated.", "example": "2025-01-01T00:00:00Z" } } }