{ "_metadata": { "source": "Policy logic extracted from: test_policy_summary.md", "generator": "Policy Logic Extractor", "format": "json-rules-engine" }, "rules": [ { "name": "Paid Leave Eligibility for Full-Time Employees", "priority": 20, "conditions": { "all": [ { "fact": "employmentType", "operator": "equal", "value": "full-time" }, { "fact": "continuousEmploymentDays", "operator": "greaterThanInclusive", "value": 90 } ] }, "event": { "type": "eligible-for-paid-leave-benefits", "params": { "ruleId": "rule-001", "ruleName": "Paid Leave Eligibility for Full-Time Employees", "consequence": "eligible_for_paid_leave_benefits", "confidence": 0.97, "sourceDocument": "test_policy_summary.md", "sourceChunks": [ "Section 4", "Section 5: Approval Process", "chunk-30d93b4a8bfe", "Section 3", "chunk-0c4cd01f40fc", "chunk-4a011a25b5b4", "Section 1", "chunk-79f4cbb3146e" ] } } }, { "name": "Doctor's Note Requirement for Extended Sick Absence", "priority": 40, "conditions": { "all": [ { "fact": "consecutiveSickDaysAbsent", "operator": "greaterThan", "value": 3 } ] }, "event": { "type": "require-doctors-note", "params": { "ruleId": "rule-002", "ruleName": "Doctor's Note Requirement for Extended Sick Absence", "consequence": "require_doctors_note", "confidence": 0.97, "sourceDocument": "test_policy_summary.md", "sourceChunks": [ "Section 5: Approval Process", "Section 3", "chunk-0c4cd01f40fc", "Section 2", "chunk-4a011a25b5b4", "chunk-1e7725108564" ] } } }, { "name": "Annual Leave Carryover Cap Enforcement", "priority": 10, "conditions": { "all": [ { "fact": "unusedAnnualLeaveDays", "operator": "greaterThan", "value": 5 } ] }, "event": { "type": "cap-carryover-at-5-days-and-forfeit-excess", "params": { "ruleId": "rule-003", "ruleName": "Annual Leave Carryover Cap Enforcement", "consequence": "cap_carryover_at_5_days_and_forfeit_excess", "confidence": 0.79, "sourceDocument": "test_policy_summary.md", "sourceChunks": [ "chunk-1e7725108564", "Section 2" ] } } } ] }