director schema (v1.0)
The director file is validated by the normative JSON Schema published at its canonical URL:
- $id: https://contextbrew.dev/schemas/director/v1.0/schema.json
- Format version:
1.0.0 - Schema dialect: draft-07
- Validate with:
ctx schema directoror any JSON Schema validator (ajv, VS Code, …)
Root object: DirectorScript
Section titled “Root object: DirectorScript”| Property | Type | Required | Description |
|---|---|---|---|
schemaVersion | "1.0.0" | yes | |
id | string | yes | |
mode | "filmed" | "authored" | yes | Controller ruling (task 8): filmed (browser-driven) vs authored (pure random access). |
set | string | yes | |
fixture | string | yes | |
fps | number | yes | |
width | number | yes | |
height | number | yes | |
durationInFrames | number | yes | |
seed | string | yes | |
epoch | string | yes | |
beats | Record<string, number> | yes | |
actions | DirectorAction[] | yes | |
tracks | object | yes |
Definitions
Section titled “Definitions”DirectorAction
Section titled “DirectorAction”Type: object
See the schemas overview for the versioning policy and how these files are generated and kept in sync.
