Plan schema
The plan schema defines the artifact produced by ciz plan and consumed by ciz run.
Top-level fields
| Field | Meaning |
|---|---|
apiVersion | ciz.io/v1 or legacy liteci.io/v1 |
kind | Always Plan |
metadata | Name, description, namespace, generation timestamp, checksum |
execution | Concurrency, fail-fast behavior, and state-file name |
spec.jobBindings | Optional metadata about bound jobs |
jobs | The concrete execution DAG |
Job fields
Each job can include:
idnamecomponentenvironmentcompositionjobRegistryjobrunsOnpathdependsOntimeoutretriesenvlabelsconfig
Step fields
Each step must declare id and one of:
runuse
Steps can also declare:
namephaseorderwithenvshellworking-directorytimeoutretryonFailure
Minimal example
{
"apiVersion": "ciz.io/v1",
"kind": "Plan",
"metadata": {
"name": "demo",
"generatedAt": "2026-01-01T00:00:00Z",
"checksum": "sha256-0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
},
"execution": {
"concurrency": 4,
"failFast": true,
"stateFile": ".ciz-state.json"
},
"jobs": []
}
Treat the plan as an immutable artifact. Do not hand-edit it unless you are debugging the runtime itself.