Skip to content

Commit

Permalink
Merge pull request #1380 from open-contracting/930-multiple-document-…
Browse files Browse the repository at this point in the history
…languages

release schema: Add Document.languages, deprecate Document.language
  • Loading branch information
duncandewhurst authored Sep 23, 2021
2 parents 9c6ea22 + 08ac042 commit 70d2549
Show file tree
Hide file tree
Showing 69 changed files with 537 additions and 893 deletions.
13 changes: 0 additions & 13 deletions docs/_static/json/amendments/amendments-contract-example.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"tag": [
"contract"
],
"language": "en",
"contracts": [
{
"status": "active",
Expand Down Expand Up @@ -102,7 +101,6 @@
"tag": [
"contractAmendment"
],
"language": "en",
"contracts": [
{
"status": "active",
Expand Down Expand Up @@ -188,7 +186,6 @@
"id": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-2019-02-17T00:00:00Z",
"date": "2019-02-17T00:00:00Z",
"ocid": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856",
"language": "en",
"contracts": [
{
"id": "CN3562241",
Expand Down Expand Up @@ -286,16 +283,6 @@
},
"versionedRelease": {
"ocid": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856",
"language": [
{
"releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24",
"releaseDate": "2019-02-15T01:00:58Z",
"releaseTag": [
"contract"
],
"value": "en"
}
],
"contracts": [
{
"id": "CN3562241",
Expand Down
13 changes: 0 additions & 13 deletions docs/_static/json/amendments/amendments-easy-releases-example.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"ocid": "ocds-d2phr6-1000035663",
"releases": [
{
"language": "en",
"ocid": "ocds-d2phr6-1000035663",
"date": "2015-04-04T00:00:00Z",
"tag": [
Expand Down Expand Up @@ -50,7 +49,6 @@
"id": "ocds-d2phr6-1000035663-tender-2015-04-04T00:00:00Z"
},
{
"language": "en",
"contracts": [
{
"status": "active",
Expand Down Expand Up @@ -175,7 +173,6 @@
"id": "ocds-d2phr6-1000035663-2018-06-21T00:00:00Z",
"date": "2018-06-21T00:00:00Z",
"ocid": "ocds-d2phr6-1000035663",
"language": "en",
"parties": [
{
"id": "ac3545c6a1e90c4074832acb210b4963",
Expand Down Expand Up @@ -271,16 +268,6 @@
},
"versionedRelease": {
"ocid": "ocds-d2phr6-1000035663",
"language": [
{
"releaseID": "ocds-d2phr6-1000035663-tender-2015-04-04T00:00:00Z",
"releaseDate": "2015-04-04T00:00:00Z",
"releaseTag": [
"tender"
],
"value": "en"
}
],
"parties": [
{
"id": "ac3545c6a1e90c4074832acb210b4963",
Expand Down
14 changes: 0 additions & 14 deletions docs/_static/json/amendments/amendments-tender-example.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"ocid": "ocds-213czf-000-00002",
"id": "ocds-213czf-000-00002-01-tender",
"date": "2016-01-01T09:30:00Z",
"language": "en",
"tag": [
"tender"
],
Expand Down Expand Up @@ -66,7 +65,6 @@
"ocid": "ocds-213czf-000-00002",
"id": "ocds-213czf-000-00002-01-tender-update",
"date": "2016-01-31T09:30:00Z",
"language": "en",
"tag": [
"tenderUpdate"
],
Expand Down Expand Up @@ -114,7 +112,6 @@
"ocid": "ocds-213czf-000-00002",
"id": "ocds-213czf-000-00002-01-tender-amendment",
"date": "2016-02-05T10:30:00Z",
"language": "en",
"tag": [
"tenderAmendment"
],
Expand Down Expand Up @@ -175,7 +172,6 @@
"id": "ocds-213czf-000-00002-2016-02-05T10:30:00Z",
"date": "2016-02-05T10:30:00Z",
"ocid": "ocds-213czf-000-00002",
"language": "en",
"parties": [
{
"id": "GB-COH-09506232",
Expand Down Expand Up @@ -227,16 +223,6 @@
},
"versionedRelease": {
"ocid": "ocds-213czf-000-00002",
"language": [
{
"releaseID": "ocds-213czf-000-00002-01-tender",
"releaseDate": "2016-01-01T09:30:00Z",
"releaseTag": [
"tender"
],
"value": "en"
}
],
"parties": [
{
"id": "GB-COH-09506232",
Expand Down
10 changes: 3 additions & 7 deletions docs/examples/award.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"ocid": "ocds-213czf-000-00001",
"id": "ocds-213czf-000-00001-04-award",
"date": "2010-05-10T09:30:00Z",
"language": "en",
"tag": [
"award"
],
Expand Down Expand Up @@ -156,8 +155,7 @@
"description": "Official tender notice.",
"url": "http://example.com/tender-notices/ocds-213czf-000-00001-01.html",
"datePublished": "2010-03-01T09:00:00Z",
"format": "text/html",
"language": "en"
"format": "text/html"
},
{
"id": "0006",
Expand All @@ -166,8 +164,7 @@
"description": "Responses to enquiries asked by interested parties.",
"url": "http://example.com/enquiry-response/ocds-213czf-000-00001-01.html",
"datePublished": "2010-03-20T11:30:15Z",
"format": "text/html",
"language": "en"
"format": "text/html"
}
],
"amendments": [
Expand Down Expand Up @@ -238,8 +235,7 @@
"description": "Award of contract to build new cycle lanes in the centre of town to Balfour Beatty Plc.",
"url": "http://example.com/tender-notices/ocds-213czf-000-00001-04.html",
"datePublished": "2010-05-10T09:30:00Z",
"format": "text/html",
"language": "en"
"format": "text/html"
}
]
}
Expand Down
7 changes: 2 additions & 5 deletions docs/examples/contract.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"ocid": "ocds-213czf-000-00001",
"id": "ocds-213czf-000-00001-05-contract",
"date": "2010-06-10T10:30:00Z",
"language": "en",
"tag": [
"contract"
],
Expand Down Expand Up @@ -142,8 +141,7 @@
"description": "Award of contract to build new cycle lanes in the centre of town to Balfour Beatty Plc.",
"url": "http://example.com/tender-notices/ocds-213czf-000-00001-04.html",
"datePublished": "2010-05-10T10:30:00Z",
"format": "text/html",
"language": "en"
"format": "text/html"
}
]
}
Expand Down Expand Up @@ -200,8 +198,7 @@
"description": "The Signed Contract for Cycle Path Construction",
"url": "http://example.com/contracts/ocds-213czf-000-00001",
"datePublished": "2015-06-10T16:43:12Z",
"format": "application/pdf",
"language": "en"
"format": "application/pdf"
}
]
}
Expand Down
7 changes: 2 additions & 5 deletions docs/examples/contractAmendment.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"ocid": "ocds-213czf-000-00001",
"id": "ocds-213czf-000-00001-07-contractAmendment",
"date": "2011-04-05T13:30:00Z",
"language": "en",
"tag": [
"contractAmendment"
],
Expand Down Expand Up @@ -142,8 +141,7 @@
"description": "Award of contract to build new cycle lanes in the centre of town to Balfour Beatty Plc.",
"url": "http://example.com/tender-notices/ocds-213czf-000-00001-04.html",
"datePublished": "2010-05-10T10:30:00Z",
"format": "text/html",
"language": "en"
"format": "text/html"
}
]
}
Expand Down Expand Up @@ -200,8 +198,7 @@
"description": "The Signed Contract for Cycle Path Construction",
"url": "http://example.com/contracts/ocds-213czf-000-00001",
"datePublished": "2015-06-10T16:43:12Z",
"format": "application/pdf",
"language": "en"
"format": "application/pdf"
}
],
"amendments": [
Expand Down
4 changes: 1 addition & 3 deletions docs/examples/extended.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"ocid": "ocds-213czf-000-00001",
"id": "ocds-213czf-000-00001-02-tender",
"date": "2010-03-15T09:30:00Z",
"language": "en",
"tag": [
"tender"
],
Expand Down Expand Up @@ -149,8 +148,7 @@
"description": "Official tender notice.",
"url": "http://example.com/tender-notices/ocds-213czf-000-00001-01.html",
"datePublished": "2010-03-01T09:00:00Z",
"format": "text/html",
"language": "en"
"format": "text/html"
}
]
}
Expand Down
3 changes: 1 addition & 2 deletions docs/examples/frameworks/open_multiple_award.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@
"identifier": "ocds-70d2nz-2239-4-LP14",
"uri": "https://example.org/records/ocds-70d2nz-2239-4-LP14"
}
],
"language": "es"
]
}
]
}
3 changes: 1 addition & 2 deletions docs/examples/frameworks/open_multiple_first_stage.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@
"startDate": "2005-01-19T15:30:00Z",
"endDate": "2020-08-27T15:00:00Z"
}
},
"language": "es"
}
}
]
}
3 changes: 1 addition & 2 deletions docs/examples/frameworks/open_multiple_second_stage.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@
"identifier": "ocds-70d2nz-2239-4-LP14",
"uri": "https://example.org/records/ocds-70d2nz-2239-4-LP14"
}
],
"language": "es"
]
}
]
}
3 changes: 1 addition & 2 deletions docs/examples/frameworks/open_multiple_supplier.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@
}
]
}
],
"language": "es"
]
}
]
}
1 change: 0 additions & 1 deletion docs/examples/implementation.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"ocid": "ocds-213czf-000-00001",
"id": "ocds-213czf-000-00001-06-implementation",
"date": "2011-01-10T09:30:00Z",
"language": "en",
"tag": [
"implementation"
],
Expand Down
1 change: 0 additions & 1 deletion docs/examples/language.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"language": "en",
"tender": {
"item": {
"description": "Software consultancy services",
Expand Down
1 change: 0 additions & 1 deletion docs/examples/merging/example02-field-planning.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"releases": [
{
"date": "2013-07-17T16:36:56.000Z",
"language": "es",
"ocid": "ocds-k50g02-13-9-368828",
"id": "13-9-368828-planning",
"tag": [
Expand Down
13 changes: 0 additions & 13 deletions docs/examples/merging/example02-field-record.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"releases": [
{
"date": "2013-07-17T16:36:56.000Z",
"language": "es",
"ocid": "ocds-k50g02-13-9-368828",
"id": "13-9-368828-planning",
"tag": [
Expand Down Expand Up @@ -71,7 +70,6 @@
},
{
"date": "2013-07-17T16:36:56.000Z",
"language": "es",
"ocid": "ocds-k50g02-13-9-368828",
"id": "13-9-368828-tender",
"tag": [
Expand Down Expand Up @@ -143,7 +141,6 @@
"id": "ocds-k50g02-13-9-368828-2013-07-17T16:36:56.000Z",
"date": "2013-07-17T16:36:56.000Z",
"ocid": "ocds-k50g02-13-9-368828",
"language": "es",
"parties": [
{
"id": "800215546",
Expand Down Expand Up @@ -202,16 +199,6 @@
},
"versionedRelease": {
"ocid": "ocds-k50g02-13-9-368828",
"language": [
{
"releaseID": "13-9-368828-planning",
"releaseDate": "2013-07-17T16:36:56.000Z",
"releaseTag": [
"planning"
],
"value": "es"
}
],
"parties": [
{
"id": "800215546",
Expand Down
1 change: 0 additions & 1 deletion docs/examples/merging/example02-field-tender.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"releases": [
{
"date": "2013-07-28T09:40:10.000Z",
"language": "es",
"ocid": "ocds-k50g02-13-9-368828",
"id": "13-9-368828-tender",
"tag": [
Expand Down
13 changes: 0 additions & 13 deletions docs/examples/merging/example02-object-record.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"releases": [
{
"date": "2011-10-18T08:54:21.000Z",
"language": "es",
"ocid": "ocds-k50g02-11-13-651832",
"id": "11-13-651832-tenderUpdate",
"tag": [
Expand Down Expand Up @@ -83,7 +82,6 @@
},
{
"date": "2011-10-14T16:26:49.000Z",
"language": "es",
"ocid": "ocds-k50g02-11-13-651832",
"id": "11-13-651832-tender",
"tag": [
Expand Down Expand Up @@ -151,7 +149,6 @@
"id": "ocds-k50g02-11-13-651832-2011-10-18T08:54:21.000Z",
"date": "2011-10-18T08:54:21.000Z",
"ocid": "ocds-k50g02-11-13-651832",
"language": "es",
"parties": [
{
"id": "890701933",
Expand Down Expand Up @@ -215,16 +212,6 @@
},
"versionedRelease": {
"ocid": "ocds-k50g02-11-13-651832",
"language": [
{
"releaseID": "11-13-651832-tender",
"releaseDate": "2011-10-14T16:26:49.000Z",
"releaseTag": [
"tender"
],
"value": "es"
}
],
"parties": [
{
"id": "890701933",
Expand Down
Loading

0 comments on commit 70d2549

Please sign in to comment.