The schema¶
release-schema.json
is the Single Source of Truth (SSOT) for defining OCDS’ objects and fields. It is documented using an extended version of JSON Schema draft 4 (see below).
The source for release-schema.json
and other schema files is in the standard repository in the schema directory.
These schema files are processed while Building the documentation and during Deploying the documentation to replace {lang}
and {version}
tokens.
Forward and backwards compatibility¶
The standard’s documentation contains a deprecation policy and a description of its approach to semantic versioning.
Our extensions to JSON Schema¶
We add to JSON Schema the properties codelist
, openCodelist
, deprecated
, omitWhenMerged
and wholeListMerge
, documented in Standards Lab and defined in a metaschema patch.