23 lines
1.8 KiB
Markdown
23 lines
1.8 KiB
Markdown
# Schema contracts
|
|
|
|
JSON Schema Draft 2020-12. The builder uses `jsonschema` with format checks and additional cross-file validation. Schemas are authoritative field contracts; edit and test them with the builder when adding capabilities.
|
|
|
|
| Schema | Validates |
|
|
| --- | --- |
|
|
| [repository](repository.schema.json) | Standard repository identity, discovery, rights, and retrieval manifest |
|
|
| [repository variables](repository-variables.schema.json) | Verified reusable identity, rights, profile, and workflow defaults |
|
|
| [content index](content-index.schema.json) | File-level documentation catalog, separate from generated media indexes |
|
|
| [intake](intake.schema.json) | Folder interview, selected sources, provenance, unknowns |
|
|
| [folder-export](folder-export.schema.json) | Local draft transcript, chunks, Q&A, and routing |
|
|
| [media](media.schema.json) | Source recording manifest |
|
|
| [plan](plan.schema.json) | Authored semantic plan and review record |
|
|
| [catalog](catalog.schema.json) | Collection release inputs |
|
|
| [transcript](transcript.schema.json) | Normalized timed cue export |
|
|
| [chunks](chunks.schema.json) | Semantic chunk export with citations |
|
|
| [qa](qa.schema.json) | Grounded Q&A export |
|
|
| [ai-index](ai-index.schema.json) | Collection discovery catalog |
|
|
|
|
The local-export schema accepts `draft` and `approved`; the approval verifier enforces the associated evidence and input bindings. State strings alone do not prove approval. The repository schemas are copied from the MIT AI-Ready Repository Template, retaining upstream identifiers.
|
|
|
|
`chapters.json` follows the external Podcast Namespace chapter format; `schema.jsonld` follows Schema.org. They are not covered by proprietary lookalike schemas here. External rich-result eligibility and public playback require separate published-site validation.
|