Skip to content

Coach item — week_strip

Block type: week_strip · Domain: coach-content

Coach items[] discriminator 'week_strip'. Horizontal week-pip strip used in Coach overview layouts.

Fields

Field Type Required Allowed values Notes
id string no minLength 1
weeks array yes Ordered list of week labels rendered along the strip. — minItems 1
active_index integer yes Zero-based index into weeks marking the currently active week. The hook does NOT enforce active_index < weeks.length — that bound is checked at render time so authors can pre-publish 'future weeks light up later' content. — min 0

Example

{
  "type": "week_strip",
  "weeks": [
    "Week 1",
    "Week 2",
    "Week 3"
  ],
  "active_index": 0
}