Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Link object to schema reference #1431

Merged
merged 7 commits into from
Nov 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*.mo
*.swp
.cache
.python-version
.ve

/*.pdf
Expand Down
2 changes: 1 addition & 1 deletion docs/history/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ Per the [normative and non-normative content and changes policy](https://docs.go
* [#1324](https://github.com/open-contracting/standard/pull/1324) `tender.datePublished`
* [#1165](https://github.com/open-contracting/standard/pull/1165) `statusDetails` to `Tender`, `Award` and `Contract`
* [#1125](https://github.com/open-contracting/standard/pull/1125) `Item.unit.weight`
* [#1326](https://github.com/open-contracting/standard/pull/1326) `links`
* [#1326](https://github.com/open-contracting/standard/pull/1326) [#1431](https://github.com/open-contracting/standard/pull/1431) `links`
* [#1376](https://github.com/open-contracting/standard/pull/1376) `publisher`
* [#1208](https://github.com/open-contracting/standard/pull/1326) The estimated and maximum values of framework agreeemnts:
* `tender.maximumValue`. Previously, `tender.value` was used for the maximum value. However, this led to double-counting.
Expand Down
11 changes: 11 additions & 0 deletions docs/schema/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -455,3 +455,14 @@ The publisher block is used in release and record packages to identify the sourc
```{jsonschema} ../../build/current_lang/release-package-schema.json
:include: publisher
```

### Link

The entries of the top-level `links` array are `Link` objects:

```{field-description} ../../build/current_lang/release-schema.json /properties/links
```

```{jsonschema} ../../build/current_lang/release-schema.json
:pointer: /definitions/Link
```
2 changes: 1 addition & 1 deletion schema/dereferenced-release-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -12883,7 +12883,7 @@
},
"links": {
"title": "Links",
"description": "Links to related resources. In a release, links relate to the individual release: for example, a link to a canonical version of the release in another OCDS publication. In a compiled release, links relate to the entire contracting process: for example, a link to a resource in a non-OCDS publication that represents the entire contracting process.",
"description": "Links to related resources. In a release, links relate to the individual release: for example, a link to a canonical version of the release in another OCDS publication. In a compiled release, links relate to the entire contracting process: for example, a link to a resource in a non-OCDS publication that represents the entire contracting process. For references to related processes, see the `relatedProcesses` array.",
"type": "array",
"items": {
"title": "Link",
Expand Down
2 changes: 1 addition & 1 deletion schema/release-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
},
"links": {
"title": "Links",
"description": "Links to related resources. In a release, links relate to the individual release: for example, a link to a canonical version of the release in another OCDS publication. In a compiled release, links relate to the entire contracting process: for example, a link to a resource in a non-OCDS publication that represents the entire contracting process.",
"description": "Links to related resources. In a release, links relate to the individual release: for example, a link to a canonical version of the release in another OCDS publication. In a compiled release, links relate to the entire contracting process: for example, a link to a resource in a non-OCDS publication that represents the entire contracting process. For references to related processes, see the `relatedProcesses` array.",
"type": "array",
"items": {
"$ref": "#/definitions/Link"
Expand Down