Thanks for contributing to the Decision Event Schema.
This repository publishes a versioned JSON Schema for decision events as governance evidence units. Changes should preserve internal consistency across:
schema/decision-event.schema.jsonexamples/*.jsondocs/*.mdREADME.mdCITATION.cffCHANGELOG.md
Run the full local validation flow before opening a pull request:
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
pip install pre-commit jsonschema
pre-commit install
pre-commit run --all-files
python tests/validate.py- Update example files whenever the schema contract changes.
- Update README and docs when required fields, terminology, or versioning behavior changes.
- Keep citation metadata aligned with the current release version.
- Add or update regression coverage in
tests/validate.pyfor every contract change.
Before cutting a release:
- Bump schema version references across schema, examples, README, docs, and
CITATION.cff. - Add a new entry to
CHANGELOG.mdwith breaking, changed, and added items. - Run
pre-commit run --all-filesandpython tests/validate.py. - Verify the README badge, citation block, and migration notes reference the new release.
- Create the Git tag and publish the GitHub release notes from the changelog entry.