25 lines
477 B
Go
25 lines
477 B
Go
package render
|
|
|
|
// Transcript is the render-normalized transcript model used by renderers.
|
|
type Transcript struct {
|
|
Schema string
|
|
Metadata Metadata
|
|
Segments []Segment
|
|
}
|
|
|
|
// Metadata is the render-relevant artifact metadata.
|
|
type Metadata struct {
|
|
Application string
|
|
Version string
|
|
}
|
|
|
|
// Segment is a normalized render segment.
|
|
type Segment struct {
|
|
ID int
|
|
Start float64
|
|
End float64
|
|
Speaker string
|
|
Text string
|
|
Categories []string
|
|
}
|