statshawk
ReferenceData modelShared primitives

SourceInjuryHistory

One source's injury history for a person: its raw attached events (in that source's semantic order — see [`sort_source_events`]), the stints derived from them, and the disclosure metadata that qualifies an absence of events (coverage window + source-wide unattached count).

object
covered_fromstring,null<date-time>optional

Half-open coverage window. Absent = this source has never synced; EVERYTHING is unknown for it.

covered_throughstring,null<date-time>optional
eventsInjuryEventView[]required

Raw attached events, in this source's semantic order (never storage order — see [`sort_source_events`]).

InjuryEventView
changed_fields
arraynulloptional
detail
stringnulloptional
effective_date
string,null<date>optional
il_tier
stringnulloptional
injury_type
null | InjuryTypeoptional
observed_at
string<date-time>
resolution_date
string,null<date>optional
return_date
string,null<date>optional
source_event_id
stringnulloptional
source_reported_at
string,null<date-time>optional
status
null | InjuryStatusoptional
intervalsDerivedInterval[]required

Derived stints — per-source only, never cross-source.

DerivedInterval
end
string,null<date>optional
il_tier
stringnulloptional
injury_type
null | InjuryTypeoptional
source
Source
start
string<date>
start_reported_at
string,null<date-time>optional
status
null | InjuryStatusoptional
sourceSourcerequired
Source
espnnba_statsmlb_statskbo
unattached_eventsinteger<int64>required

Source-wide count of events not yet attached to any person — absence of events for THIS person is qualified by this figure.