A year of maintenance as a matrix.
Capacity
A year of maintenance as a matrix.
One row per plan per site, with its weeks as an array of cells — each week’s jobs and man-minutes and whether they are raised, projected from a calendar trigger, or extrapolated from a meter. Plans that fire on a condition come back with no weeks at all, because they have none. Order by row_kind, plan_id, site_id to page it.

