Skip to content

AuditCheckpoint

Defined in: src/schema.ts:165

A signed chain head (ADR 0004).

Property Type Description Defined in
alg "Ed25519" | "HS256" Signature algorithm. src/schema.ts:184
at string ISO-8601 creation time. src/schema.ts:180
hash string - src/schema.ts:178
id string chk_ + time-sortable id. src/schema.ts:169
keyId string Signing key id (matches a key in the JWKS). src/schema.ts:182
kind "head" | "base" "head": signs the chain head at seq. "base": anchors a pruned prefix — hash is the hash of the last pruned event, i.e. the prevHash the first retained event must carry. src/schema.ts:176
seq number - src/schema.ts:177
signature string base64url signature over the canonical checkpoint minus signature. src/schema.ts:186
tenant string - src/schema.ts:170
v 1 Checkpoint format version. src/schema.ts:167