Add provenance schema contract for v0.3.0
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# Thinkloom provenance schemas 1.0
|
||||
|
||||
This generated package is the formal Stage 2 contract for the approved provenance architecture. It targets JSON Schema Draft 2020-12 and ships with 38 schemas, valid fixtures, invalid fixture suites, and deterministic verification vectors.
|
||||
|
||||
- `catalog.json` is the machine-readable inventory.
|
||||
- `*.schema.json` are the formal contracts.
|
||||
- `fixtures/valid` contains one canonical valid instance per schema.
|
||||
- `fixtures/invalid` covers required fields, closed-object policy, and populated enum, pattern, and numeric/string/array bounds.
|
||||
- `vectors` fixes canonicalization, timestamps, paths, JSONL, event and segment chains, self-digests, protected records, key rotation and recovery, retention policy, sanitized export, deterministic indexes, verification reports, backups, and release-Merkle behavior.
|
||||
|
||||
Regenerate with `npm run provenance:schema:generate`. Verify with `npm run provenance:schema:test`. Generated files must be committed together with generator and vector changes. Runtime adoption is a later implementation stage; presence of this package does not imply the current native writer already conforms.
|
||||
Reference in New Issue
Block a user