coding-change schema (v0.1)
The coding-change file is validated by the normative JSON Schema published at its canonical URL:
- $id: https://contextbrew.dev/schemas/coding-change/v0.1/schema.json
- Format version:
0.1.0 - Schema dialect: draft-07
- Validate with:
ctx schema coding-changeor any JSON Schema validator (ajv, VS Code, …)
Root object: CodingChange
Section titled “Root object: CodingChange”Generated change manifest — projection of authoritative records.
| Property | Type | Required | Description |
|---|---|---|---|
format | "cb.coding-change/v1" | yes | |
schemaVersion | "0.1.0" | yes | |
changeId | string | yes | |
definitionRevisionDigest | Digest | yes | |
sourcePinDigest | Digest | yes | |
operationIds | | yes | |
containingCommit | GitObjectId | null | yes | Attached AFTER the fact through reports; absent pre-commit. |
portableTargetRef | string | yes |
Definitions
Section titled “Definitions”Digest
Section titled “Digest”Tagged sha256 digest, sha256: + 64 lowercase hex — the frozen profile.
Type: string
GitObjectId
Section titled “GitObjectId”Git object id — algorithm-tagged, never a fixed-width SHA-1 string.
| Property | Type | Required | Description |
|---|---|---|---|
algorithm | "sha1" | "sha256" | yes | |
value | string | yes |
See the schemas overview for the versioning policy and how these files are generated and kept in sync.
