February 2026 edition
OKHAM Versioning Policy
To ensure interoperability and safe evolution of capabilities, OKHAM mandates the use of Semantic Versioning (SemVer) 2.0.0 for all normative standards and contracts.
SemVer Rules for Standards
Given a version number MAJOR.MINOR.PATCH:
- MAJOR version: Incremented when you make incompatible (breaking) changes to the standard.
- MINOR version: Incremented when you add functionality in a backward-compatible manner.
- PATCH version: Incremented when you make backward-compatible bug fixes or clarifications that do not change the normative requirements.
Breaking vs. Non-breaking Changes
Version Update Rules
- PATCH: Documentation-only changes that do not modify schemas or normative requirements.
- MINOR: Backward-compatible tightening or additive changes (e.g., optional fields, constrained values) that do not break existing valid documents.
- MAJOR: Semantic or structural breaking changes that invalidate previously valid documents.
Frozen versions are never modified in place. Any change to a frozen version requires a new version directory and updated documentation.
Breaking (Major Bump)
- Removing a mandatory field.
- Changing the semantic meaning of an existing field.
- Adding a mandatory field that wasn't there before.
- Restricting the allowed values of a field (e.g., changing an open string to a closed enum).
Non-breaking (Minor/Patch Bump)
- Adding an optional field.
- Relaxing a constraint (e.g., making a mandatory field optional).
- Adding new values to an enum (if consumers are expected to handle unknown values).
- Improving documentation or non-normative examples.
Contract Compatibility
Capabilities SHOULD declare the version of the standard they comply with. Runtime validators MUST use the Major version to determine compatibility.
Schema Publication Policy
All machine-verifiable schemas MUST be published under the canonical registry at https://okham.org/schemas/.
- Schemas are canonical at
https://okham.org/schemas/{standard}/{version}/. - Version directories are immutable once published.
docs/**schema copies mirror the published schemas and are non-canonical.$idand$refvalues MUST use absolute URLs underhttps://okham.org/schemas/.- Any schema change requires a new version directory following Semantic Versioning.