CLAS schemas follow semantic versioning at the family level. trust-verification is currently at 1.0.0.
| Bump | When |
|---|---|
| Patch (1.0.x) | Description/documentation changes only — no structural change |
| Minor (1.x.0) | New optional fields, new verbs — backwards compatible |
| Major (x.0.0) | Required field changes, field renames, removed fields — breaking |
- Update schema files under
schemas/trust-verification/ - Update
versioninschemas/trust-verification/manifest.json - Update the mirror under
schemas/v<version>/trust-verification/ - Regenerate
checksums.txt:find schemas -name "*.json" | sort | xargs sha256sum > checksums.txt
- Update
CHANGELOG.md - Commit, push, and create a git tag:
git tag -a v1.0.0 -m "trust-verification v1.0.0" git push origin v1.0.0 - Publish
@commandlayer/clas-validator:cd packages/clas-validator npm run build npm publish --access public
A family is only added to manifest.json and schemas/ when:
- At least one verb has complete
request.schema.json,receipt.schema.json, andexamples/with valid/tampered/invalid fixtures - CI passes for all verb examples
manifest.jsonfor the family is present and valid
Do not create stub directories for planned families — use docs/ROADMAP.md instead.