3.2 KiB
Transcript and Glossary Input Files
This document owns accepted input formats. Use the CLI reference for invocation and error exit semantics, operations for artifact handling, and output files for corrected-transcript serialization.
Transcript JSON Contract
Accepted top-level shapes are an array of segments or an object containing a
segments array. The array must contain at least one segment. Unknown object
fields are ignored by the current parser; an input envelope does not require a
schema/version marker.
| Segment field | Type and validation |
|---|---|
id |
Optional integer (or null) in the Go int range for the executable's architecture. Supplied IDs are compared exactly and must be unique. |
speaker |
Non-empty string |
start, end |
Numeric seconds, finite and non-negative; end must be at least start |
text |
Non-empty string |
categories |
Optional array of non-empty strings |
Supply explicit start and end times for meaningful timing. The current decoder uses zero for missing or null timestamps rather than enforcing their presence. String validation checks for empty values. Normalization can merge segments and reassign IDs, so source IDs need not match output IDs.
The tiny transcript is a complete copyable input. Invalid JSON, unsupported top-level shapes, empty transcripts, invalid field types, duplicate supplied IDs, and the validation failures above are rejected.
Glossary collections
Runtime glossary files supplied with --glossary-file PATH use the shared
glossary@0.2.0 contract from schemas distribution 2026.11.1, with marker
maximumdirect.glossary.v1. Audita bundles the selected schema and validates
completed inputs offline. The upstream schema
and semantics
define its fields and extensions. Full conformance includes the
ConfigKit v1.4.0 loading boundary.
schema_version: maximumdirect.glossary.v1
collections:
people:
entries:
- id: speaker
name: Mira Chen
category: person
aliases: [Mira]
Each path is relative to the invocation working directory. A file can hold one or many collections; repeated flags compose files in order. Native imports are resolved relative to their declaring file, and imported fragments can contribute to a completed envelope. All selected and imported paths are protected from output collisions. Loading does not select collections. Configure selections or use the CLI selection flags; empty collections are valid for inspection, while glossary correction needs at least one selected entry.
Audita no longer automatically loads glossary.yml or files in glossary/;
pass those paths explicitly if needed. Automatic prompt companions remain.
Collection extensions, including instruction, are data and do not become
prompt guidance. See configuration and composition,
examples, and the
v4.3 migration guide.