statshawk
ReferenceData modelPer-sport stat lines

BaseballLineupLine

A baseball appearance's as-played lineup facts: `batting_slot`/`batting_entry` decode MLB's 3-digit wire `battingOrder` code at the adapter boundary (never stored raw) and are `None` together for a player with no batting order at all (e.g. an NL pitcher with no DH), who may still carry a `position`.

object
batting_entryinteger,null<int32>optional

Substitution entry order within the slot (0 = starter); `None` iff `batting_slot` is `None`.

batting_slotinteger,null<int32>optional

1-9 lineup slot; `None` when the person had no batting order.

positionone ofoptional
one of
null