The MealStack Schema 0.9.3 · Field set
Day
One day's record: what ran, what was eaten, when.
The record of one day: which type of day it was, which stack it ran on, the target it ran against, and every meal with when it was due, when it was eaten, and what it was when it was eaten. A logged meal is frozen at logging (day.meal.landed) so History says what was eaten even after the plan moves on. The record is what "protect the record" protects: it is never rewritten by a later change to the plan.
Fields
-
The calendar day as
YYYY-MM-DDin the day's own time zone. The document's identity.Pattern
^[0-9]{4}-[0-9]{2}-[0-9]{2}$Example
2026-09-16 -
The time zone the day ran in. A day keeps its zone when the phone moves, so a day in progress is not abandoned at a border.
Example
America/New_York -
Whether the day ran as a training day or a recovery day, after any override. Written
restfor a recovery day before MealStack 0.13; the app migrates its own stores once, on the first launch of 0.13.Values
trainingrecoveryExample
training -
The name of the stack of the rotation the day ran on, stamped at the first log and again if the person says otherwise that day. Absent on a single-stack plan.
Example
Rice Bowls -
Whether the day ran away from home, set by the zone or by hand.
Example
False -
How many meal slots the day ran on when the person set it for the day; absent when it was the plan's count. Counts meals only, never fuel.
Example
4 -
When training actually began, set by logging the session's fuel or by hand; the block around training moves with it.
Example
2026-09-16T18:12:00-04:00 -
The daily target as it stood when the day was logged.
-
The sum of every logged entry's
consumed, fuel included. Derived. -
Every slot the day had, logged or not, in the day's order.
-
The slot the entry is filed under, matching
meal.idin the plan.Example
train.m3 -
The time the app showed for the meal at the moment it was logged. History scores a meal's timing against this; fuel is not scored for timing.
Example
2026-09-16T12:30:00-04:00 -
When the meal was logged as eaten. Never in the future; absent when it was not eaten.
Example
2026-09-16T12:41:00-04:00 -
Whether the person skipped the meal on purpose.
Example
False -
How many minutes the meal was pushed by "not yet" before it was eaten or the day ended.
Example
30 -
The meal as it stood at the moment it was logged: name, portions or stated figures, anchor, code, kind. Written once, never rewritten.
-
The macros of the landed meal.
-
The phone's time zone when the meal was logged, which can differ from the day's.
Example
America/Chicago