diff --git a/docs/history/changelog.md b/docs/history/changelog.md index 7d1da7811..c7e7de38d 100644 --- a/docs/history/changelog.md +++ b/docs/history/changelog.md @@ -169,6 +169,7 @@ Per the [normative and non-normative content and changes policy](https://docs.go * [#1307](https://github.com/open-contracting/standard/pull/1307) Clarify uniqueness rules for records. * [#1339](https://github.com/open-contracting/standard/pull/1339) Deprecate `packages`. * [#1374](https://github.com/open-contracting/standard/pull/1374) Remove `records.minItems` requirement. + * [#1393](https://github.com/open-contracting/standard/pull/1393) Remove `releases` as a required field of the `Record` object. * Release package schema: * [#1374](https://github.com/open-contracting/standard/pull/1374) Remove `releases.minItems` requirement. diff --git a/docs/schema/records_reference.md b/docs/schema/records_reference.md index b6ea30f40..1d0252e5c 100644 --- a/docs/schema/records_reference.md +++ b/docs/schema/records_reference.md @@ -36,9 +36,10 @@ The following example demonstrates the package metadata and record fields. ## Record structure -A record **must** contain an [ocid](identifiers.md#open-contracting-process-identifier-ocid) and all [releases](#releases) about the contracting process at the time of the record's publication. As such, a record functions as an index of releases about a contracting process. +A record **must** contain an [ocid](identifiers.md#open-contracting-process-identifier-ocid) and one or more of: -A record **should** contain a [compiledRelease](#compiled-release) object, which represents the state of the contracting process at the time of the record's publication. +* All [releases](#releases) about the contracting process at the time of the record's publication. +* A [compiledRelease](#compiled-release) object, which represents the state of the contracting process at the time of the record's publication. A record **may** contain a [versionedRelease](#versioned-release) object, which aggregates, into a single object, all values of all fields from all releases up to the time of the record's publication. The versioned release is designed to make it easy to see how values change from one release to another, and will often be generated by data users, rather than by publishers. diff --git a/schema/record-package-schema.json b/schema/record-package-schema.json index 200a28f5e..ace4d1954 100644 --- a/schema/record-package-schema.json +++ b/schema/record-package-schema.json @@ -169,8 +169,7 @@ } }, "required": [ - "ocid", - "releases" + "ocid" ] }, "LinkedRelease": {