statshawk
ReferenceData modelContests & box scores

PhaseLine

One phase's stat block: the phase name plus its measures — stored **base** columns AND the **derived** measures the registry formulas compute (base as JSON integers, derived as JSON floats).

object
measuresobjectrequired

Base measures (integers) merged with derived measures (floats), keyed by measure id. An undefined derived rate (e.g. `avg` with zero at-bats) is absent, never a fabricated `0`. A free-form object: the measure key set is phase- and sport-dependent (the typed per-sport `#[stat_line]` schemas document the full key universe).

phasestringrequired

The phase namespace (`"batting"`, `"pitching"`, `"basketball_player_game"`, …).