diff --git a/README.md b/README.md index 38b19d6dc..06022f178 100644 --- a/README.md +++ b/README.md @@ -11,20 +11,15 @@ Install [OCDS Kit](https://pypi.org/project/ocdskit/) Update the examples in `docs/examples/merging`: ```shell -cat docs/examples/merging/updates/{tender*,award*}.json | ocdskit --pretty compile --published-date 2016-03-05T13:02:00Z --uri https://standard.open-contracting.org/examples/records/ocds-213czf-000-00002-merge.json --package --linked-releases > docs/examples/merging/updates/merged.json -cat docs/examples/merging/updates/{tender*,award*}.json | ocdskit --pretty compile --published-date 2016-03-05T13:02:00Z --uri https://standard.open-contracting.org/examples/records/ocds-213czf-000-00002-merge.json --package --linked-releases --versioned > docs/examples/merging/updates/versioned.json -``` - -```shell -cat docs/examples/merging/deletions/field-tender*.json | ocdskit --pretty compile --package --versioned --schema schema/release-schema.json --published-date 2013-07-30T09:00:10.000Z > docs/examples/merging/deletions/field-record.json -cat docs/examples/merging/deletions/object-tender*.json | ocdskit --pretty compile --package --versioned --schema schema/release-schema.json > docs/examples/merging/deletions/object-record.json -cat docs/examples/merging/deletions/array_award*.json | ocdskit --pretty compile --package --versioned --schema schema/release-schema.json > docs/examples/merging/deletions/array-record.json +cat docs/examples/merging/deletions/field_tender*.json | ocdskit --pretty compile --package --versioned --schema schema/release-schema.json --published-date 2013-07-30T09:00:10.000Z > docs/examples/merging/deletions/field_record.json +cat docs/examples/merging/deletions/object_tender*.json | ocdskit --pretty compile --package --versioned --schema schema/release-schema.json > docs/examples/merging/deletions/object_record.json +cat docs/examples/merging/deletions/array_award*.json | ocdskit --pretty compile --package --versioned --schema schema/release-schema.json > docs/examples/merging/deletions/array_record.json ``` Update the examples in `docs/examples/change_history`: ```shell -cat docs/examples/change_history/{tender}.json | ocdskit --pretty compile --published-date 2010-03-15T09:30:00Z --uri https://standard.open-contracting.org/examples/records/ocds-213czf-000-00001.json --package --versioned --schema schema/release-schema.json > docs/examples/change_history/records/tender.json +cat docs/examples/change_history/tender.json | ocdskit --pretty compile --published-date 2010-03-15T09:30:00Z --uri https://standard.open-contracting.org/examples/records/ocds-213czf-000-00001.json --package --versioned --schema schema/release-schema.json > docs/examples/change_history/records/tender.json cat docs/examples/change_history/{tender,tenderUpdate}.json | ocdskit --pretty compile --published-date 2010-03-20T09:45:00Z --uri https://standard.open-contracting.org/examples/records/ocds-213czf-000-00001.json --package --versioned --schema schema/release-schema.json > docs/examples/change_history/records/tenderUpdate.json cat docs/examples/change_history/{tender,tenderUpdate,award}.json | ocdskit --pretty compile --published-date 2010-05-10T09:30:00Z --uri https://standard.open-contracting.org/examples/records/ocds-213czf-000-00001.json --package --versioned --schema schema/release-schema.json > docs/examples/change_history/records/award.json cat docs/examples/change_history/{tender,tenderUpdate,award,contract}.json | ocdskit --pretty compile --published-date 2010-06-10T10:30:00Z --uri https://standard.open-contracting.org/examples/records/ocds-213czf-000-00001.json --package --versioned --schema schema/release-schema.json > docs/examples/change_history/records/contract.json diff --git a/docs/examples/amendments/contract.json b/docs/examples/amendments/contract.json deleted file mode 100644 index 48bd73299..000000000 --- a/docs/examples/amendments/contract.json +++ /dev/null @@ -1,741 +0,0 @@ -{ - "version": "1.1", - "records": [ - { - "ocid": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856", - "releases": [ - { - "id": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "ocid": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856", - "date": "2019-02-15T01:00:58Z", - "tag": [ - "contract" - ], - "contracts": [ - { - "description": "Appliances for Tuvalu PPB Residence", - "title": "4501062723", - "items": [ - { - "id": "1", - "description": "Domestic coffee maker", - "quantity": 2, - "classification": { - "scheme": "UNSPSC", - "id": "52141526" - } - }, - { - "id": "2", - "description": "Domestic electrical kettle", - "quantity": 2, - "classification": { - "scheme": "UNSPSC", - "id": "52141523" - } - } - ], - "period": { - "startDate": "2018-11-30T01:00:00Z", - "endDate": "2019-12-30T01:00:00Z" - }, - "value": { - "currency": "AUD", - "amount": 750.0 - }, - "dateSigned": "2018-12-21T02:49:50Z", - "awardID": "CN3562241-12b0ab89ef79180a7289cb6c40c33c1f", - "id": "CN3562241" - } - ], - "parties": [ - { - "identifier": { - "scheme": "AU-ABN", - "id": "60010555549" - }, - "name": "NORSHIP MARINE", - "roles": [ - "supplier" - ], - "address": { - "postalCode": "4870", - "country": "AU", - "region": "QLD", - "locality": "PORTSMITH" - }, - "contactPoint": { - "email": "BMI.FINANCIALREPORTING@DEFENCE.GOV.AU", - "telephone": "00", - "name": "SP&I - International Policy" - }, - "id": "fb9c43bb01f873c72c730bdac5b0858f" - }, - { - "identifier": { - "scheme": "AU-ABN", - "id": "62950639680" - }, - "name": "Department of Defence", - "roles": [ - "buyer" - ], - "contactPoint": { - "email": "tenders@finance.gov.au" - }, - "id": "0ec9911c9e99d1b7bb1b77f4abffc583" - } - ] - }, - { - "id": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-2000b475e7c23fcda74fcae13275e6c5", - "ocid": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856", - "date": "2019-02-17T00:00:00Z", - "tag": [ - "contractAmendment" - ], - "contracts": [ - { - "amendments": [ - { - "id": "1", - "amendsReleaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-2000b475e7c23fcda74fcae13275e6c5", - "rationale": "After negotiations with the supplier, the scope of the contract has been increased to purchase an additional item.", - "date": "2019-02-16T12:00:00Z" - } - ], - "description": "Appliances for Tuvalu PPB Residence", - "title": "4501062723", - "items": [ - { - "id": "3", - "description": "Domestic microwave oven", - "quantity": 1, - "classification": { - "scheme": "UNSPSC", - "id": "52141502" - } - } - ], - "period": { - "startDate": "2018-11-30T01:00:00Z", - "endDate": "2019-12-30T01:00:00Z" - }, - "value": { - "currency": "AUD", - "amount": 1250.0 - }, - "dateSigned": "2018-12-21T02:49:50Z", - "awardID": "CN3562241-12b0ab89ef79180a7289cb6c40c33c1f", - "id": "CN3562241" - } - ], - "parties": [ - { - "identifier": { - "scheme": "AU-ABN", - "id": "60010555549" - }, - "name": "NORSHIP MARINE", - "roles": [ - "supplier" - ], - "address": { - "postalCode": "4870", - "country": "AU", - "region": "QLD", - "locality": "PORTSMITH" - }, - "contactPoint": { - "email": "BMI.FINANCIALREPORTING@DEFENCE.GOV.AU", - "telephone": "00", - "name": "SP&I - International Policy" - }, - "id": "fb9c43bb01f873c72c730bdac5b0858f" - }, - { - "identifier": { - "scheme": "AU-ABN", - "id": "62950639680" - }, - "name": "Department of Defence", - "roles": [ - "buyer" - ], - "contactPoint": { - "email": "tenders@finance.gov.au" - }, - "id": "0ec9911c9e99d1b7bb1b77f4abffc583" - } - ] - } - ], - "compiledRelease": { - "tag": [ - "compiled" - ], - "id": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-2019-02-17T00:00:00Z", - "date": "2019-02-17T00:00:00Z", - "ocid": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856", - "contracts": [ - { - "id": "CN3562241", - "description": "Appliances for Tuvalu PPB Residence", - "title": "4501062723", - "items": [ - { - "id": "1", - "description": "Domestic coffee maker", - "quantity": 2, - "classification": { - "scheme": "UNSPSC", - "id": "52141526" - } - }, - { - "id": "2", - "description": "Domestic electrical kettle", - "quantity": 2, - "classification": { - "scheme": "UNSPSC", - "id": "52141523" - } - }, - { - "id": "3", - "description": "Domestic microwave oven", - "quantity": 1, - "classification": { - "scheme": "UNSPSC", - "id": "52141502" - } - } - ], - "period": { - "startDate": "2018-11-30T01:00:00Z", - "endDate": "2019-12-30T01:00:00Z" - }, - "value": { - "currency": "AUD", - "amount": 1250.0 - }, - "dateSigned": "2018-12-21T02:49:50Z", - "awardID": "CN3562241-12b0ab89ef79180a7289cb6c40c33c1f", - "amendments": [ - { - "id": "1", - "amendsReleaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-2000b475e7c23fcda74fcae13275e6c5", - "rationale": "Increased scope of goods required.", - "date": "2019-02-16T12:00:00Z" - } - ] - } - ], - "parties": [ - { - "id": "fb9c43bb01f873c72c730bdac5b0858f", - "identifier": { - "scheme": "AU-ABN", - "id": "60010555549" - }, - "name": "NORSHIP MARINE", - "roles": [ - "supplier" - ], - "address": { - "postalCode": "4870", - "country": "AU", - "region": "QLD", - "locality": "PORTSMITH" - }, - "contactPoint": { - "email": "BMI.FINANCIALREPORTING@DEFENCE.GOV.AU", - "telephone": "00", - "name": "SP&I - International Policy" - } - }, - { - "id": "0ec9911c9e99d1b7bb1b77f4abffc583", - "identifier": { - "scheme": "AU-ABN", - "id": "62950639680" - }, - "name": "Department of Defence", - "roles": [ - "buyer" - ], - "contactPoint": { - "email": "tenders@finance.gov.au" - } - } - ] - }, - "versionedRelease": { - "ocid": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856", - "contracts": [ - { - "id": "CN3562241", - "description": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "Appliances for Tuvalu PPB Residence" - } - ], - "title": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "4501062723" - } - ], - "items": [ - { - "id": "1", - "description": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "Domestic coffee maker" - } - ], - "quantity": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": 2 - } - ], - "classification": { - "scheme": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "UNSPSC" - } - ], - "id": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "52141526" - } - ] - } - }, - { - "id": "2", - "description": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "Domestic electrical kettle" - } - ], - "quantity": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": 2 - } - ], - "classification": { - "scheme": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "UNSPSC" - } - ], - "id": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "52141523" - } - ] - } - }, - { - "id": "3", - "description": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-2000b475e7c23fcda74fcae13275e6c5", - "releaseDate": "2019-02-17T00:00:00Z", - "releaseTag": [ - "contractAmendment" - ], - "value": "Domestic microwave oven" - } - ], - "quantity": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-2000b475e7c23fcda74fcae13275e6c5", - "releaseDate": "2019-02-17T00:00:00Z", - "releaseTag": [ - "contractAmendment" - ], - "value": 1 - } - ], - "classification": { - "scheme": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-2000b475e7c23fcda74fcae13275e6c5", - "releaseDate": "2019-02-17T00:00:00Z", - "releaseTag": [ - "contractAmendment" - ], - "value": "UNSPSC" - } - ], - "id": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-2000b475e7c23fcda74fcae13275e6c5", - "releaseDate": "2019-02-17T00:00:00Z", - "releaseTag": [ - "contractAmendment" - ], - "value": "52141502" - } - ] - } - } - ], - "period": { - "startDate": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "2018-11-30T01:00:00Z" - } - ], - "endDate": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "2019-12-30T01:00:00Z" - } - ] - }, - "value": { - "currency": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "AUD" - } - ], - "amount": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": 750.0 - }, - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-2000b475e7c23fcda74fcae13275e6c5", - "releaseDate": "2019-02-17T00:00:00Z", - "releaseTag": [ - "contractAmendment" - ], - "value": 1250.0 - } - ] - }, - "dateSigned": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "2018-12-21T02:49:50Z" - } - ], - "awardID": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "CN3562241-12b0ab89ef79180a7289cb6c40c33c1f" - } - ], - "amendments": [ - { - "id": "1", - "amendsReleaseID": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-2000b475e7c23fcda74fcae13275e6c5", - "releaseDate": "2019-02-17T00:00:00Z", - "releaseTag": [ - "contractAmendment" - ], - "value": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24" - } - ], - "releaseID": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-2000b475e7c23fcda74fcae13275e6c5", - "releaseDate": "2019-02-17T00:00:00Z", - "releaseTag": [ - "contractAmendment" - ], - "value": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-2000b475e7c23fcda74fcae13275e6c5" - } - ], - "rationale": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-2000b475e7c23fcda74fcae13275e6c5", - "releaseDate": "2019-02-17T00:00:00Z", - "releaseTag": [ - "contractAmendment" - ], - "value": "Increased scope of goods required." - } - ], - "date": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-2000b475e7c23fcda74fcae13275e6c5", - "releaseDate": "2019-02-17T00:00:00Z", - "releaseTag": [ - "contractAmendment" - ], - "value": "2019-02-16T12:00:00Z" - } - ] - } - ] - } - ], - "parties": [ - { - "id": "fb9c43bb01f873c72c730bdac5b0858f", - "identifier": { - "scheme": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "AU-ABN" - } - ], - "id": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "60010555549" - } - ] - }, - "name": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "NORSHIP MARINE" - } - ], - "roles": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": [ - "supplier" - ] - } - ], - "address": { - "postalCode": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "4870" - } - ], - "country": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "AU" - } - ], - "region": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "QLD" - } - ], - "locality": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "PORTSMITH" - } - ] - }, - "contactPoint": { - "email": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "BMI.FINANCIALREPORTING@DEFENCE.GOV.AU" - } - ], - "telephone": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "00" - } - ], - "name": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "SP&I - International Policy" - } - ] - } - }, - { - "id": "0ec9911c9e99d1b7bb1b77f4abffc583", - "identifier": { - "scheme": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "AU-ABN" - } - ], - "id": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "62950639680" - } - ] - }, - "name": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "Department of Defence" - } - ], - "roles": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": [ - "buyer" - ] - } - ], - "contactPoint": { - "email": [ - { - "releaseID": "ocds-d2phr6-12b0ab8ac4c28d322a82062e99918856-9887f9ebe7043172ab2abe4db2a5aa24", - "releaseDate": "2019-02-15T01:00:58Z", - "releaseTag": [ - "contract" - ], - "value": "tenders@finance.gov.au" - } - ] - } - } - ] - } - } - ] -} diff --git a/docs/examples/amendments/tender.json b/docs/examples/amendments/tender.json index f666250e3..c30cae455 100644 --- a/docs/examples/amendments/tender.json +++ b/docs/examples/amendments/tender.json @@ -6,362 +6,136 @@ "releases": [ { "ocid": "ocds-213czf-000-00002", - "id": "ocds-213czf-000-00002-01-tender", - "date": "2016-01-01T09:30:00Z", + "id": "1", + "date": "2024-01-01T00:00:00Z", "tag": [ "tender" ], - "parties": [ - { - "name": "Open Data Services", - "identifier": { - "scheme": "GB-COH", - "id": "09506232", - "legalName": "Open Data Services Co-operative", - "uri": "https://opencorporates.com/companies/gb/09506232" - }, - "roles": [ - "buyer" - ], - "id": "GB-COH-09506232" - } - ], - "buyer": { - "id": "GB-COH-09506232", - "name": "Open Data Services" - }, "tender": { - "id": "ocds-213czf-000-00002-01-tender", - "title": "Data merging tool", - "description": "Data merge tool.", + "id": "1", + "title": "Office supplies", "value": { - "amount": 1000, + "amount": 10000, "currency": "USD" - }, - "procurementMethod": "open", - "awardCriteria": "bestProposal", - "tenderPeriod": { - "startDate": "2016-01-31T09:00:00Z", - "endDate": "2016-02-15T18:00:00Z" - }, - "awardPeriod": { - "startDate": "2016-04-01T00:00:00Z", - "endDate": "2016-06-01T23:59:59Z" } } }, { "ocid": "ocds-213czf-000-00002", - "id": "ocds-213czf-000-00002-01-tender-update", - "date": "2016-01-31T09:30:00Z", + "id": "2", + "date": "2024-01-07T00:00:00Z", "tag": [ "tenderUpdate" ], - "parties": [ - { - "name": "Open Data Services", - "identifier": { - "scheme": "GB-COH", - "id": "09506232", - "legalName": "Open Data Services Co-operative", - "uri": "https://opencorporates.com/companies/gb/09506232" - }, - "roles": [ - "buyer" - ], - "id": "GB-COH-09506232" - } - ], - "buyer": { - "id": "GB-COH-09506232", - "name": "Open Data Services" - }, "tender": { - "id": "ocds-213czf-000-00002-01-tender", - "title": "Data merging tool", - "description": "Creation of a data merging tool. The tool should by written in Python. Proposals should be submitted by e-mail.", + "id": "1", + "title": "Office supplies", "value": { - "amount": 1000, + "amount": 10000, "currency": "USD" }, - "procurementMethod": "open", - "awardCriteria": "bestProposal", - "tenderPeriod": { - "startDate": "2016-01-31T09:00:00Z", - "endDate": "2016-02-15T18:00:00Z" - }, - "awardPeriod": { - "startDate": "2016-04-01T00:00:00Z", - "endDate": "2016-06-01T23:59:59Z" - } + "mainProcurementCategory": "goods" } }, { "ocid": "ocds-213czf-000-00002", - "id": "ocds-213czf-000-00002-01-tender-amendment", - "date": "2016-02-05T10:30:00Z", + "id": "3", + "date": "2024-01-14T00:00:00Z", "tag": [ "tenderAmendment" ], - "parties": [ - { - "name": "Open Data Services", - "identifier": { - "scheme": "GB-COH", - "id": "09506232", - "legalName": "Open Data Services Co-operative", - "uri": "https://opencorporates.com/companies/gb/09506232" - }, - "roles": [ - "buyer" - ], - "id": "GB-COH-09506232" - } - ], - "buyer": { - "id": "GB-COH-09506232", - "name": "Open Data Services" - }, "tender": { - "id": "ocds-213czf-000-00002-01-tender", - "title": "Data merging tool", - "description": "Creation of a data merging tool. The tool should by written in Python. Proposals should be submitted by e-mail.", + "id": "1", + "title": "Office supplies", "value": { - "amount": 2000, + "amount": 15000, "currency": "USD" }, - "procurementMethod": "open", - "awardCriteria": "bestProposal", - "tenderPeriod": { - "startDate": "2016-01-31T09:00:00Z", - "endDate": "2016-02-20T18:00:00Z" - }, - "awardPeriod": { - "startDate": "2016-04-01T00:00:00Z", - "endDate": "2016-06-01T23:59:59Z" - }, + "mainProcurementCategory": "goods", "amendments": [ { - "id": "amendment-1", - "date": "2016-02-04T09:30:00Z", - "rationale": "Based on feedback from potential bidders, the total budget was increased by $1000, and the deadline extended", - "amendsReleaseID": "ocds-213czf-000-00002-01-tender", - "releaseID": "ocds-213czf-000-00002-01-tender-amendment" + "id": "1", + "date": "2024-01-14T00:00:00Z", + "rationale": "Additional needs identified.", + "amendsReleaseID": "2", + "releaseID": "3" } ] } } ], "compiledRelease": { + "ocid": "ocds-213czf-000-00002", + "id": "ocds-213czf-000-00002-2024-01-14T00:00:00Z", + "date": "2024-01-14T00:00:00Z", "tag": [ "compiled" ], - "id": "ocds-213czf-000-00002-2016-02-05T10:30:00Z", - "date": "2016-02-05T10:30:00Z", - "ocid": "ocds-213czf-000-00002", - "parties": [ - { - "id": "GB-COH-09506232", - "name": "Open Data Services", - "identifier": { - "scheme": "GB-COH", - "id": "09506232", - "legalName": "Open Data Services Co-operative", - "uri": "https://opencorporates.com/companies/gb/09506232" - }, - "roles": [ - "buyer" - ] - } - ], - "buyer": { - "id": "GB-COH-09506232", - "name": "Open Data Services" - }, "tender": { - "id": "ocds-213czf-000-00002-01-tender", - "title": "Data merging tool", - "description": "Creation of a data merging tool. The tool should by written in Python. Proposals should be submitted by e-mail.", + "id": "1", + "title": "Office supplies", "value": { - "amount": 2000, + "amount": 15000, "currency": "USD" }, - "procurementMethod": "open", - "awardCriteria": "bestProposal", - "tenderPeriod": { - "startDate": "2016-01-31T09:00:00Z", - "endDate": "2016-02-20T18:00:00Z" - }, - "awardPeriod": { - "startDate": "2016-04-01T00:00:00Z", - "endDate": "2016-06-01T23:59:59Z" - }, + "mainProcurementCategory": "goods", "amendments": [ { - "id": "amendment-1", - "date": "2016-02-04T09:30:00Z", - "rationale": "Based on feedback from potential bidders, the total budget was increased by $1000, and the deadline extended", - "amendsReleaseID": "ocds-213czf-000-00002-01-tender", - "releaseID": "ocds-213czf-000-00002-01-tender-amendment" + "id": "1", + "date": "2024-01-14T00:00:00Z", + "rationale": "Additional needs identified.", + "amendsReleaseID": "2", + "releaseID": "3" } ] } }, "versionedRelease": { "ocid": "ocds-213czf-000-00002", - "parties": [ - { - "id": "GB-COH-09506232", - "name": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "Open Data Services" - } - ], - "identifier": { - "scheme": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "GB-COH" - } - ], - "id": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "09506232" - } - ], - "legalName": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "Open Data Services Co-operative" - } - ], - "uri": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "https://opencorporates.com/companies/gb/09506232" - } - ] - }, - "roles": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": [ - "buyer" - ] - } - ] - } - ], - "buyer": { - "id": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "GB-COH-09506232" - } - ], - "name": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "Open Data Services" - } - ] - }, "tender": { "id": [ { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", + "releaseID": "1", + "releaseDate": "2024-01-01T00:00:00Z", "releaseTag": [ "tender" ], - "value": "ocds-213czf-000-00002-01-tender" + "value": "1" } ], "title": [ { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", + "releaseID": "1", + "releaseDate": "2024-01-01T00:00:00Z", "releaseTag": [ "tender" ], - "value": "Data merging tool" - } - ], - "description": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "Data merge tool." - }, - { - "releaseID": "ocds-213czf-000-00002-01-tender-update", - "releaseDate": "2016-01-31T09:30:00Z", - "releaseTag": [ - "tenderUpdate" - ], - "value": "Creation of a data merging tool. The tool should by written in Python. Proposals should be submitted by e-mail." + "value": "Office supplies" } ], "value": { "amount": [ { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", + "releaseID": "1", + "releaseDate": "2024-01-01T00:00:00Z", "releaseTag": [ "tender" ], - "value": 1000 + "value": 10000 }, { - "releaseID": "ocds-213czf-000-00002-01-tender-amendment", - "releaseDate": "2016-02-05T10:30:00Z", + "releaseID": "3", + "releaseDate": "2024-01-14T00:00:00Z", "releaseTag": [ "tenderAmendment" ], - "value": 2000 + "value": 15000 } ], "currency": [ { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", + "releaseID": "1", + "releaseDate": "2024-01-01T00:00:00Z", "releaseTag": [ "tender" ], @@ -369,119 +143,59 @@ } ] }, - "procurementMethod": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "open" - } - ], - "awardCriteria": [ + "mainProcurementCategory": [ { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", + "releaseID": "2", + "releaseDate": "2024-01-07T00:00:00Z", "releaseTag": [ "tender" ], - "value": "bestProposal" + "value": [ + "goods" + ] } ], - "tenderPeriod": { - "startDate": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "2016-01-31T09:00:00Z" - } - ], - "endDate": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "2016-02-15T18:00:00Z" - }, - { - "releaseID": "ocds-213czf-000-00002-01-tender-amendment", - "releaseDate": "2016-02-05T10:30:00Z", - "releaseTag": [ - "tenderAmendment" - ], - "value": "2016-02-20T18:00:00Z" - } - ] - }, - "awardPeriod": { - "startDate": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "2016-04-01T00:00:00Z" - } - ], - "endDate": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "2016-06-01T23:59:59Z" - } - ] - }, "amendments": [ { - "id": "amendment-1", + "id": "1", "date": [ { - "releaseID": "ocds-213czf-000-00002-01-tender-amendment", - "releaseDate": "2016-02-05T10:30:00Z", + "releaseID": "3", + "releaseDate": "2024-01-14T00:00:00Z", "releaseTag": [ "tenderAmendment" ], - "value": "2016-02-04T09:30:00Z" + "value": "2024-01-14T00:00:00Z" } ], "rationale": [ { - "releaseID": "ocds-213czf-000-00002-01-tender-amendment", - "releaseDate": "2016-02-05T10:30:00Z", + "releaseID": "3", + "releaseDate": "2024-01-14T00:00:00Z", "releaseTag": [ "tenderAmendment" ], - "value": "Based on feedback from potential bidders, the total budget was increased by $1000, and the deadline extended" + "value": "Additional needs identified" } ], "amendsReleaseID": [ { - "releaseID": "ocds-213czf-000-00002-01-tender-amendment", - "releaseDate": "2016-02-05T10:30:00Z", + "releaseID": "3", + "releaseDate": "2024-01-14T00:00:00Z", "releaseTag": [ "tenderAmendment" ], - "value": "ocds-213czf-000-00002-01-tender" + "value": "2" } ], "releaseID": [ { - "releaseID": "ocds-213czf-000-00002-01-tender-amendment", - "releaseDate": "2016-02-05T10:30:00Z", + "releaseID": "3", + "releaseDate": "2024-01-14T00:00:00Z", "releaseTag": [ "tenderAmendment" ], - "value": "ocds-213czf-000-00002-01-tender-amendment" + "value": "2" } ] } diff --git a/docs/examples/buyers_suppliers/consortia.json b/docs/examples/buyers_suppliers/consortia.json new file mode 100644 index 000000000..5563a0a96 --- /dev/null +++ b/docs/examples/buyers_suppliers/consortia.json @@ -0,0 +1,45 @@ +{ + "version": "1.1", + "releases": [ + { + "ocid": "ocds-213czf-0000", + "id": "1", + "date": "2024-01-01T00:00:00Z", + "awards": [ + { + "id": "1", + "suppliers": [ + { + "id": "GB-COH-727817", + "name": "SIEMENS PUBLIC LIMITED COMPANY" + }, + { + "id": "GB-COH-1624297", + "name": "MICROSOFT LIMITED" + } + ] + } + ], + "parties": [ + [ + { + "id": "GB-COH-727817", + "name": "SIEMENS PUBLIC LIMITED COMPANY", + "identifier": { + "id": "727817", + "scheme": "GB-COH" + } + }, + { + "id": "GB-COH-1624297", + "name": "MICROSOFT LIMITED", + "identifier": { + "id": "624297", + "scheme": "GB-COH" + } + } + ] + ] + } + ] +} diff --git a/docs/examples/change_history/tenderAmendment.json b/docs/examples/change_history/tenderAmendment.json deleted file mode 100644 index 21fffdb9b..000000000 --- a/docs/examples/change_history/tenderAmendment.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "version": "1.1", - "extensions": [], - "releases": [ - { - "ocid": "ocds-213czf-000-00001", - "id": "ocds-213czf-000-00001-03-tenderAmendment", - "date": "2010-03-20T10:45:00Z", - "tag": [ - "tenderAmendment" - ], - "parties": [ - { - "identifier": { - "scheme": "GB-LAC", - "id": "E09000003", - "legalName": "London Borough of Barnet", - "uri": "http://www.barnet.gov.uk/" - }, - "name": "London Borough of Barnet", - "address": { - "streetAddress": "4, North London Business Park, Oakleigh Rd S", - "locality": "London", - "region": "London", - "postalCode": "N11 1NP", - "country": "GB" - }, - "contactPoint": { - "name": "Procurement Team", - "email": "procurement-team@example.com", - "telephone": "01234 345 346", - "faxNumber": "01234 345 345", - "url": "http://example.com/contact/" - }, - "roles": [ - "procuringEntity", - "buyer" - ], - "id": "GB-LAC-E09000003" - } - ], - "buyer": { - "id": "GB-LAC-E09000003", - "name": "London Borough of Barnet" - }, - "tender": { - "id": "ocds-213czf-000-00001-01-tender", - "title": "Planned cycle lane improvements", - "description": "Tenders solicited for work to build new cycle lanes in the centre of town.", - "items": [ - { - "id": "0001", - "description": "string", - "classification": { - "scheme": "CPV", - "id": "45233130", - "description": "Construction work for highways", - "uri": "http://cpv.data.ac.uk/code-45233130" - }, - "additionalClassifications": [ - { - "scheme": "CPV", - "id": "45233162-2", - "description": "Cycle path construction work", - "uri": "http://cpv.data.ac.uk/code-45233162.html" - } - ], - "quantity": 8, - "unit": { - "name": "Miles", - "value": { - "amount": 120000, - "currency": "GBP" - } - } - } - ], - "minValue": { - "amount": 600000, - "currency": "GBP" - }, - "value": { - "amount": 1210000, - "currency": "GBP" - }, - "procurementMethod": "open", - "procurementMethodRationale": "An open competitive tender is required by EU Rules", - "awardCriteria": "bestProposal", - "awardCriteriaDetails": "The best proposal, subject to value for money requirements, will be accepted.", - "submissionMethodDetails": "Submit through the online portal at http://example.com/submissions/ocds-213czf-000-00001-01/", - "enquiryPeriod": { - "startDate": "2010-03-01T09:00:00Z", - "endDate": "2010-03-14T17:30:00Z" - }, - "hasEnquiries": true, - "tenderPeriod": { - "startDate": "2010-03-01T09:00:00Z", - "endDate": "2011-04-01T18:00:00Z" - }, - "awardPeriod": { - "startDate": "2010-06-01T00:00:00Z", - "endDate": "2011-08-01T23:59:59Z" - }, - "procuringEntity": { - "id": "GB-LAC-E09000003", - "name": "London Borough of Barnet" - }, - "documents": [ - { - "id": "0005", - "documentType": "notice", - "title": "Tender Notice", - "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" - }, - { - "id": "0006", - "documentType": "enquiryResponses", - "title": "Enquiry Responses", - "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" - } - ], - "amendments": [ - { - "id": "update-1", - "date": "2010-03-20T09:45:00Z", - "rationale": "Update following enquiries.", - "description": "Following the enquiry period, enquiries were received and responses to questions asked have been published. No changes to the overall tender details were made.", - "amendsReleaseID": "ocds-213czf-000-00001-02-tender", - "releaseID": "ocds-213czf-000-00001-03-tenderUpdate" - }, - { - "id": "amendment-1", - "date": "2010-03-20T10:45:00Z", - "rationale": "Revised value", - "description": "Following the enquiry period, a decision was made to increase the maximum value by 10%.", - "amendsReleaseID": "ocds-213czf-000-00001-03-tenderUpdate", - "releaseID": "ocds-213czf-000-00001-03-tenderAmendment" - } - ] - } - } - ] -} diff --git a/docs/examples/merging/embedded_releases.json b/docs/examples/merging/embedded_releases.json deleted file mode 100644 index 474720b28..000000000 --- a/docs/examples/merging/embedded_releases.json +++ /dev/null @@ -1,1518 +0,0 @@ -{ - "extensions": [], - "records": [ - { - "compiledRelease": { - "awards": [ - { - "contractPeriod": { - "endDate": "2011-08-01T23:59:00Z", - "startDate": "2010-07-01T00:00:00Z" - }, - "date": "2010-05-10T10:30:00Z", - "description": "AnyCorp Ltd has been awarded the contract to build new cycle lanes in the centre of town.", - "documents": [ - { - "datePublished": "2010-05-10T10:30:00Z", - "description": "Award of contract to build new cycle lanes in the centre of town to AnyCorp Ltd.", - "documentType": "notice", - "format": "text/html", - "id": "0007", - "title": "Award notice", - "url": "http://example.com/tender-notices/ocds-213czf-000-00001-04.html" - } - ], - "id": "ocds-213czf-000-00001-award-01", - "items": [ - { - "additionalClassifications": [ - { - "description": "Cycle path construction work", - "id": "45233162-2", - "scheme": "CPV", - "uri": "http://cpv.data.ac.uk/code-45233162.html" - } - ], - "classification": { - "description": "Construction work for highways", - "id": "45233130", - "scheme": "CPV", - "uri": "http://cpv.data.ac.uk/code-45233130" - }, - "description": "string", - "id": "0001", - "quantity": 8, - "unit": { - "name": "Miles", - "value": { - "amount": 137000, - "currency": "GBP" - } - } - } - ], - "suppliers": [ - { - "id": "GB-COH-1234567844", - "name": "AnyCorp Cycle Provision" - } - ], - "title": "Award of contract to build new cycle lanes in the centre of town.", - "value": { - "amount": 11000000, - "currency": "GBP" - } - } - ], - "buyer": { - "id": "GB-LAC-E09000003", - "name": "London Borough of Barnet" - }, - "contracts": [ - { - "awardID": "ocds-213czf-000-00001-award-01", - "dateSigned": "2015-06-10T14:23:12Z", - "description": "Contract monitoring for cycle lane construction.", - "documents": [ - { - "datePublished": "2015-06-10T16:43:12Z", - "description": "The Signed Contract for Cycle Path Construction", - "documentType": "contractSigned", - "format": "application/pdf", - "id": "0008", - "title": "Signed Contract", - "url": "http://example.com/contracts/ocds-213czf-000-00001" - }, - { - "datePublished": "2010-12-15T15:34:02Z", - "description": "Physical progress report for cycle path construction", - "documentType": "physicalProcessReport", - "format": "application/pdf", - "id": "0009", - "title": "Progress report", - "url": "http://example.com/reports/ocds-213czf-000-00001/cycle-path-01.pdf" - } - ], - "id": "ocds-213czf-000-00001-contract-01", - "implementation": { - "transactions": [ - { - "date": "2010-08-01T00:00:00Z", - "id": "ocds-213czf-000-00001-1", - "payee": { - "id": "GB-COH-1234567844", - "name": "AnyCorp Ltd" - }, - "payer": { - "id": "GB-LAC-E09000003", - "name": "London Borough of Barnet" - }, - "source": "https://openspending.org/uk-barnet-spending/", - "uri": "https://openspending.org/uk-barnet-spending/transaction/asd9235qaghvs1059620ywhgai", - "value": { - "amount": 500000, - "currency": "GBP" - } - }, - { - "date": "2010-10-01T00:00:00Z", - "id": "ocds-213czf-000-00001-2", - "payee": { - "id": "GB-COH-1234567844", - "name": "AnyCorp Ltd" - }, - "payer": { - "id": "GB-LAC-E09000003", - "name": "London Borough of Barnet" - }, - "source": "https://openspending.org/uk-barnet-spending/", - "uri": "https://openspending.org/uk-barnet-spending/transaction/asd9235qaghvs105962as0012", - "value": { - "amount": 100000, - "currency": "GBP" - } - } - ] - }, - "items": [ - { - "additionalClassifications": [ - { - "description": "Cycle path construction work", - "id": "45233162-2", - "scheme": "CPV", - "uri": "http://cpv.data.ac.uk/code-45233162.html" - } - ], - "classification": { - "description": "Construction work for highways", - "id": "45233130", - "scheme": "CPV", - "uri": "http://cpv.data.ac.uk/code-45233130" - }, - "description": "string", - "id": "0001", - "quantity": 8, - "unit": { - "name": "Miles", - "value": { - "amount": 137000, - "currency": "GBP" - } - } - } - ], - "period": { - "endDate": "2011-08-01T23:59:00Z", - "startDate": "2010-07-01T00:00:00Z" - }, - "title": "Contract to build new cycle lanes in the centre of town.", - "value": { - "amount": 11000000, - "currency": "GBP" - } - } - ], - "date": "2011-01-10T09:30:00Z", - "id": "ocds-213czf-000-00001-06-implementation", - "ocid": "ocds-213czf-000-00001", - "parties": [ - { - "address": { - "country": "GB", - "locality": "London", - "postalCode": "N11 1NP", - "region": "London", - "streetAddress": "4, North London Business Park, Oakleigh Rd S" - }, - "contactPoint": { - "email": "procurement-team@example.com", - "faxNumber": "01234 345 345", - "name": "Procurement Team", - "telephone": "01234 345 346", - "url": "http://example.com/contact/" - }, - "id": "GB-LAC-E09000003", - "identifier": { - "id": "E09000003", - "legalName": "London Borough of Barnet", - "scheme": "GB-LAC", - "uri": "http://www.barnet.gov.uk/" - }, - "name": "London Borough of Barnet", - "roles": [ - "buyer", - "buyer" - ] - }, - { - "additionalIdentifiers": [ - { - "id": "987654321", - "scheme": "GB-VAT" - } - ], - "address": { - "country": "GB", - "locality": "Anytown", - "postalCode": "AN1 1TN", - "region": "AnyCounty", - "streetAddress": "100 Anytown Lane" - }, - "contactPoint": { - "email": "contracts@anycorp.example", - "faxNumber": "12345 456 343", - "name": "Contracts Team", - "telephone": "12345 456 343" - }, - "id": "GB-COH-1234567844", - "identifier": { - "id": "1234567844", - "legalName": "AnyCorp Ltd", - "scheme": "GB-COH", - "uri": "http://www.anycorp.example" - }, - "name": "AnyCorp Cycle Provision", - "roles": [ - "supplier" - ] - } - ], - "planning": { - "budget": { - "amount": { - "amount": 6700000.0, - "currency": "GBP" - }, - "description": "Budget allocation for highway maintenance, aligned with 2015 strategic plan. ", - "id": "6801ad388f3a38b7740dde20108c58b35984ee91", - "project": "Central Junction Cycle Scheme", - "projectID": "SP001", - "source": "https://openspending.org/uk-barnet-budget/entries/6801ad388f3a38b7740dde20108c58b35984ee91", - "uri": "https://openspending.org/uk-barnet-budget/entries/6801ad388f3a38b7740dde20108c58b35984ee91" - }, - "documents": [ - { - "datePublished": "2009-01-05T00:00:00Z", - "description": "The overall strategic framework for procurement to enhance cycle provision.", - "documentType": "procurementPlan", - "format": "application/pdf", - "id": "0001", - "title": "Area Wide Cycle Improvements - Procurement Plan", - "url": "http://example.com/opencontracting/documents/planning/highways/procurementPlan.pdf" - }, - { - "datePublished": "2009-01-15T00:00:00Z", - "description": "Needs assessment for provision for cyclists in the centre of town.", - "documentType": "needsAssessment", - "format": "application/pdf", - "id": "0002", - "title": "Cycle provision - Needs Assessment", - "url": "http://example.com/opencontracting/documents/ocds-213czf-000-00001/needsAssessment.pdf" - } - ], - "rationale": "The 2009 Strategic Plan identifies a need for an improved cycle route in the centre of town." - }, - "tag": [ - "compiled" - ], - "tender": { - "amendments": [ - { - "amendsReleaseID": "ocds-213czf-000-00001-02-tender", - "date": "2010-03-20T09:45:00Z", - "description": "Following the enquiry period, enquiries were received and responses to questions asked have been published. No changes to the overall tender details were made.", - "id": "update-1", - "rationale": "Update following enquiries.", - "releaseID": "ocds-213czf-000-00001-03-tenderUpdate" - }, - { - "amendsReleaseID": "ocds-213czf-000-00001-02-tender", - "date": "2010-03-20T10:45:00Z", - "description": "Following the enquiry period, a decision was made to increase the maximum value by 10%.", - "id": "amendment-1", - "rationale": "Revised value", - "releaseID": "ocds-213czf-000-00001-03-tenderAmendment" - } - ], - "awardCriteria": "bestProposal", - "awardCriteriaDetails": "The best proposal, subject to value for money requirements, will be accepted.", - "awardPeriod": { - "endDate": "2011-08-01T23:59:59Z", - "startDate": "2010-06-01T00:00:00Z" - }, - "description": "Tenders solicited for work to build new cycle lanes in the centre of town.", - "documents": [ - { - "dateModified": "2015-02-15T00:00:00Z", - "datePublished": "2015-02-15T00:00:00Z", - "description": "A consultation document inviting citizen input into cycle provision.", - "format": "text/html", - "id": "0003", - "title": "Consultation on cycle provision", - "url": "http://example.com/consultations/cycle-provision/" - }, - { - "datePublished": "2015-02-15T00:00:00Z", - "description": "A map showing areas affected by the planned highway updates. Available from local libraries.", - "format": "offline/print", - "id": "0004", - "title": "Map of affected areas" - }, - { - "datePublished": "2010-03-01T09:00:00Z", - "description": "Official tender notice.", - "documentType": "notice", - "format": "text/html", - "id": "0005", - "title": "Tender Notice", - "url": "http://example.com/tender-notices/ocds-213czf-000-00001-01.html" - }, - { - "datePublished": "2010-03-20T11:30:15Z", - "description": "Responses to enquiries asked by interested parties.", - "documentType": "enquiryResponses", - "format": "text/html", - "id": "0006", - "title": "Enquiry Responses", - "url": "http://example.com/enquiry-response/ocds-213czf-000-00001-01.html" - } - ], - "enquiryPeriod": { - "endDate": "2010-03-14T17:30:00Z", - "startDate": "2010-03-01T09:00:00Z" - }, - "hasEnquiries": true, - "id": "ocds-213czf-000-00001-01-tender", - "items": [ - { - "additionalClassifications": [ - { - "description": "Cycle path construction work", - "id": "45233162-2", - "scheme": "CPV", - "uri": "http://cpv.data.ac.uk/code-45233162.html" - } - ], - "classification": { - "description": "Construction work for highways", - "id": "45233130", - "scheme": "CPV", - "uri": "http://cpv.data.ac.uk/code-45233130" - }, - "description": "string", - "id": "0001", - "quantity": 8, - "unit": { - "name": "Miles", - "value": { - "amount": 120000, - "currency": "GBP" - } - } - } - ], - "milestones": [ - { - "description": "A consultation period is open for citizen input to shape the final plans.", - "dueDate": "2015-04-15T17:00:00Z", - "id": "0001", - "title": "Consultation Period" - } - ], - "minValue": { - "amount": 600000, - "currency": "GBP" - }, - "procurementMethod": "open", - "procurementMethodRationale": "An open competitive tender is required by EU Rules", - "procuringEntity": { - "id": "GB-LAC-E09000003", - "name": "London Borough of Barnet" - }, - "submissionMethodDetails": "Submit through the online portal at http://example.com/submissions/ocds-213czf-000-00001-01/", - "tenderPeriod": { - "endDate": "2011-04-01T18:00:00Z", - "startDate": "2010-03-01T09:00:00Z" - }, - "title": "Planned cycle lane improvements", - "value": { - "amount": 1210000, - "currency": "GBP" - } - } - }, - "ocid": "ocds-213czf-000-00001", - "releases": [ - { - "ocid": "ocds-213czf-000-00001", - "id": "ocds-213czf-000-00001-01-planning", - "date": "2009-03-15T14:45:00Z", - "tag": [ - "planning" - ], - "parties": [ - { - "identifier": { - "scheme": "GB-LAC", - "id": "E09000003", - "legalName": "London Borough of Barnet", - "uri": "http://www.barnet.gov.uk/" - }, - "name": "London Borough of Barnet", - "address": { - "streetAddress": "4, North London Business Park, Oakleigh Rd S", - "locality": "London", - "region": "London", - "postalCode": "N11 1NP", - "country": "GB" - }, - "contactPoint": { - "name": "Procurement Team", - "email": "procurement-team@example.com", - "telephone": "01234 345 346", - "faxNumber": "01234 345 345", - "url": "http://example.com/contact/" - }, - "roles": [ - "procuringEntity", - "buyer" - ], - "id": "GB-LAC-E09000003" - } - ], - "buyer": { - "id": "GB-LAC-E09000003", - "name": "London Borough of Barnet" - }, - "planning": { - "budget": { - "source": "https://openspending.org/uk-barnet-budget/entries/6801ad388f3a38b7740dde20108c58b35984ee91", - "id": "6801ad388f3a38b7740dde20108c58b35984ee91", - "description": "Budget allocation for highway maintenance, aligned with 2015 strategic plan. ", - "amount": { - "amount": 6700000.0, - "currency": "GBP" - }, - "project": "Central Junction Cycle Scheme", - "projectID": "SP001", - "uri": "https://openspending.org/uk-barnet-budget/entries/6801ad388f3a38b7740dde20108c58b35984ee91" - }, - "rationale": "The 2009 Strategic Plan identifies a need for an improved cycle route in the centre of town.", - "documents": [ - { - "id": "0001", - "documentType": "procurementPlan", - "title": "Area Wide Cycle Improvements - Procurement Plan", - "description": "The overall strategic framework for procurement to enhance cycle provision.", - "url": "http://example.com/opencontracting/documents/planning/highways/procurementPlan.pdf", - "datePublished": "2009-01-05T00:00:00Z", - "format": "application/pdf" - }, - { - "id": "0002", - "documentType": "needsAssessment", - "title": "Cycle provision - Needs Assessment", - "description": "Needs assessment for provision for cyclists in the centre of town.", - "url": "http://example.com/opencontracting/documents/ocds-213czf-000-00001/needsAssessment.pdf", - "datePublished": "2009-01-15T00:00:00Z", - "format": "application/pdf" - } - ] - }, - "tender": { - "id": "ocds-213czf-000-00001-01-planning", - "title": "Planned cycle lane improvements", - "description": "The authority plans to tender for improvements to the cycle lane in early 2010. This notice provides advanced notice of the intention to tender, and details to upcoming consultation events.", - "items": [ - { - "id": "0001", - "description": "string", - "classification": { - "scheme": "CPV", - "id": "45233130", - "description": "Construction work for highways", - "uri": "http://cpv.data.ac.uk/code-45233130" - }, - "additionalClassifications": [ - { - "scheme": "CPV", - "id": "45233162-2", - "description": "Cycle path construction work", - "uri": "http://cpv.data.ac.uk/code-45233162.html" - } - ], - "quantity": 10, - "unit": { - "name": "Miles", - "value": { - "amount": 100000, - "currency": "GBP" - } - } - } - ], - "minValue": { - "amount": 500000, - "currency": "GBP" - }, - "value": { - "amount": 1000000, - "currency": "GBP" - }, - "procurementMethod": "open", - "procurementMethodRationale": "An open competitive tender is required by EU Rules", - "awardCriteria": "bestProposal", - "awardCriteriaDetails": "The best proposal, subject to value for money requirements, will be accepted.", - "tenderPeriod": { - "startDate": "2010-02-01T00:00:00Z" - }, - "awardPeriod": { - "startDate": "2010-06-01T00:00:00Z", - "endDate": "2011-06-01T23:59:59Z" - }, - "procuringEntity": { - "id": "GB-LAC-E09000003", - "name": "London Borough of Barnet" - }, - "documents": [ - { - "id": "0003", - "title": "Consultation on cycle provision", - "description": "A consultation document inviting citizen input into cycle provision.", - "url": "http://example.com/consultations/cycle-provision/", - "datePublished": "2015-02-15T00:00:00Z", - "dateModified": "2015-02-15T00:00:00Z", - "format": "text/html" - }, - { - "id": "0004", - "title": "Map of affected areas", - "description": "A map showing areas affected by the planned highway updates. Available from local libraries.", - "datePublished": "2015-02-15T00:00:00Z", - "format": "offline/print" - } - ], - "milestones": [ - { - "id": "0001", - "title": "Consultation Period", - "description": "A consultation period is open for citizen input to shape the final plans.", - "dueDate": "2015-04-15T17:00:00Z" - } - ] - } - }, - { - "ocid": "ocds-213czf-000-00001", - "id": "ocds-213czf-000-00001-02-tender", - "date": "2010-03-15T09:30:00Z", - "tag": [ - "tender" - ], - "parties": [ - { - "identifier": { - "scheme": "GB-LAC", - "id": "E09000003", - "legalName": "London Borough of Barnet", - "uri": "http://www.barnet.gov.uk/" - }, - "name": "London Borough of Barnet", - "address": { - "streetAddress": "4, North London Business Park, Oakleigh Rd S", - "locality": "London", - "region": "London", - "postalCode": "N11 1NP", - "country": "GB" - }, - "contactPoint": { - "name": "Procurement Team", - "email": "procurement-team@example.com", - "telephone": "01234 345 346", - "faxNumber": "01234 345 345", - "url": "http://example.com/contact/" - }, - "roles": [ - "procuringEntity", - "buyer" - ], - "id": "GB-LAC-E09000003" - } - ], - "buyer": { - "id": "GB-LAC-E09000003", - "name": "London Borough of Barnet" - }, - "tender": { - "id": "ocds-213czf-000-00001-01-tender", - "title": "Planned cycle lane improvements", - "description": "Tenders solicited for work to build new cycle lanes in the centre of town.", - "items": [ - { - "id": "0001", - "description": "string", - "classification": { - "scheme": "CPV", - "id": "45233130", - "description": "Construction work for highways", - "uri": "http://cpv.data.ac.uk/code-45233130" - }, - "additionalClassifications": [ - { - "scheme": "CPV", - "id": "45233162-2", - "description": "Cycle path construction work", - "uri": "http://cpv.data.ac.uk/code-45233162.html" - } - ], - "quantity": 8, - "unit": { - "name": "Miles", - "value": { - "amount": 120000, - "currency": "GBP" - } - } - } - ], - "minValue": { - "amount": 600000, - "currency": "GBP" - }, - "value": { - "amount": 1100000, - "currency": "GBP" - }, - "procurementMethod": "open", - "procurementMethodRationale": "An open competitive tender is required by EU Rules", - "awardCriteria": "bestProposal", - "awardCriteriaDetails": "The best proposal, subject to value for money requirements, will be accepted.", - "submissionMethodDetails": "Submit through the online portal at http://example.com/submissions/ocds-213czf-000-00001-01/", - "enquiryPeriod": { - "startDate": "2010-03-01T09:00:00Z", - "endDate": "2010-03-14T17:30:00Z" - }, - "hasEnquiries": false, - "tenderPeriod": { - "startDate": "2010-03-01T09:00:00Z", - "endDate": "2011-04-01T18:00:00Z" - }, - "awardPeriod": { - "startDate": "2010-06-01T00:00:00Z", - "endDate": "2011-08-01T23:59:59Z" - }, - "procuringEntity": { - "id": "GB-LAC-E09000003", - "name": "London Borough of Barnet" - }, - "documents": [ - { - "id": "0005", - "documentType": "notice", - "title": "Tender Notice", - "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" - } - ] - } - }, - { - "ocid": "ocds-213czf-000-00001", - "id": "ocds-213czf-000-00001-03-tenderAmendment", - "date": "2010-03-20T10:45:00Z", - "tag": [ - "tenderAmendment" - ], - "parties": [ - { - "identifier": { - "scheme": "GB-LAC", - "id": "E09000003", - "legalName": "London Borough of Barnet", - "uri": "http://www.barnet.gov.uk/" - }, - "name": "London Borough of Barnet", - "address": { - "streetAddress": "4, North London Business Park, Oakleigh Rd S", - "locality": "London", - "region": "London", - "postalCode": "N11 1NP", - "country": "GB" - }, - "contactPoint": { - "name": "Procurement Team", - "email": "procurement-team@example.com", - "telephone": "01234 345 346", - "faxNumber": "01234 345 345", - "url": "http://example.com/contact/" - }, - "roles": [ - "procuringEntity", - "buyer" - ], - "id": "GB-LAC-E09000003" - } - ], - "buyer": { - "id": "GB-LAC-E09000003", - "name": "London Borough of Barnet" - }, - "tender": { - "id": "ocds-213czf-000-00001-01-tender", - "title": "Planned cycle lane improvements", - "description": "Tenders solicited for work to build new cycle lanes in the centre of town.", - "items": [ - { - "id": "0001", - "description": "string", - "classification": { - "scheme": "CPV", - "id": "45233130", - "description": "Construction work for highways", - "uri": "http://cpv.data.ac.uk/code-45233130" - }, - "additionalClassifications": [ - { - "scheme": "CPV", - "id": "45233162-2", - "description": "Cycle path construction work", - "uri": "http://cpv.data.ac.uk/code-45233162.html" - } - ], - "quantity": 8, - "unit": { - "name": "Miles", - "value": { - "amount": 120000, - "currency": "GBP" - } - } - } - ], - "minValue": { - "amount": 600000, - "currency": "GBP" - }, - "value": { - "amount": 1210000, - "currency": "GBP" - }, - "procurementMethod": "open", - "procurementMethodRationale": "An open competitive tender is required by EU Rules", - "awardCriteria": "bestProposal", - "awardCriteriaDetails": "The best proposal, subject to value for money requirements, will be accepted.", - "submissionMethodDetails": "Submit through the online portal at http://example.com/submissions/ocds-213czf-000-00001-01/", - "enquiryPeriod": { - "startDate": "2010-03-01T09:00:00Z", - "endDate": "2010-03-14T17:30:00Z" - }, - "hasEnquiries": true, - "tenderPeriod": { - "startDate": "2010-03-01T09:00:00Z", - "endDate": "2011-04-01T18:00:00Z" - }, - "awardPeriod": { - "startDate": "2010-06-01T00:00:00Z", - "endDate": "2011-08-01T23:59:59Z" - }, - "procuringEntity": { - "id": "GB-LAC-E09000003", - "name": "London Borough of Barnet" - }, - "documents": [ - { - "id": "0005", - "documentType": "notice", - "title": "Tender Notice", - "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" - }, - { - "id": "0006", - "documentType": "enquiryResponses", - "title": "Enquiry Responses", - "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" - } - ], - "amendments": [ - { - "id": "update-1", - "date": "2010-03-20T09:45:00Z", - "rationale": "Update following enquiries.", - "description": "Following the enquiry period, enquiries were received and responses to questions asked have been published. No changes to the overall tender details were made.", - "amendsReleaseID": "ocds-213czf-000-00001-02-tender", - "releaseID": "ocds-213czf-000-00001-03-tenderUpdate" - }, - { - "id": "amendment-1", - "date": "2010-03-20T10:45:00Z", - "rationale": "Revised value", - "description": "Following the enquiry period, a decision was made to increase the maximum value by 10%.", - "amendsReleaseID": "ocds-213czf-000-00001-03-tenderUpdate", - "releaseID": "ocds-213czf-000-00001-03-tenderAmendment" - } - ] - } - }, - { - "ocid": "ocds-213czf-000-00001", - "id": "ocds-213czf-000-00001-03-tenderUpdate", - "date": "2010-03-20T09:45:00Z", - "tag": [ - "tenderUpdate" - ], - "parties": [ - { - "identifier": { - "scheme": "GB-LAC", - "id": "E09000003", - "legalName": "London Borough of Barnet", - "uri": "http://www.barnet.gov.uk/" - }, - "name": "London Borough of Barnet", - "address": { - "streetAddress": "4, North London Business Park, Oakleigh Rd S", - "locality": "London", - "region": "London", - "postalCode": "N11 1NP", - "country": "GB" - }, - "contactPoint": { - "name": "Procurement Team", - "email": "procurement-team@example.com", - "telephone": "01234 345 346", - "faxNumber": "01234 345 345", - "url": "http://example.com/contact/" - }, - "roles": [ - "procuringEntity", - "buyer" - ], - "id": "GB-LAC-E09000003" - } - ], - "buyer": { - "id": "GB-LAC-E09000003", - "name": "London Borough of Barnet" - }, - "tender": { - "id": "ocds-213czf-000-00001-01-tender", - "title": "Planned cycle lane improvements", - "description": "Tenders solicited for work to build new cycle lanes in the centre of town.", - "items": [ - { - "id": "0001", - "description": "string", - "classification": { - "scheme": "CPV", - "id": "45233130", - "description": "Construction work for highways", - "uri": "http://cpv.data.ac.uk/code-45233130" - }, - "additionalClassifications": [ - { - "scheme": "CPV", - "id": "45233162-2", - "description": "Cycle path construction work", - "uri": "http://cpv.data.ac.uk/code-45233162.html" - } - ], - "quantity": 8, - "unit": { - "name": "Miles", - "value": { - "amount": 120000, - "currency": "GBP" - } - } - } - ], - "minValue": { - "amount": 600000, - "currency": "GBP" - }, - "value": { - "amount": 1100000, - "currency": "GBP" - }, - "procurementMethod": "open", - "procurementMethodRationale": "An open competitive tender is required by EU Rules", - "awardCriteria": "bestProposal", - "awardCriteriaDetails": "The best proposal, subject to value for money requirements, will be accepted.", - "submissionMethodDetails": "Submit through the online portal at http://example.com/submissions/ocds-213czf-000-00001-01/", - "enquiryPeriod": { - "startDate": "2010-03-01T09:00:00Z", - "endDate": "2010-03-14T17:30:00Z" - }, - "hasEnquiries": true, - "tenderPeriod": { - "startDate": "2010-03-01T09:00:00Z", - "endDate": "2011-04-01T18:00:00Z" - }, - "awardPeriod": { - "startDate": "2010-06-01T00:00:00Z", - "endDate": "2011-08-01T23:59:59Z" - }, - "procuringEntity": { - "id": "GB-LAC-E09000003", - "name": "London Borough of Barnet" - }, - "documents": [ - { - "id": "0005", - "documentType": "notice", - "title": "Tender Notice", - "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" - }, - { - "id": "0006", - "documentType": "enquiryResponses", - "title": "Enquiry Responses", - "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" - } - ], - "amendments": [ - { - "id": "update-1", - "date": "2010-03-20T09:45:00Z", - "rationale": "Update following enquiries.", - "description": "Following the enquiry period, enquiries were received and responses to questions asked have been published. No changes to the overall tender details were made.", - "amendsReleaseID": "ocds-213czf-000-00001-02-tender", - "releaseID": "ocds-213czf-000-00001-03-tenderUpdate" - } - ] - } - }, - { - "ocid": "ocds-213czf-000-00001", - "id": "ocds-213czf-000-00001-04-award", - "date": "2010-05-10T09:30:00Z", - "tag": [ - "award" - ], - "parties": [ - { - "identifier": { - "scheme": "GB-LAC", - "id": "E09000003", - "legalName": "London Borough of Barnet", - "uri": "http://www.barnet.gov.uk/" - }, - "name": "London Borough of Barnet", - "address": { - "streetAddress": "4, North London Business Park, Oakleigh Rd S", - "locality": "London", - "region": "London", - "postalCode": "N11 1NP", - "country": "GB" - }, - "contactPoint": { - "name": "Procurement Team", - "email": "procurement-team@example.com", - "telephone": "01234 345 346", - "faxNumber": "01234 345 345", - "url": "http://example.com/contact/" - }, - "roles": [ - "buyer" - ], - "id": "GB-LAC-E09000003" - }, - { - "identifier": { - "scheme": "GB-COH", - "id": "1234567844", - "legalName": "AnyCorp Ltd", - "uri": "http://www.anycorp.example" - }, - "additionalIdentifiers": [ - { - "scheme": "GB-VAT", - "id": "987654321" - } - ], - "name": "AnyCorp Cycle Provision", - "address": { - "streetAddress": "100 Anytown Lane", - "locality": "Anytown", - "region": "AnyCounty", - "postalCode": "AN1 1TN", - "country": "GB" - }, - "contactPoint": { - "name": "Contracts Team", - "email": "contracts@anycorp.example", - "telephone": "12345 456 343", - "faxNumber": "12345 456 343" - }, - "roles": [ - "supplier" - ], - "id": "GB-COH-1234567844" - } - ], - "buyer": { - "id": "GB-LAC-E09000003", - "name": "London Borough of Barnet" - }, - "awards": [ - { - "id": "ocds-213czf-000-00001-award-01", - "title": "Award of contract to build new cycle lanes in the centre of town.", - "description": "AnyCorp Ltd has been awarded the contract to build new cycle lanes in the centre of town.", - "date": "2010-05-10T09:30:00Z", - "value": { - "amount": 11000000, - "currency": "GBP" - }, - "suppliers": [ - { - "id": "GB-COH-1234567844", - "name": "AnyCorp Cycle Provision" - } - ], - "items": [ - { - "id": "0001", - "description": "string", - "classification": { - "scheme": "CPV", - "id": "45233130", - "description": "Construction work for highways", - "uri": "http://cpv.data.ac.uk/code-45233130" - }, - "additionalClassifications": [ - { - "scheme": "CPV", - "id": "45233162-2", - "description": "Cycle path construction work", - "uri": "http://cpv.data.ac.uk/code-45233162.html" - } - ], - "quantity": 8, - "unit": { - "name": "Miles", - "value": { - "amount": 137000, - "currency": "GBP" - } - } - } - ], - "contractPeriod": { - "startDate": "2010-07-01T00:00:00Z", - "endDate": "2011-08-01T23:59:00Z" - }, - "documents": [ - { - "id": "0007", - "documentType": "notice", - "title": "Award notice", - "description": "Award of contract to build new cycle lanes in the centre of town to AnyCorp Ltd.", - "url": "http://example.com/tender-notices/ocds-213czf-000-00001-04.html", - "datePublished": "2010-05-10T09:30:00Z", - "format": "text/html" - } - ] - } - ] - }, - { - "ocid": "ocds-213czf-000-00001", - "id": "ocds-213czf-000-00001-05-contract", - "date": "2010-05-10T10:30:00Z", - "tag": [ - "contract" - ], - "parties": [ - { - "identifier": { - "scheme": "GB-LAC", - "id": "E09000003", - "legalName": "London Borough of Barnet", - "uri": "http://www.barnet.gov.uk/" - }, - "name": "London Borough of Barnet", - "address": { - "streetAddress": "4, North London Business Park, Oakleigh Rd S", - "locality": "London", - "region": "London", - "postalCode": "N11 1NP", - "country": "GB" - }, - "contactPoint": { - "name": "Procurement Team", - "email": "procurement-team@example.com", - "telephone": "01234 345 346", - "faxNumber": "01234 345 345", - "url": "http://example.com/contact/" - }, - "roles": [ - "buyer" - ], - "id": "GB-LAC-E09000003" - }, - { - "identifier": { - "scheme": "GB-COH", - "id": "1234567844", - "legalName": "AnyCorp Ltd", - "uri": "http://www.anycorp.example" - }, - "additionalIdentifiers": [ - { - "scheme": "GB-VAT", - "id": "987654321" - } - ], - "name": "AnyCorp Cycle Provision", - "address": { - "streetAddress": "100 Anytown Lane", - "locality": "Anytown", - "region": "AnyCounty", - "postalCode": "AN1 1TN", - "country": "GB" - }, - "contactPoint": { - "name": "Contracts Team", - "email": "contracts@anycorp.example", - "telephone": "12345 456 343", - "faxNumber": "12345 456 343" - }, - "roles": [ - "supplier" - ], - "id": "GB-COH-1234567844" - } - ], - "buyer": { - "id": "GB-LAC-E09000003", - "name": "London Borough of Barnet" - }, - "awards": [ - { - "id": "ocds-213czf-000-00001-award-01", - "title": "Award of contract to build new cycle lanes in the centre of town.", - "description": "AnyCorp Ltd has been awarded the contract to build new cycle lanes in the centre of town.", - "date": "2010-05-10T10:30:00Z", - "value": { - "amount": 11000000, - "currency": "GBP" - }, - "suppliers": [ - { - "id": "GB-COH-1234567844", - "name": "AnyCorp Cycle Provision" - } - ], - "items": [ - { - "id": "0001", - "description": "string", - "classification": { - "scheme": "CPV", - "id": "45233130", - "description": "Construction work for highways", - "uri": "http://cpv.data.ac.uk/code-45233130" - }, - "additionalClassifications": [ - { - "scheme": "CPV", - "id": "45233162-2", - "description": "Cycle path construction work", - "uri": "http://cpv.data.ac.uk/code-45233162.html" - } - ], - "quantity": 8, - "unit": { - "name": "Miles", - "value": { - "amount": 137000, - "currency": "GBP" - } - } - } - ], - "contractPeriod": { - "startDate": "2010-07-01T00:00:00Z", - "endDate": "2011-08-01T23:59:00Z" - }, - "documents": [ - { - "id": "0007", - "documentType": "notice", - "title": "Award notice", - "description": "Award of contract to build new cycle lanes in the centre of town to AnyCorp Ltd.", - "url": "http://example.com/tender-notices/ocds-213czf-000-00001-04.html", - "datePublished": "2010-05-10T10:30:00Z", - "format": "text/html" - } - ] - } - ], - "contracts": [ - { - "id": "ocds-213czf-000-00001-contract-01", - "awardID": "ocds-213czf-000-00001-award-01", - "title": "Contract to build new cycle lanes in the centre of town.", - "description": "A contract has been signed between the Council and AnyCorp Ltd for construction of new cycle lanes in the centre of town.", - "period": { - "startDate": "2010-07-01T00:00:00Z", - "endDate": "2011-08-01T23:59:00Z" - }, - "value": { - "amount": 11000000, - "currency": "GBP" - }, - "items": [ - { - "id": "0001", - "description": "string", - "classification": { - "scheme": "CPV", - "id": "45233130", - "description": "Construction work for highways", - "uri": "http://cpv.data.ac.uk/code-45233130" - }, - "additionalClassifications": [ - { - "scheme": "CPV", - "id": "45233162-2", - "description": "Cycle path construction work", - "uri": "http://cpv.data.ac.uk/code-45233162.html" - } - ], - "quantity": 8, - "unit": { - "name": "Miles", - "value": { - "amount": 137000, - "currency": "GBP" - } - } - } - ], - "dateSigned": "2015-06-10T14:23:12Z", - "documents": [ - { - "id": "0008", - "documentType": "contractSigned", - "title": "Signed Contract", - "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" - } - ] - } - ] - }, - { - "ocid": "ocds-213czf-000-00001", - "id": "ocds-213czf-000-00001-06-implementation", - "date": "2011-01-10T09:30:00Z", - "tag": [ - "implementation" - ], - "parties": [ - { - "identifier": { - "scheme": "GB-LAC", - "id": "E09000003", - "legalName": "London Borough of Barnet", - "uri": "http://www.barnet.gov.uk/" - }, - "name": "London Borough of Barnet", - "address": { - "streetAddress": "4, North London Business Park, Oakleigh Rd S", - "locality": "London", - "region": "London", - "postalCode": "N11 1NP", - "country": "GB" - }, - "contactPoint": { - "name": "Procurement Team", - "email": "procurement-team@example.com", - "telephone": "01234 345 346", - "faxNumber": "01234 345 345", - "url": "http://example.com/contact/" - }, - "roles": [ - "buyer" - ], - "id": "GB-LAC-E09000003" - }, - { - "identifier": { - "scheme": "GB-COH", - "id": "1234567844", - "legalName": "AnyCorp Ltd", - "uri": "http://www.anycorp.example" - }, - "additionalIdentifiers": [ - { - "scheme": "GB-VAT", - "id": "987654321" - } - ], - "name": "AnyCorp Cycle Provision", - "address": { - "streetAddress": "100 Anytown Lane", - "locality": "Anytown", - "region": "AnyCounty", - "postalCode": "AN1 1TN", - "country": "GB" - }, - "contactPoint": { - "name": "Contracts Team", - "email": "contracts@anycorp.example", - "telephone": "12345 456 343", - "faxNumber": "12345 456 343" - }, - "roles": [ - "supplier" - ], - "id": "GB-COH-1234567844" - } - ], - "buyer": { - "id": "GB-LAC-E09000003", - "name": "London Borough of Barnet" - }, - "awards": [ - { - "id": "ocds-213czf-000-00001-award-01", - "title": "Award of contract to build new cycle lanes in the centre of town.", - "description": "AnyCorp Ltd has been awarded the contract to build new cycle lanes in the centre of town.", - "date": "2010-05-10T10:30:00Z", - "value": { - "amount": 11000000, - "currency": "GBP" - }, - "suppliers": [ - { - "id": "GB-COH-1234567844", - "name": "AnyCorp Cycle Provision" - } - ], - "items": [ - { - "id": "0001", - "description": "string", - "classification": { - "scheme": "CPV", - "id": "45233130", - "description": "Construction work for highways", - "uri": "http://cpv.data.ac.uk/code-45233130" - }, - "additionalClassifications": [ - { - "scheme": "CPV", - "id": "45233162-2", - "description": "Cycle path construction work", - "uri": "http://cpv.data.ac.uk/code-45233162.html" - } - ], - "quantity": 8, - "unit": { - "name": "Miles", - "value": { - "amount": 137000, - "currency": "GBP" - } - } - } - ], - "contractPeriod": { - "startDate": "2010-07-01T00:00:00Z", - "endDate": "2011-08-01T23:59:00Z" - }, - "documents": [ - { - "id": "0007", - "documentType": "notice", - "title": "Award notice", - "description": "Award of contract to build new cycle lanes in the centre of town to AnyCorp Ltd.", - "url": "http://example.com/tender-notices/ocds-213czf-000-00001-04.html", - "datePublished": "2010-05-10T10:30:00Z", - "format": "text/html" - } - ] - } - ], - "contracts": [ - { - "id": "ocds-213czf-000-00001-contract-01", - "awardID": "ocds-213czf-000-00001-award-01", - "title": "Contract to build new cycle lanes in the centre of town.", - "description": "Contract monitoring for cycle lane construction.", - "period": { - "startDate": "2010-07-01T00:00:00Z", - "endDate": "2011-08-01T23:59:00Z" - }, - "value": { - "amount": 11000000, - "currency": "GBP" - }, - "items": [ - { - "id": "0001", - "description": "string", - "classification": { - "scheme": "CPV", - "id": "45233130", - "description": "Construction work for highways", - "uri": "http://cpv.data.ac.uk/code-45233130" - }, - "additionalClassifications": [ - { - "scheme": "CPV", - "id": "45233162-2", - "description": "Cycle path construction work", - "uri": "http://cpv.data.ac.uk/code-45233162.html" - } - ], - "quantity": 8, - "unit": { - "name": "Miles", - "value": { - "amount": 137000, - "currency": "GBP" - } - } - } - ], - "dateSigned": "2015-06-10T14:23:12Z", - "documents": [ - { - "id": "0009", - "documentType": "physicalProcessReport", - "title": "Progress report", - "description": "Physical progress report for cycle path construction", - "url": "http://example.com/reports/ocds-213czf-000-00001/cycle-path-01.pdf", - "datePublished": "2010-12-15T15:34:02Z", - "format": "application/pdf" - } - ], - "implementation": { - "transactions": [ - { - "id": "ocds-213czf-000-00001-1", - "source": "https://openspending.org/uk-barnet-spending/", - "date": "2010-08-01T00:00:00Z", - "uri": "https://openspending.org/uk-barnet-spending/transaction/asd9235qaghvs1059620ywhgai", - "payer": { - "id": "GB-LAC-E09000003", - "name": "London Borough of Barnet" - }, - "payee": { - "id": "GB-COH-1234567844", - "name": "AnyCorp Ltd" - }, - "value": { - "amount": 500000, - "currency": "GBP" - } - }, - { - "id": "ocds-213czf-000-00001-2", - "source": "https://openspending.org/uk-barnet-spending/", - "date": "2010-10-01T00:00:00Z", - "uri": "https://openspending.org/uk-barnet-spending/transaction/asd9235qaghvs105962as0012", - "payer": { - "id": "GB-LAC-E09000003", - "name": "London Borough of Barnet" - }, - "payee": { - "id": "GB-COH-1234567844", - "name": "AnyCorp Ltd" - }, - "value": { - "amount": 100000, - "currency": "GBP" - } - } - ] - } - } - ] - } - ] - } - ], - "version": "1.1" -} diff --git a/docs/examples/merging/updates/award1.json b/docs/examples/merging/updates/award1.json deleted file mode 100644 index b4a4452fb..000000000 --- a/docs/examples/merging/updates/award1.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "version": "1.1", - "extensions": [], - "releases": [ - { - "ocid": "ocds-213czf-000-00002", - "id": "ocds-213czf-000-00002-01-award1", - "date": "2016-03-01T09:30:00Z", - "tag": [ - "award" - ], - "parties": [ - { - "name": "Open Data Services", - "identifier": { - "scheme": "GB-COH", - "id": "09506232", - "legalName": "Open Data Services Co-operative", - "uri": "https://opencorporates.com/companies/gb/09506232" - }, - "roles": [ - "buyer" - ], - "id": "GB-COH-09506232" - } - ], - "buyer": { - "id": "GB-COH-09506232", - "name": "Open Data Services" - }, - "awards": [ - { - "id": "ocds-213czf-000-00002-award-supplier-one", - "title": "Award of contract to create the data merging tool.", - "description": "Supplier 1 has been commissioned to create the merge tool. A separate contract will be awarded to write the documentation", - "date": "2016-03-01T09:30:00Z", - "value": { - "amount": 750, - "currency": "USD" - } - } - ] - } - ] -} diff --git a/docs/examples/merging/updates/award2.json b/docs/examples/merging/updates/award2.json deleted file mode 100644 index 16dfae8c6..000000000 --- a/docs/examples/merging/updates/award2.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "version": "1.1", - "extensions": [], - "releases": [ - { - "ocid": "ocds-213czf-000-00002", - "id": "ocds-213czf-000-00002-01-award2", - "date": "2016-03-03T09:30:00Z", - "tag": [ - "award" - ], - "parties": [ - { - "name": "Open Data Services", - "identifier": { - "scheme": "GB-COH", - "id": "09506232", - "legalName": "Open Data Services Co-operative", - "uri": "https://opencorporates.com/companies/gb/09506232" - }, - "roles": [ - "buyer" - ], - "id": "GB-COH-09506232" - } - ], - "buyer": { - "id": "GB-COH-09506232", - "name": "Open Data Services" - }, - "awards": [ - { - "id": "ocds-213czf-000-00002-award-supplier-two", - "title": "Award of contract to create the data merging tool.", - "description": "Supplier 2 has been commissioned to create the documentation. A separate contract will be awarded to create the tool", - "date": "2016-03-03T09:30:00Z", - "value": { - "amount": 750, - "currency": "USD" - } - } - ] - } - ] -} diff --git a/docs/examples/merging/updates/merged.json b/docs/examples/merging/updates/merged.json deleted file mode 100644 index 137b58cd0..000000000 --- a/docs/examples/merging/updates/merged.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "version": "1.1", - "records": [ - { - "ocid": "ocds-213czf-000-00002", - "releases": [ - { - "url": "https://standard.open-contracting.org/examples/releases/ocds-213czf-000-00002-01-award1.json#ocds-213czf-000-00002-01-award1", - "date": "2016-03-01T09:30:00Z", - "tag": [ - "award" - ] - }, - { - "url": "https://standard.open-contracting.org/examples/releases/ocds-213czf-000-00002-01-award2.json#ocds-213czf-000-00002-01-award2", - "date": "2016-03-03T09:30:00Z", - "tag": [ - "award" - ] - }, - { - "url": "https://standard.open-contracting.org/examples/releases/ocds-213czf-000-00002-01-tender.json#ocds-213czf-000-00002-01-tender", - "date": "2016-01-01T09:30:00Z", - "tag": [ - "tender" - ] - }, - { - "url": "https://standard.open-contracting.org/examples/releases/ocds-213czf-000-00002-01-tender-update.json#ocds-213czf-000-00002-01-tender-update", - "date": "2016-01-31T09:30:00Z", - "tag": [ - "tenderUpdate" - ] - }, - { - "url": "https://standard.open-contracting.org/examples/releases/ocds-213czf-000-00002-01-tender-amendment.json#ocds-213czf-000-00002-01-tender-amendment", - "date": "2016-02-05T10:30:00Z", - "tag": [ - "tenderAmendment" - ] - } - ], - "compiledRelease": { - "tag": [ - "compiled" - ], - "id": "ocds-213czf-000-00002-2016-03-03T09:30:00Z", - "date": "2016-03-03T09:30:00Z", - "ocid": "ocds-213czf-000-00002", - "parties": [ - { - "id": "GB-COH-09506232", - "name": "Open Data Services", - "identifier": { - "scheme": "GB-COH", - "id": "09506232", - "legalName": "Open Data Services Co-operative", - "uri": "https://opencorporates.com/companies/gb/09506232" - }, - "roles": [ - "buyer" - ] - } - ], - "buyer": { - "id": "GB-COH-09506232", - "name": "Open Data Services" - }, - "tender": { - "id": "ocds-213czf-000-00002-01-tender", - "title": "Data merging tool", - "description": "Creation of a data merging tool. The tool should by written in Python. Proposals should be submitted by e-mail.", - "value": { - "amount": 2000, - "currency": "USD" - }, - "procurementMethod": "open", - "awardCriteria": "bestProposal", - "tenderPeriod": { - "startDate": "2016-01-31T09:00:00Z", - "endDate": "2016-02-20T18:00:00Z" - }, - "awardPeriod": { - "startDate": "2016-04-01T00:00:00Z", - "endDate": "2016-06-01T23:59:59Z" - }, - "amendments": [ - { - "id": "amendment-1", - "date": "2016-02-04T09:30:00Z", - "rationale": "Based on feedback from potential bidders, the total budget was increased by $1000, and the deadline extended", - "amendsReleaseID": "ocds-213czf-000-00002-01-tender", - "releaseID": "ocds-213czf-000-00002-01-tender-amendment" - } - ] - }, - "awards": [ - { - "id": "ocds-213czf-000-00002-award-supplier-one", - "title": "Award of contract to create the data merging tool.", - "description": "Supplier 1 has been commissioned to create the merge tool. A separate contract will be awarded to write the documentation", - "date": "2016-03-01T09:30:00Z", - "value": { - "amount": 750, - "currency": "USD" - } - }, - { - "id": "ocds-213czf-000-00002-award-supplier-two", - "title": "Award of contract to create the data merging tool.", - "description": "Supplier 2 has been commissioned to create the documentation. A separate contract will be awarded to create the tool", - "date": "2016-03-03T09:30:00Z", - "value": { - "amount": 750, - "currency": "USD" - } - } - ] - } - } - ] -} diff --git a/docs/examples/merging/updates/tender1.json b/docs/examples/merging/updates/tender1.json deleted file mode 100644 index ef11cea8d..000000000 --- a/docs/examples/merging/updates/tender1.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "version": "1.1", - "extensions": [], - "releases": [ - { - "ocid": "ocds-213czf-000-00002", - "id": "ocds-213czf-000-00002-01-tender", - "date": "2016-01-01T09:30:00Z", - "tag": [ - "tender" - ], - "parties": [ - { - "name": "Open Data Services", - "identifier": { - "scheme": "GB-COH", - "id": "09506232", - "legalName": "Open Data Services Co-operative", - "uri": "https://opencorporates.com/companies/gb/09506232" - }, - "roles": [ - "buyer" - ], - "id": "GB-COH-09506232" - } - ], - "buyer": { - "id": "GB-COH-09506232", - "name": "Open Data Services" - }, - "tender": { - "id": "ocds-213czf-000-00002-01-tender", - "title": "Data merging tool", - "description": "Data merge tool.", - "value": { - "amount": 1000, - "currency": "USD" - }, - "procurementMethod": "open", - "awardCriteria": "bestProposal", - "tenderPeriod": { - "startDate": "2016-01-31T09:00:00Z", - "endDate": "2016-02-15T18:00:00Z" - }, - "awardPeriod": { - "startDate": "2016-04-01T00:00:00Z", - "endDate": "2016-06-01T23:59:59Z" - } - } - } - ] -} diff --git a/docs/examples/merging/updates/tender2.json b/docs/examples/merging/updates/tender2.json deleted file mode 100644 index a895f18a0..000000000 --- a/docs/examples/merging/updates/tender2.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "version": "1.1", - "extensions": [], - "releases": [ - { - "ocid": "ocds-213czf-000-00002", - "id": "ocds-213czf-000-00002-01-tender-update", - "date": "2016-01-31T09:30:00Z", - "tag": [ - "tenderUpdate" - ], - "parties": [ - { - "name": "Open Data Services", - "identifier": { - "scheme": "GB-COH", - "id": "09506232", - "legalName": "Open Data Services Co-operative", - "uri": "https://opencorporates.com/companies/gb/09506232" - }, - "roles": [ - "buyer" - ], - "id": "GB-COH-09506232" - } - ], - "buyer": { - "id": "GB-COH-09506232", - "name": "Open Data Services" - }, - "tender": { - "id": "ocds-213czf-000-00002-01-tender", - "title": "Data merging tool", - "description": "Creation of a data merging tool. The tool should by written in Python. Proposals should be submitted by e-mail.", - "value": { - "amount": 1000, - "currency": "USD" - }, - "procurementMethod": "open", - "awardCriteria": "bestProposal", - "tenderPeriod": { - "startDate": "2016-01-31T09:00:00Z", - "endDate": "2016-02-15T18:00:00Z" - }, - "awardPeriod": { - "startDate": "2016-04-01T00:00:00Z", - "endDate": "2016-06-01T23:59:59Z" - } - } - } - ] -} diff --git a/docs/examples/merging/updates/tender3.json b/docs/examples/merging/updates/tender3.json deleted file mode 100644 index 993df45f6..000000000 --- a/docs/examples/merging/updates/tender3.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "version": "1.1", - "extensions": [], - "releases": [ - { - "ocid": "ocds-213czf-000-00002", - "id": "ocds-213czf-000-00002-01-tender-amendment", - "date": "2016-02-05T10:30:00Z", - "tag": [ - "tenderAmendment" - ], - "parties": [ - { - "name": "Open Data Services", - "identifier": { - "scheme": "GB-COH", - "id": "09506232", - "legalName": "Open Data Services Co-operative", - "uri": "https://opencorporates.com/companies/gb/09506232" - }, - "roles": [ - "buyer" - ], - "id": "GB-COH-09506232" - } - ], - "buyer": { - "id": "GB-COH-09506232", - "name": "Open Data Services" - }, - "tender": { - "id": "ocds-213czf-000-00002-01-tender", - "title": "Data merging tool", - "description": "Creation of a data merging tool. The tool should by written in Python. Proposals should be submitted by e-mail.", - "value": { - "amount": 2000, - "currency": "USD" - }, - "procurementMethod": "open", - "awardCriteria": "bestProposal", - "tenderPeriod": { - "startDate": "2016-01-31T09:00:00Z", - "endDate": "2016-02-20T18:00:00Z" - }, - "awardPeriod": { - "startDate": "2016-04-01T00:00:00Z", - "endDate": "2016-06-01T23:59:59Z" - }, - "amendments": [ - { - "id": "amendment-1", - "date": "2016-02-04T09:30:00Z", - "rationale": "Based on feedback from potential bidders, the total budget was increased by $1000, and the deadline extended", - "amendsReleaseID": "ocds-213czf-000-00002-01-tender", - "releaseID": "ocds-213czf-000-00002-01-tender-amendment" - } - ] - } - } - ] -} diff --git a/docs/examples/merging/updates/versioned.json b/docs/examples/merging/updates/versioned.json deleted file mode 100644 index 1cc80020d..000000000 --- a/docs/examples/merging/updates/versioned.json +++ /dev/null @@ -1,515 +0,0 @@ -{ - "version": "1.1", - "records": [ - { - "ocid": "ocds-213czf-000-00002", - "releases": [ - { - "url": "https://standard.open-contracting.org/examples/releases/ocds-213czf-000-00002-01-award1.json#ocds-213czf-000-00002-01-award1", - "date": "2016-03-01T09:30:00Z", - "tag": [ - "award" - ] - }, - { - "url": "https://standard.open-contracting.org/examples/releases/ocds-213czf-000-00002-01-award2.json#ocds-213czf-000-00002-01-award2", - "date": "2016-03-03T09:30:00Z", - "tag": [ - "award" - ] - }, - { - "url": "https://standard.open-contracting.org/examples/releases/ocds-213czf-000-00002-01-tender.json#ocds-213czf-000-00002-01-tender", - "date": "2016-01-01T09:30:00Z", - "tag": [ - "tender" - ] - }, - { - "url": "https://standard.open-contracting.org/examples/releases/ocds-213czf-000-00002-01-tender-update.json#ocds-213czf-000-00002-01-tender-update", - "date": "2016-01-31T09:30:00Z", - "tag": [ - "tenderUpdate" - ] - }, - { - "url": "https://standard.open-contracting.org/examples/releases/ocds-213czf-000-00002-01-tender-amendment.json#ocds-213czf-000-00002-01-tender-amendment", - "date": "2016-02-05T10:30:00Z", - "tag": [ - "tenderAmendment" - ] - } - ], - "compiledRelease": { - "tag": [ - "compiled" - ], - "id": "ocds-213czf-000-00002-2016-03-03T09:30:00Z", - "date": "2016-03-03T09:30:00Z", - "ocid": "ocds-213czf-000-00002", - "parties": [ - { - "id": "GB-COH-09506232", - "name": "Open Data Services", - "identifier": { - "scheme": "GB-COH", - "id": "09506232", - "legalName": "Open Data Services Co-operative", - "uri": "https://opencorporates.com/companies/gb/09506232" - }, - "roles": [ - "buyer" - ] - } - ], - "buyer": { - "id": "GB-COH-09506232", - "name": "Open Data Services" - }, - "tender": { - "id": "ocds-213czf-000-00002-01-tender", - "title": "Data merging tool", - "description": "Creation of a data merging tool. The tool should by written in Python. Proposals should be submitted by e-mail.", - "value": { - "amount": 2000, - "currency": "USD" - }, - "procurementMethod": "open", - "awardCriteria": "bestProposal", - "tenderPeriod": { - "startDate": "2016-01-31T09:00:00Z", - "endDate": "2016-02-20T18:00:00Z" - }, - "awardPeriod": { - "startDate": "2016-04-01T00:00:00Z", - "endDate": "2016-06-01T23:59:59Z" - }, - "amendments": [ - { - "id": "amendment-1", - "date": "2016-02-04T09:30:00Z", - "rationale": "Based on feedback from potential bidders, the total budget was increased by $1000, and the deadline extended", - "amendsReleaseID": "ocds-213czf-000-00002-01-tender", - "releaseID": "ocds-213czf-000-00002-01-tender-amendment" - } - ] - }, - "awards": [ - { - "id": "ocds-213czf-000-00002-award-supplier-one", - "title": "Award of contract to create the data merging tool.", - "description": "Supplier 1 has been commissioned to create the merge tool. A separate contract will be awarded to write the documentation", - "date": "2016-03-01T09:30:00Z", - "value": { - "amount": 750, - "currency": "USD" - } - }, - { - "id": "ocds-213czf-000-00002-award-supplier-two", - "title": "Award of contract to create the data merging tool.", - "description": "Supplier 2 has been commissioned to create the documentation. A separate contract will be awarded to create the tool", - "date": "2016-03-03T09:30:00Z", - "value": { - "amount": 750, - "currency": "USD" - } - } - ] - }, - "versionedRelease": { - "ocid": "ocds-213czf-000-00002", - "parties": [ - { - "id": "GB-COH-09506232", - "name": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "Open Data Services" - } - ], - "identifier": { - "scheme": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "GB-COH" - } - ], - "id": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "09506232" - } - ], - "legalName": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "Open Data Services Co-operative" - } - ], - "uri": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "https://opencorporates.com/companies/gb/09506232" - } - ] - }, - "roles": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": [ - "buyer" - ] - } - ] - } - ], - "buyer": { - "id": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "GB-COH-09506232" - } - ], - "name": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "Open Data Services" - } - ] - }, - "tender": { - "id": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "ocds-213czf-000-00002-01-tender" - } - ], - "title": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "Data merging tool" - } - ], - "description": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "Data merge tool." - }, - { - "releaseID": "ocds-213czf-000-00002-01-tender-update", - "releaseDate": "2016-01-31T09:30:00Z", - "releaseTag": [ - "tenderUpdate" - ], - "value": "Creation of a data merging tool. The tool should by written in Python. Proposals should be submitted by e-mail." - } - ], - "value": { - "amount": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": 1000 - }, - { - "releaseID": "ocds-213czf-000-00002-01-tender-amendment", - "releaseDate": "2016-02-05T10:30:00Z", - "releaseTag": [ - "tenderAmendment" - ], - "value": 2000 - } - ], - "currency": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "USD" - } - ] - }, - "procurementMethod": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "open" - } - ], - "awardCriteria": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "bestProposal" - } - ], - "tenderPeriod": { - "startDate": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "2016-01-31T09:00:00Z" - } - ], - "endDate": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "2016-02-15T18:00:00Z" - }, - { - "releaseID": "ocds-213czf-000-00002-01-tender-amendment", - "releaseDate": "2016-02-05T10:30:00Z", - "releaseTag": [ - "tenderAmendment" - ], - "value": "2016-02-20T18:00:00Z" - } - ] - }, - "awardPeriod": { - "startDate": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "2016-04-01T00:00:00Z" - } - ], - "endDate": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": "2016-06-01T23:59:59Z" - } - ] - }, - "amendments": [ - { - "id": "amendment-1", - "date": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender-amendment", - "releaseDate": "2016-02-05T10:30:00Z", - "releaseTag": [ - "tenderAmendment" - ], - "value": "2016-02-04T09:30:00Z" - } - ], - "rationale": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender-amendment", - "releaseDate": "2016-02-05T10:30:00Z", - "releaseTag": [ - "tenderAmendment" - ], - "value": "Based on feedback from potential bidders, the total budget was increased by $1000, and the deadline extended" - } - ], - "amendsReleaseID": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender-amendment", - "releaseDate": "2016-02-05T10:30:00Z", - "releaseTag": [ - "tenderAmendment" - ], - "value": "ocds-213czf-000-00002-01-tender" - } - ], - "releaseID": [ - { - "releaseID": "ocds-213czf-000-00002-01-tender-amendment", - "releaseDate": "2016-02-05T10:30:00Z", - "releaseTag": [ - "tenderAmendment" - ], - "value": "ocds-213czf-000-00002-01-tender-amendment" - } - ] - } - ] - }, - "awards": [ - { - "id": "ocds-213czf-000-00002-award-supplier-one", - "title": [ - { - "releaseID": "ocds-213czf-000-00002-01-award1", - "releaseDate": "2016-03-01T09:30:00Z", - "releaseTag": [ - "award" - ], - "value": "Award of contract to create the data merging tool." - } - ], - "description": [ - { - "releaseID": "ocds-213czf-000-00002-01-award1", - "releaseDate": "2016-03-01T09:30:00Z", - "releaseTag": [ - "award" - ], - "value": "Supplier 1 has been commissioned to create the merge tool. A separate contract will be awarded to write the documentation" - } - ], - "date": [ - { - "releaseID": "ocds-213czf-000-00002-01-award1", - "releaseDate": "2016-03-01T09:30:00Z", - "releaseTag": [ - "award" - ], - "value": "2016-03-01T09:30:00Z" - } - ], - "value": { - "amount": [ - { - "releaseID": "ocds-213czf-000-00002-01-award1", - "releaseDate": "2016-03-01T09:30:00Z", - "releaseTag": [ - "award" - ], - "value": 750 - } - ], - "currency": [ - { - "releaseID": "ocds-213czf-000-00002-01-award1", - "releaseDate": "2016-03-01T09:30:00Z", - "releaseTag": [ - "award" - ], - "value": "USD" - } - ] - } - }, - { - "id": "ocds-213czf-000-00002-award-supplier-two", - "title": [ - { - "releaseID": "ocds-213czf-000-00002-01-award2", - "releaseDate": "2016-03-03T09:30:00Z", - "releaseTag": [ - "award" - ], - "value": "Award of contract to create the data merging tool." - } - ], - "description": [ - { - "releaseID": "ocds-213czf-000-00002-01-award2", - "releaseDate": "2016-03-03T09:30:00Z", - "releaseTag": [ - "award" - ], - "value": "Supplier 2 has been commissioned to create the documentation. A separate contract will be awarded to create the tool" - } - ], - "date": [ - { - "releaseID": "ocds-213czf-000-00002-01-award2", - "releaseDate": "2016-03-03T09:30:00Z", - "releaseTag": [ - "award" - ], - "value": "2016-03-03T09:30:00Z" - } - ], - "value": { - "amount": [ - { - "releaseID": "ocds-213czf-000-00002-01-award2", - "releaseDate": "2016-03-03T09:30:00Z", - "releaseTag": [ - "award" - ], - "value": 750 - } - ], - "currency": [ - { - "releaseID": "ocds-213czf-000-00002-01-award2", - "releaseDate": "2016-03-03T09:30:00Z", - "releaseTag": [ - "award" - ], - "value": "USD" - } - ] - } - } - ] - } - } - ] -} diff --git a/docs/examples/organizations/consortia_simple.csv b/docs/examples/organizations/consortia_simple.csv deleted file mode 100644 index 9318b76b3..000000000 --- a/docs/examples/organizations/consortia_simple.csv +++ /dev/null @@ -1,2 +0,0 @@ -awards/0/id,awards/0/title,awards/0/suppliers/0/name,awards/0/suppliers/0/identifier/scheme,awards/0/suppliers/0/identifier/id,awards/0/suppliers/1/name,awards/0/suppliers/1/identifier/scheme,awards/0/suppliers/1/identifier/id -DHSC-2019-A18074,Medical imaging device development,SIEMENS PUBLIC LIMITED COMPANY,GB-COH,727817,MICROSOFT LIMITED,GB-COH,1624297 diff --git a/docs/examples/primer/primer.csv b/docs/examples/primer/primer.csv new file mode 100644 index 000000000..5cd25f8b0 --- /dev/null +++ b/docs/examples/primer/primer.csv @@ -0,0 +1,2 @@ +ocid,id,date,tag,tender/id,tender/title,tender/value/amount,tender/value/currency +ocds-213czf-0000,1,2024-01-01T00:00:00Z,tender,1,Purchase of office supplies,6000,USD diff --git a/docs/examples/primer/primer.json b/docs/examples/primer/primer.json new file mode 100644 index 000000000..3d8978132 --- /dev/null +++ b/docs/examples/primer/primer.json @@ -0,0 +1,21 @@ +{ + "version": "1.1", + "releases": [ + { + "ocid": "ocds-213czf-0000", + "id": "1", + "date": "2024-01-01T00:00:00Z", + "tag": [ + "tender" + ], + "tender": { + "id": "1", + "title": "Purchase of office supplies", + "value": { + "amount": 6000, + "currency": "USD" + } + } + } + ] +} diff --git a/docs/examples/record_reference/linked_releases.json b/docs/examples/record_reference/linked_releases.json new file mode 100644 index 000000000..8da33d89a --- /dev/null +++ b/docs/examples/record_reference/linked_releases.json @@ -0,0 +1,31 @@ +{ + "version": "1.1", + "records": [ + { + "ocid": "ocds-213czf-000-00002", + "releases": [ + { + "url": "https://example.com/releases/ocds-213czf-000-00002.json#1", + "date": "2024-01-01T00:00:00Z", + "tag": [ + "tender" + ] + }, + { + "url": "https://example.com/releases/ocds-213czf-000-00002.json#2", + "date": "2024-01-07T00:00:00Z", + "tag": [ + "tenderUpdate" + ] + }, + { + "url": "https://example.com/releases/ocds-213czf-000-00002.json#3", + "date": "2024-01-14T00:00:00Z", + "tag": [ + "tenderAmendment" + ] + } + ] + } + ] +} diff --git a/docs/guidance/build/change_history.md b/docs/guidance/build/change_history.md index 7661f52cd..5f8a03502 100644 --- a/docs/guidance/build/change_history.md +++ b/docs/guidance/build/change_history.md @@ -102,7 +102,7 @@ The record gets updated to include the new release. The compiled and versioned r ## Implementation -The supplier starts the construction work. After a while, the procuring entity makes the first payment to the supplier. The publisher creates a release to document this update in the process. +The supplier starts the construction work. After a while, the buyer makes the first payment to the supplier. The publisher creates a release to document this update in the process. So far, the council used a single procurement system to manage the process. The procurement system published the previous OCDS releases. diff --git a/docs/guidance/build/merging.md b/docs/guidance/build/merging.md index 76921a3fb..b6bcdda98 100644 --- a/docs/guidance/build/merging.md +++ b/docs/guidance/build/merging.md @@ -10,56 +10,11 @@ The merge routine also allows a publisher to correct a publication error by dele The following examples show how updates and deletions are reflected in compiled and versioned releases. -## Example 1: Updates +## Updates -A public procurement agency publishes a release to announce an opportunity on January 1, 2016 in which the estimated value of the procurement is $1,000. On January 31, it publishes a release to expand the description of the procurement. On February 5, it publishes a release to amend the opportunity, in which the estimated value is increased to $2,000. +The [tender updates and amendments example](../map/amendments.md) illustrates how releases are used to update field values and how updates are reflected in compiled and versioned releases. -The agency decides to award the opportunity to two of the bidders. On March 1, the agency publishes a release to announce that Company A is awarded a contract of $750. On March 3, the agency publishes a release to announce that Company B is awarded a contract of $750. - -Through these individual releases, the agency provides real-time data about the contracting (or planning) process. - -In each release, the agency also updates the record, which combines all the releases to date. In the final record: - -* The compiled release contains all the information about the opportunity and awards, using the same schema as a release. -* The versioned release makes it easy to see how the description and estimated value changed over time. - -```{jsoninclude} ../../examples/merging/updates/tender1.json -:jsonpointer: -:expand: releases, tag, tender -:title: tender -``` - -```{jsoninclude} ../../examples/merging/updates/tender2.json -:jsonpointer: -:expand: releases, tag, tender -:title: tenderUpdate -``` - -```{jsoninclude} ../../examples/merging/updates/tender3.json -:jsonpointer: -:expand: releases, tag, tender -:title: tenderAmendment -``` - -```{jsoninclude} ../../examples/merging/updates/award1.json -:jsonpointer: -:expand: releases, tag, awards -:title: awardOne -``` - -```{jsoninclude} ../../examples/merging/updates/award2.json -:jsonpointer: -:expand: releases, tag, awards -:title: awardTwo -``` - -```{jsoninclude} ../../examples/merging/updates/versioned.json -:jsonpointer: -:expand: records, compiledRelease, versionedRelease, tag, tender, awards -:title: record -``` - -## Example 2: Deletion of fields and objects +## Deletion of fields and objects ### Fields @@ -115,7 +70,7 @@ The final record is shown below. Note that the fields in the `contractPeriod` bl :title: record ``` -## Example 3: Deletion of array items +## Deletion of array items The public procurement authority in Zambia publishes an award notice, as well as an OCDS release with an 'award' tag. A NGO collects the individual releases published by the procurement authority on a weekly basis to merge into their own records, which they use to display information on their website. diff --git a/docs/guidance/map/amendments.md b/docs/guidance/map/amendments.md index 32c126d9e..877afd456 100644 --- a/docs/guidance/map/amendments.md +++ b/docs/guidance/map/amendments.md @@ -4,31 +4,31 @@ # Updates and amendments -Information about a contracting (or planning) process will often change over time. +Information about a contracting (or planning) process often changes over time. -Each time information changes, a new OCDS release ought to be published. The new release can contain information that was previously published, in addition to the new information. +Each time information changes, a new OCDS release ought to be published. The new release can repeat information that was previously published, in addition to new and changed information. -There are three kinds of changes: +There are three types of changes: * **New information**. For example, when information about the award of a contract is first released. -* **Updates to existing information**. For example, to correct errors in earlier releases, or to make minor adjustments to titles, descriptions or date. -* **Amendments**. For example, when the value or duration of a contract is changed. The term amendment often has a specific legal meaning for a publisher. Certain changes to a tender, award or contract might only be allowed as part of an amendment. +* **Updates to existing information**. For example, to correct errors in earlier releases, or to make minor adjustments to titles, descriptions or dates. +* **Amendments**. For example, when the value or duration of a contract is changed. The term amendment often has a specific legal meaning for a publisher. Certain changes to a tender, award or contract might only be permitted as part of an amendment. The nature of a change can be made explicit using: -* **The release tag** (`tag`). For example, for a release with a new contract, use 'contract'. For an update to the contract, use 'contractUpdate', and for an amendment to the contract, use 'contractAmendment'. +* **The release tag** field (`tag`), which is used to identify the type of change. For example, 'contract' identifies information about a new contract, 'contractUpdate' identifies an update to existing information about a contract, and 'contractAmendment' identifies a formal amendment to a contract. -* **The amendments** building block. This can contain an array of amendment explanations, and clearly identify the releases that contain before and after values. +* **The amendments** fields (`tender.amendments`, `awards.amendments` and `contracts.amendments`), which are used to list amendments along with their rationales and references to the releases that contain "before" and "after" values. ## Worked examples ### Example 1: Tender updates and amendments -This example goes through updates during the **tender** stage in a contracting process. +This example illustrates how new information, updates and amendments are modelled in OCDS. -#### Tender +#### Tender release -A publisher issues a tender for a "Data merge tool". A new release with the `tag` 'tender' is built, see the JSON example below. +A buyer publishes an opportunity for the purchase of office supplies. ```{jsoninclude} ../../examples/amendments/tender.json :jsonpointer: /records/0/releases/0 @@ -36,9 +36,13 @@ A publisher issues a tender for a "Data merge tool". A new release with the `tag :title: Tender ``` -#### Tender Update +#### Tender update release -Weeks later, the publisher expands the `description` of the tender to provide more details about the tool being procured. A new release with the `tag` 'tenderUpdate' is built. The publisher does not consider this to be a formal 'amendment' to the tender, so does not publish any amendment information. See the JSON release below. +The buyer now indicates the opportunity's main procurement category. The new information is not a formal amendment, so the publisher uses the 'tenderUpdate' tag and omits the `tender.amendments` field. + +```{note} +The publisher chooses to repeat fields whose values are unchanged from the previous release. Such fields can be omitted when a publication provides access to historic releases. +``` ```{jsoninclude} ../../examples/amendments/tender.json :jsonpointer: /records/0/releases/1 @@ -46,9 +50,11 @@ Weeks later, the publisher expands the `description` of the tender to provide mo :title: TenderUpdate ``` -#### Tender Amendment +#### Tender amendment release -A few days later, the publisher increases the value of the tender and extends the deadline for bid submissions. These changes are considered as an 'amendment' by the publisher (depending on jurisdiction, certain changes can need to be disclosed as amendments), and so the new release has the `tag` 'tenderAmendment' and an `amendments` block under `tender`. The release reflects the updated value (USD 2000 instead of USD 1000) and the updated closing date for bid submissions (`2012-02-20` instead of `2012-02-15`). See the JSON example below. +The buyer increases the estimated value of the opportunity. This change is a formal amendment, so the publisher uses the 'tenderAmendment' tag and populates the `tender.amendments` field. + +Note that `tender.amendments` does not include the changed values. Rather, the `tender.value.amount` field itself is updated. ```{jsoninclude} ../../examples/amendments/tender.json :jsonpointer: /records/0/releases/2 @@ -58,71 +64,25 @@ A few days later, the publisher increases the value of the tender and extends th #### Record -A full record is provided below, with all the releases for the process and a `compiledRelease` and `versionedRelease`. The `versionedRelease` block reflects all the changes made in the tender. +`releases` contains the above releases, `compiledRelease` contains the latest value of each field, and `versionedRelease` contains a history of changes to each field. + +The `releaseID` and `amendsReleaseID` fields in the `amendments` array of the compiled release can be looked up in `releases` and `versionedRelease` to determine what changed. ```{jsoninclude} ../../examples/amendments/tender.json -:jsonpointer: -:expand: records, releases +:jsonpointer: /records/0 +:expand: compiledRelease, versionedRelease, value, amount :title: FullRecord ``` ```{hint} -It is encouraged to [download](../../examples/amendments/tender.json) the record example and use the [Data Review Tool](https://review.standard.open-contracting.org/) to explore the changes in the contracting process. -``` - -Note in this example that: - -* **The amendments block does not contain data on what was changed**. Changes are recorded by updating the fields of the `tender` block a new release. - -* **The publisher chooses in the 'tenderAmendment' release to repeat a fragment of the original 'tender' release**. This is not necessary when a full archive of releases is made accessible, but a publisher might want to provide the latest data available in each release. - -* **In the record**, the `releaseID` and `amendsReleaseID` fields from the `amendments` array can be used to look up information in the `versionedRelease` object or `releases` array, to see where changes are explained by an amendment `rationale`. - -### Example 2: Contract amendment - -This example shows an update to the value and scope of a contract. - -#### Contract - -A contract signature notice is published for the purchase of domestic appliances. The publisher builds a release and uses the 'contract' `tag`. - -See the JSON release below. - -```{jsoninclude} ../../examples/amendments/contract.json -:jsonpointer: /records/0/releases/0 -:expand: tag, contracts, items -:title: Contract +[Download](../../examples/amendments/tender.json) the record example and use the [Data Review Tool](https://review.standard.open-contracting.org/) to explore the changes in the contracting process. ``` -#### Contract Amendment - -A few days after the contract release, its scope is increased to include the purchase of one additional appliance. A new 'contractAmendment' release is built, where a single item is added in the `contracts/items` block and the value of the contract is increased. A `amendments` block is included to explain the rationale of the changes. - -See the example release below. - -```{jsoninclude} ../../examples/amendments/contract.json -:jsonpointer: /records/0/releases/1 -:expand: tag, contracts, items, amendments -:title: ContractAmendment -``` - -Note that amendments can cover more than values or duration. Also, note that the publisher chose to not repeat the contract items, but add a new one with a new ID value. - -In certain scenarios there might not be a valid `amendsReleaseID` and so it can be omitted, e.g. when historical data is being published in a single release. - -#### Record - -An example record for the whole process is shown below. Consider downloading the [record example](../../examples/amendments/contract.json) and use the [Data Review Tool](https://review.standard.open-contracting.org/) to explore the changes in the contracting process. - -Note that the `compiledRelease` contains all the items, included the latest one added in the contract amendment. - -```{jsoninclude} ../../examples/amendments/contract.json -:jsonpointer: -:expand: records, releases -:title: Record +```{admonition} Award and contract updates and amendments +Award and contract updates and amendments are modelled in the same way. The 'award', 'contract', 'awardUpdate', 'contractUpdate' and 'contractAmendment' release tags indicate the type of change. Amendments are listed in the `awards.amendments` and `contracts.amendments` fields. ``` -### Example 3: Amendments in a Easy Releases scenario +### Example 2: Amendments in a Easy Releases scenario The [Easy releases guidance](../build/easy_releases) explains how to publish releases without storing or publishing a full change history. Depending on the source system, it might still be possible to publish a history of amendments when using this model. diff --git a/docs/guidance/map/buyers_suppliers.md b/docs/guidance/map/buyers_suppliers.md index 4e03a6884..2e58a7920 100644 --- a/docs/guidance/map/buyers_suppliers.md +++ b/docs/guidance/map/buyers_suppliers.md @@ -38,13 +38,13 @@ In such cases, the `Award` object in OCDS can have multiple suppliers associated ### Example: Consortia suppliers -Siemens and Microsoft bid as a consortium for a contract to develop a new medical imaging device for the Department of Health and Social Care. +Siemens and Microsoft bid as a consortium for a contract. The contract is awarded to the consortium; however, the legal entity for the consortium is not created until after the contract award. -Both Siemens and Microsoft are listed as suppliers on the contract award in OCDS, with the respective legal entity identifiers for each organization: +Both Siemens and Microsoft are listed as suppliers on the contract award: -```{csv-table-no-translate} -:header-rows: 1 -:file: ../../examples/organizations/consortia_simple.csv +```{jsoninclude} ../../examples/buyers_suppliers/consortia.json +:jsonpointer: /releases +:expand: awards, suppliers, parties, identifier ``` diff --git a/docs/guidance/map/milestones.md b/docs/guidance/map/milestones.md index c2de80451..64cefe157 100644 --- a/docs/guidance/map/milestones.md +++ b/docs/guidance/map/milestones.md @@ -18,7 +18,7 @@ populate the tender milestones block instead. ## Tender The tender milestones block is used to describe two types of milestone: - * Key dates in the tender and award stages which are not covered by other fields, for example, the date by which procuring entity will respond to enquiries. + * Key dates in the tender and award stages which are not covered by other fields, for example, the date by which the buyer or procuring entity will respond to enquiries. * Anticipated milestones during the contract implementation stage, for example, the date by which goods need to be delivered. ## Contract diff --git a/docs/guidance/map/organizational_units.md b/docs/guidance/map/organizational_units.md index 1d5a276fc..d23a6c501 100644 --- a/docs/guidance/map/organizational_units.md +++ b/docs/guidance/map/organizational_units.md @@ -25,7 +25,7 @@ Some publishers use the [memberOf](https://github.com/open-contracting-extension In Honduras, the Ministry of Health is planning the procurement of food supplies for the San Felipe Hospital. For the purposes of the example, San Felipe Hospital is considered to be a unit belonging to the Ministry of Health, and it is not a legal entity of its own. -In the release below, the publisher adds the hospital name at the end of the procuring entity name. The main identifier for the organization (*Secretaría de Salud Pública*) is extracted from a local list in the "HonduCompras" platform, used to publish procurement information in the country. +In the release below, the publisher adds the hospital name at the end of the buyer and procuring entity names. The main identifier for the organization (*Secretaría de Salud Pública*) is extracted from a local list in the "HonduCompras" platform, used to publish procurement information in the country. An identifier for the hospital has been added using the "HN-ONCAE-UNIT" list code. The `address` and `contactPoint` information belongs to the hospital only. diff --git a/docs/guidance/map/pre-qualification.md b/docs/guidance/map/pre-qualification.md index 7e02c3597..b79d23984 100644 --- a/docs/guidance/map/pre-qualification.md +++ b/docs/guidance/map/pre-qualification.md @@ -39,7 +39,7 @@ The UNCITRAL model law defines pre-selection as a procedure to: > ...identify, prior to solicitation, a **limited number** of suppliers or contractors that best meet the qualification criteria for the procurement concerned. -Pre-selection follows the same process as pre-qualification, with some additional requirements. The invitation to pre-qualify needs to specify how many potential suppliers the buyer or procuring entity will later request proposals from. The invitation also needs to specify how the procuring entity will select the potential suppliers to request proposals from. +Pre-selection follows the same process as pre-qualification, with some additional requirements. The invitation to pre-qualify needs to specify how many potential suppliers the buyer or procuring entity will later request proposals from. The invitation also needs to specify how the buyer or procuring entity will select the potential suppliers to request proposals from. ```{note} The European Union's restricted procedure, competitive procedure with negotiation, competitive dialogue procedure and innovation partnership all permit the use of pre-selection (see Article 65, [Directive 2014/24/EU](https://eur-lex.europa.eu/eli/dir/2014/24/oj)). diff --git a/docs/primer/how.md b/docs/primer/how.md index 6f493344b..403f6217d 100644 --- a/docs/primer/how.md +++ b/docs/primer/how.md @@ -108,14 +108,27 @@ Some schema fields refer to [codelists](../schema/codelists), to limit and stand In addition to the default format of JSON, you can convert and publish your OCDS data as Excel and CSV (comma-separated values) files. -```{admonition} Publication formats: JSON and Excel/CSV +````{admonition} Publication formats: JSON and Excel/CSV :class: hint While the OCDS schema is described using JSON Schema, OCDS data can be converted from its JSON format to tabular formats such as CSV files or spreadsheets. JSON is favored by developers because it uses human-readable text to exchange complex information, such as nested objects. It can contain large volumes of information and is particularly good at handling one-to-many relationships (such as multiple bids per tender notice). -Tabular formats, such as CSV (or comma separated values) are commonly used in spreadsheets applications and other analysis tools. Many people are comfortable working with spreadsheets using tools like Excel. While JSON is the default format, a good publication will publish tabular formats as well both so that more users' needs can be satisfied. +Tabular formats, such as CSV (or comma separated values) are commonly used in spreadsheet applications and other analysis tools. Many people are comfortable working with spreadsheets using tools like Excel. While JSON is the default format, a good publication will publish tabular formats as well, so that more users’ needs can be satisfied. + +The following examples show the same data in JSON and tabular format: + +```{jsoninclude} ../examples/primer/primer.json +:jsonpointer: /releases +:expand: tag, tender ``` +```{csv-table-no-translate} +:header-rows: 1 +:file: ../examples/primer/primer.csv +``` + +```` + No matter what type of contracting data you are working with or format you publish in, following OCDS rules and guidance will help you and your users to: * Access clear definitions for the meaning, structure and format of your data diff --git a/docs/primer/releases_and_records.md b/docs/primer/releases_and_records.md index 3b35ddeaa..8d74cc75d 100644 --- a/docs/primer/releases_and_records.md +++ b/docs/primer/releases_and_records.md @@ -45,6 +45,10 @@ When you publish OCDS releases and records, you are encouraged to: * Publish each release and record at its own persistent URL * Produce bulk packages of releases and records for users to download +```{note} +To see what releases and records look like, refer to the worked examples in [merging](../schema/merging.md) and [change history](../guidance/build/change_history.md). +``` + ```{note} **To learn more,** go to the next page in the Primer: [How can I implement the OCDS?](next) You can also review the further resources below to go deeper into the subjects introduced on this page. diff --git a/docs/schema/merging.md b/docs/schema/merging.md index fa252ef84..dbab1e407 100644 --- a/docs/schema/merging.md +++ b/docs/schema/merging.md @@ -43,33 +43,36 @@ To convert a field's value in a release to a **versioned value**, you must: A **versioned value** thus describes a field's value in a specific release. -For example, in the above worked example, the estimated value of the procurement was $1,000 in a release (`tender/value/amount` was `1000`). Following the steps above, the versioned value is: - -```json -{ - "releaseID": "ocds-213czf-000-00002-01-tender", - "releaseDate": "2016-01-01T09:30:00Z", - "releaseTag": [ - "tender" - ], - "value": 1000 -} +For example, a tender release sets the `tender.value.amount`field: + +```{jsoninclude} ../examples/amendments/tender.json +:jsonpointer: /records/0/releases/0 +:expand: tag, tender, value +``` + +Following the steps above, the versioned value of the `tender.value.amount` field is: + +```{jsoninclude} ../examples/amendments/tender.json +:jsonpointer: /records/0/versionedRelease/tender/value/amount/0 +:expand: releaseTag ``` In a **versioned release**, with a few exceptions, a field's value is replaced with an array of versioned values, which should be in chronological order by `releaseDate`. -For example, in the above worked example, the estimated value was $1,000 in a release published January 1, 2016 and then $2,000 in a release published February 5, 2016. In a versioned release, this is serialized as below: +Following on from the example above, a later release updates the value of the `tender.value.amount` field: -```{jsoninclude} ../examples/merging/updates/versioned.json -:jsonpointer: /records/0/versionedRelease/tender/value -:expand: value, amount -:title: Versioned_values +```{jsoninclude} ../examples/amendments/tender.json +:jsonpointer: /records/0/releases/2 +:expand: tag, tender, value ``` -```{jsoninclude} ../examples/merging/updates/versioned.json -:jsonpointer: -:expand: records, versionedRelease -:title: Versioned_release +In the versioned release, the `tender.value.amount` field is an array, that now contains another versioned value: + +```{jsoninclude} ../examples/amendments/tender.json +:jsonpointer: /records/0/versionedRelease/tender/value +:expand: amount, releaseTag + + ``` The structure of the versioned release is described by the [versioned release schema](../../build/current_lang/versioned-release-validation-schema.json); note that the `ocid` field's value is not versioned. diff --git a/docs/schema/packaging/record_package.md b/docs/schema/packaging/record_package.md index 80288ec87..3b025a522 100644 --- a/docs/schema/packaging/record_package.md +++ b/docs/schema/packaging/record_package.md @@ -5,7 +5,7 @@ The record package schema describes a container for records. ````{admonition} Example :class: hint -```{jsoninclude} ../../examples/merging/updates/versioned.json +```{jsoninclude} ../../examples/amendments/tender.json :jsonpointer: :title: Record package ``` diff --git a/docs/schema/records_reference.md b/docs/schema/records_reference.md index cc2ba78fc..a5fb1ff60 100644 --- a/docs/schema/records_reference.md +++ b/docs/schema/records_reference.md @@ -30,7 +30,7 @@ A record **may** contain a [versionedRelease](#versioned-release) object, which ````{admonition} Example :class: hint -```{jsoninclude} ../examples/merging/updates/versioned.json +```{jsoninclude} ../examples/amendments/tender.json :jsonpointer: /records/0 :title: record ``` @@ -56,13 +56,13 @@ For each `url` value, it must be possible for a consuming application to retriev The following example demonstrates the use of linked releases. -```{jsoninclude} ../examples/merging/updates/versioned.json +```{jsoninclude} ../examples/record_reference/linked_releases.json :jsonpointer: /records/0 :expand: releases, tag :title: releases ``` -Above, the first linked release has a `url` value of `https://standard.open-contracting.org/examples/releases/ocds-213czf-000-00002-01-award1.json#ocds-213czf-000-00002-01-award1`. The first part (`https://standard.open-contracting.org/examples/releases/ocds-213czf-000-00002-01-award1.json`) is the URL of the release package, and the fragment identifier (`ocds-213czf-000-00002-01-award1`) is the `id` of the release. +Above, the first linked release has a `url` value of `https://example.com/releases/ocds-213czf-000-00002.json#1`. The first part (`https://example.com/releases/ocds-213czf-000-00002.json`) is the URL of the release package, and the fragment identifier (`1`) is the `id` of the release. Release `id` values are only required to be unique within the scope of a (contracting or planning) process: that is, within the scope of an `ocid` value. As such, a consuming application needs to use that fragment identifier in combination with the `ocid` of the record in order to identify the matching release within the release package. @@ -72,7 +72,7 @@ An embedded release follows the [release schema](reference). In other words, ins The following example demonstrates the use of embedded releases. -```{jsoninclude} ../examples/merging/embedded_releases.json +```{jsoninclude} ../examples/amendments/tender.json :jsonpointer: /records/0 :expand: releases,tag :title: releases @@ -106,8 +106,8 @@ A separate, auto-generated [versioned release schema](../../build/current_lang/v The following example displays a single field's [versioned values](merging.md#versioned-values). This shows that the amount changed between the tender stage and a tender amendment, while the currency did not. -```{jsoninclude} ../examples/merging/updates/versioned.json +```{jsoninclude} ../examples/amendments/tender.json :jsonpointer: /records/0/versionedRelease/tender/value -:expand: amount, releaseTag +:expand: amount, releaseTag, currency :title: versioned ``` diff --git a/tests/test_docs.py b/tests/test_docs.py deleted file mode 100644 index a0316a3bc..000000000 --- a/tests/test_docs.py +++ /dev/null @@ -1,23 +0,0 @@ -import pytest -from selenium.webdriver.common.by import By -from selenium.webdriver.support.ui import Select - -from . import languages - - -@pytest.mark.parametrize('lang', list(languages)) -# This seems to be an issue in Selenium and/or ChromeDriver. -@pytest.mark.filterwarnings("ignore:unclosed