calendar_data.json — schema version 1.0.0

PERIOD SELECTION
  Civil2027 scene: civil_days, holy_days_2027, periods_2027,
                  feast_starts_2027, month_ranges_2027, civil_year.
  Full184B.E. scene: badi_days_184, holy_days_184, periods_184,
                    feast_starts_184, month_ranges_184, badi_year_184.

DAY ROWS — civil_days / badi_days_184
  iso: Gregorian daylight date, YYYY-MM-DD.
  weekday_iso: Monday=1 … Sunday=7.
  weekday_sun0: Sunday=0 … Saturday=6.
  weekday_name: English Gregorian weekday.
  civil_year, civil_month, civil_day: Gregorian integers.
  badi_year:183 or184. badi_year_day:1 …365.
  badi_month:1 …19, or null for Ayyám-i-Há.
  badi_month_id: stable ASCII slug, or ayyam_i_ha.
  badi_month_name: Unicode NFC display name.
  badi_day:1 …19; during Ayyám-i-Há,1 …4.
  badi_label: complete display date including B.E. year.
  intercalary:boolean. intercalary_day:1 …4 or null.
  fasting:boolean; true only for ‘Alá’, with the daily sunrise/sunset rule.
  month_start:boolean. feast_id: month-start event ID or null.
  holy_day_ids:list of holy-day or observance IDs (empty otherwise).
  work_suspended:boolean.
  classes:list from ordinary_day,intercalary,fast,ridvan,month_start,
          holy_day,observance,work_suspended.
  starts_at_sunset_on: Gregorian date of preceding local sunset.
  ends_at_sunset_on: equals iso.
  source_ids: references to sources[].id.

MONTHS / MONTH RANGES
  months:19 rows number,id,name,meaning,days=19,source_ids.
  month_ranges_183/184: corresponding full-year rows, adding year,badi_year,
       start,end,inclusive and sunset fields.
  month_ranges_2027:20 Badíʿ month ranges that intersect civil2027.
       Original full start/end retained. view_start/view_end are clipped
       to civil2027; view_days and clipped_at_start/end make that explicit.
       Ayyám-i-Há is in periods, never an extra month row.

HOLY DAYS AND OBSERVANCES
  holy_days_2027 / holy_days_184 each have11 entries:
       nine kind=holy_day,work_suspended=true;
       two kind=observance,work_suspended=false.
  Fields:id,event_key,name,short,date,weekday_iso,weekday_name,
       badi_year,badi_month,badi_month_name,badi_day,badi_label,
       kind,is_holy_day,work_suspended,sunset fields,source_ids.
  date is the Gregorian daylight label. The preceding evening is supplied
       separately in starts_at_sunset_on.

FEAST STARTS
  feast_starts_2027 / feast_starts_184:19 rows each.
  Fields:id,name,date,badi_year,badi_month,badi_month_name,badi_day=1,
       meaning,kind=month_start,work_suspended,work_suspension_reason,
       sunset fields,source_ids.
  The Bahá Feast coincides with Naw-Rúz; its work-suspension flag is due to
       Naw-Rúz, not a general rule for all19 Feasts.

PERIODS
  periods_2027 / periods_184 are dictionaries with keys:
       ayyam_i_ha,fast,ridvan.
  Every value has id,name,kind,start,end,days,badi_year,inclusive=true,
       starts_at_sunset_on,ends_at_sunset_on,local_sunset=true,source_ids.
  fast adds badi_month=19,badi_month_name,daily_from=sunrise,
       daily_until=sunset,first_daily_fast_date,last_daily_fast_date.
  ridvan adds work_suspended_on_days:[1,9,12].

SOURCE / RULE METADATA
  sources:list of id,title,authority,url,type,claims,retrieved and optional
       locator,data_url,mirror_url,evidence_file.
  conventions: human-readable display, sunset, fasting, intercalary,
       Feast, period, transliteration and editorial-colour rules.
  source_conflicts: inspected conflicting cells and documented resolution.
  year_anchors: official183/184/185 starts,twins,intercalaries.

UI RULES
  Never treat a Gregorian midnight-to-midnight day as exactly equivalent
  to the complete Bahá’í sunset-to-sunset day. Labels refer to daylight.
  Never label Ayyám-i-Há as month20.
  Never use the civil2027 fast in the full184B.E. year view.
  Prefer “Holy days & observances” when all11 entries are displayed.
  The nine work-suspension flags are religious, not civil public holidays.
  The palette is editorial; no prescribed Bahá’í liturgical colours.
