Modules / ghcr.io / i2y

ritsu-fmla

FMLA leave as 29 CFR 825 states it: who is eligible, the notices and their deadlines, the leave left, and who may read the medical records

  • Signed by i2y/ritsu
  • Digests match
  • Passes ritsu check
  • 4 data sources pinned by SHA-256
  • Published 2026-11-05
  • Needs ritsu 0.41.0 or later
  • Source

What it holds

NameWhat it isKnown from the dataTry it, or read its code
business_daysMonday to Friday, less the federal holidays of the United States. 29 CFR 825 does not define a business day: an employer's own may differ2021-01-01 to 2030-12-31
fmla_deadlinesThe last day for the notices of FMLA leave: five business days for the eligibility and the designation notice, 15 calendar days for a certification. From 29 CFR 825.300(b), 825.300(d) and 825.305(b)2021-01-01 to 2030-12-31
fmla_eligibilityWhether an employee of a covered employer is eligible for FMLA leave, and the first reason why not. Transcribed from 29 CFR 825.110(a)
fmla_entitlementHow many workweeks of FMLA leave a reason gives in a 12-month period, and how many minutes they are of an employee's own workweek. Transcribed from 29 CFR 825.200 and 825.205(b)
fmla_requestAn employee asks for FMLA leave: the eligibility notice, the certification, the designation, and the leave held in the book until it is taken. From 29 CFR 825.300 and 825.305
fmla_leaveThe FMLA leave an employee has left in a 12-month period, in minutes: it starts at what the employee is entitled to, and a designation holds what will be taken
fmla_recordsWho may learn what from the medical records of FMLA leave, and who may contact the health care provider. From 29 CFR 825.500(g) and 825.307(a)

The Family and Medical Leave Act of the United States as its regulations, 29 CFR Part 825, state it, in five of the languages of ritsu. Each file answers one part of the same leave, and ritsu check holds them together: the flow calls the rules, the dates and the book with the types they declare.

FileLanguageWhat it holdsSections
fmla_eligibility.rulerulecWhether an employee is eligible, and the first reason why not825.110(a)
fmla_entitlement.rulerulecHow many workweeks a reason gives, and how many minutes they are of the employee's own workweek825.200, 825.205(b)
business_days.cal, fmla_deadlines.calkoyomiThe last day for each notice and for a certification, on the federal holidays of the module holidays825.300(b), (d), 825.305(b)
fmla_leave.bookchoboThe leave an employee has left in a 12-month period, never below zero, with a designation held until the leave is taken825.200, 825.205
fmla_request.flowdandoriFrom a request to the end of the leave: the notices an employer owes, the certification, the designation825.300, 825.305
fmla_records.gatesekishoWho may learn what from the medical records, and who may contact the health care provider825.500(g), 825.307(a)

The files transcribe the sections as of 2026-01-01, to be read against them. They are not legal advice.

What is a reading made here

A comment in each file says where a section leaves something open and how it was decided:

  • A business day is Monday to Friday less the federal holidays. Part 825 does not define it, and an employer's own may differ.
  • The deadlines are days and not moments. The sections name no hour, and an employer may be in any of the country's time zones. They are the days when no "extenuating circumstances" apply.
  • The flow asks for a certification on the day the notice is given, the first of the days 825.305(b) allows.
  • 825.500(g) does not say who keeps the file. In the gate, the leave administrator and the human resources professional read it.

What it leaves out

  • Whether an employer is covered (825.104) and whether a condition is a serious health condition (825.113).
  • Airline flight crew employees (825.801 to 825.803), employees who work outside the United States (825.105(b)), and the special rules for employees of schools (825.600 to 825.604).
  • Spouses who work for the same employer and share a limit (825.120(a)(3), 825.127(f)).
  • The combined total of 825.200(g). The book holds one limit for a period, and an employer names the single 12-month period of 825.200(f), for a covered servicemember's care, as a period of its own.
  • The rolling 12-month period of 825.200(b)(4), which moves every day and needs another shape of book.
  • The substitution of paid leave (825.207), and the leave laws of the states.
  • What an employee may see of the employee's own file, which these paragraphs do not say.

Use

Add the module, add the line that checks the signatures of this module and of holidays to your ritsu.mod, and fetch them:

$ ritsu mod add fmla ghcr.io/i2y/ritsu-fmla@1.0.0
signature "ghcr.io/i2y/ritsu-fmla" by matching "^https://github[.]com/i2y/ritsu/" issuer "https://token.actions.githubusercontent.com"
signature "ghcr.io/i2y/ritsu-holidays" by matching "^https://github[.]com/i2y/ritsu/" issuer "https://token.actions.githubusercontent.com"
$ ritsu mod fetch

Then read its files from your own:

use rule eligibility from "@fmla/fmla_eligibility.rule"
use dates deadlines from "@fmla/fmla_deadlines.cal"
use book leave from "@fmla/fmla_leave.book"

The flow's tasks that go through a queue run on Temporal, and ritsu gen --target temporal-typescript, temporal-python or temporal-go writes it for one of them. The gate's policies are written as Cedar by ritsu gen --target cedar.

Sources

sources/law/ holds the sections as the eCFR served them. The rules pin the three they read by their SHA-256, and rulec source outdated <file> asks the eCFR whether a later amendment touched them. A file of koyomi, chobo, dandori or sekisho has no line that pins a section of the eCFR: its comments name the sections, and the copies beside it are what they were read from. THIRD_PARTY_NOTICES.md lists them.

The files are under the MIT License or the Apache License, version 2.0, at your option, as ritsu is.

Versions

A version that follows a change in the law raises the minor version. A version that renames a file of the languages or removes one, or changes what a file takes or gives, raises the major version.

1 calendar, 1 date computation, 2 rules, 1 workflow, 1 book, 1 gate

Each page is drawn by its language from the file at this version.

business_days

business_days.calcalendar

Monday to Friday, less the federal holidays of the United States. 29 CFR 825 does not define a business day: an employer's own may differ

Knows
2021-01-01 to 2030-12-31
Table
110 rows of @holidays/us/data/federal_holidays.csv
Pinned at
sha256:194cb4a1ff46ed4b
Reads
federal_holidays

fmla_deadlines

fmla_deadlines.caldate computation

The last day for the notices of FMLA leave: five business days for the eligibility and the designation notice, 15 calendar days for a certification. From 29 CFR 825.300(b), 825.300(d) and 825.305(b)

Knows
2021-01-01 to 2030-12-31
Table
110 rows of @holidays/us/data/federal_holidays.csv
Pinned at
sha256:194cb4a1ff46ed4b
Reads
federal_holidays

fmla_eligibility

fmla_eligibility.rulerule

Whether an employee of a covered employer is eligible for FMLA leave, and the first reason why not. Transcribed from 29 CFR 825.110(a)

Inputs
months_employed (0 to 720); hours_of_service (0 to 8,784); employees_within_75_miles (0 to 10,000,000)
Outputs
eligible; why_not (not_applicable, under_12_months, under_1250_hours, under_50_employees)
Source
29 CFR 825, as of 2026-01-01

fmla_entitlement

fmla_entitlement.rulerule

How many workweeks of FMLA leave a reason gives in a 12-month period, and how many minutes they are of an employee's own workweek. Transcribed from 29 CFR 825.200 and 825.205(b)

Inputs
reason (birth, placement, care_for_family, own_condition, qualifying_exigency, servicemember_care); usual_week (1 to 10,080 min)
Outputs
workweeks (12 to 26); entitled (12 to 262,080 min)
Source
29 CFR 825, as of 2026-01-01

fmla_request

fmla_request.flowworkflow

An employee asks for FMLA leave: the eligibility notice, the certification, the designation, and the leave held in the book until it is taken. From 29 CFR 825.300 and 825.305

fmla_leave

fmla_leave.bookbook

The FMLA leave an employee has left in a 12-month period, in minutes: it starts at what the employee is entitled to, and a designation holds what will be taken

Accounts
leave entitled taken
Transfers
entitle designate

fmla_records

fmla_records.gategate

Who may learn what from the medical records of FMLA leave, and who may contact the health care provider. From 29 CFR 825.500(g) and 825.307(a)

Roles
leave_administrator human_resources_professional management_official health_care_provider supervisor first_aid government_official
Actions
read_medical_file read_restrictions read_emergency_condition read_relevant_information contact_provider

Try

1.0.0 is the oldest version here

When a new version is published, this tab says which inputs get a different answer, which days become closed or open, and which days the calendar newly knows.

1 version

VersionPublishedDigestFilesChecked
1.0.0 latest2026-11-05sha256:8d1ec3cccd6d19its digests and its signature; passes ritsu check

Calendars

Date computations

Rules

Workflows

Books

Gates

Data and other files

About the module