coding-lock schema (v0.1)
The coding-lock file is validated by the normative JSON Schema published at its canonical URL:
- $id: https://contextbrew.dev/schemas/coding-lock/v0.1/schema.json
- Format version:
0.1.0 - Schema dialect: draft-07
- Validate with:
ctx schema coding-lockor any JSON Schema validator (ajv, VS Code, …)
Root object: CodingLock
Section titled “Root object: CodingLock”Per-target selected-input lock — validated selection, NOT adoption.
| Property | Type | Required | Description |
|---|---|---|---|
format | "cb.coding-lock/v1" | yes | |
schemaVersion | "0.1.0" | yes | |
targetId | string | yes | |
selection | object | yes | |
changeIds | | yes | Never the containing commit's own hash (GIT-01). |
Definitions
Section titled “Definitions”Digest
Section titled “Digest”Tagged sha256 digest, sha256: + 64 lowercase hex — the frozen profile.
Type: string
UtcIso
Section titled “UtcIso”UTC ISO-8601 timestamp string (YYYY-MM-DDTHH:MM:SS.sssZ).
Type: string
See the schemas overview for the versioning policy and how these files are generated and kept in sync.
