JSON Preview (example)
{
"id": "WeekendOff_MinTwo",
"name": "Minimum Two Weekends Off Per Month",
"type": "hard",
"group": "Fairness",
"description": "At least two weekends off per month for each employee.",
"bounds": {"min_weekends_off": 2, "period": "month"},
"weight": null,
"priority": 90,
"template": "We broke {rule} by {amount} because...",
"owner": "Workforce Policy Team",
"version": "1.0",
"effective_date": "2025-01-01",
"unit": "days",
"jurisdiction": "Union CBA 2024 §3.2",
"tags": ["fairness","morale"],
"deprecated": false,
"test_cases": ["TC_001","TC_014"]
}
Hook this preview up with JavaScript to live-render from the form.