mostlyright.core.schemas.earnings_transcript
Earnings-transcript schema (schema.finance.transcript.v1).
One row per transcript segment of an earnings call. Pairs with
schema.finance.fact.v1 (earnings_fact.py) — the fact schema is the
counted-mention ledger; this is the underlying segmented transcript the counter
runs over.
Reuses the enum constants (SEGMENT_VALUES / SPEAKER_ROLE_VALUES /
DELIVERY_VALUES) from earnings_fact as the SINGLE source of truth — they
are NOT redefined here (codegen-drift safety).
delivery vs source. delivery (enum {live, hosted}, default
"live") is INFORMATIONAL LINEAGE ONLY; the per-row source column is the
validator-required source-identity overlay. Live STT and the hosted feed share
one source identity ("earnings_call") — same upstream public call audio.
Streaming fields (additive/optional). is_final /
spoken_at / stream_seq are OPTIONAL so a batch (post-call) row is
unchanged — a batch row has is_final defaulting True, no stream_seq, and
parses exactly as before the streaming delta. is_final denotes STT-segment
finality ONLY (partial vs final transcript text); it NEVER gates
settlement authority.
Classes
Section titled “Classes”EarningsTranscriptSchema() | schema.finance.transcript.v1 — one row per transcript segment. |
|---|
class mostlyright.core.schemas.earnings_transcript.EarningsTranscriptSchema
Section titled “class mostlyright.core.schemas.earnings_transcript.EarningsTranscriptSchema”Bases: Schema
schema.finance.transcript.v1 — one row per transcript segment.