Files
zarinpal-analytics-backend/docs/decisions/0010-limit-reporting-periods.md

1.1 KiB

ADR 0010: Limit MVP reporting periods

  • Status: Accepted
  • Date: 2026-08-20

Context

Earlier drafts included named Iranian holidays and analytical event windows. That scope adds calendar sourcing, versioning, UX distinctions, and analytics definitions that are not required for the challenge MVP.

Decision

Limit reporting periods to Tehran-local daily, weekly, Jalali-month, and Persian-season views. Remove named holidays, Nowruz-specific periods, public-holiday calendars, and generic event-window reporting from the current product and data model.

The reporting week follows the separately approved Saturday-through-Friday boundary in ADR 0012 and must not be inferred differently by the database, API, and frontend.

Consequences

  • No holiday/event entities, imported holiday snapshots, runtime calendar API, or holiday-specific UI are required.
  • A reporting-date dimension remains useful for deterministic Gregorian/Jalali conversion and consistent week, month, and season grouping.
  • Holiday/event analytics may return only through a future approved spec and ADR.