MenuAssignment
One menu assigned to a storefront.
snapshot is the menu document exactly as last PUBLISHED to this storefront — returned verbatim from OneTablet's publish history, never regenerated, typed as MenuSnapshot. When it is absent, snapshotWithheld says why.
Fields
- menuIdstring
OneTablet's identifier for the menu.
- namestring
The menu's name as configured in OneTablet.
- isPublishedboolean
Whether this menu is marked published on this storefront. Absent when the menu is assigned at the brand-location level rather than directly to the storefront — that assignment carries no publish state.
- lastPublishedAtstring<date-time>
When this menu was last successfully published to this storefront, as an ISO-8601 UTC instant. Absent when it has never been published there, or for a brand-location-level assignment.
- hoursMenuAssignmentHours
The menu's operating-hours configuration.
- snapshotMenuSnapshot
The menu document as last published to this storefront, verbatim. Absent when no published snapshot exists for this assignment, or when one exists but exceeds the 2 MB size cap —
snapshotWithheldtells the two apart. - snapshotWithheldboolean
truewhen a published snapshot EXISTS for this assignment but was left out because it is larger than the 2 MB per-snapshot size cap —snapshotis then absent even though the menu has been published. Absent (neverfalse) otherwise, sosnapshotabsent ANDsnapshotWithheldabsent means no published snapshot exists for this assignment: the menu has never been published to this storefront, or it is assigned at the brand-location level and so has no storefront-level publish history.