├── .github ├── dependabot.yml └── workflows │ ├── automerge.yml │ ├── ci.yml │ └── lint.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .python-version ├── LICENSE ├── README.md ├── blank-template ├── README.md ├── release-template-1__0__0.json ├── release-template-1__0__1.json ├── release-template-1__0__2.json ├── release-template-1__0__3.json ├── release-template-1__1__0.json ├── release-template-1__1__1.json ├── release-template-1__1__2.json ├── release-template-1__1__3.json ├── release-template-1__1__4.json └── release-template-1__1__5.json ├── fictional-example ├── 1.0 │ ├── README.md │ ├── ocds-213czf-000-00001-01-planning.json │ ├── ocds-213czf-000-00001-02-tender.json │ ├── ocds-213czf-000-00001-03-tenderAmendment.json │ ├── ocds-213czf-000-00001-04-award.json │ ├── ocds-213czf-000-00001-05-contract.json │ ├── ocds-213czf-000-00001-06-implementation.json │ └── record │ │ ├── ocds-213czf-000-00001-withversions.json │ │ └── ocds-213czf-000-00001.json ├── 1.1 │ ├── README.md │ ├── ocds-213czf-000-00001-01-planning.json │ ├── ocds-213czf-000-00001-02-tender.json │ ├── ocds-213czf-000-00001-03-tenderAmendment.json │ ├── ocds-213czf-000-00001-04-award.json │ ├── ocds-213czf-000-00001-05-contract.json │ ├── ocds-213czf-000-00001-06-implementation.json │ ├── ocds-213czf-000-00001.json │ └── record │ │ ├── ocds-213czf-000-00001-withversions.json │ │ └── ocds-213czf-000-00001.json ├── README.md └── flattened │ ├── ocds-213czf-000-00001-01-planning.xlsx │ ├── ocds-213czf-000-00001-02-tender.xlsx │ ├── ocds-213czf-000-00001-03-tenderAmendment.xlsx │ ├── ocds-213czf-000-00001-04-award.xlsx │ ├── ocds-213czf-000-00001-05-contract.xlsx │ └── ocds-213czf-000-00001-06-implementation.xlsx ├── flat-template ├── README.md ├── template.ods ├── template.xlsx └── template │ ├── award_amendments.csv │ ├── award_documents.csv │ ├── award_items.csv │ ├── award_items_additionalClassific.csv │ ├── award_suppliers.csv │ ├── awards.csv │ ├── contr_amendments.csv │ ├── contr_documents.csv │ ├── contr_imple_documents.csv │ ├── contr_imple_milestones.csv │ ├── contr_imple_transactions.csv │ ├── contr_items.csv │ ├── contr_items_additionalClassific.csv │ ├── contr_milestones.csv │ ├── contr_relatedProcesses.csv │ ├── contracts.csv │ ├── parti_additionalIdentifiers.csv │ ├── parties.csv │ ├── plann_documents.csv │ ├── plann_milestones.csv │ ├── relatedProcesses.csv │ ├── releases.csv │ ├── tende_amendments.csv │ ├── tende_documents.csv │ ├── tende_items.csv │ ├── tende_items_additionalClassific.csv │ ├── tende_milestones.csv │ └── tende_tenderers.csv ├── requirements_dev.in ├── requirements_dev.txt └── tests └── test_fictional_example.py /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: "github-actions" 4 | directory: "/" 5 | schedule: 6 | interval: "daily" 7 | -------------------------------------------------------------------------------- /.github/workflows/automerge.yml: -------------------------------------------------------------------------------- 1 | name: Auto-merge 2 | on: pull_request_target 3 | jobs: 4 | automerge: 5 | uses: open-contracting/.github/.github/workflows/automerge.yml@main 6 | permissions: 7 | pull-requests: write 8 | contents: write 9 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- 1 | name: CI 2 | on: [push, pull_request] 3 | jobs: 4 | build: 5 | if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository 6 | runs-on: ubuntu-latest 7 | steps: 8 | - uses: actions/checkout@v4 9 | - uses: actions/setup-python@v5 10 | with: 11 | python-version: '3.10' 12 | cache: pip 13 | cache-dependency-path: '**/requirements*.txt' 14 | - run: pip install -r requirements_dev.txt 15 | - run: pytest -W error 16 | -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- 1 | name: Lint 2 | on: [push, pull_request] 3 | jobs: 4 | lint: 5 | uses: open-contracting/.github/.github/workflows/lint.yml@main 6 | permissions: 7 | contents: write 8 | secrets: 9 | personal-access-token: ${{ secrets.PAT }} 10 | with: 11 | python-version: '3.10' 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /package-lock.json 3 | -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- 1 | ci: 2 | autoupdate_schedule: quarterly 3 | skip: [pip-compile] 4 | default_language_version: 5 | python: python3.10 6 | repos: 7 | - repo: https://github.com/astral-sh/uv-pre-commit 8 | rev: 0.6.12 9 | hooks: 10 | - id: pip-compile 11 | name: pip-compile requirements_dev.in 12 | args: [requirements_dev.in, -o, requirements_dev.txt] 13 | files: ^requirements_dev\.(in|txt)$ 14 | -------------------------------------------------------------------------------- /.python-version: -------------------------------------------------------------------------------- 1 | 3.10 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | BSD 3-Clause License 2 | 3 | Copyright (c) 2014, Open Contracting Partnership 4 | All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions are met: 8 | 9 | * Redistributions of source code must retain the above copyright notice, this 10 | list of conditions and the following disclaimer. 11 | 12 | * Redistributions in binary form must reproduce the above copyright notice, 13 | this list of conditions and the following disclaimer in the documentation 14 | and/or other materials provided with the distribution. 15 | 16 | * Neither the name of the copyright holder nor the names of its 17 | contributors may be used to endorse or promote products derived from 18 | this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 24 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 28 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Sample Data 2 | 3 | This repository contains: examples of releases and records, in JSON and Excel (`fictional-example`); and blank templates, in JSON (`blank-template`) and Excel (`flat-template`). See the [Open Contracting Data Standard](https://standard.open-contracting.org/). 4 | -------------------------------------------------------------------------------- /blank-template/README.md: -------------------------------------------------------------------------------- 1 | # Blank template 2 | 3 | This folder contains, for each version of OCDS, a blank file that corresponds to the release schema. 4 | 5 | ## Maintenance 6 | 7 | This assumes that the `standard` repository and this repository have the same parent directory on your system, and that the `standard` repository is checked out to the latest tag. Change into this repository's directory, and run: 8 | 9 | ```shell 10 | npm install git+https://github.com/open-contracting/json-schema-random.git#opencontracting 11 | ``` 12 | 13 | To regenerate all files, run (in bash shell): 14 | 15 | ```shell 16 | for tag in `git -C ../standard tag | grep '1__\d__\d'` 17 | do 18 | git -C ../standard checkout $tag 19 | if [[ "$tag" < "1__1__5" ]] 20 | then 21 | infix="standard/" 22 | else 23 | infix="" 24 | fi 25 | node node_modules/json-schema-random/cli.js ../standard/${infix}schema/release-schema.json --no-random --no-additional > blank-template/release-template-$tag.json 26 | done 27 | git -C ../standard checkout 1.1-dev 28 | ``` 29 | 30 | To regenerate one file, set a `tag` environment variable and run: 31 | 32 | ```shell 33 | git -C ../standard checkout $tag 34 | node node_modules/json-schema-random/cli.js ../standard/${infix}schema/release-schema.json --no-random --no-additional > blank-template/release-template-$tag.json 35 | git -C ../standard checkout 1.1-dev 36 | ``` 37 | 38 | Remove deprecated fields by opening the `blank-template` directory in a text editor and using this regular expression to search deprecated fields and replace with empty strings: 39 | 40 | ```text 41 | [,\n ]*"[a-zA-Z]+": "deprecated" 42 | ``` 43 | 44 | Change into this repository's directory, and indent the files with two spaces: 45 | 46 | ```shell 47 | pip install ocdskit 48 | ocdskit indent -r blank-template 49 | ``` 50 | -------------------------------------------------------------------------------- /blank-template/release-template-1__0__0.json: -------------------------------------------------------------------------------- 1 | { 2 | "ocid": "", 3 | "id": "", 4 | "date": "", 5 | "tag": [], 6 | "initiationType": "tender", 7 | "planning": { 8 | "budget": { 9 | "source": "string", 10 | "id": "string", 11 | "description": "string", 12 | "amount": { 13 | "amount": "number", 14 | "currency": "string" 15 | }, 16 | "project": "string", 17 | "projectID": "string", 18 | "uri": "string" 19 | }, 20 | "rationale": "string", 21 | "documents": [ 22 | { 23 | "id": "string", 24 | "documentType": "string", 25 | "title": "string", 26 | "description": "string", 27 | "url": "string", 28 | "datePublished": "string", 29 | "dateModified": "string", 30 | "format": "string", 31 | "language": "string" 32 | } 33 | ] 34 | }, 35 | "tender": { 36 | "id": "string", 37 | "title": "string", 38 | "description": "string", 39 | "status": "planned", 40 | "items": [ 41 | { 42 | "id": "string", 43 | "description": "string", 44 | "classification": { 45 | "scheme": "string", 46 | "id": "string", 47 | "description": "string", 48 | "uri": "string" 49 | }, 50 | "additionalClassifications": [ 51 | { 52 | "scheme": "string", 53 | "id": "string", 54 | "description": "string", 55 | "uri": "string" 56 | } 57 | ], 58 | "quantity": "integer", 59 | "unit": { 60 | "name": "string", 61 | "value": { 62 | "amount": "number", 63 | "currency": "string" 64 | } 65 | } 66 | } 67 | ], 68 | "minValue": { 69 | "amount": "number", 70 | "currency": "string" 71 | }, 72 | "value": { 73 | "amount": "number", 74 | "currency": "string" 75 | }, 76 | "procurementMethod": "open", 77 | "procurementMethodRationale": "string", 78 | "awardCriteria": "string", 79 | "awardCriteriaDetails": "string", 80 | "submissionMethod": "array", 81 | "submissionMethodDetails": "string", 82 | "tenderPeriod": { 83 | "startDate": "string", 84 | "endDate": "string" 85 | }, 86 | "enquiryPeriod": { 87 | "startDate": "string", 88 | "endDate": "string" 89 | }, 90 | "hasEnquiries": "boolean", 91 | "eligibilityCriteria": "string", 92 | "awardPeriod": { 93 | "startDate": "string", 94 | "endDate": "string" 95 | }, 96 | "numberOfTenderers": "integer", 97 | "tenderers": [ 98 | { 99 | "identifier": { 100 | "scheme": "string", 101 | "id": "string", 102 | "legalName": "string", 103 | "uri": "string" 104 | }, 105 | "additionalIdentifiers": [ 106 | { 107 | "scheme": "string", 108 | "id": "string", 109 | "legalName": "string", 110 | "uri": "string" 111 | } 112 | ], 113 | "name": "string", 114 | "address": { 115 | "streetAddress": "string", 116 | "locality": "string", 117 | "region": "string", 118 | "postalCode": "string", 119 | "countryName": "string" 120 | }, 121 | "contactPoint": { 122 | "name": "string", 123 | "email": "string", 124 | "telephone": "string", 125 | "faxNumber": "string", 126 | "url": "string" 127 | } 128 | } 129 | ], 130 | "procuringEntity": { 131 | "identifier": { 132 | "scheme": "string", 133 | "id": "string", 134 | "legalName": "string", 135 | "uri": "string" 136 | }, 137 | "additionalIdentifiers": [ 138 | { 139 | "scheme": "string", 140 | "id": "string", 141 | "legalName": "string", 142 | "uri": "string" 143 | } 144 | ], 145 | "name": "string", 146 | "address": { 147 | "streetAddress": "string", 148 | "locality": "string", 149 | "region": "string", 150 | "postalCode": "string", 151 | "countryName": "string" 152 | }, 153 | "contactPoint": { 154 | "name": "string", 155 | "email": "string", 156 | "telephone": "string", 157 | "faxNumber": "string", 158 | "url": "string" 159 | } 160 | }, 161 | "documents": [ 162 | { 163 | "id": "string", 164 | "documentType": "string", 165 | "title": "string", 166 | "description": "string", 167 | "url": "string", 168 | "datePublished": "string", 169 | "dateModified": "string", 170 | "format": "string", 171 | "language": "string" 172 | } 173 | ], 174 | "milestones": [ 175 | { 176 | "id": "string", 177 | "title": "string", 178 | "description": "string", 179 | "dueDate": "string", 180 | "dateModified": "string", 181 | "status": "met", 182 | "documents": [ 183 | { 184 | "id": "string", 185 | "documentType": "string", 186 | "title": "string", 187 | "description": "string", 188 | "url": "string", 189 | "datePublished": "string", 190 | "dateModified": "string", 191 | "format": "string", 192 | "language": "string" 193 | } 194 | ] 195 | } 196 | ], 197 | "amendment": { 198 | "date": "string", 199 | "changes": [], 200 | "rationale": "string" 201 | } 202 | }, 203 | "buyer": { 204 | "identifier": { 205 | "scheme": "string", 206 | "id": "string", 207 | "legalName": "string", 208 | "uri": "string" 209 | }, 210 | "additionalIdentifiers": [ 211 | { 212 | "scheme": "string", 213 | "id": "string", 214 | "legalName": "string", 215 | "uri": "string" 216 | } 217 | ], 218 | "name": "string", 219 | "address": { 220 | "streetAddress": "string", 221 | "locality": "string", 222 | "region": "string", 223 | "postalCode": "string", 224 | "countryName": "string" 225 | }, 226 | "contactPoint": { 227 | "name": "string", 228 | "email": "string", 229 | "telephone": "string", 230 | "faxNumber": "string", 231 | "url": "string" 232 | } 233 | }, 234 | "awards": [ 235 | { 236 | "id": "string", 237 | "title": "string", 238 | "description": "string", 239 | "status": "pending", 240 | "date": "string", 241 | "value": { 242 | "amount": "number", 243 | "currency": "string" 244 | }, 245 | "suppliers": [ 246 | { 247 | "identifier": { 248 | "scheme": "string", 249 | "id": "string", 250 | "legalName": "string", 251 | "uri": "string" 252 | }, 253 | "additionalIdentifiers": [ 254 | { 255 | "scheme": "string", 256 | "id": "string", 257 | "legalName": "string", 258 | "uri": "string" 259 | } 260 | ], 261 | "name": "string", 262 | "address": { 263 | "streetAddress": "string", 264 | "locality": "string", 265 | "region": "string", 266 | "postalCode": "string", 267 | "countryName": "string" 268 | }, 269 | "contactPoint": { 270 | "name": "string", 271 | "email": "string", 272 | "telephone": "string", 273 | "faxNumber": "string", 274 | "url": "string" 275 | } 276 | } 277 | ], 278 | "items": [ 279 | { 280 | "id": "string", 281 | "description": "string", 282 | "classification": { 283 | "scheme": "string", 284 | "id": "string", 285 | "description": "string", 286 | "uri": "string" 287 | }, 288 | "additionalClassifications": [ 289 | { 290 | "scheme": "string", 291 | "id": "string", 292 | "description": "string", 293 | "uri": "string" 294 | } 295 | ], 296 | "quantity": "integer", 297 | "unit": { 298 | "name": "string", 299 | "value": { 300 | "amount": "number", 301 | "currency": "string" 302 | } 303 | } 304 | } 305 | ], 306 | "contractPeriod": { 307 | "startDate": "string", 308 | "endDate": "string" 309 | }, 310 | "documents": [ 311 | { 312 | "id": "string", 313 | "documentType": "string", 314 | "title": "string", 315 | "description": "string", 316 | "url": "string", 317 | "datePublished": "string", 318 | "dateModified": "string", 319 | "format": "string", 320 | "language": "string" 321 | } 322 | ], 323 | "amendment": { 324 | "date": "string", 325 | "changes": [], 326 | "rationale": "string" 327 | } 328 | } 329 | ], 330 | "contracts": [ 331 | { 332 | "id": "string", 333 | "awardID": "string", 334 | "title": "string", 335 | "description": "string", 336 | "status": "pending", 337 | "period": { 338 | "startDate": "string", 339 | "endDate": "string" 340 | }, 341 | "value": { 342 | "amount": "number", 343 | "currency": "string" 344 | }, 345 | "items": [ 346 | { 347 | "id": "string", 348 | "description": "string", 349 | "classification": { 350 | "scheme": "string", 351 | "id": "string", 352 | "description": "string", 353 | "uri": "string" 354 | }, 355 | "additionalClassifications": [ 356 | { 357 | "scheme": "string", 358 | "id": "string", 359 | "description": "string", 360 | "uri": "string" 361 | } 362 | ], 363 | "quantity": "integer", 364 | "unit": { 365 | "name": "string", 366 | "value": { 367 | "amount": "number", 368 | "currency": "string" 369 | } 370 | } 371 | } 372 | ], 373 | "dateSigned": "string", 374 | "documents": [ 375 | { 376 | "id": "string", 377 | "documentType": "string", 378 | "title": "string", 379 | "description": "string", 380 | "url": "string", 381 | "datePublished": "string", 382 | "dateModified": "string", 383 | "format": "string", 384 | "language": "string" 385 | } 386 | ], 387 | "amendment": { 388 | "date": "string", 389 | "changes": [], 390 | "rationale": "string" 391 | }, 392 | "implementation": { 393 | "transactions": [ 394 | { 395 | "id": "string", 396 | "source": "string", 397 | "date": "string", 398 | "amount": { 399 | "amount": "number", 400 | "currency": "string" 401 | }, 402 | "providerOrganization": { 403 | "scheme": "string", 404 | "id": "string", 405 | "legalName": "string", 406 | "uri": "string" 407 | }, 408 | "receiverOrganization": { 409 | "scheme": "string", 410 | "id": "string", 411 | "legalName": "string", 412 | "uri": "string" 413 | }, 414 | "uri": "string" 415 | } 416 | ], 417 | "milestones": [ 418 | { 419 | "id": "string", 420 | "title": "string", 421 | "description": "string", 422 | "dueDate": "string", 423 | "dateModified": "string", 424 | "status": "met", 425 | "documents": [ 426 | { 427 | "id": "string", 428 | "documentType": "string", 429 | "title": "string", 430 | "description": "string", 431 | "url": "string", 432 | "datePublished": "string", 433 | "dateModified": "string", 434 | "format": "string", 435 | "language": "string" 436 | } 437 | ] 438 | } 439 | ], 440 | "documents": [ 441 | { 442 | "id": "string", 443 | "documentType": "string", 444 | "title": "string", 445 | "description": "string", 446 | "url": "string", 447 | "datePublished": "string", 448 | "dateModified": "string", 449 | "format": "string", 450 | "language": "string" 451 | } 452 | ] 453 | } 454 | } 455 | ], 456 | "language": "string" 457 | } 458 | -------------------------------------------------------------------------------- /blank-template/release-template-1__0__1.json: -------------------------------------------------------------------------------- 1 | { 2 | "ocid": "", 3 | "id": "", 4 | "date": "", 5 | "tag": [], 6 | "initiationType": "tender", 7 | "planning": { 8 | "budget": { 9 | "source": "string", 10 | "id": "string", 11 | "description": "string", 12 | "amount": { 13 | "amount": "number", 14 | "currency": "string" 15 | }, 16 | "project": "string", 17 | "projectID": "string", 18 | "uri": "string" 19 | }, 20 | "rationale": "string", 21 | "documents": [ 22 | { 23 | "id": "string", 24 | "documentType": "string", 25 | "title": "string", 26 | "description": "string", 27 | "url": "string", 28 | "datePublished": "string", 29 | "dateModified": "string", 30 | "format": "string", 31 | "language": "string" 32 | } 33 | ] 34 | }, 35 | "tender": { 36 | "id": "string", 37 | "title": "string", 38 | "description": "string", 39 | "status": "planned", 40 | "items": [ 41 | { 42 | "id": "string", 43 | "description": "string", 44 | "classification": { 45 | "scheme": "string", 46 | "id": "string", 47 | "description": "string", 48 | "uri": "string" 49 | }, 50 | "additionalClassifications": [ 51 | { 52 | "scheme": "string", 53 | "id": "string", 54 | "description": "string", 55 | "uri": "string" 56 | } 57 | ], 58 | "quantity": "integer", 59 | "unit": { 60 | "name": "string", 61 | "value": { 62 | "amount": "number", 63 | "currency": "string" 64 | } 65 | } 66 | } 67 | ], 68 | "minValue": { 69 | "amount": "number", 70 | "currency": "string" 71 | }, 72 | "value": { 73 | "amount": "number", 74 | "currency": "string" 75 | }, 76 | "procurementMethod": "open", 77 | "procurementMethodRationale": "string", 78 | "awardCriteria": "string", 79 | "awardCriteriaDetails": "string", 80 | "submissionMethod": "array", 81 | "submissionMethodDetails": "string", 82 | "tenderPeriod": { 83 | "startDate": "string", 84 | "endDate": "string" 85 | }, 86 | "enquiryPeriod": { 87 | "startDate": "string", 88 | "endDate": "string" 89 | }, 90 | "hasEnquiries": "boolean", 91 | "eligibilityCriteria": "string", 92 | "awardPeriod": { 93 | "startDate": "string", 94 | "endDate": "string" 95 | }, 96 | "numberOfTenderers": "integer", 97 | "tenderers": [ 98 | { 99 | "identifier": { 100 | "scheme": "string", 101 | "id": "string", 102 | "legalName": "string", 103 | "uri": "string" 104 | }, 105 | "additionalIdentifiers": [ 106 | { 107 | "scheme": "string", 108 | "id": "string", 109 | "legalName": "string", 110 | "uri": "string" 111 | } 112 | ], 113 | "name": "string", 114 | "address": { 115 | "streetAddress": "string", 116 | "locality": "string", 117 | "region": "string", 118 | "postalCode": "string", 119 | "countryName": "string" 120 | }, 121 | "contactPoint": { 122 | "name": "string", 123 | "email": "string", 124 | "telephone": "string", 125 | "faxNumber": "string", 126 | "url": "string" 127 | } 128 | } 129 | ], 130 | "procuringEntity": { 131 | "identifier": { 132 | "scheme": "string", 133 | "id": "string", 134 | "legalName": "string", 135 | "uri": "string" 136 | }, 137 | "additionalIdentifiers": [ 138 | { 139 | "scheme": "string", 140 | "id": "string", 141 | "legalName": "string", 142 | "uri": "string" 143 | } 144 | ], 145 | "name": "string", 146 | "address": { 147 | "streetAddress": "string", 148 | "locality": "string", 149 | "region": "string", 150 | "postalCode": "string", 151 | "countryName": "string" 152 | }, 153 | "contactPoint": { 154 | "name": "string", 155 | "email": "string", 156 | "telephone": "string", 157 | "faxNumber": "string", 158 | "url": "string" 159 | } 160 | }, 161 | "documents": [ 162 | { 163 | "id": "string", 164 | "documentType": "string", 165 | "title": "string", 166 | "description": "string", 167 | "url": "string", 168 | "datePublished": "string", 169 | "dateModified": "string", 170 | "format": "string", 171 | "language": "string" 172 | } 173 | ], 174 | "milestones": [ 175 | { 176 | "id": "string", 177 | "title": "string", 178 | "description": "string", 179 | "dueDate": "string", 180 | "dateModified": "string", 181 | "status": "met", 182 | "documents": [ 183 | { 184 | "id": "string", 185 | "documentType": "string", 186 | "title": "string", 187 | "description": "string", 188 | "url": "string", 189 | "datePublished": "string", 190 | "dateModified": "string", 191 | "format": "string", 192 | "language": "string" 193 | } 194 | ] 195 | } 196 | ], 197 | "amendment": { 198 | "date": "string", 199 | "changes": [], 200 | "rationale": "string" 201 | } 202 | }, 203 | "buyer": { 204 | "identifier": { 205 | "scheme": "string", 206 | "id": "string", 207 | "legalName": "string", 208 | "uri": "string" 209 | }, 210 | "additionalIdentifiers": [ 211 | { 212 | "scheme": "string", 213 | "id": "string", 214 | "legalName": "string", 215 | "uri": "string" 216 | } 217 | ], 218 | "name": "string", 219 | "address": { 220 | "streetAddress": "string", 221 | "locality": "string", 222 | "region": "string", 223 | "postalCode": "string", 224 | "countryName": "string" 225 | }, 226 | "contactPoint": { 227 | "name": "string", 228 | "email": "string", 229 | "telephone": "string", 230 | "faxNumber": "string", 231 | "url": "string" 232 | } 233 | }, 234 | "awards": [ 235 | { 236 | "id": "string", 237 | "title": "string", 238 | "description": "string", 239 | "status": "pending", 240 | "date": "string", 241 | "value": { 242 | "amount": "number", 243 | "currency": "string" 244 | }, 245 | "suppliers": [ 246 | { 247 | "identifier": { 248 | "scheme": "string", 249 | "id": "string", 250 | "legalName": "string", 251 | "uri": "string" 252 | }, 253 | "additionalIdentifiers": [ 254 | { 255 | "scheme": "string", 256 | "id": "string", 257 | "legalName": "string", 258 | "uri": "string" 259 | } 260 | ], 261 | "name": "string", 262 | "address": { 263 | "streetAddress": "string", 264 | "locality": "string", 265 | "region": "string", 266 | "postalCode": "string", 267 | "countryName": "string" 268 | }, 269 | "contactPoint": { 270 | "name": "string", 271 | "email": "string", 272 | "telephone": "string", 273 | "faxNumber": "string", 274 | "url": "string" 275 | } 276 | } 277 | ], 278 | "items": [ 279 | { 280 | "id": "string", 281 | "description": "string", 282 | "classification": { 283 | "scheme": "string", 284 | "id": "string", 285 | "description": "string", 286 | "uri": "string" 287 | }, 288 | "additionalClassifications": [ 289 | { 290 | "scheme": "string", 291 | "id": "string", 292 | "description": "string", 293 | "uri": "string" 294 | } 295 | ], 296 | "quantity": "integer", 297 | "unit": { 298 | "name": "string", 299 | "value": { 300 | "amount": "number", 301 | "currency": "string" 302 | } 303 | } 304 | } 305 | ], 306 | "contractPeriod": { 307 | "startDate": "string", 308 | "endDate": "string" 309 | }, 310 | "documents": [ 311 | { 312 | "id": "string", 313 | "documentType": "string", 314 | "title": "string", 315 | "description": "string", 316 | "url": "string", 317 | "datePublished": "string", 318 | "dateModified": "string", 319 | "format": "string", 320 | "language": "string" 321 | } 322 | ], 323 | "amendment": { 324 | "date": "string", 325 | "changes": [], 326 | "rationale": "string" 327 | } 328 | } 329 | ], 330 | "contracts": [ 331 | { 332 | "id": "string", 333 | "awardID": "string", 334 | "title": "string", 335 | "description": "string", 336 | "status": "pending", 337 | "period": { 338 | "startDate": "string", 339 | "endDate": "string" 340 | }, 341 | "value": { 342 | "amount": "number", 343 | "currency": "string" 344 | }, 345 | "items": [ 346 | { 347 | "id": "string", 348 | "description": "string", 349 | "classification": { 350 | "scheme": "string", 351 | "id": "string", 352 | "description": "string", 353 | "uri": "string" 354 | }, 355 | "additionalClassifications": [ 356 | { 357 | "scheme": "string", 358 | "id": "string", 359 | "description": "string", 360 | "uri": "string" 361 | } 362 | ], 363 | "quantity": "integer", 364 | "unit": { 365 | "name": "string", 366 | "value": { 367 | "amount": "number", 368 | "currency": "string" 369 | } 370 | } 371 | } 372 | ], 373 | "dateSigned": "string", 374 | "documents": [ 375 | { 376 | "id": "string", 377 | "documentType": "string", 378 | "title": "string", 379 | "description": "string", 380 | "url": "string", 381 | "datePublished": "string", 382 | "dateModified": "string", 383 | "format": "string", 384 | "language": "string" 385 | } 386 | ], 387 | "amendment": { 388 | "date": "string", 389 | "changes": [], 390 | "rationale": "string" 391 | }, 392 | "implementation": { 393 | "transactions": [ 394 | { 395 | "id": "string", 396 | "source": "string", 397 | "date": "string", 398 | "amount": { 399 | "amount": "number", 400 | "currency": "string" 401 | }, 402 | "providerOrganization": { 403 | "scheme": "string", 404 | "id": "string", 405 | "legalName": "string", 406 | "uri": "string" 407 | }, 408 | "receiverOrganization": { 409 | "scheme": "string", 410 | "id": "string", 411 | "legalName": "string", 412 | "uri": "string" 413 | }, 414 | "uri": "string" 415 | } 416 | ], 417 | "milestones": [ 418 | { 419 | "id": "string", 420 | "title": "string", 421 | "description": "string", 422 | "dueDate": "string", 423 | "dateModified": "string", 424 | "status": "met", 425 | "documents": [ 426 | { 427 | "id": "string", 428 | "documentType": "string", 429 | "title": "string", 430 | "description": "string", 431 | "url": "string", 432 | "datePublished": "string", 433 | "dateModified": "string", 434 | "format": "string", 435 | "language": "string" 436 | } 437 | ] 438 | } 439 | ], 440 | "documents": [ 441 | { 442 | "id": "string", 443 | "documentType": "string", 444 | "title": "string", 445 | "description": "string", 446 | "url": "string", 447 | "datePublished": "string", 448 | "dateModified": "string", 449 | "format": "string", 450 | "language": "string" 451 | } 452 | ] 453 | } 454 | } 455 | ], 456 | "language": "string" 457 | } 458 | -------------------------------------------------------------------------------- /blank-template/release-template-1__0__2.json: -------------------------------------------------------------------------------- 1 | { 2 | "ocid": "", 3 | "id": "", 4 | "date": "", 5 | "tag": [], 6 | "initiationType": "tender", 7 | "planning": { 8 | "budget": { 9 | "source": "string", 10 | "id": "string", 11 | "description": "string", 12 | "amount": { 13 | "amount": "number", 14 | "currency": "string" 15 | }, 16 | "project": "string", 17 | "projectID": "string", 18 | "uri": "string" 19 | }, 20 | "rationale": "string", 21 | "documents": [ 22 | { 23 | "id": "string", 24 | "documentType": "string", 25 | "title": "string", 26 | "description": "string", 27 | "url": "string", 28 | "datePublished": "string", 29 | "dateModified": "string", 30 | "format": "string", 31 | "language": "string" 32 | } 33 | ] 34 | }, 35 | "tender": { 36 | "id": "string", 37 | "title": "string", 38 | "description": "string", 39 | "status": "planned", 40 | "items": [ 41 | { 42 | "id": "string", 43 | "description": "string", 44 | "classification": { 45 | "scheme": "string", 46 | "id": "string", 47 | "description": "string", 48 | "uri": "string" 49 | }, 50 | "additionalClassifications": [ 51 | { 52 | "scheme": "string", 53 | "id": "string", 54 | "description": "string", 55 | "uri": "string" 56 | } 57 | ], 58 | "quantity": "integer", 59 | "unit": { 60 | "name": "string", 61 | "value": { 62 | "amount": "number", 63 | "currency": "string" 64 | } 65 | } 66 | } 67 | ], 68 | "minValue": { 69 | "amount": "number", 70 | "currency": "string" 71 | }, 72 | "value": { 73 | "amount": "number", 74 | "currency": "string" 75 | }, 76 | "procurementMethod": "open", 77 | "procurementMethodDetails": "string", 78 | "procurementMethodRationale": "string", 79 | "awardCriteria": "string", 80 | "awardCriteriaDetails": "string", 81 | "submissionMethod": "array", 82 | "submissionMethodDetails": "string", 83 | "tenderPeriod": { 84 | "startDate": "string", 85 | "endDate": "string" 86 | }, 87 | "enquiryPeriod": { 88 | "startDate": "string", 89 | "endDate": "string" 90 | }, 91 | "hasEnquiries": "boolean", 92 | "eligibilityCriteria": "string", 93 | "awardPeriod": { 94 | "startDate": "string", 95 | "endDate": "string" 96 | }, 97 | "numberOfTenderers": "integer", 98 | "tenderers": [ 99 | { 100 | "identifier": { 101 | "scheme": "string", 102 | "id": "string", 103 | "legalName": "string", 104 | "uri": "string" 105 | }, 106 | "additionalIdentifiers": [ 107 | { 108 | "scheme": "string", 109 | "id": "string", 110 | "legalName": "string", 111 | "uri": "string" 112 | } 113 | ], 114 | "name": "string", 115 | "address": { 116 | "streetAddress": "string", 117 | "locality": "string", 118 | "region": "string", 119 | "postalCode": "string", 120 | "countryName": "string" 121 | }, 122 | "contactPoint": { 123 | "name": "string", 124 | "email": "string", 125 | "telephone": "string", 126 | "faxNumber": "string", 127 | "url": "string" 128 | } 129 | } 130 | ], 131 | "procuringEntity": { 132 | "identifier": { 133 | "scheme": "string", 134 | "id": "string", 135 | "legalName": "string", 136 | "uri": "string" 137 | }, 138 | "additionalIdentifiers": [ 139 | { 140 | "scheme": "string", 141 | "id": "string", 142 | "legalName": "string", 143 | "uri": "string" 144 | } 145 | ], 146 | "name": "string", 147 | "address": { 148 | "streetAddress": "string", 149 | "locality": "string", 150 | "region": "string", 151 | "postalCode": "string", 152 | "countryName": "string" 153 | }, 154 | "contactPoint": { 155 | "name": "string", 156 | "email": "string", 157 | "telephone": "string", 158 | "faxNumber": "string", 159 | "url": "string" 160 | } 161 | }, 162 | "documents": [ 163 | { 164 | "id": "string", 165 | "documentType": "string", 166 | "title": "string", 167 | "description": "string", 168 | "url": "string", 169 | "datePublished": "string", 170 | "dateModified": "string", 171 | "format": "string", 172 | "language": "string" 173 | } 174 | ], 175 | "milestones": [ 176 | { 177 | "id": "string", 178 | "title": "string", 179 | "description": "string", 180 | "dueDate": "string", 181 | "dateModified": "string", 182 | "status": "met", 183 | "documents": [ 184 | { 185 | "id": "string", 186 | "documentType": "string", 187 | "title": "string", 188 | "description": "string", 189 | "url": "string", 190 | "datePublished": "string", 191 | "dateModified": "string", 192 | "format": "string", 193 | "language": "string" 194 | } 195 | ] 196 | } 197 | ], 198 | "amendment": { 199 | "date": "string", 200 | "changes": [], 201 | "rationale": "string" 202 | } 203 | }, 204 | "buyer": { 205 | "identifier": { 206 | "scheme": "string", 207 | "id": "string", 208 | "legalName": "string", 209 | "uri": "string" 210 | }, 211 | "additionalIdentifiers": [ 212 | { 213 | "scheme": "string", 214 | "id": "string", 215 | "legalName": "string", 216 | "uri": "string" 217 | } 218 | ], 219 | "name": "string", 220 | "address": { 221 | "streetAddress": "string", 222 | "locality": "string", 223 | "region": "string", 224 | "postalCode": "string", 225 | "countryName": "string" 226 | }, 227 | "contactPoint": { 228 | "name": "string", 229 | "email": "string", 230 | "telephone": "string", 231 | "faxNumber": "string", 232 | "url": "string" 233 | } 234 | }, 235 | "awards": [ 236 | { 237 | "id": "string", 238 | "title": "string", 239 | "description": "string", 240 | "status": "pending", 241 | "date": "string", 242 | "value": { 243 | "amount": "number", 244 | "currency": "string" 245 | }, 246 | "suppliers": [ 247 | { 248 | "identifier": { 249 | "scheme": "string", 250 | "id": "string", 251 | "legalName": "string", 252 | "uri": "string" 253 | }, 254 | "additionalIdentifiers": [ 255 | { 256 | "scheme": "string", 257 | "id": "string", 258 | "legalName": "string", 259 | "uri": "string" 260 | } 261 | ], 262 | "name": "string", 263 | "address": { 264 | "streetAddress": "string", 265 | "locality": "string", 266 | "region": "string", 267 | "postalCode": "string", 268 | "countryName": "string" 269 | }, 270 | "contactPoint": { 271 | "name": "string", 272 | "email": "string", 273 | "telephone": "string", 274 | "faxNumber": "string", 275 | "url": "string" 276 | } 277 | } 278 | ], 279 | "items": [ 280 | { 281 | "id": "string", 282 | "description": "string", 283 | "classification": { 284 | "scheme": "string", 285 | "id": "string", 286 | "description": "string", 287 | "uri": "string" 288 | }, 289 | "additionalClassifications": [ 290 | { 291 | "scheme": "string", 292 | "id": "string", 293 | "description": "string", 294 | "uri": "string" 295 | } 296 | ], 297 | "quantity": "integer", 298 | "unit": { 299 | "name": "string", 300 | "value": { 301 | "amount": "number", 302 | "currency": "string" 303 | } 304 | } 305 | } 306 | ], 307 | "contractPeriod": { 308 | "startDate": "string", 309 | "endDate": "string" 310 | }, 311 | "documents": [ 312 | { 313 | "id": "string", 314 | "documentType": "string", 315 | "title": "string", 316 | "description": "string", 317 | "url": "string", 318 | "datePublished": "string", 319 | "dateModified": "string", 320 | "format": "string", 321 | "language": "string" 322 | } 323 | ], 324 | "amendment": { 325 | "date": "string", 326 | "changes": [], 327 | "rationale": "string" 328 | } 329 | } 330 | ], 331 | "contracts": [ 332 | { 333 | "id": "string", 334 | "awardID": "string", 335 | "title": "string", 336 | "description": "string", 337 | "status": "pending", 338 | "period": { 339 | "startDate": "string", 340 | "endDate": "string" 341 | }, 342 | "value": { 343 | "amount": "number", 344 | "currency": "string" 345 | }, 346 | "items": [ 347 | { 348 | "id": "string", 349 | "description": "string", 350 | "classification": { 351 | "scheme": "string", 352 | "id": "string", 353 | "description": "string", 354 | "uri": "string" 355 | }, 356 | "additionalClassifications": [ 357 | { 358 | "scheme": "string", 359 | "id": "string", 360 | "description": "string", 361 | "uri": "string" 362 | } 363 | ], 364 | "quantity": "integer", 365 | "unit": { 366 | "name": "string", 367 | "value": { 368 | "amount": "number", 369 | "currency": "string" 370 | } 371 | } 372 | } 373 | ], 374 | "dateSigned": "string", 375 | "documents": [ 376 | { 377 | "id": "string", 378 | "documentType": "string", 379 | "title": "string", 380 | "description": "string", 381 | "url": "string", 382 | "datePublished": "string", 383 | "dateModified": "string", 384 | "format": "string", 385 | "language": "string" 386 | } 387 | ], 388 | "amendment": { 389 | "date": "string", 390 | "changes": [], 391 | "rationale": "string" 392 | }, 393 | "implementation": { 394 | "transactions": [ 395 | { 396 | "id": "string", 397 | "source": "string", 398 | "date": "string", 399 | "amount": { 400 | "amount": "number", 401 | "currency": "string" 402 | }, 403 | "providerOrganization": { 404 | "scheme": "string", 405 | "id": "string", 406 | "legalName": "string", 407 | "uri": "string" 408 | }, 409 | "receiverOrganization": { 410 | "scheme": "string", 411 | "id": "string", 412 | "legalName": "string", 413 | "uri": "string" 414 | }, 415 | "uri": "string" 416 | } 417 | ], 418 | "milestones": [ 419 | { 420 | "id": "string", 421 | "title": "string", 422 | "description": "string", 423 | "dueDate": "string", 424 | "dateModified": "string", 425 | "status": "met", 426 | "documents": [ 427 | { 428 | "id": "string", 429 | "documentType": "string", 430 | "title": "string", 431 | "description": "string", 432 | "url": "string", 433 | "datePublished": "string", 434 | "dateModified": "string", 435 | "format": "string", 436 | "language": "string" 437 | } 438 | ] 439 | } 440 | ], 441 | "documents": [ 442 | { 443 | "id": "string", 444 | "documentType": "string", 445 | "title": "string", 446 | "description": "string", 447 | "url": "string", 448 | "datePublished": "string", 449 | "dateModified": "string", 450 | "format": "string", 451 | "language": "string" 452 | } 453 | ] 454 | } 455 | } 456 | ], 457 | "language": "string" 458 | } 459 | -------------------------------------------------------------------------------- /blank-template/release-template-1__0__3.json: -------------------------------------------------------------------------------- 1 | { 2 | "ocid": "", 3 | "id": "", 4 | "date": "", 5 | "tag": [], 6 | "initiationType": "tender", 7 | "planning": { 8 | "budget": { 9 | "source": "string", 10 | "id": "string", 11 | "description": "string", 12 | "amount": { 13 | "amount": "number", 14 | "currency": "string" 15 | }, 16 | "project": "string", 17 | "projectID": "string", 18 | "uri": "string" 19 | }, 20 | "rationale": "string", 21 | "documents": [ 22 | { 23 | "id": "string", 24 | "documentType": "string", 25 | "title": "string", 26 | "description": "string", 27 | "url": "string", 28 | "datePublished": "string", 29 | "dateModified": "string", 30 | "format": "string", 31 | "language": "string" 32 | } 33 | ] 34 | }, 35 | "tender": { 36 | "id": "string", 37 | "title": "string", 38 | "description": "string", 39 | "status": "planned", 40 | "items": [ 41 | { 42 | "id": "string", 43 | "description": "string", 44 | "classification": { 45 | "scheme": "string", 46 | "id": "string", 47 | "description": "string", 48 | "uri": "string" 49 | }, 50 | "additionalClassifications": [ 51 | { 52 | "scheme": "string", 53 | "id": "string", 54 | "description": "string", 55 | "uri": "string" 56 | } 57 | ], 58 | "quantity": "number", 59 | "unit": { 60 | "name": "string", 61 | "value": { 62 | "amount": "number", 63 | "currency": "string" 64 | } 65 | } 66 | } 67 | ], 68 | "minValue": { 69 | "amount": "number", 70 | "currency": "string" 71 | }, 72 | "value": { 73 | "amount": "number", 74 | "currency": "string" 75 | }, 76 | "procurementMethod": "open", 77 | "procurementMethodDetails": "string", 78 | "procurementMethodRationale": "string", 79 | "awardCriteria": "string", 80 | "awardCriteriaDetails": "string", 81 | "submissionMethod": "array", 82 | "submissionMethodDetails": "string", 83 | "tenderPeriod": { 84 | "startDate": "string", 85 | "endDate": "string" 86 | }, 87 | "enquiryPeriod": { 88 | "startDate": "string", 89 | "endDate": "string" 90 | }, 91 | "hasEnquiries": "boolean", 92 | "eligibilityCriteria": "string", 93 | "awardPeriod": { 94 | "startDate": "string", 95 | "endDate": "string" 96 | }, 97 | "numberOfTenderers": "integer", 98 | "tenderers": [ 99 | { 100 | "identifier": { 101 | "scheme": "string", 102 | "id": "string", 103 | "legalName": "string", 104 | "uri": "string" 105 | }, 106 | "additionalIdentifiers": [ 107 | { 108 | "scheme": "string", 109 | "id": "string", 110 | "legalName": "string", 111 | "uri": "string" 112 | } 113 | ], 114 | "name": "string", 115 | "address": { 116 | "streetAddress": "string", 117 | "locality": "string", 118 | "region": "string", 119 | "postalCode": "string", 120 | "countryName": "string" 121 | }, 122 | "contactPoint": { 123 | "name": "string", 124 | "email": "string", 125 | "telephone": "string", 126 | "faxNumber": "string", 127 | "url": "string" 128 | } 129 | } 130 | ], 131 | "procuringEntity": { 132 | "identifier": { 133 | "scheme": "string", 134 | "id": "string", 135 | "legalName": "string", 136 | "uri": "string" 137 | }, 138 | "additionalIdentifiers": [ 139 | { 140 | "scheme": "string", 141 | "id": "string", 142 | "legalName": "string", 143 | "uri": "string" 144 | } 145 | ], 146 | "name": "string", 147 | "address": { 148 | "streetAddress": "string", 149 | "locality": "string", 150 | "region": "string", 151 | "postalCode": "string", 152 | "countryName": "string" 153 | }, 154 | "contactPoint": { 155 | "name": "string", 156 | "email": "string", 157 | "telephone": "string", 158 | "faxNumber": "string", 159 | "url": "string" 160 | } 161 | }, 162 | "documents": [ 163 | { 164 | "id": "string", 165 | "documentType": "string", 166 | "title": "string", 167 | "description": "string", 168 | "url": "string", 169 | "datePublished": "string", 170 | "dateModified": "string", 171 | "format": "string", 172 | "language": "string" 173 | } 174 | ], 175 | "milestones": [ 176 | { 177 | "id": "string", 178 | "title": "string", 179 | "description": "string", 180 | "dueDate": "string", 181 | "dateModified": "string", 182 | "status": "met", 183 | "documents": [ 184 | { 185 | "id": "string", 186 | "documentType": "string", 187 | "title": "string", 188 | "description": "string", 189 | "url": "string", 190 | "datePublished": "string", 191 | "dateModified": "string", 192 | "format": "string", 193 | "language": "string" 194 | } 195 | ] 196 | } 197 | ], 198 | "amendment": { 199 | "date": "string", 200 | "changes": [], 201 | "rationale": "string" 202 | } 203 | }, 204 | "buyer": { 205 | "identifier": { 206 | "scheme": "string", 207 | "id": "string", 208 | "legalName": "string", 209 | "uri": "string" 210 | }, 211 | "additionalIdentifiers": [ 212 | { 213 | "scheme": "string", 214 | "id": "string", 215 | "legalName": "string", 216 | "uri": "string" 217 | } 218 | ], 219 | "name": "string", 220 | "address": { 221 | "streetAddress": "string", 222 | "locality": "string", 223 | "region": "string", 224 | "postalCode": "string", 225 | "countryName": "string" 226 | }, 227 | "contactPoint": { 228 | "name": "string", 229 | "email": "string", 230 | "telephone": "string", 231 | "faxNumber": "string", 232 | "url": "string" 233 | } 234 | }, 235 | "awards": [ 236 | { 237 | "id": "string", 238 | "title": "string", 239 | "description": "string", 240 | "status": "pending", 241 | "date": "string", 242 | "value": { 243 | "amount": "number", 244 | "currency": "string" 245 | }, 246 | "suppliers": [ 247 | { 248 | "identifier": { 249 | "scheme": "string", 250 | "id": "string", 251 | "legalName": "string", 252 | "uri": "string" 253 | }, 254 | "additionalIdentifiers": [ 255 | { 256 | "scheme": "string", 257 | "id": "string", 258 | "legalName": "string", 259 | "uri": "string" 260 | } 261 | ], 262 | "name": "string", 263 | "address": { 264 | "streetAddress": "string", 265 | "locality": "string", 266 | "region": "string", 267 | "postalCode": "string", 268 | "countryName": "string" 269 | }, 270 | "contactPoint": { 271 | "name": "string", 272 | "email": "string", 273 | "telephone": "string", 274 | "faxNumber": "string", 275 | "url": "string" 276 | } 277 | } 278 | ], 279 | "items": [ 280 | { 281 | "id": "string", 282 | "description": "string", 283 | "classification": { 284 | "scheme": "string", 285 | "id": "string", 286 | "description": "string", 287 | "uri": "string" 288 | }, 289 | "additionalClassifications": [ 290 | { 291 | "scheme": "string", 292 | "id": "string", 293 | "description": "string", 294 | "uri": "string" 295 | } 296 | ], 297 | "quantity": "number", 298 | "unit": { 299 | "name": "string", 300 | "value": { 301 | "amount": "number", 302 | "currency": "string" 303 | } 304 | } 305 | } 306 | ], 307 | "contractPeriod": { 308 | "startDate": "string", 309 | "endDate": "string" 310 | }, 311 | "documents": [ 312 | { 313 | "id": "string", 314 | "documentType": "string", 315 | "title": "string", 316 | "description": "string", 317 | "url": "string", 318 | "datePublished": "string", 319 | "dateModified": "string", 320 | "format": "string", 321 | "language": "string" 322 | } 323 | ], 324 | "amendment": { 325 | "date": "string", 326 | "changes": [], 327 | "rationale": "string" 328 | } 329 | } 330 | ], 331 | "contracts": [ 332 | { 333 | "id": "string", 334 | "awardID": "string", 335 | "title": "string", 336 | "description": "string", 337 | "status": "pending", 338 | "period": { 339 | "startDate": "string", 340 | "endDate": "string" 341 | }, 342 | "value": { 343 | "amount": "number", 344 | "currency": "string" 345 | }, 346 | "items": [ 347 | { 348 | "id": "string", 349 | "description": "string", 350 | "classification": { 351 | "scheme": "string", 352 | "id": "string", 353 | "description": "string", 354 | "uri": "string" 355 | }, 356 | "additionalClassifications": [ 357 | { 358 | "scheme": "string", 359 | "id": "string", 360 | "description": "string", 361 | "uri": "string" 362 | } 363 | ], 364 | "quantity": "number", 365 | "unit": { 366 | "name": "string", 367 | "value": { 368 | "amount": "number", 369 | "currency": "string" 370 | } 371 | } 372 | } 373 | ], 374 | "dateSigned": "string", 375 | "documents": [ 376 | { 377 | "id": "string", 378 | "documentType": "string", 379 | "title": "string", 380 | "description": "string", 381 | "url": "string", 382 | "datePublished": "string", 383 | "dateModified": "string", 384 | "format": "string", 385 | "language": "string" 386 | } 387 | ], 388 | "amendment": { 389 | "date": "string", 390 | "changes": [], 391 | "rationale": "string" 392 | }, 393 | "implementation": { 394 | "transactions": [ 395 | { 396 | "id": "string", 397 | "source": "string", 398 | "date": "string", 399 | "amount": { 400 | "amount": "number", 401 | "currency": "string" 402 | }, 403 | "providerOrganization": { 404 | "scheme": "string", 405 | "id": "string", 406 | "legalName": "string", 407 | "uri": "string" 408 | }, 409 | "receiverOrganization": { 410 | "scheme": "string", 411 | "id": "string", 412 | "legalName": "string", 413 | "uri": "string" 414 | }, 415 | "uri": "string" 416 | } 417 | ], 418 | "milestones": [ 419 | { 420 | "id": "string", 421 | "title": "string", 422 | "description": "string", 423 | "dueDate": "string", 424 | "dateModified": "string", 425 | "status": "met", 426 | "documents": [ 427 | { 428 | "id": "string", 429 | "documentType": "string", 430 | "title": "string", 431 | "description": "string", 432 | "url": "string", 433 | "datePublished": "string", 434 | "dateModified": "string", 435 | "format": "string", 436 | "language": "string" 437 | } 438 | ] 439 | } 440 | ], 441 | "documents": [ 442 | { 443 | "id": "string", 444 | "documentType": "string", 445 | "title": "string", 446 | "description": "string", 447 | "url": "string", 448 | "datePublished": "string", 449 | "dateModified": "string", 450 | "format": "string", 451 | "language": "string" 452 | } 453 | ] 454 | } 455 | } 456 | ], 457 | "language": "string" 458 | } 459 | -------------------------------------------------------------------------------- /blank-template/release-template-1__1__0.json: -------------------------------------------------------------------------------- 1 | { 2 | "ocid": "", 3 | "id": "", 4 | "date": "", 5 | "tag": [], 6 | "initiationType": "string from initiationType codelist", 7 | "parties": [ 8 | { 9 | "name": "string", 10 | "id": "string", 11 | "identifier": { 12 | "scheme": "string", 13 | "id": "string", 14 | "legalName": "string", 15 | "uri": "string" 16 | }, 17 | "additionalIdentifiers": [ 18 | { 19 | "scheme": "string", 20 | "id": "string", 21 | "legalName": "string", 22 | "uri": "string" 23 | } 24 | ], 25 | "address": { 26 | "streetAddress": "string", 27 | "locality": "string", 28 | "region": "string", 29 | "postalCode": "string", 30 | "countryName": "string" 31 | }, 32 | "contactPoint": { 33 | "name": "string", 34 | "email": "string", 35 | "telephone": "string", 36 | "faxNumber": "string", 37 | "url": "string" 38 | }, 39 | "roles": [], 40 | "details": "object" 41 | } 42 | ], 43 | "buyer": { 44 | "name": "string", 45 | "id": "string" 46 | }, 47 | "planning": { 48 | "rationale": "string", 49 | "budget": { 50 | "id": "string", 51 | "description": "string", 52 | "amount": { 53 | "amount": "number", 54 | "currency": "string" 55 | }, 56 | "project": "string", 57 | "projectID": "string", 58 | "uri": "string" 59 | }, 60 | "documents": [ 61 | { 62 | "id": "string", 63 | "documentType": "string", 64 | "title": "string", 65 | "description": "string", 66 | "url": "string", 67 | "datePublished": "string", 68 | "dateModified": "string", 69 | "format": "string", 70 | "language": "string" 71 | } 72 | ], 73 | "milestones": [ 74 | { 75 | "id": "string", 76 | "title": "string", 77 | "type": "string from milestoneType codelist", 78 | "description": "string", 79 | "code": "string", 80 | "dueDate": "string", 81 | "dateMet": "string", 82 | "dateModified": "string", 83 | "status": "string from milestoneStatus codelist" 84 | } 85 | ] 86 | }, 87 | "tender": { 88 | "id": "string", 89 | "title": "string", 90 | "description": "string", 91 | "status": "string from tenderStatus codelist", 92 | "procuringEntity": { 93 | "name": "string", 94 | "id": "string" 95 | }, 96 | "items": [ 97 | { 98 | "id": "string", 99 | "description": "string", 100 | "classification": { 101 | "scheme": "string", 102 | "id": "string", 103 | "description": "string", 104 | "uri": "string" 105 | }, 106 | "additionalClassifications": [ 107 | { 108 | "scheme": "string", 109 | "id": "string", 110 | "description": "string", 111 | "uri": "string" 112 | } 113 | ], 114 | "quantity": "number", 115 | "unit": { 116 | "scheme": "string", 117 | "id": "string", 118 | "name": "string", 119 | "value": { 120 | "amount": "number", 121 | "currency": "string" 122 | }, 123 | "uri": "string" 124 | } 125 | } 126 | ], 127 | "value": { 128 | "amount": "number", 129 | "currency": "string" 130 | }, 131 | "minValue": { 132 | "amount": "number", 133 | "currency": "string" 134 | }, 135 | "procurementMethod": "string", 136 | "procurementMethodDetails": "string", 137 | "procurementMethodRationale": "string", 138 | "mainProcurementCategory": "string", 139 | "additionalProcurementCategories": "array", 140 | "awardCriteria": "string", 141 | "awardCriteriaDetails": "string", 142 | "submissionMethod": "array", 143 | "submissionMethodDetails": "string", 144 | "tenderPeriod": { 145 | "startDate": "string", 146 | "endDate": "string", 147 | "maxExtentDate": "string", 148 | "durationInDays": "integer" 149 | }, 150 | "enquiryPeriod": { 151 | "startDate": "string", 152 | "endDate": "string", 153 | "maxExtentDate": "string", 154 | "durationInDays": "integer" 155 | }, 156 | "hasEnquiries": "boolean", 157 | "eligibilityCriteria": "string", 158 | "awardPeriod": { 159 | "startDate": "string", 160 | "endDate": "string", 161 | "maxExtentDate": "string", 162 | "durationInDays": "integer" 163 | }, 164 | "contractPeriod": { 165 | "startDate": "string", 166 | "endDate": "string", 167 | "maxExtentDate": "string", 168 | "durationInDays": "integer" 169 | }, 170 | "numberOfTenderers": "integer", 171 | "tenderers": [ 172 | { 173 | "name": "string", 174 | "id": "string" 175 | } 176 | ], 177 | "documents": [ 178 | { 179 | "id": "string", 180 | "documentType": "string", 181 | "title": "string", 182 | "description": "string", 183 | "url": "string", 184 | "datePublished": "string", 185 | "dateModified": "string", 186 | "format": "string", 187 | "language": "string" 188 | } 189 | ], 190 | "milestones": [ 191 | { 192 | "id": "string", 193 | "title": "string", 194 | "type": "string from milestoneType codelist", 195 | "description": "string", 196 | "code": "string", 197 | "dueDate": "string", 198 | "dateMet": "string", 199 | "dateModified": "string", 200 | "status": "string from milestoneStatus codelist" 201 | } 202 | ], 203 | "amendments": [ 204 | { 205 | "date": "string", 206 | "rationale": "string", 207 | "id": "string", 208 | "description": "string", 209 | "amendsReleaseID": "string", 210 | "releaseID": "string" 211 | } 212 | ] 213 | }, 214 | "awards": [ 215 | { 216 | "id": "string", 217 | "title": "string", 218 | "description": "string", 219 | "status": "string from awardStatus codelist", 220 | "date": "string", 221 | "value": { 222 | "amount": "number", 223 | "currency": "string" 224 | }, 225 | "suppliers": [ 226 | { 227 | "name": "string", 228 | "id": "string" 229 | } 230 | ], 231 | "items": [ 232 | { 233 | "id": "string", 234 | "description": "string", 235 | "classification": { 236 | "scheme": "string", 237 | "id": "string", 238 | "description": "string", 239 | "uri": "string" 240 | }, 241 | "additionalClassifications": [ 242 | { 243 | "scheme": "string", 244 | "id": "string", 245 | "description": "string", 246 | "uri": "string" 247 | } 248 | ], 249 | "quantity": "number", 250 | "unit": { 251 | "scheme": "string", 252 | "id": "string", 253 | "name": "string", 254 | "value": { 255 | "amount": "number", 256 | "currency": "string" 257 | }, 258 | "uri": "string" 259 | } 260 | } 261 | ], 262 | "contractPeriod": { 263 | "startDate": "string", 264 | "endDate": "string", 265 | "maxExtentDate": "string", 266 | "durationInDays": "integer" 267 | }, 268 | "documents": [ 269 | { 270 | "id": "string", 271 | "documentType": "string", 272 | "title": "string", 273 | "description": "string", 274 | "url": "string", 275 | "datePublished": "string", 276 | "dateModified": "string", 277 | "format": "string", 278 | "language": "string" 279 | } 280 | ], 281 | "amendments": [ 282 | { 283 | "date": "string", 284 | "rationale": "string", 285 | "id": "string", 286 | "description": "string", 287 | "amendsReleaseID": "string", 288 | "releaseID": "string" 289 | } 290 | ] 291 | } 292 | ], 293 | "contracts": [ 294 | { 295 | "id": "string", 296 | "awardID": "string", 297 | "title": "string", 298 | "description": "string", 299 | "status": "string from contractStatus codelist", 300 | "period": { 301 | "startDate": "string", 302 | "endDate": "string", 303 | "maxExtentDate": "string", 304 | "durationInDays": "integer" 305 | }, 306 | "value": { 307 | "amount": "number", 308 | "currency": "string" 309 | }, 310 | "items": [ 311 | { 312 | "id": "string", 313 | "description": "string", 314 | "classification": { 315 | "scheme": "string", 316 | "id": "string", 317 | "description": "string", 318 | "uri": "string" 319 | }, 320 | "additionalClassifications": [ 321 | { 322 | "scheme": "string", 323 | "id": "string", 324 | "description": "string", 325 | "uri": "string" 326 | } 327 | ], 328 | "quantity": "number", 329 | "unit": { 330 | "scheme": "string", 331 | "id": "string", 332 | "name": "string", 333 | "value": { 334 | "amount": "number", 335 | "currency": "string" 336 | }, 337 | "uri": "string" 338 | } 339 | } 340 | ], 341 | "dateSigned": "string", 342 | "documents": [ 343 | { 344 | "id": "string", 345 | "documentType": "string", 346 | "title": "string", 347 | "description": "string", 348 | "url": "string", 349 | "datePublished": "string", 350 | "dateModified": "string", 351 | "format": "string", 352 | "language": "string" 353 | } 354 | ], 355 | "implementation": { 356 | "transactions": [ 357 | { 358 | "id": "string", 359 | "source": "string", 360 | "date": "string", 361 | "value": { 362 | "amount": "number", 363 | "currency": "string" 364 | }, 365 | "payer": { 366 | "name": "string", 367 | "id": "string" 368 | }, 369 | "payee": { 370 | "name": "string", 371 | "id": "string" 372 | }, 373 | "uri": "string" 374 | } 375 | ], 376 | "milestones": [ 377 | { 378 | "id": "string", 379 | "title": "string", 380 | "type": "string from milestoneType codelist", 381 | "description": "string", 382 | "code": "string", 383 | "dueDate": "string", 384 | "dateMet": "string", 385 | "dateModified": "string", 386 | "status": "string from milestoneStatus codelist" 387 | } 388 | ], 389 | "documents": [ 390 | { 391 | "id": "string", 392 | "documentType": "string", 393 | "title": "string", 394 | "description": "string", 395 | "url": "string", 396 | "datePublished": "string", 397 | "dateModified": "string", 398 | "format": "string", 399 | "language": "string" 400 | } 401 | ] 402 | }, 403 | "relatedProcesses": [ 404 | { 405 | "id": "string", 406 | "relationship": "array", 407 | "title": "string", 408 | "scheme": "string", 409 | "identifier": "string", 410 | "uri": "string" 411 | } 412 | ], 413 | "milestones": [ 414 | { 415 | "id": "string", 416 | "title": "string", 417 | "type": "string from milestoneType codelist", 418 | "description": "string", 419 | "code": "string", 420 | "dueDate": "string", 421 | "dateMet": "string", 422 | "dateModified": "string", 423 | "status": "string from milestoneStatus codelist" 424 | } 425 | ], 426 | "amendments": [ 427 | { 428 | "date": "string", 429 | "rationale": "string", 430 | "id": "string", 431 | "description": "string", 432 | "amendsReleaseID": "string", 433 | "releaseID": "string" 434 | } 435 | ] 436 | } 437 | ], 438 | "language": "string", 439 | "relatedProcesses": [ 440 | { 441 | "id": "string", 442 | "relationship": "array", 443 | "title": "string", 444 | "scheme": "string", 445 | "identifier": "string", 446 | "uri": "string" 447 | } 448 | ] 449 | } 450 | -------------------------------------------------------------------------------- /blank-template/release-template-1__1__3.json: -------------------------------------------------------------------------------- 1 | { 2 | "ocid": "", 3 | "id": "", 4 | "date": "", 5 | "tag": [], 6 | "initiationType": "string from initiationType codelist", 7 | "parties": [ 8 | { 9 | "name": "string", 10 | "id": "string", 11 | "identifier": { 12 | "scheme": "string", 13 | "id": "string", 14 | "legalName": "string", 15 | "uri": "string" 16 | }, 17 | "additionalIdentifiers": [ 18 | { 19 | "scheme": "string", 20 | "id": "string", 21 | "legalName": "string", 22 | "uri": "string" 23 | } 24 | ], 25 | "address": { 26 | "streetAddress": "string", 27 | "locality": "string", 28 | "region": "string", 29 | "postalCode": "string", 30 | "countryName": "string" 31 | }, 32 | "contactPoint": { 33 | "name": "string", 34 | "email": "string", 35 | "telephone": "string", 36 | "faxNumber": "string", 37 | "url": "string" 38 | }, 39 | "roles": "array", 40 | "details": "object" 41 | } 42 | ], 43 | "buyer": { 44 | "name": "string", 45 | "id": "string" 46 | }, 47 | "planning": { 48 | "rationale": "string", 49 | "budget": { 50 | "id": "string", 51 | "description": "string", 52 | "amount": { 53 | "amount": "number", 54 | "currency": "string from currency codelist" 55 | }, 56 | "project": "string", 57 | "projectID": "string", 58 | "uri": "string" 59 | }, 60 | "documents": [ 61 | { 62 | "id": "string", 63 | "documentType": "string", 64 | "title": "string", 65 | "description": "string", 66 | "url": "string", 67 | "datePublished": "string", 68 | "dateModified": "string", 69 | "format": "string", 70 | "language": "string" 71 | } 72 | ], 73 | "milestones": [ 74 | { 75 | "id": "string", 76 | "title": "string", 77 | "type": "string", 78 | "description": "string", 79 | "code": "string", 80 | "dueDate": "string", 81 | "dateMet": "string", 82 | "dateModified": "string", 83 | "status": "string from milestoneStatus codelist" 84 | } 85 | ] 86 | }, 87 | "tender": { 88 | "id": "string", 89 | "title": "string", 90 | "description": "string", 91 | "status": "string from tenderStatus codelist", 92 | "procuringEntity": { 93 | "name": "string", 94 | "id": "string" 95 | }, 96 | "items": [ 97 | { 98 | "id": "string", 99 | "description": "string", 100 | "classification": { 101 | "scheme": "string", 102 | "id": "string", 103 | "description": "string", 104 | "uri": "string" 105 | }, 106 | "additionalClassifications": [ 107 | { 108 | "scheme": "string", 109 | "id": "string", 110 | "description": "string", 111 | "uri": "string" 112 | } 113 | ], 114 | "quantity": "number", 115 | "unit": "object" 116 | } 117 | ], 118 | "value": { 119 | "amount": "number", 120 | "currency": "string from currency codelist" 121 | }, 122 | "minValue": { 123 | "amount": "number", 124 | "currency": "string from currency codelist" 125 | }, 126 | "procurementMethod": "string from method codelist", 127 | "procurementMethodDetails": "string", 128 | "procurementMethodRationale": "string", 129 | "mainProcurementCategory": "string from procurementCategory codelist", 130 | "additionalProcurementCategories": "array", 131 | "awardCriteria": "string", 132 | "awardCriteriaDetails": "string", 133 | "submissionMethod": "array", 134 | "submissionMethodDetails": "string", 135 | "tenderPeriod": { 136 | "startDate": "string", 137 | "endDate": "string", 138 | "maxExtentDate": "string", 139 | "durationInDays": "integer" 140 | }, 141 | "enquiryPeriod": { 142 | "startDate": "string", 143 | "endDate": "string", 144 | "maxExtentDate": "string", 145 | "durationInDays": "integer" 146 | }, 147 | "hasEnquiries": "boolean", 148 | "eligibilityCriteria": "string", 149 | "awardPeriod": { 150 | "startDate": "string", 151 | "endDate": "string", 152 | "maxExtentDate": "string", 153 | "durationInDays": "integer" 154 | }, 155 | "contractPeriod": { 156 | "startDate": "string", 157 | "endDate": "string", 158 | "maxExtentDate": "string", 159 | "durationInDays": "integer" 160 | }, 161 | "numberOfTenderers": "integer", 162 | "tenderers": [ 163 | { 164 | "name": "string", 165 | "id": "string" 166 | } 167 | ], 168 | "documents": [ 169 | { 170 | "id": "string", 171 | "documentType": "string", 172 | "title": "string", 173 | "description": "string", 174 | "url": "string", 175 | "datePublished": "string", 176 | "dateModified": "string", 177 | "format": "string", 178 | "language": "string" 179 | } 180 | ], 181 | "milestones": [ 182 | { 183 | "id": "string", 184 | "title": "string", 185 | "type": "string", 186 | "description": "string", 187 | "code": "string", 188 | "dueDate": "string", 189 | "dateMet": "string", 190 | "dateModified": "string", 191 | "status": "string from milestoneStatus codelist" 192 | } 193 | ], 194 | "amendments": [ 195 | { 196 | "date": "string", 197 | "rationale": "string", 198 | "id": "string", 199 | "description": "string", 200 | "amendsReleaseID": "string", 201 | "releaseID": "string" 202 | } 203 | ] 204 | }, 205 | "awards": [ 206 | { 207 | "id": "string", 208 | "title": "string", 209 | "description": "string", 210 | "status": "string from awardStatus codelist", 211 | "date": "string", 212 | "value": { 213 | "amount": "number", 214 | "currency": "string from currency codelist" 215 | }, 216 | "suppliers": [ 217 | { 218 | "name": "string", 219 | "id": "string" 220 | } 221 | ], 222 | "items": [ 223 | { 224 | "id": "string", 225 | "description": "string", 226 | "classification": { 227 | "scheme": "string", 228 | "id": "string", 229 | "description": "string", 230 | "uri": "string" 231 | }, 232 | "additionalClassifications": [ 233 | { 234 | "scheme": "string", 235 | "id": "string", 236 | "description": "string", 237 | "uri": "string" 238 | } 239 | ], 240 | "quantity": "number", 241 | "unit": "object" 242 | } 243 | ], 244 | "contractPeriod": { 245 | "startDate": "string", 246 | "endDate": "string", 247 | "maxExtentDate": "string", 248 | "durationInDays": "integer" 249 | }, 250 | "documents": [ 251 | { 252 | "id": "string", 253 | "documentType": "string", 254 | "title": "string", 255 | "description": "string", 256 | "url": "string", 257 | "datePublished": "string", 258 | "dateModified": "string", 259 | "format": "string", 260 | "language": "string" 261 | } 262 | ], 263 | "amendments": [ 264 | { 265 | "date": "string", 266 | "rationale": "string", 267 | "id": "string", 268 | "description": "string", 269 | "amendsReleaseID": "string", 270 | "releaseID": "string" 271 | } 272 | ] 273 | } 274 | ], 275 | "contracts": [ 276 | { 277 | "id": "string", 278 | "awardID": "string", 279 | "title": "string", 280 | "description": "string", 281 | "status": "string from contractStatus codelist", 282 | "period": { 283 | "startDate": "string", 284 | "endDate": "string", 285 | "maxExtentDate": "string", 286 | "durationInDays": "integer" 287 | }, 288 | "value": { 289 | "amount": "number", 290 | "currency": "string from currency codelist" 291 | }, 292 | "items": [ 293 | { 294 | "id": "string", 295 | "description": "string", 296 | "classification": { 297 | "scheme": "string", 298 | "id": "string", 299 | "description": "string", 300 | "uri": "string" 301 | }, 302 | "additionalClassifications": [ 303 | { 304 | "scheme": "string", 305 | "id": "string", 306 | "description": "string", 307 | "uri": "string" 308 | } 309 | ], 310 | "quantity": "number", 311 | "unit": "object" 312 | } 313 | ], 314 | "dateSigned": "string", 315 | "documents": [ 316 | { 317 | "id": "string", 318 | "documentType": "string", 319 | "title": "string", 320 | "description": "string", 321 | "url": "string", 322 | "datePublished": "string", 323 | "dateModified": "string", 324 | "format": "string", 325 | "language": "string" 326 | } 327 | ], 328 | "implementation": { 329 | "transactions": [ 330 | { 331 | "id": "string", 332 | "source": "string", 333 | "date": "string", 334 | "value": { 335 | "amount": "number", 336 | "currency": "string from currency codelist" 337 | }, 338 | "payer": { 339 | "name": "string", 340 | "id": "string" 341 | }, 342 | "payee": { 343 | "name": "string", 344 | "id": "string" 345 | }, 346 | "uri": "string" 347 | } 348 | ], 349 | "milestones": [ 350 | { 351 | "id": "string", 352 | "title": "string", 353 | "type": "string", 354 | "description": "string", 355 | "code": "string", 356 | "dueDate": "string", 357 | "dateMet": "string", 358 | "dateModified": "string", 359 | "status": "string from milestoneStatus codelist" 360 | } 361 | ], 362 | "documents": [ 363 | { 364 | "id": "string", 365 | "documentType": "string", 366 | "title": "string", 367 | "description": "string", 368 | "url": "string", 369 | "datePublished": "string", 370 | "dateModified": "string", 371 | "format": "string", 372 | "language": "string" 373 | } 374 | ] 375 | }, 376 | "relatedProcesses": [ 377 | { 378 | "id": "string", 379 | "relationship": "array", 380 | "title": "string", 381 | "scheme": "string", 382 | "identifier": "string", 383 | "uri": "string" 384 | } 385 | ], 386 | "milestones": [ 387 | { 388 | "id": "string", 389 | "title": "string", 390 | "type": "string", 391 | "description": "string", 392 | "code": "string", 393 | "dueDate": "string", 394 | "dateMet": "string", 395 | "dateModified": "string", 396 | "status": "string from milestoneStatus codelist" 397 | } 398 | ], 399 | "amendments": [ 400 | { 401 | "date": "string", 402 | "rationale": "string", 403 | "id": "string", 404 | "description": "string", 405 | "amendsReleaseID": "string", 406 | "releaseID": "string" 407 | } 408 | ] 409 | } 410 | ], 411 | "language": "string", 412 | "relatedProcesses": [ 413 | { 414 | "id": "string", 415 | "relationship": "array", 416 | "title": "string", 417 | "scheme": "string", 418 | "identifier": "string", 419 | "uri": "string" 420 | } 421 | ] 422 | } 423 | -------------------------------------------------------------------------------- /blank-template/release-template-1__1__4.json: -------------------------------------------------------------------------------- 1 | { 2 | "ocid": "", 3 | "id": "", 4 | "date": "", 5 | "tag": [], 6 | "initiationType": "string from initiationType codelist", 7 | "parties": [ 8 | { 9 | "name": "string", 10 | "id": "", 11 | "identifier": { 12 | "scheme": "string", 13 | "id": "string", 14 | "legalName": "string", 15 | "uri": "string" 16 | }, 17 | "additionalIdentifiers": [ 18 | { 19 | "scheme": "string", 20 | "id": "string", 21 | "legalName": "string", 22 | "uri": "string" 23 | } 24 | ], 25 | "address": { 26 | "streetAddress": "string", 27 | "locality": "string", 28 | "region": "string", 29 | "postalCode": "string", 30 | "countryName": "string" 31 | }, 32 | "contactPoint": { 33 | "name": "string", 34 | "email": "string", 35 | "telephone": "string", 36 | "faxNumber": "string", 37 | "url": "string" 38 | }, 39 | "roles": "array", 40 | "details": "object" 41 | } 42 | ], 43 | "buyer": { 44 | "name": "string", 45 | "id": "string" 46 | }, 47 | "planning": { 48 | "rationale": "string", 49 | "budget": { 50 | "id": "string", 51 | "description": "string", 52 | "amount": { 53 | "amount": "number", 54 | "currency": "string from currency codelist" 55 | }, 56 | "project": "string", 57 | "projectID": "string", 58 | "uri": "string" 59 | }, 60 | "documents": [ 61 | { 62 | "id": "string", 63 | "documentType": "string", 64 | "title": "string", 65 | "description": "string", 66 | "url": "string", 67 | "datePublished": "string", 68 | "dateModified": "string", 69 | "format": "string", 70 | "language": "string" 71 | } 72 | ], 73 | "milestones": [ 74 | { 75 | "id": "string", 76 | "title": "string", 77 | "type": "string", 78 | "description": "string", 79 | "code": "string", 80 | "dueDate": "string", 81 | "dateMet": "string", 82 | "dateModified": "string", 83 | "status": "string from milestoneStatus codelist" 84 | } 85 | ] 86 | }, 87 | "tender": { 88 | "id": "string", 89 | "title": "string", 90 | "description": "string", 91 | "status": "string from tenderStatus codelist", 92 | "procuringEntity": { 93 | "name": "string", 94 | "id": "string" 95 | }, 96 | "items": [ 97 | { 98 | "id": "string", 99 | "description": "string", 100 | "classification": { 101 | "scheme": "string", 102 | "id": "string", 103 | "description": "string", 104 | "uri": "string" 105 | }, 106 | "additionalClassifications": [ 107 | { 108 | "scheme": "string", 109 | "id": "string", 110 | "description": "string", 111 | "uri": "string" 112 | } 113 | ], 114 | "quantity": "number", 115 | "unit": { 116 | "scheme": "string", 117 | "id": "string", 118 | "name": "string", 119 | "value": { 120 | "amount": "number", 121 | "currency": "string from currency codelist" 122 | }, 123 | "uri": "string" 124 | } 125 | } 126 | ], 127 | "value": { 128 | "amount": "number", 129 | "currency": "string from currency codelist" 130 | }, 131 | "minValue": { 132 | "amount": "number", 133 | "currency": "string from currency codelist" 134 | }, 135 | "procurementMethod": "string from method codelist", 136 | "procurementMethodDetails": "string", 137 | "procurementMethodRationale": "string", 138 | "mainProcurementCategory": "string from procurementCategory codelist", 139 | "additionalProcurementCategories": "array", 140 | "awardCriteria": "string", 141 | "awardCriteriaDetails": "string", 142 | "submissionMethod": "array", 143 | "submissionMethodDetails": "string", 144 | "tenderPeriod": { 145 | "startDate": "string", 146 | "endDate": "string", 147 | "maxExtentDate": "string", 148 | "durationInDays": "integer" 149 | }, 150 | "enquiryPeriod": { 151 | "startDate": "string", 152 | "endDate": "string", 153 | "maxExtentDate": "string", 154 | "durationInDays": "integer" 155 | }, 156 | "hasEnquiries": "boolean", 157 | "eligibilityCriteria": "string", 158 | "awardPeriod": { 159 | "startDate": "string", 160 | "endDate": "string", 161 | "maxExtentDate": "string", 162 | "durationInDays": "integer" 163 | }, 164 | "contractPeriod": { 165 | "startDate": "string", 166 | "endDate": "string", 167 | "maxExtentDate": "string", 168 | "durationInDays": "integer" 169 | }, 170 | "numberOfTenderers": "integer", 171 | "tenderers": [ 172 | { 173 | "name": "string", 174 | "id": "string" 175 | } 176 | ], 177 | "documents": [ 178 | { 179 | "id": "string", 180 | "documentType": "string", 181 | "title": "string", 182 | "description": "string", 183 | "url": "string", 184 | "datePublished": "string", 185 | "dateModified": "string", 186 | "format": "string", 187 | "language": "string" 188 | } 189 | ], 190 | "milestones": [ 191 | { 192 | "id": "string", 193 | "title": "string", 194 | "type": "string", 195 | "description": "string", 196 | "code": "string", 197 | "dueDate": "string", 198 | "dateMet": "string", 199 | "dateModified": "string", 200 | "status": "string from milestoneStatus codelist" 201 | } 202 | ], 203 | "amendments": [ 204 | { 205 | "date": "string", 206 | "rationale": "string", 207 | "id": "string", 208 | "description": "string", 209 | "amendsReleaseID": "string", 210 | "releaseID": "string" 211 | } 212 | ] 213 | }, 214 | "awards": [ 215 | { 216 | "id": "string", 217 | "title": "string", 218 | "description": "string", 219 | "status": "string from awardStatus codelist", 220 | "date": "string", 221 | "value": { 222 | "amount": "number", 223 | "currency": "string from currency codelist" 224 | }, 225 | "suppliers": [ 226 | { 227 | "name": "string", 228 | "id": "string" 229 | } 230 | ], 231 | "items": [ 232 | { 233 | "id": "string", 234 | "description": "string", 235 | "classification": { 236 | "scheme": "string", 237 | "id": "string", 238 | "description": "string", 239 | "uri": "string" 240 | }, 241 | "additionalClassifications": [ 242 | { 243 | "scheme": "string", 244 | "id": "string", 245 | "description": "string", 246 | "uri": "string" 247 | } 248 | ], 249 | "quantity": "number", 250 | "unit": { 251 | "scheme": "string", 252 | "id": "string", 253 | "name": "string", 254 | "value": { 255 | "amount": "number", 256 | "currency": "string from currency codelist" 257 | }, 258 | "uri": "string" 259 | } 260 | } 261 | ], 262 | "contractPeriod": { 263 | "startDate": "string", 264 | "endDate": "string", 265 | "maxExtentDate": "string", 266 | "durationInDays": "integer" 267 | }, 268 | "documents": [ 269 | { 270 | "id": "string", 271 | "documentType": "string", 272 | "title": "string", 273 | "description": "string", 274 | "url": "string", 275 | "datePublished": "string", 276 | "dateModified": "string", 277 | "format": "string", 278 | "language": "string" 279 | } 280 | ], 281 | "amendments": [ 282 | { 283 | "date": "string", 284 | "rationale": "string", 285 | "id": "string", 286 | "description": "string", 287 | "amendsReleaseID": "string", 288 | "releaseID": "string" 289 | } 290 | ] 291 | } 292 | ], 293 | "contracts": [ 294 | { 295 | "id": "string", 296 | "awardID": "string", 297 | "title": "string", 298 | "description": "string", 299 | "status": "string from contractStatus codelist", 300 | "period": { 301 | "startDate": "string", 302 | "endDate": "string", 303 | "maxExtentDate": "string", 304 | "durationInDays": "integer" 305 | }, 306 | "value": { 307 | "amount": "number", 308 | "currency": "string from currency codelist" 309 | }, 310 | "items": [ 311 | { 312 | "id": "string", 313 | "description": "string", 314 | "classification": { 315 | "scheme": "string", 316 | "id": "string", 317 | "description": "string", 318 | "uri": "string" 319 | }, 320 | "additionalClassifications": [ 321 | { 322 | "scheme": "string", 323 | "id": "string", 324 | "description": "string", 325 | "uri": "string" 326 | } 327 | ], 328 | "quantity": "number", 329 | "unit": { 330 | "scheme": "string", 331 | "id": "string", 332 | "name": "string", 333 | "value": { 334 | "amount": "number", 335 | "currency": "string from currency codelist" 336 | }, 337 | "uri": "string" 338 | } 339 | } 340 | ], 341 | "dateSigned": "string", 342 | "documents": [ 343 | { 344 | "id": "string", 345 | "documentType": "string", 346 | "title": "string", 347 | "description": "string", 348 | "url": "string", 349 | "datePublished": "string", 350 | "dateModified": "string", 351 | "format": "string", 352 | "language": "string" 353 | } 354 | ], 355 | "implementation": { 356 | "transactions": [ 357 | { 358 | "id": "string", 359 | "source": "string", 360 | "date": "string", 361 | "value": { 362 | "amount": "number", 363 | "currency": "string from currency codelist" 364 | }, 365 | "payer": { 366 | "name": "string", 367 | "id": "string" 368 | }, 369 | "payee": { 370 | "name": "string", 371 | "id": "string" 372 | }, 373 | "uri": "string" 374 | } 375 | ], 376 | "milestones": [ 377 | { 378 | "id": "string", 379 | "title": "string", 380 | "type": "string", 381 | "description": "string", 382 | "code": "string", 383 | "dueDate": "string", 384 | "dateMet": "string", 385 | "dateModified": "string", 386 | "status": "string from milestoneStatus codelist" 387 | } 388 | ], 389 | "documents": [ 390 | { 391 | "id": "string", 392 | "documentType": "string", 393 | "title": "string", 394 | "description": "string", 395 | "url": "string", 396 | "datePublished": "string", 397 | "dateModified": "string", 398 | "format": "string", 399 | "language": "string" 400 | } 401 | ] 402 | }, 403 | "relatedProcesses": [ 404 | { 405 | "id": "", 406 | "relationship": "array", 407 | "title": "string", 408 | "scheme": "string", 409 | "identifier": "string", 410 | "uri": "string" 411 | } 412 | ], 413 | "milestones": [ 414 | { 415 | "id": "string", 416 | "title": "string", 417 | "type": "string", 418 | "description": "string", 419 | "code": "string", 420 | "dueDate": "string", 421 | "dateMet": "string", 422 | "dateModified": "string", 423 | "status": "string from milestoneStatus codelist" 424 | } 425 | ], 426 | "amendments": [ 427 | { 428 | "date": "string", 429 | "rationale": "string", 430 | "id": "string", 431 | "description": "string", 432 | "amendsReleaseID": "string", 433 | "releaseID": "string" 434 | } 435 | ] 436 | } 437 | ], 438 | "language": "string", 439 | "relatedProcesses": [ 440 | { 441 | "id": "", 442 | "relationship": "array", 443 | "title": "string", 444 | "scheme": "string", 445 | "identifier": "string", 446 | "uri": "string" 447 | } 448 | ] 449 | } 450 | -------------------------------------------------------------------------------- /blank-template/release-template-1__1__5.json: -------------------------------------------------------------------------------- 1 | { 2 | "ocid": "", 3 | "id": "", 4 | "date": "", 5 | "tag": [], 6 | "initiationType": "string from initiationType codelist", 7 | "parties": [ 8 | { 9 | "name": "string", 10 | "id": "", 11 | "identifier": { 12 | "scheme": "string", 13 | "id": "string", 14 | "legalName": "string", 15 | "uri": "string" 16 | }, 17 | "additionalIdentifiers": [ 18 | { 19 | "scheme": "string", 20 | "id": "string", 21 | "legalName": "string", 22 | "uri": "string" 23 | } 24 | ], 25 | "address": { 26 | "streetAddress": "string", 27 | "locality": "string", 28 | "region": "string", 29 | "postalCode": "string", 30 | "countryName": "string" 31 | }, 32 | "contactPoint": { 33 | "name": "string", 34 | "email": "string", 35 | "telephone": "string", 36 | "faxNumber": "string", 37 | "url": "string" 38 | }, 39 | "roles": "array", 40 | "details": "object" 41 | } 42 | ], 43 | "buyer": { 44 | "name": "string", 45 | "id": "string" 46 | }, 47 | "planning": { 48 | "rationale": "string", 49 | "budget": { 50 | "id": "string", 51 | "description": "string", 52 | "amount": { 53 | "amount": "number", 54 | "currency": "string from currency codelist" 55 | }, 56 | "project": "string", 57 | "projectID": "string", 58 | "uri": "string" 59 | }, 60 | "documents": [ 61 | { 62 | "id": "string", 63 | "documentType": "string", 64 | "title": "string", 65 | "description": "string", 66 | "url": "string", 67 | "datePublished": "string", 68 | "dateModified": "string", 69 | "format": "string", 70 | "language": "string" 71 | } 72 | ], 73 | "milestones": [ 74 | { 75 | "id": "string", 76 | "title": "string", 77 | "type": "string", 78 | "description": "string", 79 | "code": "string", 80 | "dueDate": "string", 81 | "dateMet": "string", 82 | "dateModified": "string", 83 | "status": "string from milestoneStatus codelist" 84 | } 85 | ] 86 | }, 87 | "tender": { 88 | "id": "string", 89 | "title": "string", 90 | "description": "string", 91 | "status": "string from tenderStatus codelist", 92 | "procuringEntity": { 93 | "name": "string", 94 | "id": "string" 95 | }, 96 | "items": [ 97 | { 98 | "id": "string", 99 | "description": "string", 100 | "classification": { 101 | "scheme": "string", 102 | "id": "string", 103 | "description": "string", 104 | "uri": "string" 105 | }, 106 | "additionalClassifications": [ 107 | { 108 | "scheme": "string", 109 | "id": "string", 110 | "description": "string", 111 | "uri": "string" 112 | } 113 | ], 114 | "quantity": "number", 115 | "unit": { 116 | "scheme": "string", 117 | "id": "string", 118 | "name": "string", 119 | "value": { 120 | "amount": "number", 121 | "currency": "string from currency codelist" 122 | }, 123 | "uri": "string" 124 | } 125 | } 126 | ], 127 | "value": { 128 | "amount": "number", 129 | "currency": "string from currency codelist" 130 | }, 131 | "minValue": { 132 | "amount": "number", 133 | "currency": "string from currency codelist" 134 | }, 135 | "procurementMethod": "string from method codelist", 136 | "procurementMethodDetails": "string", 137 | "procurementMethodRationale": "string", 138 | "mainProcurementCategory": "string from procurementCategory codelist", 139 | "additionalProcurementCategories": "array", 140 | "awardCriteria": "string", 141 | "awardCriteriaDetails": "string", 142 | "submissionMethod": "array", 143 | "submissionMethodDetails": "string", 144 | "tenderPeriod": { 145 | "startDate": "string", 146 | "endDate": "string", 147 | "maxExtentDate": "string", 148 | "durationInDays": "integer" 149 | }, 150 | "enquiryPeriod": { 151 | "startDate": "string", 152 | "endDate": "string", 153 | "maxExtentDate": "string", 154 | "durationInDays": "integer" 155 | }, 156 | "hasEnquiries": "boolean", 157 | "eligibilityCriteria": "string", 158 | "awardPeriod": { 159 | "startDate": "string", 160 | "endDate": "string", 161 | "maxExtentDate": "string", 162 | "durationInDays": "integer" 163 | }, 164 | "contractPeriod": { 165 | "startDate": "string", 166 | "endDate": "string", 167 | "maxExtentDate": "string", 168 | "durationInDays": "integer" 169 | }, 170 | "numberOfTenderers": "integer", 171 | "tenderers": [ 172 | { 173 | "name": "string", 174 | "id": "string" 175 | } 176 | ], 177 | "documents": [ 178 | { 179 | "id": "string", 180 | "documentType": "string", 181 | "title": "string", 182 | "description": "string", 183 | "url": "string", 184 | "datePublished": "string", 185 | "dateModified": "string", 186 | "format": "string", 187 | "language": "string" 188 | } 189 | ], 190 | "milestones": [ 191 | { 192 | "id": "string", 193 | "title": "string", 194 | "type": "string", 195 | "description": "string", 196 | "code": "string", 197 | "dueDate": "string", 198 | "dateMet": "string", 199 | "dateModified": "string", 200 | "status": "string from milestoneStatus codelist" 201 | } 202 | ], 203 | "amendments": [ 204 | { 205 | "date": "string", 206 | "rationale": "string", 207 | "id": "string", 208 | "description": "string", 209 | "amendsReleaseID": "string", 210 | "releaseID": "string" 211 | } 212 | ] 213 | }, 214 | "awards": [ 215 | { 216 | "id": "string", 217 | "title": "string", 218 | "description": "string", 219 | "status": "string from awardStatus codelist", 220 | "date": "string", 221 | "value": { 222 | "amount": "number", 223 | "currency": "string from currency codelist" 224 | }, 225 | "suppliers": [ 226 | { 227 | "name": "string", 228 | "id": "string" 229 | } 230 | ], 231 | "items": [ 232 | { 233 | "id": "string", 234 | "description": "string", 235 | "classification": { 236 | "scheme": "string", 237 | "id": "string", 238 | "description": "string", 239 | "uri": "string" 240 | }, 241 | "additionalClassifications": [ 242 | { 243 | "scheme": "string", 244 | "id": "string", 245 | "description": "string", 246 | "uri": "string" 247 | } 248 | ], 249 | "quantity": "number", 250 | "unit": { 251 | "scheme": "string", 252 | "id": "string", 253 | "name": "string", 254 | "value": { 255 | "amount": "number", 256 | "currency": "string from currency codelist" 257 | }, 258 | "uri": "string" 259 | } 260 | } 261 | ], 262 | "contractPeriod": { 263 | "startDate": "string", 264 | "endDate": "string", 265 | "maxExtentDate": "string", 266 | "durationInDays": "integer" 267 | }, 268 | "documents": [ 269 | { 270 | "id": "string", 271 | "documentType": "string", 272 | "title": "string", 273 | "description": "string", 274 | "url": "string", 275 | "datePublished": "string", 276 | "dateModified": "string", 277 | "format": "string", 278 | "language": "string" 279 | } 280 | ], 281 | "amendments": [ 282 | { 283 | "date": "string", 284 | "rationale": "string", 285 | "id": "string", 286 | "description": "string", 287 | "amendsReleaseID": "string", 288 | "releaseID": "string" 289 | } 290 | ] 291 | } 292 | ], 293 | "contracts": [ 294 | { 295 | "id": "string", 296 | "awardID": "string", 297 | "title": "string", 298 | "description": "string", 299 | "status": "string from contractStatus codelist", 300 | "period": { 301 | "startDate": "string", 302 | "endDate": "string", 303 | "maxExtentDate": "string", 304 | "durationInDays": "integer" 305 | }, 306 | "value": { 307 | "amount": "number", 308 | "currency": "string from currency codelist" 309 | }, 310 | "items": [ 311 | { 312 | "id": "string", 313 | "description": "string", 314 | "classification": { 315 | "scheme": "string", 316 | "id": "string", 317 | "description": "string", 318 | "uri": "string" 319 | }, 320 | "additionalClassifications": [ 321 | { 322 | "scheme": "string", 323 | "id": "string", 324 | "description": "string", 325 | "uri": "string" 326 | } 327 | ], 328 | "quantity": "number", 329 | "unit": { 330 | "scheme": "string", 331 | "id": "string", 332 | "name": "string", 333 | "value": { 334 | "amount": "number", 335 | "currency": "string from currency codelist" 336 | }, 337 | "uri": "string" 338 | } 339 | } 340 | ], 341 | "dateSigned": "string", 342 | "documents": [ 343 | { 344 | "id": "string", 345 | "documentType": "string", 346 | "title": "string", 347 | "description": "string", 348 | "url": "string", 349 | "datePublished": "string", 350 | "dateModified": "string", 351 | "format": "string", 352 | "language": "string" 353 | } 354 | ], 355 | "implementation": { 356 | "transactions": [ 357 | { 358 | "id": "string", 359 | "source": "string", 360 | "date": "string", 361 | "value": { 362 | "amount": "number", 363 | "currency": "string from currency codelist" 364 | }, 365 | "payer": { 366 | "name": "string", 367 | "id": "string" 368 | }, 369 | "payee": { 370 | "name": "string", 371 | "id": "string" 372 | }, 373 | "uri": "string" 374 | } 375 | ], 376 | "milestones": [ 377 | { 378 | "id": "string", 379 | "title": "string", 380 | "type": "string", 381 | "description": "string", 382 | "code": "string", 383 | "dueDate": "string", 384 | "dateMet": "string", 385 | "dateModified": "string", 386 | "status": "string from milestoneStatus codelist" 387 | } 388 | ], 389 | "documents": [ 390 | { 391 | "id": "string", 392 | "documentType": "string", 393 | "title": "string", 394 | "description": "string", 395 | "url": "string", 396 | "datePublished": "string", 397 | "dateModified": "string", 398 | "format": "string", 399 | "language": "string" 400 | } 401 | ] 402 | }, 403 | "relatedProcesses": [ 404 | { 405 | "id": "", 406 | "relationship": "array", 407 | "title": "string", 408 | "scheme": "string", 409 | "identifier": "string", 410 | "uri": "string" 411 | } 412 | ], 413 | "milestones": [ 414 | { 415 | "id": "string", 416 | "title": "string", 417 | "type": "string", 418 | "description": "string", 419 | "code": "string", 420 | "dueDate": "string", 421 | "dateMet": "string", 422 | "dateModified": "string", 423 | "status": "string from milestoneStatus codelist" 424 | } 425 | ], 426 | "amendments": [ 427 | { 428 | "date": "string", 429 | "rationale": "string", 430 | "id": "string", 431 | "description": "string", 432 | "amendsReleaseID": "string", 433 | "releaseID": "string" 434 | } 435 | ] 436 | } 437 | ], 438 | "language": "string", 439 | "relatedProcesses": [ 440 | { 441 | "id": "", 442 | "relationship": "array", 443 | "title": "string", 444 | "scheme": "string", 445 | "identifier": "string", 446 | "uri": "string" 447 | } 448 | ] 449 | } 450 | -------------------------------------------------------------------------------- /fictional-example/1.0/README.md: -------------------------------------------------------------------------------- 1 | # Fictional example of OCDS 1.0 2 | 3 | A fictional example designed to demonstrate the key features of OCDS. 4 | -------------------------------------------------------------------------------- /fictional-example/1.0/ocds-213czf-000-00001-01-planning.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "https://standard.open-contracting.org/examples/1.0/releases/ocds-213czf-000-00001-01-planning.json", 3 | "publishedDate": "2009-03-15T14:45:00Z", 4 | "publisher": { 5 | "scheme": "GB-COH", 6 | "uid": "09506232", 7 | "name": "Open Data Services Co-operative Limited", 8 | "uri": "https://standard.open-contracting.org/examples/" 9 | }, 10 | "license": "http://opendatacommons.org/licenses/pddl/1.0/", 11 | "publicationPolicy": "https://github.com/open-contracting/sample-data/", 12 | "releases": [ 13 | { 14 | "language": "en", 15 | "ocid": "ocds-213czf-000-00001", 16 | "id": "ocds-213czf-000-00001-01-planning", 17 | "date": "2009-03-15T14:45:00Z", 18 | "tag": [ 19 | "planning" 20 | ], 21 | "initiationType": "tender", 22 | "buyer": { 23 | "identifier": { 24 | "scheme": "GB-LAC", 25 | "id": "E09000003", 26 | "legalName": "London Borough of Barnet", 27 | "uri": "http://www.barnet.gov.uk/" 28 | }, 29 | "name": "London Borough of Barnet", 30 | "address": { 31 | "streetAddress": "4, North London Business Park, Oakleigh Rd S", 32 | "locality": "London", 33 | "region": "London", 34 | "postalCode": "N11 1NP", 35 | "countryName": "United Kingdom" 36 | }, 37 | "contactPoint": { 38 | "name": "Procurement Team", 39 | "email": "procurement-team@example.com", 40 | "telephone": "01234 345 346", 41 | "faxNumber": "01234 345 345", 42 | "url": "http://example.com/contact/" 43 | } 44 | }, 45 | "planning": { 46 | "budget": { 47 | "source": "https://openspending.org/uk-barnet-budget/entries/6801ad388f3a38b7740dde20108c58b35984ee91", 48 | "id": "6801ad388f3a38b7740dde20108c58b35984ee91", 49 | "description": "Budget allocation for highway maintenance, aligned with 2015 strategic plan. ", 50 | "amount": { 51 | "amount": 6700000.0, 52 | "currency": "GBP" 53 | }, 54 | "project": "Central Junction Cycle Scheme", 55 | "projectID": "SP001", 56 | "uri": "https://openspending.org/uk-barnet-budget/entries/6801ad388f3a38b7740dde20108c58b35984ee91" 57 | }, 58 | "rationale": "The 2009 Strategic Plan identifies a need for an improved cycle route in the centre of town.", 59 | "documents": [ 60 | { 61 | "id": "0001", 62 | "documentType": "procurementPlan", 63 | "title": "Area Wide Cycle Improvements - Procurement Plan", 64 | "description": "The overall strategic framework for procurement to enhance cycle provision.", 65 | "url": "http://example.com/opencontracting/documents/planning/highways/procurementPlan.pdf", 66 | "datePublished": "2009-01-05T00:00:00Z", 67 | "format": "application/pdf", 68 | "language": "en" 69 | }, 70 | { 71 | "id": "0002", 72 | "documentType": "needsAssessment", 73 | "title": "Cycle provision - Needs Assessment", 74 | "description": "Needs assessment for provision for cyclists in the centre of town.", 75 | "url": "http://example.com/opencontracting/documents/ocds-213czf-000-00001/needsAssessment.pdf", 76 | "datePublished": "2009-01-15T00:00:00Z", 77 | "format": "application/pdf", 78 | "language": "en" 79 | } 80 | ] 81 | }, 82 | "tender": { 83 | "id": "ocds-213czf-000-00001-01-planning", 84 | "title": "Planned cycle lane improvements", 85 | "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.", 86 | "status": "planned", 87 | "items": [ 88 | { 89 | "id": "0001", 90 | "description": "string", 91 | "classification": { 92 | "scheme": "CPV", 93 | "id": "45233130", 94 | "description": "Construction work for highways", 95 | "uri": "http://cpv.data.ac.uk/code-45233130" 96 | }, 97 | "additionalClassifications": [ 98 | { 99 | "scheme": "CPV", 100 | "id": "45233162-2", 101 | "description": "Cycle path construction work", 102 | "uri": "http://cpv.data.ac.uk/code-45233162.html" 103 | } 104 | ], 105 | "quantity": 10, 106 | "unit": { 107 | "name": "Miles", 108 | "value": { 109 | "amount": 100000, 110 | "currency": "GBP" 111 | } 112 | } 113 | } 114 | ], 115 | "minValue": { 116 | "amount": 500000, 117 | "currency": "GBP" 118 | }, 119 | "value": { 120 | "amount": 1000000, 121 | "currency": "GBP" 122 | }, 123 | "procurementMethod": "open", 124 | "procurementMethodRationale": "An open competitive tender is required by EU Rules", 125 | "awardCriteria": "bestProposal", 126 | "awardCriteriaDetails": "The best proposal, subject to value for money requirements, will be accepted.", 127 | "tenderPeriod": { 128 | "startDate": "2010-02-01T00:00:00Z" 129 | }, 130 | "awardPeriod": { 131 | "startDate": "2010-06-01T00:00:00Z", 132 | "endDate": "2011-06-01T23:59:59Z" 133 | }, 134 | "procuringEntity": { 135 | "identifier": { 136 | "scheme": "GB-LAC", 137 | "id": "E09000003", 138 | "legalName": "London Borough of Barnet", 139 | "uri": "http://www.barnet.gov.uk/" 140 | }, 141 | "name": "London Borough of Barnet", 142 | "address": { 143 | "streetAddress": "4, North London Business Park, Oakleigh Rd S", 144 | "locality": "London", 145 | "region": "London", 146 | "postalCode": "N11 1NP", 147 | "countryName": "United Kingdom" 148 | }, 149 | "contactPoint": { 150 | "name": "Procurement Team", 151 | "email": "procurement-team@example.com", 152 | "telephone": "01234 345 346", 153 | "faxNumber": "01234 345 345", 154 | "url": "http://example.com/contact/" 155 | } 156 | }, 157 | "documents": [ 158 | { 159 | "id": "0003", 160 | "documentType": "x_consultationDocument", 161 | "title": "Consultation on cycle provision", 162 | "description": "A consultation document inviting citizen input into cycle provision.", 163 | "url": "http://example.com/consultations/cycle-provision/", 164 | "datePublished": "2015-02-15T00:00:00Z", 165 | "dateModified": "2015-02-15T00:00:00Z", 166 | "format": "text/html", 167 | "language": "en" 168 | }, 169 | { 170 | "id": "0004", 171 | "documentType": "x_map", 172 | "title": "Map of affected areas", 173 | "description": "A map showing areas affected by the planned highway updates. Available from local libraries.", 174 | "datePublished": "2015-02-15T00:00:00Z", 175 | "format": "offline/print", 176 | "language": "en" 177 | } 178 | ], 179 | "milestones": [ 180 | { 181 | "id": "0001", 182 | "title": "Consultation Period", 183 | "description": "A consultation period is open for citizen input to shape the final plans.", 184 | "dueDate": "2015-04-15T17:00:00Z" 185 | } 186 | ] 187 | } 188 | } 189 | ] 190 | } 191 | -------------------------------------------------------------------------------- /fictional-example/1.0/ocds-213czf-000-00001-02-tender.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "https://standard.open-contracting.org/examples/1.0/releases/ocds-213czf-000-00001-02-tender.json", 3 | "publishedDate": "2010-03-01T09:30:00Z", 4 | "publisher": { 5 | "scheme": "GB-COH", 6 | "uid": "09506232", 7 | "name": "Open Data Services Co-operative Limited", 8 | "uri": "https://standard.open-contracting.org/examples/" 9 | }, 10 | "license": "http://opendatacommons.org/licenses/pddl/1.0/", 11 | "publicationPolicy": "https://github.com/open-contracting/sample-data/", 12 | "releases": [ 13 | { 14 | "language": "en", 15 | "ocid": "ocds-213czf-000-00001", 16 | "id": "ocds-213czf-000-00001-02-tender", 17 | "date": "2010-03-15T09:30:00Z", 18 | "tag": [ 19 | "tender" 20 | ], 21 | "initiationType": "tender", 22 | "buyer": { 23 | "identifier": { 24 | "scheme": "GB-LAC", 25 | "id": "E09000003", 26 | "legalName": "London Borough of Barnet", 27 | "uri": "http://www.barnet.gov.uk/" 28 | }, 29 | "name": "London Borough of Barnet", 30 | "address": { 31 | "streetAddress": "4, North London Business Park, Oakleigh Rd S", 32 | "locality": "London", 33 | "region": "London", 34 | "postalCode": "N11 1NP", 35 | "countryName": "United Kingdom" 36 | }, 37 | "contactPoint": { 38 | "name": "Procurement Team", 39 | "email": "procurement-team@example.com", 40 | "telephone": "01234 345 346", 41 | "faxNumber": "01234 345 345", 42 | "url": "http://example.com/contact/" 43 | } 44 | }, 45 | "tender": { 46 | "id": "ocds-213czf-000-00001-01-tender", 47 | "title": "Planned cycle lane improvements", 48 | "description": "Tenders solicited for work to build new cycle lanes in the centre of town.", 49 | "status": "active", 50 | "items": [ 51 | { 52 | "id": "0001", 53 | "description": "string", 54 | "classification": { 55 | "scheme": "CPV", 56 | "id": "45233130", 57 | "description": "Construction work for highways", 58 | "uri": "http://cpv.data.ac.uk/code-45233130" 59 | }, 60 | "additionalClassifications": [ 61 | { 62 | "scheme": "CPV", 63 | "id": "45233162-2", 64 | "description": "Cycle path construction work", 65 | "uri": "http://cpv.data.ac.uk/code-45233162.html" 66 | } 67 | ], 68 | "quantity": 8, 69 | "unit": { 70 | "name": "Miles", 71 | "value": { 72 | "amount": 120000, 73 | "currency": "GBP" 74 | } 75 | } 76 | } 77 | ], 78 | "minValue": { 79 | "amount": 600000, 80 | "currency": "GBP" 81 | }, 82 | "value": { 83 | "amount": 1100000, 84 | "currency": "GBP" 85 | }, 86 | "procurementMethod": "open", 87 | "procurementMethodRationale": "An open competitive tender is required by EU Rules", 88 | "awardCriteria": "bestProposal", 89 | "awardCriteriaDetails": "The best proposal, subject to value for money requirements, will be accepted.", 90 | "submissionMethod": [ 91 | "electronicSubmission" 92 | ], 93 | "submissionMethodDetails": "Submit through the online portal at http://example.com/submissions/ocds-213czf-000-00001-01/", 94 | "enquiryPeriod": { 95 | "startDate": "2010-03-01T09:00:00Z", 96 | "endDate": "2010-03-14T17:30:00Z" 97 | }, 98 | "hasEnquiries": false, 99 | "tenderPeriod": { 100 | "startDate": "2010-03-01T09:00:00Z", 101 | "endDate": "2011-04-01T18:00:00Z" 102 | }, 103 | "awardPeriod": { 104 | "startDate": "2010-06-01T00:00:00Z", 105 | "endDate": "2011-08-01T23:59:59Z" 106 | }, 107 | "procuringEntity": { 108 | "identifier": { 109 | "scheme": "GB-LAC", 110 | "id": "E09000003", 111 | "legalName": "London Borough of Barnet", 112 | "uri": "http://www.barnet.gov.uk/" 113 | }, 114 | "name": "London Borough of Barnet", 115 | "address": { 116 | "streetAddress": "4, North London Business Park, Oakleigh Rd S", 117 | "locality": "London", 118 | "region": "London", 119 | "postalCode": "N11 1NP", 120 | "countryName": "United Kingdom" 121 | }, 122 | "contactPoint": { 123 | "name": "Procurement Team", 124 | "email": "procurement-team@example.com", 125 | "telephone": "01234 345 346", 126 | "faxNumber": "01234 345 345", 127 | "url": "http://example.com/contact/" 128 | } 129 | }, 130 | "documents": [ 131 | { 132 | "id": "0005", 133 | "documentType": "notice", 134 | "title": "Tender Notice", 135 | "description": "Official tender notice.", 136 | "url": "http://example.com/tender-notices/ocds-213czf-000-00001-01.html", 137 | "datePublished": "2010-03-01T09:00:00Z", 138 | "format": "text/html", 139 | "language": "en" 140 | } 141 | ] 142 | } 143 | } 144 | ] 145 | } 146 | -------------------------------------------------------------------------------- /fictional-example/1.0/ocds-213czf-000-00001-03-tenderAmendment.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "https://standard.open-contracting.org/examples/1.0/releases/ocds-213czf-000-00001-03-tenderAmendment.json", 3 | "publishedDate": "2010-03-20T09:45:00Z", 4 | "publisher": { 5 | "scheme": "GB-COH", 6 | "uid": "09506232", 7 | "name": "Open Data Services Co-operative Limited", 8 | "uri": "https://standard.open-contracting.org/examples/" 9 | }, 10 | "license": "http://opendatacommons.org/licenses/pddl/1.0/", 11 | "publicationPolicy": "https://github.com/open-contracting/sample-data/", 12 | "releases": [ 13 | { 14 | "language": "en", 15 | "ocid": "ocds-213czf-000-00001", 16 | "id": "ocds-213czf-000-00001-03-tenderAmendment", 17 | "date": "2010-03-20T09:45:00Z", 18 | "tag": [ 19 | "tenderAmendment" 20 | ], 21 | "initiationType": "tender", 22 | "buyer": { 23 | "identifier": { 24 | "scheme": "GB-LAC", 25 | "id": "E09000003", 26 | "legalName": "London Borough of Barnet", 27 | "uri": "http://www.barnet.gov.uk/" 28 | }, 29 | "name": "London Borough of Barnet", 30 | "address": { 31 | "streetAddress": "4, North London Business Park, Oakleigh Rd S", 32 | "locality": "London", 33 | "region": "London", 34 | "postalCode": "N11 1NP", 35 | "countryName": "United Kingdom" 36 | }, 37 | "contactPoint": { 38 | "name": "Procurement Team", 39 | "email": "procurement-team@example.com", 40 | "telephone": "01234 345 346", 41 | "faxNumber": "01234 345 345", 42 | "url": "http://example.com/contact/" 43 | } 44 | }, 45 | "tender": { 46 | "id": "ocds-213czf-000-00001-01-tender", 47 | "title": "Planned cycle lane improvements", 48 | "description": "Tenders solicited for work to build new cycle lanes in the centre of town.", 49 | "status": "active", 50 | "items": [ 51 | { 52 | "id": "0001", 53 | "description": "string", 54 | "classification": { 55 | "scheme": "CPV", 56 | "id": "45233130", 57 | "description": "Construction work for highways", 58 | "uri": "http://cpv.data.ac.uk/code-45233130" 59 | }, 60 | "additionalClassifications": [ 61 | { 62 | "scheme": "CPV", 63 | "id": "45233162-2", 64 | "description": "Cycle path construction work", 65 | "uri": "http://cpv.data.ac.uk/code-45233162.html" 66 | } 67 | ], 68 | "quantity": 8, 69 | "unit": { 70 | "name": "Miles", 71 | "value": { 72 | "amount": 120000, 73 | "currency": "GBP" 74 | } 75 | } 76 | } 77 | ], 78 | "minValue": { 79 | "amount": 600000, 80 | "currency": "GBP" 81 | }, 82 | "value": { 83 | "amount": 1100000, 84 | "currency": "GBP" 85 | }, 86 | "procurementMethod": "open", 87 | "procurementMethodRationale": "An open competitive tender is required by EU Rules", 88 | "awardCriteria": "bestProposal", 89 | "awardCriteriaDetails": "The best proposal, subject to value for money requirements, will be accepted.", 90 | "submissionMethod": [ 91 | "electronicSubmission" 92 | ], 93 | "submissionMethodDetails": "Submit through the online portal at http://example.com/submissions/ocds-213czf-000-00001-01/", 94 | "enquiryPeriod": { 95 | "startDate": "2010-03-01T09:00:00Z", 96 | "endDate": "2010-03-14T17:30:00Z" 97 | }, 98 | "hasEnquiries": true, 99 | "tenderPeriod": { 100 | "startDate": "2010-03-01T09:00:00Z", 101 | "endDate": "2011-04-01T18:00:00Z" 102 | }, 103 | "awardPeriod": { 104 | "startDate": "2010-06-01T00:00:00Z", 105 | "endDate": "2011-08-01T23:59:59Z" 106 | }, 107 | "procuringEntity": { 108 | "identifier": { 109 | "scheme": "GB-LAC", 110 | "id": "E09000003", 111 | "legalName": "London Borough of Barnet", 112 | "uri": "http://www.barnet.gov.uk/" 113 | }, 114 | "name": "London Borough of Barnet", 115 | "address": { 116 | "streetAddress": "4, North London Business Park, Oakleigh Rd S", 117 | "locality": "London", 118 | "region": "London", 119 | "postalCode": "N11 1NP", 120 | "countryName": "United Kingdom" 121 | }, 122 | "contactPoint": { 123 | "name": "Procurement Team", 124 | "email": "procurement-team@example.com", 125 | "telephone": "01234 345 346", 126 | "faxNumber": "01234 345 345", 127 | "url": "http://example.com/contact/" 128 | } 129 | }, 130 | "documents": [ 131 | { 132 | "id": "0005", 133 | "documentType": "notice", 134 | "title": "Tender Notice", 135 | "description": "Official tender notice.", 136 | "url": "http://example.com/tender-notices/ocds-213czf-000-00001-01.html", 137 | "datePublished": "2010-03-01T09:00:00Z", 138 | "format": "text/html", 139 | "language": "en" 140 | }, 141 | { 142 | "id": "0006", 143 | "documentType": "enquiryResponses", 144 | "title": "Enquiry Responses", 145 | "description": "Responses to enquiries asked by interested parties.", 146 | "url": "http://example.com/enquiry-response/ocds-213czf-000-00001-01.html", 147 | "datePublished": "2010-03-20T11:30:15Z", 148 | "format": "text/html", 149 | "language": "en" 150 | } 151 | ], 152 | "amendment": { 153 | "date": "2010-03-20T09:45:00Z", 154 | "changes": [ 155 | { 156 | "property": "documents" 157 | }, 158 | { 159 | "property": "hasEnquiries" 160 | } 161 | ], 162 | "rationale": "Following the enquiry period, enquiries were received and responses to questions asked have been published. No changes to the overall tender details were made." 163 | } 164 | } 165 | } 166 | ] 167 | } 168 | -------------------------------------------------------------------------------- /fictional-example/1.0/ocds-213czf-000-00001-04-award.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "https://standard.open-contracting.org/examples/1.0/releases/ocds-213czf-000-00001-04-award.json", 3 | "publishedDate": "2010-05-10T09:30:00Z", 4 | "publisher": { 5 | "scheme": "GB-COH", 6 | "uid": "09506232", 7 | "name": "Open Data Services Co-operative Limited", 8 | "uri": "https://standard.open-contracting.org/examples/" 9 | }, 10 | "license": "http://opendatacommons.org/licenses/pddl/1.0/", 11 | "publicationPolicy": "https://github.com/open-contracting/sample-data/", 12 | "releases": [ 13 | { 14 | "language": "en", 15 | "ocid": "ocds-213czf-000-00001", 16 | "id": "ocds-213czf-000-00001-04-award", 17 | "date": "2010-05-10T09:30:00Z", 18 | "tag": [ 19 | "award" 20 | ], 21 | "initiationType": "tender", 22 | "buyer": { 23 | "identifier": { 24 | "scheme": "GB-LAC", 25 | "id": "E09000003", 26 | "legalName": "London Borough of Barnet", 27 | "uri": "http://www.barnet.gov.uk/" 28 | }, 29 | "name": "London Borough of Barnet", 30 | "address": { 31 | "streetAddress": "4, North London Business Park, Oakleigh Rd S", 32 | "locality": "London", 33 | "region": "London", 34 | "postalCode": "N11 1NP", 35 | "countryName": "United Kingdom" 36 | }, 37 | "contactPoint": { 38 | "name": "Procurement Team", 39 | "email": "procurement-team@example.com", 40 | "telephone": "01234 345 346", 41 | "faxNumber": "01234 345 345", 42 | "url": "http://example.com/contact/" 43 | } 44 | }, 45 | "awards": [ 46 | { 47 | "id": "ocds-213czf-000-00001-award-01", 48 | "title": "Award of contract to build new cycle lanes in the centre of town.", 49 | "description": "AnyCorp Ltd has been awarded the contract to build new cycle lanes in the centre of town.", 50 | "status": "pending", 51 | "date": "2010-05-10T09:30:00Z", 52 | "value": { 53 | "amount": 11000000, 54 | "currency": "GBP" 55 | }, 56 | "suppliers": [ 57 | { 58 | "identifier": { 59 | "scheme": "GB-COH", 60 | "id": "1234567844", 61 | "legalName": "AnyCorp Ltd", 62 | "uri": "http://www.anycorp.example" 63 | }, 64 | "additionalIdentifiers": [ 65 | { 66 | "scheme": "GB-VAT", 67 | "id": "987654321" 68 | } 69 | ], 70 | "name": "AnyCorp Cycle Provision", 71 | "address": { 72 | "streetAddress": "100 Anytown Lane", 73 | "locality": "Anytown", 74 | "region": "AnyCounty", 75 | "postalCode": "AN1 1TN", 76 | "countryName": "United Kingdom" 77 | }, 78 | "contactPoint": { 79 | "name": "Contracts Team", 80 | "email": "contracts@anycorp.example", 81 | "telephone": "12345 456 343", 82 | "faxNumber": "12345 456 343" 83 | } 84 | } 85 | ], 86 | "items": [ 87 | { 88 | "id": "0001", 89 | "description": "string", 90 | "classification": { 91 | "scheme": "CPV", 92 | "id": "45233130", 93 | "description": "Construction work for highways", 94 | "uri": "http://cpv.data.ac.uk/code-45233130" 95 | }, 96 | "additionalClassifications": [ 97 | { 98 | "scheme": "CPV", 99 | "id": "45233162-2", 100 | "description": "Cycle path construction work", 101 | "uri": "http://cpv.data.ac.uk/code-45233162.html" 102 | } 103 | ], 104 | "quantity": 8, 105 | "unit": { 106 | "name": "Miles", 107 | "value": { 108 | "amount": 137000, 109 | "currency": "GBP" 110 | } 111 | } 112 | } 113 | ], 114 | "contractPeriod": { 115 | "startDate": "2010-07-01T00:00:00Z", 116 | "endDate": "2011-08-01T23:59:00Z" 117 | }, 118 | "documents": [ 119 | { 120 | "id": "0007", 121 | "documentType": "notice", 122 | "title": "Award notice", 123 | "description": "Award of contract to build new cycle lanes in the centre of town to AnyCorp Ltd.", 124 | "url": "http://example.com/tender-notices/ocds-213czf-000-00001-04.html", 125 | "datePublished": "2010-05-10T09:30:00Z", 126 | "format": "text/html", 127 | "language": "en" 128 | } 129 | ] 130 | } 131 | ] 132 | } 133 | ] 134 | } 135 | -------------------------------------------------------------------------------- /fictional-example/1.0/ocds-213czf-000-00001-05-contract.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "https://standard.open-contracting.org/examples/1.0/releases/ocds-213czf-000-00001-05-contract.json", 3 | "publishedDate": "2010-06-10T10:30:00Z", 4 | "publisher": { 5 | "scheme": "GB-COH", 6 | "uid": "09506232", 7 | "name": "Open Data Services Co-operative Limited", 8 | "uri": "https://standard.open-contracting.org/examples/" 9 | }, 10 | "license": "http://opendatacommons.org/licenses/pddl/1.0/", 11 | "publicationPolicy": "https://github.com/open-contracting/sample-data/", 12 | "releases": [ 13 | { 14 | "language": "en", 15 | "ocid": "ocds-213czf-000-00001", 16 | "id": "ocds-213czf-000-00001-05-contract", 17 | "date": "2010-05-10T10:30:00Z", 18 | "tag": [ 19 | "contract" 20 | ], 21 | "initiationType": "tender", 22 | "buyer": { 23 | "identifier": { 24 | "scheme": "GB-LAC", 25 | "id": "E09000003", 26 | "legalName": "London Borough of Barnet", 27 | "uri": "http://www.barnet.gov.uk/" 28 | }, 29 | "name": "London Borough of Barnet", 30 | "address": { 31 | "streetAddress": "4, North London Business Park, Oakleigh Rd S", 32 | "locality": "London", 33 | "region": "London", 34 | "postalCode": "N11 1NP", 35 | "countryName": "United Kingdom" 36 | }, 37 | "contactPoint": { 38 | "name": "Procurement Team", 39 | "email": "procurement-team@example.com", 40 | "telephone": "01234 345 346", 41 | "faxNumber": "01234 345 345", 42 | "url": "http://example.com/contact/" 43 | } 44 | }, 45 | "awards": [ 46 | { 47 | "id": "ocds-213czf-000-00001-award-01", 48 | "title": "Award of contract to build new cycle lanes in the centre of town.", 49 | "description": "AnyCorp Ltd has been awarded the contract to build new cycle lanes in the centre of town.", 50 | "status": "active", 51 | "date": "2010-05-10T10:30:00Z", 52 | "value": { 53 | "amount": 11000000, 54 | "currency": "GBP" 55 | }, 56 | "suppliers": [ 57 | { 58 | "identifier": { 59 | "scheme": "GB-COH", 60 | "id": "1234567844", 61 | "legalName": "AnyCorp Ltd", 62 | "uri": "http://www.anycorp.example" 63 | }, 64 | "additionalIdentifiers": [ 65 | { 66 | "scheme": "GB-VAT", 67 | "id": "987654321" 68 | } 69 | ], 70 | "name": "AnyCorp Cycle Provision", 71 | "address": { 72 | "streetAddress": "100 Anytown Lane", 73 | "locality": "Anytown", 74 | "region": "AnyCounty", 75 | "postalCode": "AN1 1TN", 76 | "countryName": "United Kingdom" 77 | }, 78 | "contactPoint": { 79 | "name": "Contracts Team", 80 | "email": "contracts@anycorp.example", 81 | "telephone": "12345 456 343", 82 | "faxNumber": "12345 456 343" 83 | } 84 | } 85 | ], 86 | "items": [ 87 | { 88 | "id": "0001", 89 | "description": "string", 90 | "classification": { 91 | "scheme": "CPV", 92 | "id": "45233130", 93 | "description": "Construction work for highways", 94 | "uri": "http://cpv.data.ac.uk/code-45233130" 95 | }, 96 | "additionalClassifications": [ 97 | { 98 | "scheme": "CPV", 99 | "id": "45233162-2", 100 | "description": "Cycle path construction work", 101 | "uri": "http://cpv.data.ac.uk/code-45233162.html" 102 | } 103 | ], 104 | "quantity": 8, 105 | "unit": { 106 | "name": "Miles", 107 | "value": { 108 | "amount": 137000, 109 | "currency": "GBP" 110 | } 111 | } 112 | } 113 | ], 114 | "contractPeriod": { 115 | "startDate": "2010-07-01T00:00:00Z", 116 | "endDate": "2011-08-01T23:59:00Z" 117 | }, 118 | "documents": [ 119 | { 120 | "id": "0007", 121 | "documentType": "notice", 122 | "title": "Award notice", 123 | "description": "Award of contract to build new cycle lanes in the centre of town to AnyCorp Ltd.", 124 | "url": "http://example.com/tender-notices/ocds-213czf-000-00001-04.html", 125 | "datePublished": "2010-05-10T10:30:00Z", 126 | "format": "text/html", 127 | "language": "en" 128 | } 129 | ] 130 | } 131 | ], 132 | "contracts": [ 133 | { 134 | "id": "ocds-213czf-000-00001-contract-01", 135 | "awardID": "ocds-213czf-000-00001-award-01", 136 | "title": "Contract to build new cycle lanes in the centre of town.", 137 | "description": "A contract has been signed between the Council and AnyCorp Ltd for construction of new cycle lanes in the centre of town.", 138 | "status": "active", 139 | "period": { 140 | "startDate": "2010-07-01T00:00:00Z", 141 | "endDate": "2011-08-01T23:59:00Z" 142 | }, 143 | "value": { 144 | "amount": 11000000, 145 | "currency": "GBP" 146 | }, 147 | "items": [ 148 | { 149 | "id": "0001", 150 | "description": "string", 151 | "classification": { 152 | "scheme": "CPV", 153 | "id": "45233130", 154 | "description": "Construction work for highways", 155 | "uri": "http://cpv.data.ac.uk/code-45233130" 156 | }, 157 | "additionalClassifications": [ 158 | { 159 | "scheme": "CPV", 160 | "id": "45233162-2", 161 | "description": "Cycle path construction work", 162 | "uri": "http://cpv.data.ac.uk/code-45233162.html" 163 | } 164 | ], 165 | "quantity": 8, 166 | "unit": { 167 | "name": "Miles", 168 | "value": { 169 | "amount": 137000, 170 | "currency": "GBP" 171 | } 172 | } 173 | } 174 | ], 175 | "dateSigned": "2015-06-10T14:23:12Z", 176 | "documents": [ 177 | { 178 | "id": "0008", 179 | "documentType": "contractSigned", 180 | "title": "Signed Contract", 181 | "description": "The Signed Contract for Cycle Path Construction", 182 | "url": "http://example.com/contracts/ocds-213czf-000-00001", 183 | "datePublished": "2015-06-10T16:43:12Z", 184 | "format": "application/pdf", 185 | "language": "en" 186 | } 187 | ] 188 | } 189 | ] 190 | } 191 | ] 192 | } 193 | -------------------------------------------------------------------------------- /fictional-example/1.0/ocds-213czf-000-00001-06-implementation.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "https://standard.open-contracting.org/examples/1.0/releases/ocds-213czf-000-00001-05-contract.json", 3 | "publishedDate": "2011-01-10T09:30:00Z", 4 | "publisher": { 5 | "scheme": "GB-COH", 6 | "uid": "09506232", 7 | "name": "Open Data Services Co-operative Limited", 8 | "uri": "https://standard.open-contracting.org/examples/" 9 | }, 10 | "license": "http://opendatacommons.org/licenses/pddl/1.0/", 11 | "publicationPolicy": "https://github.com/open-contracting/sample-data/", 12 | "releases": [ 13 | { 14 | "language": "en", 15 | "ocid": "ocds-213czf-000-00001", 16 | "id": "ocds-213czf-000-00001-06-implementation", 17 | "date": "2011-01-10T09:30:00Z", 18 | "tag": [ 19 | "implementation" 20 | ], 21 | "initiationType": "tender", 22 | "buyer": { 23 | "identifier": { 24 | "scheme": "GB-LAC", 25 | "id": "E09000003", 26 | "legalName": "London Borough of Barnet", 27 | "uri": "http://www.barnet.gov.uk/" 28 | }, 29 | "name": "London Borough of Barnet", 30 | "address": { 31 | "streetAddress": "4, North London Business Park, Oakleigh Rd S", 32 | "locality": "London", 33 | "region": "London", 34 | "postalCode": "N11 1NP", 35 | "countryName": "United Kingdom" 36 | }, 37 | "contactPoint": { 38 | "name": "Procurement Team", 39 | "email": "procurement-team@example.com", 40 | "telephone": "01234 345 346", 41 | "faxNumber": "01234 345 345", 42 | "url": "http://example.com/contact/" 43 | } 44 | }, 45 | "awards": [ 46 | { 47 | "id": "ocds-213czf-000-00001-award-01", 48 | "title": "Award of contract to build new cycle lanes in the centre of town.", 49 | "description": "AnyCorp Ltd has been awarded the contract to build new cycle lanes in the centre of town.", 50 | "status": "active", 51 | "date": "2010-05-10T10:30:00Z", 52 | "value": { 53 | "amount": 11000000, 54 | "currency": "GBP" 55 | }, 56 | "suppliers": [ 57 | { 58 | "identifier": { 59 | "scheme": "GB-COH", 60 | "id": "1234567844", 61 | "legalName": "AnyCorp Ltd", 62 | "uri": "http://www.anycorp.example" 63 | }, 64 | "additionalIdentifiers": [ 65 | { 66 | "scheme": "GB-VAT", 67 | "id": "987654321" 68 | } 69 | ], 70 | "name": "AnyCorp Cycle Provision", 71 | "address": { 72 | "streetAddress": "100 Anytown Lane", 73 | "locality": "Anytown", 74 | "region": "AnyCounty", 75 | "postalCode": "AN1 1TN", 76 | "countryName": "United Kingdom" 77 | }, 78 | "contactPoint": { 79 | "name": "Contracts Team", 80 | "email": "contracts@anycorp.example", 81 | "telephone": "12345 456 343", 82 | "faxNumber": "12345 456 343" 83 | } 84 | } 85 | ], 86 | "items": [ 87 | { 88 | "id": "0001", 89 | "description": "string", 90 | "classification": { 91 | "scheme": "CPV", 92 | "id": "45233130", 93 | "description": "Construction work for highways", 94 | "uri": "http://cpv.data.ac.uk/code-45233130" 95 | }, 96 | "additionalClassifications": [ 97 | { 98 | "scheme": "CPV", 99 | "id": "45233162-2", 100 | "description": "Cycle path construction work", 101 | "uri": "http://cpv.data.ac.uk/code-45233162.html" 102 | } 103 | ], 104 | "quantity": 8, 105 | "unit": { 106 | "name": "Miles", 107 | "value": { 108 | "amount": 137000, 109 | "currency": "GBP" 110 | } 111 | } 112 | } 113 | ], 114 | "contractPeriod": { 115 | "startDate": "2010-07-01T00:00:00Z", 116 | "endDate": "2011-08-01T23:59:00Z" 117 | }, 118 | "documents": [ 119 | { 120 | "id": "0007", 121 | "documentType": "notice", 122 | "title": "Award notice", 123 | "description": "Award of contract to build new cycle lanes in the centre of town to AnyCorp Ltd.", 124 | "url": "http://example.com/tender-notices/ocds-213czf-000-00001-04.html", 125 | "datePublished": "2010-05-10T10:30:00Z", 126 | "format": "text/html", 127 | "language": "en" 128 | } 129 | ] 130 | } 131 | ], 132 | "contracts": [ 133 | { 134 | "id": "ocds-213czf-000-00001-contract-01", 135 | "awardID": "ocds-213czf-000-00001-award-01", 136 | "title": "Contract to build new cycle lanes in the centre of town.", 137 | "description": "Contract monitoring for cycle lane construction.", 138 | "status": "active", 139 | "period": { 140 | "startDate": "2010-07-01T00:00:00Z", 141 | "endDate": "2011-08-01T23:59:00Z" 142 | }, 143 | "value": { 144 | "amount": 11000000, 145 | "currency": "GBP" 146 | }, 147 | "items": [ 148 | { 149 | "id": "0001", 150 | "description": "string", 151 | "classification": { 152 | "scheme": "CPV", 153 | "id": "45233130", 154 | "description": "Construction work for highways", 155 | "uri": "http://cpv.data.ac.uk/code-45233130" 156 | }, 157 | "additionalClassifications": [ 158 | { 159 | "scheme": "CPV", 160 | "id": "45233162-2", 161 | "description": "Cycle path construction work", 162 | "uri": "http://cpv.data.ac.uk/code-45233162.html" 163 | } 164 | ], 165 | "quantity": 8, 166 | "unit": { 167 | "name": "Miles", 168 | "value": { 169 | "amount": 137000, 170 | "currency": "GBP" 171 | } 172 | } 173 | } 174 | ], 175 | "dateSigned": "2015-06-10T14:23:12Z", 176 | "documents": [ 177 | { 178 | "id": "0009", 179 | "documentType": "physicalProcessReport", 180 | "title": "Progress report", 181 | "description": "Physical progress report for cycle path construction", 182 | "url": "http://example.com/reports/ocds-213czf-000-00001/cycle-path-01.pdf", 183 | "datePublished": "2010-12-15T15:34:02Z", 184 | "format": "application/pdf", 185 | "language": "en" 186 | } 187 | ], 188 | "implementation": { 189 | "transactions": [ 190 | { 191 | "id": "ocds-213czf-000-00001-1", 192 | "source": "https://openspending.org/uk-barnet-spending/", 193 | "date": "2010-08-01T00:00:00Z", 194 | "amount": { 195 | "amount": 500000, 196 | "currency": "GBP" 197 | }, 198 | "providerOrganization": { 199 | "scheme": "GB-LAC", 200 | "id": "E09000003", 201 | "legalName": "London Borough of Barnet", 202 | "uri": "http://www.barnet.gov.uk/" 203 | }, 204 | "receiverOrganization": { 205 | "scheme": "GB-COH", 206 | "id": "1234567844", 207 | "legalName": "AnyCorp Ltd", 208 | "uri": "http://www.anycorp.example" 209 | }, 210 | "uri": "https://openspending.org/uk-barnet-spending/transaction/asd9235qaghvs1059620ywhgai" 211 | }, 212 | { 213 | "id": "ocds-213czf-000-00001-2", 214 | "source": "https://openspending.org/uk-barnet-spending/", 215 | "date": "2010-10-01T00:00:00Z", 216 | "amount": { 217 | "amount": 100000, 218 | "currency": "GBP" 219 | }, 220 | "providerOrganization": { 221 | "scheme": "GB-LAC", 222 | "id": "E09000003", 223 | "legalName": "London Borough of Barnet", 224 | "uri": "http://www.barnet.gov.uk/" 225 | }, 226 | "receiverOrganization": { 227 | "scheme": "GB-COH", 228 | "id": "1234567844", 229 | "legalName": "AnyCorp Ltd", 230 | "uri": "http://www.anycorp.example" 231 | }, 232 | "uri": "https://openspending.org/uk-barnet-spending/transaction/asd9235qaghvs105962as0012" 233 | } 234 | ] 235 | } 236 | } 237 | ] 238 | } 239 | ] 240 | } 241 | -------------------------------------------------------------------------------- /fictional-example/1.1/README.md: -------------------------------------------------------------------------------- 1 | # Fictional example of OCDS 1.1 2 | 3 | A fictional example designed to demonstrate the key features of OCDS. 4 | -------------------------------------------------------------------------------- /fictional-example/1.1/ocds-213czf-000-00001-01-planning.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.1", 3 | "uri": "https://github.com/open-contracting/sample-data/raw/1.1/fictional-example/ocds-213czf-000-00001.json", 4 | "publishedDate": "2011-01-10T09:30:00Z", 5 | "publisher": { 6 | "name": "Open Data Services Co-operative Limited", 7 | "scheme": "GB-COH", 8 | "uid": "9506232.0", 9 | "uri": "http://data.companieshouse.gov.uk/doc/company/09506232" 10 | }, 11 | "license": "http://opendatacommons.org/licenses/pddl/1.0/", 12 | "publicationPolicy": "https://github.com/open-contracting/sample-data/", 13 | "releases": [ 14 | { 15 | "ocid": "ocds-213czf-000-00001", 16 | "id": "ocds-213czf-000-00001-01-planning", 17 | "language": "en", 18 | "date": "2009-03-15T14:45:00Z", 19 | "initiationType": "tender", 20 | "tag": [ 21 | "planning" 22 | ], 23 | "parties": [ 24 | { 25 | "id": "GB-LAC-E09000003", 26 | "name": "London Borough of Barnet", 27 | "roles": [ 28 | "buyer", 29 | "procuringEntity" 30 | ], 31 | "identifier": { 32 | "scheme": "GB-LAC", 33 | "id": "E09000003", 34 | "legalName": "London Borough of Barnet" 35 | }, 36 | "address": { 37 | "streetAddress": "4, North London Business Park, Oakleigh Rd S", 38 | "locality": "London", 39 | "region": "London", 40 | "postalCode": "N11 1NP", 41 | "countryName": "United Kingdom" 42 | }, 43 | "contactPoint": { 44 | "name": "Procurement Team", 45 | "email": "procurement-team@example.com", 46 | "telephone": "01234 345 346", 47 | "faxNumber": "01234 345 345", 48 | "url": "http://example.com/contact/" 49 | } 50 | } 51 | ], 52 | "buyer": { 53 | "id": "GB-LAC-E09000003", 54 | "name": "London Borough of Barnet" 55 | }, 56 | "planning": { 57 | "budget": { 58 | "id": "6801ad388f3a38b7740dde20108c58b35984ee91", 59 | "description": "Budget allocation for highway maintenance, aligned with 2015 strategic plan. ", 60 | "amount": { 61 | "amount": 6700000, 62 | "currency": "GBP" 63 | }, 64 | "project": "Central Junction Cycle Scheme", 65 | "projectID": "SP001", 66 | "uri": "https://openspending.org/uk-barnet-budget/entries/6801ad388f3a38b7740dde20108c58b35984ee91" 67 | }, 68 | "rationale": "The 2009 Strategic Plan identifies a need for an improved cycle route in the centre of town.", 69 | "documents": [ 70 | { 71 | "id": "1.0", 72 | "documentType": "procurementPlan", 73 | "title": "Area Wide Cycle Improvements - Procurement Plan", 74 | "description": "The overall strategic framework for procurement to enhance cycle provision.", 75 | "url": "http://example.com/opencontracting/documents/planning/highways/procurementPlan.pdf", 76 | "datePublished": "2009-01-05T00:00:00Z", 77 | "format": "application/pdf", 78 | "language": "en" 79 | }, 80 | { 81 | "id": "2.0", 82 | "documentType": "needsAssessment", 83 | "title": "Cycle provision - Needs Assessment", 84 | "description": "Needs assessment for provision for cyclists in the centre of town.", 85 | "url": "http://example.com/opencontracting/documents/ocds-213czf-000-00001/needsAssessment.pdf", 86 | "datePublished": "2009-01-15T00:00:00Z", 87 | "format": "application/pdf", 88 | "language": "en" 89 | } 90 | ], 91 | "milestones": [ 92 | { 93 | "id": "1.0", 94 | "type": "preProcurement", 95 | "title": "Strategic outline procurement plan approval", 96 | "description": "Approval of the strategic outline procurement plan by the procurement steering group", 97 | "status": "met", 98 | "dueDate": "2009-03-14T17:00:00Z", 99 | "dateMet": "2009-03-14T17:00:00Z" 100 | }, 101 | { 102 | "id": "2.0", 103 | "type": "engagement", 104 | "title": "Public consultation", 105 | "description": "A public consultation on the proposed cycle lane will be held at the council offices", 106 | "status": "scheduled", 107 | "dueDate": "2009-05-01T09:00:00Z" 108 | } 109 | ] 110 | }, 111 | "tender": { 112 | "id": "ocds-213czf-000-00001-01-planning", 113 | "title": "Planned cycle lane improvements", 114 | "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.", 115 | "mainProcurementCategory": "works", 116 | "status": "planned", 117 | "minValue": { 118 | "amount": 500000, 119 | "currency": "GBP" 120 | }, 121 | "value": { 122 | "amount": 1000000, 123 | "currency": "GBP" 124 | }, 125 | "procurementMethod": "open", 126 | "procurementMethodDetails": "In open procedures, any interested economic operator may submit a tender in response to a contract notice. ", 127 | "procurementMethodRationale": "An open competitive tender is required by EU Rules", 128 | "awardCriteria": "bestProposal", 129 | "awardCriteriaDetails": "The best proposal, subject to value for money requirements, will be accepted.", 130 | "tenderPeriod": { 131 | "startDate": "2010-02-01T00:00:00Z", 132 | "durationInDays": 31 133 | }, 134 | "enquiryPeriod": { 135 | "durationInDays": 14 136 | }, 137 | "contractPeriod": { 138 | "startDate": "2010-06-01T00:00:00Z", 139 | "endDate": "2011-05-31T23:59:00Z", 140 | "durationInDays": 365 141 | }, 142 | "procuringEntity": { 143 | "id": "GB-LAC-E09000003", 144 | "name": "London Borough of Barnet" 145 | }, 146 | "documents": [ 147 | { 148 | "id": "3.0", 149 | "documentType": "x_consultationDocument", 150 | "title": "Consultation on cycle provision", 151 | "description": "A consultation document inviting citizen input into cycle provision.", 152 | "url": "http://example.com/consultations/cycle-provision/", 153 | "datePublished": "2010-02-15T00:00:00Z", 154 | "format": "text/html", 155 | "language": "en" 156 | }, 157 | { 158 | "id": "4.0", 159 | "documentType": "x_map", 160 | "title": "Map of affected areas", 161 | "description": "A map showing areas affected by the planned highway updates. Available from local libraries.", 162 | "datePublished": "2010-02-15T00:00:00Z", 163 | "format": "offline/print", 164 | "language": "en" 165 | } 166 | ], 167 | "items": [ 168 | { 169 | "id": "1.0", 170 | "description": "Cycle lane improvements", 171 | "classification": { 172 | "scheme": "CPV", 173 | "id": "45233130.0", 174 | "description": "Construction work for highways", 175 | "uri": "http://cpv.data.ac.uk/code-45233130" 176 | }, 177 | "quantity": 10, 178 | "unit": { 179 | "name": "Miles", 180 | "id": "SMI", 181 | "scheme": "UNCEFACT", 182 | "value": { 183 | "amount": 100000, 184 | "currency": "GBP" 185 | } 186 | }, 187 | "additionalClassifications": [ 188 | { 189 | "scheme": "CPV", 190 | "id": "45233162-2", 191 | "description": "Cycle path construction work", 192 | "uri": "http://cpv.data.ac.uk/code-45233162.html" 193 | } 194 | ] 195 | } 196 | ] 197 | } 198 | } 199 | ] 200 | } 201 | -------------------------------------------------------------------------------- /fictional-example/1.1/ocds-213czf-000-00001-02-tender.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.1", 3 | "uri": "https://github.com/open-contracting/sample-data/raw/1.1/fictional-example/ocds-213czf-000-00001.json", 4 | "publishedDate": "2011-01-10T09:30:00Z", 5 | "publisher": { 6 | "name": "Open Data Services Co-operative Limited", 7 | "scheme": "GB-COH", 8 | "uid": "9506232.0", 9 | "uri": "http://data.companieshouse.gov.uk/doc/company/09506232" 10 | }, 11 | "license": "http://opendatacommons.org/licenses/pddl/1.0/", 12 | "publicationPolicy": "https://github.com/open-contracting/sample-data/", 13 | "releases": [ 14 | { 15 | "ocid": "ocds-213czf-000-00001", 16 | "id": "ocds-213czf-000-00001-02-tender", 17 | "language": "en", 18 | "date": "2010-03-15T09:30:00Z", 19 | "initiationType": "tender", 20 | "tag": [ 21 | "tender" 22 | ], 23 | "parties": [ 24 | { 25 | "id": "GB-LAC-E09000003", 26 | "name": "London Borough of Barnet", 27 | "roles": [ 28 | "buyer", 29 | "procuringEntity" 30 | ], 31 | "identifier": { 32 | "scheme": "GB-LAC", 33 | "id": "E09000003", 34 | "legalName": "London Borough of Barnet" 35 | }, 36 | "address": { 37 | "streetAddress": "4, North London Business Park, Oakleigh Rd S", 38 | "locality": "London", 39 | "region": "London", 40 | "postalCode": "N11 1NP", 41 | "countryName": "United Kingdom" 42 | }, 43 | "contactPoint": { 44 | "name": "Procurement Team", 45 | "email": "procurement-team@example.com", 46 | "telephone": "01234 345 346", 47 | "faxNumber": "01234 345 345", 48 | "url": "http://example.com/contact/" 49 | } 50 | } 51 | ], 52 | "buyer": { 53 | "id": "GB-LAC-E09000003", 54 | "name": "London Borough of Barnet" 55 | }, 56 | "tender": { 57 | "id": "ocds-213czf-000-00001-01-tender", 58 | "title": "Planned cycle lane improvements", 59 | "description": "Tenders solicited for work to build new cycle lanes in the centre of town.", 60 | "mainProcurementCategory": "works", 61 | "status": "active", 62 | "minValue": { 63 | "amount": 600000, 64 | "currency": "GBP" 65 | }, 66 | "value": { 67 | "amount": 1100000, 68 | "currency": "GBP" 69 | }, 70 | "procurementMethod": "open", 71 | "procurementMethodDetails": "In open procedures, any interested economic operator may submit a tender in response to a contract notice. ", 72 | "procurementMethodRationale": "An open competitive tender is required by EU Rules", 73 | "awardCriteria": "bestProposal", 74 | "awardCriteriaDetails": "The best proposal, subject to value for money requirements, will be accepted.", 75 | "submissionMethod": [ 76 | "electronicSubmission" 77 | ], 78 | "submissionMethodDetails": "Submit through the online portal at http://example.com/submissions/ocds-213czf-000-00001-01/", 79 | "tenderPeriod": { 80 | "startDate": "2010-03-01T09:00:00Z", 81 | "endDate": "2010-04-01T18:00:00Z", 82 | "durationInDays": 31 83 | }, 84 | "enquiryPeriod": { 85 | "startDate": "2010-03-01T09:00:00Z", 86 | "endDate": "2010-03-14T17:30:00Z", 87 | "durationInDays": 14 88 | }, 89 | "awardPeriod": { 90 | "startDate": "2010-04-02T09:00:00Z", 91 | "endDate": "2010-05-01T18:00:00Z" 92 | }, 93 | "contractPeriod": { 94 | "startDate": "2010-07-01T00:00:00Z", 95 | "endDate": "2011-06-30T23:59:00Z", 96 | "durationInDays": 365 97 | }, 98 | "procuringEntity": { 99 | "id": "GB-LAC-E09000003", 100 | "name": "London Borough of Barnet" 101 | }, 102 | "hasEnquiries": false, 103 | "documents": [ 104 | { 105 | "id": "5.0", 106 | "documentType": "tenderNotice", 107 | "title": "Tender Notice", 108 | "description": "Official tender notice.", 109 | "url": "http://example.com/tender-notices/ocds-213czf-000-00001-01.html", 110 | "datePublished": "2010-03-01T09:00:00Z", 111 | "format": "text/html", 112 | "language": "en" 113 | } 114 | ], 115 | "items": [ 116 | { 117 | "id": "1.0", 118 | "description": "Cycle lane improvements", 119 | "classification": { 120 | "scheme": "CPV", 121 | "id": "45233130.0", 122 | "description": "Construction work for highways", 123 | "uri": "http://cpv.data.ac.uk/code-45233130" 124 | }, 125 | "quantity": 8, 126 | "unit": { 127 | "name": "Miles", 128 | "id": "SMI", 129 | "scheme": "UNCEFACT", 130 | "value": { 131 | "amount": 120000, 132 | "currency": "GBP" 133 | } 134 | }, 135 | "additionalClassifications": [ 136 | { 137 | "scheme": "CPV", 138 | "id": "45233162-2", 139 | "description": "Cycle path construction work", 140 | "uri": "http://cpv.data.ac.uk/code-45233162.html" 141 | } 142 | ] 143 | } 144 | ] 145 | } 146 | } 147 | ] 148 | } 149 | -------------------------------------------------------------------------------- /fictional-example/1.1/ocds-213czf-000-00001-03-tenderAmendment.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.1", 3 | "uri": "https://github.com/open-contracting/sample-data/raw/1.1/fictional-example/ocds-213czf-000-00001.json", 4 | "publishedDate": "2011-01-10T09:30:00Z", 5 | "publisher": { 6 | "name": "Open Data Services Co-operative Limited", 7 | "scheme": "GB-COH", 8 | "uid": "9506232.0", 9 | "uri": "http://data.companieshouse.gov.uk/doc/company/09506232" 10 | }, 11 | "license": "http://opendatacommons.org/licenses/pddl/1.0/", 12 | "publicationPolicy": "https://github.com/open-contracting/sample-data/", 13 | "releases": [ 14 | { 15 | "ocid": "ocds-213czf-000-00001", 16 | "id": "ocds-213czf-000-00001-03-tenderAmendment", 17 | "language": "en", 18 | "date": "2010-03-20T09:45:00Z", 19 | "initiationType": "tender", 20 | "tag": [ 21 | "tenderAmendment" 22 | ], 23 | "parties": [ 24 | { 25 | "id": "GB-LAC-E09000003", 26 | "name": "London Borough of Barnet", 27 | "roles": [ 28 | "buyer", 29 | "procuringEntity" 30 | ], 31 | "identifier": { 32 | "scheme": "GB-LAC", 33 | "id": "E09000003", 34 | "legalName": "London Borough of Barnet" 35 | }, 36 | "address": { 37 | "streetAddress": "4, North London Business Park, Oakleigh Rd S", 38 | "locality": "London", 39 | "region": "London", 40 | "postalCode": "N11 1NP", 41 | "countryName": "United Kingdom" 42 | }, 43 | "contactPoint": { 44 | "name": "Procurement Team", 45 | "email": "procurement-team@example.com", 46 | "telephone": "01234 345 346", 47 | "faxNumber": "01234 345 345", 48 | "url": "http://example.com/contact/" 49 | } 50 | } 51 | ], 52 | "buyer": { 53 | "id": "GB-LAC-E09000003", 54 | "name": "London Borough of Barnet" 55 | }, 56 | "tender": { 57 | "id": "ocds-213czf-000-00001-01-tender", 58 | "title": "Planned cycle lane improvements", 59 | "description": "Tenders solicited for work to build new cycle lanes in the centre of town.", 60 | "mainProcurementCategory": "works", 61 | "status": "active", 62 | "minValue": { 63 | "amount": 600000, 64 | "currency": "GBP" 65 | }, 66 | "value": { 67 | "amount": 1100000, 68 | "currency": "GBP" 69 | }, 70 | "procurementMethod": "open", 71 | "procurementMethodDetails": "In open procedures, any interested economic operator may submit a tender in response to a contract notice. ", 72 | "procurementMethodRationale": "An open competitive tender is required by EU Rules", 73 | "awardCriteria": "bestProposal", 74 | "awardCriteriaDetails": "The best proposal, subject to value for money requirements, will be accepted.", 75 | "submissionMethod": [ 76 | "electronicSubmission" 77 | ], 78 | "submissionMethodDetails": "Submit through the online portal at http://example.com/submissions/ocds-213czf-000-00001-01/", 79 | "tenderPeriod": { 80 | "startDate": "2010-03-01T09:00:00Z", 81 | "endDate": "2010-04-08T18:00:00Z", 82 | "durationInDays": 31 83 | }, 84 | "enquiryPeriod": { 85 | "startDate": "2010-03-01T09:00:00Z", 86 | "endDate": "2010-03-14T17:30:00Z", 87 | "durationInDays": 14 88 | }, 89 | "awardPeriod": { 90 | "startDate": "2010-04-02T09:00:00Z", 91 | "endDate": "2010-05-01T18:00:00Z" 92 | }, 93 | "contractPeriod": { 94 | "startDate": "2010-07-01T00:00:00Z", 95 | "endDate": "2011-06-30T23:59:00Z", 96 | "durationInDays": 365 97 | }, 98 | "procuringEntity": { 99 | "id": "GB-LAC-E09000003", 100 | "name": "London Borough of Barnet" 101 | }, 102 | "hasEnquiries": true, 103 | "documents": [ 104 | { 105 | "id": "5.0", 106 | "documentType": "tenderNotice", 107 | "title": "Tender Notice", 108 | "description": "Official tender notice.", 109 | "url": "http://example.com/tender-notices/ocds-213czf-000-00001-01.html", 110 | "datePublished": "2010-03-01T09:00:00Z", 111 | "format": "text/html", 112 | "language": "en" 113 | }, 114 | { 115 | "id": "6.0", 116 | "documentType": "clarifications", 117 | "title": "Enquiry Responses", 118 | "description": "Responses to enquiries asked by interested parties.", 119 | "url": "http://example.com/enquiry-response/ocds-213czf-000-00001-01.html", 120 | "datePublished": "2010-03-20T11:30:15Z", 121 | "format": "text/html", 122 | "language": "en" 123 | } 124 | ], 125 | "items": [ 126 | { 127 | "id": "1.0", 128 | "description": "Cycle lane improvements", 129 | "classification": { 130 | "scheme": "CPV", 131 | "id": "45233130.0", 132 | "description": "Construction work for highways", 133 | "uri": "http://cpv.data.ac.uk/code-45233130" 134 | }, 135 | "quantity": 8, 136 | "unit": { 137 | "name": "Miles", 138 | "id": "SMI", 139 | "scheme": "UNCEFACT", 140 | "value": { 141 | "amount": 120000, 142 | "currency": "GBP" 143 | } 144 | }, 145 | "additionalClassifications": [ 146 | { 147 | "scheme": "CPV", 148 | "id": "45233162-2", 149 | "description": "Cycle path construction work", 150 | "uri": "http://cpv.data.ac.uk/code-45233162.html" 151 | } 152 | ] 153 | } 154 | ], 155 | "amendments": [ 156 | { 157 | "date": "2010-03-20T09:45:00Z", 158 | "rationale": "The tender period has been extended in accordance with council guidelines", 159 | "id": "1.0", 160 | "description": "The closing date for tender submissions has been extended to 2017-04-08", 161 | "amendsReleaseID": "ocds-213czf-000-00001-02-tender", 162 | "releaseID": "ocds-213czf-000-00001-03-tenderAmendment" 163 | } 164 | ] 165 | } 166 | } 167 | ] 168 | } 169 | -------------------------------------------------------------------------------- /fictional-example/1.1/ocds-213czf-000-00001-04-award.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.1", 3 | "uri": "https://github.com/open-contracting/sample-data/raw/1.1/fictional-example/ocds-213czf-000-00001.json", 4 | "publishedDate": "2011-01-10T09:30:00Z", 5 | "publisher": { 6 | "name": "Open Data Services Co-operative Limited", 7 | "scheme": "GB-COH", 8 | "uid": "9506232.0", 9 | "uri": "http://data.companieshouse.gov.uk/doc/company/09506232" 10 | }, 11 | "license": "http://opendatacommons.org/licenses/pddl/1.0/", 12 | "publicationPolicy": "https://github.com/open-contracting/sample-data/", 13 | "releases": [ 14 | { 15 | "ocid": "ocds-213czf-000-00001", 16 | "id": "ocds-213czf-000-00001-04-award", 17 | "language": "en", 18 | "date": "2010-05-10T09:30:00Z", 19 | "initiationType": "tender", 20 | "tag": [ 21 | "award" 22 | ], 23 | "parties": [ 24 | { 25 | "id": "GB-LAC-E09000003", 26 | "name": "London Borough of Barnet", 27 | "roles": [ 28 | "buyer", 29 | "procuringEntity" 30 | ], 31 | "identifier": { 32 | "scheme": "GB-LAC", 33 | "id": "E09000003", 34 | "legalName": "London Borough of Barnet" 35 | }, 36 | "address": { 37 | "streetAddress": "4, North London Business Park, Oakleigh Rd S", 38 | "locality": "London", 39 | "region": "London", 40 | "postalCode": "N11 1NP", 41 | "countryName": "United Kingdom" 42 | }, 43 | "contactPoint": { 44 | "name": "Procurement Team", 45 | "email": "procurement-team@example.com", 46 | "telephone": "01234 345 346", 47 | "faxNumber": "01234 345 345", 48 | "url": "http://example.com/contact/" 49 | } 50 | }, 51 | { 52 | "id": "GB-COH-11111111", 53 | "name": "AnyCorp Cycle Provision", 54 | "roles": [ 55 | "supplier" 56 | ], 57 | "identifier": { 58 | "scheme": "GB-COH", 59 | "id": "11111111.0", 60 | "legalName": "AnyCorp Ltd" 61 | }, 62 | "address": { 63 | "streetAddress": "1 Anytown Lane", 64 | "locality": "Anytown", 65 | "region": "Any County", 66 | "postalCode": "AA1 1AA", 67 | "countryName": "United Kingdom" 68 | }, 69 | "contactPoint": { 70 | "name": "Contracts Team", 71 | "email": "contracts@anycorp.example", 72 | "telephone": "11111 111 111", 73 | "faxNumber": "11111 111 112", 74 | "url": "http://www.anycorp.example" 75 | } 76 | }, 77 | { 78 | "id": "GB-COH-22222222", 79 | "name": "Beta Corp Construction", 80 | "roles": [ 81 | "tenderer" 82 | ], 83 | "identifier": { 84 | "scheme": "GB-COH", 85 | "id": "22222222.0", 86 | "legalName": "Beta Corp Ltd" 87 | }, 88 | "address": { 89 | "streetAddress": "2 Main Road", 90 | "locality": "Beta City", 91 | "region": "Beta County", 92 | "postalCode": "BB2 2BB", 93 | "countryName": "United Kingdom" 94 | }, 95 | "contactPoint": { 96 | "name": "Bids Team", 97 | "email": "bids@betacorp.example", 98 | "telephone": "22222 222 222", 99 | "faxNumber": "22222 222 223", 100 | "url": "http://www.betacorp.example" 101 | } 102 | } 103 | ], 104 | "buyer": { 105 | "id": "GB-LAC-E09000003", 106 | "name": "London Borough of Barnet" 107 | }, 108 | "tender": { 109 | "id": "ocds-213czf-000-00001-01-tender", 110 | "title": "Planned cycle lane improvements", 111 | "description": "Tenders solicited for work to build new cycle lanes in the centre of town.", 112 | "mainProcurementCategory": "works", 113 | "status": "complete", 114 | "numberOfTenderers": 2, 115 | "hasEnquiries": true, 116 | "tenderers": [ 117 | { 118 | "id": "GB-COH-11111111", 119 | "name": "AnyCorp Cycle Provision" 120 | }, 121 | { 122 | "id": "GB-COH-22222222", 123 | "name": "Beta Corp Construction" 124 | } 125 | ] 126 | }, 127 | "awards": [ 128 | { 129 | "id": "ocds-213czf-000-00001-award-01", 130 | "title": "Award of contract to build new cycle lanes in the centre of town.", 131 | "description": "AnyCorp Ltd has been awarded the contract to build new cycle lanes in the centre of town.", 132 | "status": "pending", 133 | "date": "2010-05-10T09:30:00Z", 134 | "value": { 135 | "amount": 11000000, 136 | "currency": "GBP" 137 | }, 138 | "suppliers": [ 139 | { 140 | "id": "GB-COH-11111111", 141 | "name": "AnyCorp Cycle Provision" 142 | } 143 | ], 144 | "contractPeriod": { 145 | "startDate": "2010-07-01T00:00:00Z", 146 | "endDate": "2011-06-30T23:59:00Z", 147 | "maxExtentDate": "2011-12-31T23:59:00Z" 148 | }, 149 | "items": [ 150 | { 151 | "id": "1.0", 152 | "description": "Cycle lane improvements", 153 | "classification": { 154 | "scheme": "CPV", 155 | "id": "45233130.0", 156 | "description": "Construction work for highways", 157 | "uri": "http://cpv.data.ac.uk/code-45233130" 158 | }, 159 | "quantity": 8, 160 | "unit": { 161 | "name": "Miles", 162 | "id": "SMI", 163 | "scheme": "UNCEFACT", 164 | "value": { 165 | "amount": 137000, 166 | "currency": "GBP" 167 | } 168 | }, 169 | "additionalClassifications": [ 170 | { 171 | "scheme": "CPV", 172 | "id": "45233162-2", 173 | "description": "Cycle path construction work", 174 | "uri": "http://cpv.data.ac.uk/code-45233162.html" 175 | } 176 | ] 177 | } 178 | ], 179 | "documents": [ 180 | { 181 | "id": "7.0", 182 | "documentType": "awardNotice", 183 | "title": "Award notice", 184 | "description": "Award of contract to build new cycle lanes in the centre of town to AnyCorp Ltd.", 185 | "url": "http://example.com/tender-notices/ocds-213czf-000-00001-04.html", 186 | "datePublished": "2010-05-10T09:30:00Z", 187 | "format": "text/html", 188 | "language": "en" 189 | } 190 | ] 191 | } 192 | ] 193 | } 194 | ] 195 | } 196 | -------------------------------------------------------------------------------- /fictional-example/1.1/ocds-213czf-000-00001-05-contract.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.1", 3 | "uri": "https://github.com/open-contracting/sample-data/raw/1.1/fictional-example/ocds-213czf-000-00001.json", 4 | "publishedDate": "2011-01-10T09:30:00Z", 5 | "publisher": { 6 | "name": "Open Data Services Co-operative Limited", 7 | "scheme": "GB-COH", 8 | "uid": "9506232.0", 9 | "uri": "http://data.companieshouse.gov.uk/doc/company/09506232" 10 | }, 11 | "license": "http://opendatacommons.org/licenses/pddl/1.0/", 12 | "publicationPolicy": "https://github.com/open-contracting/sample-data/", 13 | "releases": [ 14 | { 15 | "ocid": "ocds-213czf-000-00001", 16 | "id": "ocds-213czf-000-00001-05-contract", 17 | "language": "en", 18 | "date": "2010-05-10T10:30:00Z", 19 | "initiationType": "tender", 20 | "tag": [ 21 | "contract" 22 | ], 23 | "parties": [ 24 | { 25 | "id": "GB-LAC-E09000003", 26 | "name": "London Borough of Barnet", 27 | "roles": [ 28 | "buyer", 29 | "procuringEntity" 30 | ], 31 | "identifier": { 32 | "scheme": "GB-LAC", 33 | "id": "E09000003", 34 | "legalName": "London Borough of Barnet" 35 | }, 36 | "address": { 37 | "streetAddress": "4, North London Business Park, Oakleigh Rd S", 38 | "locality": "London", 39 | "region": "London", 40 | "postalCode": "N11 1NP", 41 | "countryName": "United Kingdom" 42 | }, 43 | "contactPoint": { 44 | "name": "Procurement Team", 45 | "email": "procurement-team@example.com", 46 | "telephone": "01234 345 346", 47 | "faxNumber": "01234 345 345", 48 | "url": "http://example.com/contact/" 49 | } 50 | } 51 | ], 52 | "buyer": { 53 | "id": "GB-LAC-E09000003", 54 | "name": "London Borough of Barnet" 55 | }, 56 | "awards": [ 57 | { 58 | "id": "ocds-213czf-000-00001-award-01", 59 | "title": "Award of contract to build new cycle lanes in the centre of town.", 60 | "description": "AnyCorp Ltd has been awarded the contract to build new cycle lanes in the centre of town.", 61 | "status": "active", 62 | "date": "2010-05-10T10:30:00Z", 63 | "value": { 64 | "amount": 11000000, 65 | "currency": "GBP" 66 | }, 67 | "suppliers": [ 68 | { 69 | "id": "GB-COH-11111111", 70 | "name": "AnyCorp Cycle Provision" 71 | } 72 | ], 73 | "contractPeriod": { 74 | "startDate": "2010-07-01T00:00:00Z", 75 | "endDate": "2011-06-30T23:59:00Z", 76 | "maxExtentDate": "2011-12-31T23:59:00Z" 77 | }, 78 | "items": [ 79 | { 80 | "id": "1.0", 81 | "description": "Cycle lane improvements", 82 | "classification": { 83 | "scheme": "CPV", 84 | "id": "45233130.0", 85 | "description": "Construction work for highways", 86 | "uri": "http://cpv.data.ac.uk/code-45233130" 87 | }, 88 | "quantity": 8, 89 | "unit": { 90 | "name": "Miles", 91 | "id": "SMI", 92 | "scheme": "UNCEFACT", 93 | "value": { 94 | "amount": 137000, 95 | "currency": "GBP" 96 | } 97 | }, 98 | "additionalClassifications": [ 99 | { 100 | "scheme": "CPV", 101 | "id": "45233162-2", 102 | "description": "Cycle path construction work", 103 | "uri": "http://cpv.data.ac.uk/code-45233162.html" 104 | } 105 | ] 106 | } 107 | ], 108 | "documents": [ 109 | { 110 | "id": "7.0", 111 | "documentType": "awardNotice", 112 | "title": "Award notice", 113 | "description": "Award of contract to build new cycle lanes in the centre of town to AnyCorp Ltd.", 114 | "url": "http://example.com/tender-notices/ocds-213czf-000-00001-04.html", 115 | "datePublished": "2010-05-10T10:30:00Z", 116 | "format": "text/html", 117 | "language": "en" 118 | } 119 | ] 120 | } 121 | ], 122 | "contracts": [ 123 | { 124 | "id": "ocds-213czf-000-00001-contract-01", 125 | "awardID": "ocds-213czf-000-00001-award-01", 126 | "title": "Contract to build new cycle lanes in the centre of town.", 127 | "description": "A contract has been signed between the Council and AnyCorp Ltd for construction of new cycle lanes in the centre of town.", 128 | "status": "active", 129 | "period": { 130 | "startDate": "2010-07-01T00:00:00Z", 131 | "endDate": "2011-06-30T23:59:00Z", 132 | "maxExtentDate": "2011-12-31T23:59:00Z" 133 | }, 134 | "value": { 135 | "amount": 11000000, 136 | "currency": "GBP" 137 | }, 138 | "dateSigned": "2010-06-10T14:23:12Z", 139 | "items": [ 140 | { 141 | "id": "1.0", 142 | "description": "Cycle lane improvements", 143 | "classification": { 144 | "scheme": "CPV", 145 | "id": "45233130.0", 146 | "description": "Construction work for highways", 147 | "uri": "http://cpv.data.ac.uk/code-45233130" 148 | }, 149 | "quantity": 8, 150 | "unit": { 151 | "name": "Miles", 152 | "id": "SMI", 153 | "scheme": "UNCEFACT", 154 | "value": { 155 | "amount": 137000, 156 | "currency": "GBP" 157 | } 158 | }, 159 | "additionalClassifications": [ 160 | { 161 | "scheme": "CPV", 162 | "id": "45233162-2", 163 | "description": "Cycle path construction work", 164 | "uri": "http://cpv.data.ac.uk/code-45233162.html" 165 | } 166 | ] 167 | } 168 | ], 169 | "documents": [ 170 | { 171 | "id": "8.0", 172 | "documentType": "contractSigned", 173 | "title": "Signed Contract", 174 | "description": "The Signed Contract for Cycle Path Construction", 175 | "url": "http://example.com/contracts/ocds-213czf-000-00001", 176 | "datePublished": "2015-06-10T16:43:12Z", 177 | "format": "application/pdf", 178 | "language": "en" 179 | } 180 | ] 181 | } 182 | ] 183 | } 184 | ] 185 | } 186 | -------------------------------------------------------------------------------- /fictional-example/1.1/ocds-213czf-000-00001-06-implementation.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.1", 3 | "uri": "https://github.com/open-contracting/sample-data/raw/1.1/fictional-example/ocds-213czf-000-00001.json", 4 | "publishedDate": "2011-01-10T09:30:00Z", 5 | "publisher": { 6 | "name": "Open Data Services Co-operative Limited", 7 | "scheme": "GB-COH", 8 | "uid": "9506232.0", 9 | "uri": "http://data.companieshouse.gov.uk/doc/company/09506232" 10 | }, 11 | "license": "http://opendatacommons.org/licenses/pddl/1.0/", 12 | "publicationPolicy": "https://github.com/open-contracting/sample-data/", 13 | "releases": [ 14 | { 15 | "ocid": "ocds-213czf-000-00001", 16 | "id": "ocds-213czf-000-00001-06-implementation", 17 | "language": "en", 18 | "date": "2011-01-10T09:30:00Z", 19 | "initiationType": "tender", 20 | "tag": [ 21 | "implementation" 22 | ], 23 | "parties": [ 24 | { 25 | "id": "GB-LAC-E09000003", 26 | "name": "London Borough of Barnet", 27 | "roles": [ 28 | "buyer", 29 | "procuringEntity" 30 | ], 31 | "identifier": { 32 | "scheme": "GB-LAC", 33 | "id": "E09000003", 34 | "legalName": "London Borough of Barnet" 35 | }, 36 | "address": { 37 | "streetAddress": "4, North London Business Park, Oakleigh Rd S", 38 | "locality": "London", 39 | "region": "London", 40 | "postalCode": "N11 1NP", 41 | "countryName": "United Kingdom" 42 | }, 43 | "contactPoint": { 44 | "name": "Procurement Team", 45 | "email": "procurement-team@example.com", 46 | "telephone": "01234 345 346", 47 | "faxNumber": "01234 345 345", 48 | "url": "http://example.com/contact/" 49 | } 50 | } 51 | ], 52 | "buyer": { 53 | "id": "GB-LAC-E09000003", 54 | "name": "London Borough of Barnet" 55 | }, 56 | "awards": [ 57 | { 58 | "id": "ocds-213czf-000-00001-award-01", 59 | "title": "Award of contract to build new cycle lanes in the centre of town.", 60 | "description": "AnyCorp Ltd has been awarded the contract to build new cycle lanes in the centre of town.", 61 | "status": "active", 62 | "date": "2010-05-10T10:30:00Z", 63 | "value": { 64 | "amount": 11000000, 65 | "currency": "GBP" 66 | }, 67 | "suppliers": [ 68 | { 69 | "id": "GB-COH-11111111", 70 | "name": "AnyCorp Cycle Provision" 71 | } 72 | ], 73 | "contractPeriod": { 74 | "startDate": "2010-07-01T00:00:00Z", 75 | "endDate": "2011-06-30T23:59:00Z", 76 | "maxExtentDate": "2011-12-31T23:59:00Z" 77 | }, 78 | "items": [ 79 | { 80 | "id": "1.0", 81 | "description": "Cycle lane improvements", 82 | "classification": { 83 | "scheme": "CPV", 84 | "id": "45233130.0", 85 | "description": "Construction work for highways", 86 | "uri": "http://cpv.data.ac.uk/code-45233130" 87 | }, 88 | "quantity": 8, 89 | "unit": { 90 | "name": "Miles", 91 | "id": "SMI", 92 | "scheme": "UNCEFACT", 93 | "value": { 94 | "amount": 137000, 95 | "currency": "GBP" 96 | } 97 | }, 98 | "additionalClassifications": [ 99 | { 100 | "scheme": "CPV", 101 | "id": "45233162-2", 102 | "description": "Cycle path construction work", 103 | "uri": "http://cpv.data.ac.uk/code-45233162.html" 104 | } 105 | ] 106 | } 107 | ], 108 | "documents": [ 109 | { 110 | "id": "7.0", 111 | "documentType": "awardNotice", 112 | "title": "Award notice", 113 | "description": "Award of contract to build new cycle lanes in the centre of town to AnyCorp Ltd.", 114 | "url": "http://example.com/tender-notices/ocds-213czf-000-00001-04.html", 115 | "datePublished": "2010-05-10T10:30:00Z", 116 | "format": "text/html", 117 | "language": "en" 118 | } 119 | ] 120 | } 121 | ], 122 | "contracts": [ 123 | { 124 | "id": "ocds-213czf-000-00001-contract-01", 125 | "awardID": "ocds-213czf-000-00001-award-01", 126 | "title": "Contract to build new cycle lanes in the centre of town.", 127 | "description": "A contract has been signed between the Council and AnyCorp Ltd for construction of new cycle lanes in the centre of town.", 128 | "status": "active", 129 | "period": { 130 | "startDate": "2010-07-01T00:00:00Z", 131 | "endDate": "2011-06-30T23:59:00Z", 132 | "maxExtentDate": "2011-12-31T23:59:00Z" 133 | }, 134 | "value": { 135 | "amount": 11000000, 136 | "currency": "GBP" 137 | }, 138 | "dateSigned": "2010-06-10T14:23:12Z", 139 | "items": [ 140 | { 141 | "id": "1.0", 142 | "description": "Cycle lane improvements", 143 | "classification": { 144 | "scheme": "CPV", 145 | "id": "45233130.0", 146 | "description": "Construction work for highways", 147 | "uri": "http://cpv.data.ac.uk/code-45233130" 148 | }, 149 | "quantity": 8, 150 | "unit": { 151 | "name": "Miles", 152 | "id": "SMI", 153 | "scheme": "UNCEFACT", 154 | "value": { 155 | "amount": 137000, 156 | "currency": "GBP" 157 | } 158 | }, 159 | "additionalClassifications": [ 160 | { 161 | "scheme": "CPV", 162 | "id": "45233162-2", 163 | "description": "Cycle path construction work", 164 | "uri": "http://cpv.data.ac.uk/code-45233162.html" 165 | } 166 | ] 167 | } 168 | ], 169 | "relatedProcesses": [ 170 | { 171 | "id": "1.0", 172 | "title": "Tender for the hire of works barriers and signage", 173 | "relationship": [ 174 | "subContract" 175 | ], 176 | "scheme": "ocid", 177 | "identifier": "ocds-213czf-000-00002", 178 | "uri": "http://www.example.com/openContracting/ocds-213czf-000-00002" 179 | } 180 | ], 181 | "implementation": { 182 | "transactions": [ 183 | { 184 | "id": "ocds-213czf-000-00001-1", 185 | "source": "https://openspending.org/uk-barnet-spending/", 186 | "date": "2010-08-01T00:00:00Z", 187 | "value": { 188 | "amount": 50000, 189 | "currency": "GBP" 190 | }, 191 | "payer": { 192 | "id": "GB-LAC-E09000003", 193 | "name": "London Borough of Barnet" 194 | }, 195 | "payee": { 196 | "id": "GB-COH-11111111", 197 | "name": "AnyCorp Cycle Provision" 198 | }, 199 | "uri": "https://openspending.org/uk-barnet-spending/transaction/asd9235qaghvs1059620ywhgai" 200 | }, 201 | { 202 | "id": "ocds-213czf-000-00001-2", 203 | "source": "https://openspending.org/uk-barnet-spending/", 204 | "date": "2010-10-01T00:00:00Z", 205 | "value": { 206 | "amount": 10000, 207 | "currency": "GBP" 208 | }, 209 | "payer": { 210 | "id": "GB-LAC-E09000003", 211 | "name": "London Borough of Barnet" 212 | }, 213 | "payee": { 214 | "id": "GB-COH-11111111", 215 | "name": "AnyCorp Cycle Provision" 216 | }, 217 | "uri": "https://openspending.org/uk-barnet-spending/transaction/asd9235qaghvs105962as0012" 218 | } 219 | ], 220 | "documents": [ 221 | { 222 | "id": "9.0", 223 | "documentType": "physicalProgressReport", 224 | "title": "Progress report", 225 | "description": "Physical progress report for cycle path construction", 226 | "url": "http://example.com/reports/ocds-213czf-000-00001/cycle-path-01.pdf", 227 | "datePublished": "2010-12-15T15:34:02Z", 228 | "format": "application/pdf", 229 | "language": "en" 230 | } 231 | ] 232 | } 233 | } 234 | ] 235 | } 236 | ] 237 | } 238 | -------------------------------------------------------------------------------- /fictional-example/README.md: -------------------------------------------------------------------------------- 1 | # Fictional example 2 | 3 | ## Maintenance 4 | 5 | Update the tags in `tests/test_fictional_example.py`. 6 | 7 | You will need [OCDS Kit](https://pypi.org/project/ocdskit/) and [jq](https://stedolan.github.io/jq/). 8 | 9 | ### 1.0 10 | 11 | The release packages in the 1.0 directory are hand-written. After editing the release packages, create the record packages: 12 | 13 | ```shell 14 | cat fictional-example/1.0/*.json | jq -crM | ocdskit --pretty compile --package --linked-releases --published-date 2014-02-02T13:02:00Z --uri https://raw.githubusercontent.com/open-contracting/sample-data/main/fictional-example/1.0/record/ocds-213czf-000-00001.json --schema https://standard.open-contracting.org/schema/1__0__3/release-schema.json > fictional-example/1.0/record/ocds-213czf-000-00001.json 15 | cat fictional-example/1.0/*.json | jq -crM | ocdskit --pretty compile --package --linked-releases --published-date 2014-02-02T13:02:00Z --versioned --uri https://raw.githubusercontent.com/open-contracting/sample-data/main/fictional-example/1.0/record/ocds-213czf-000-00001-withversions.json --schema https://standard.open-contracting.org/schema/1__0__3/release-schema.json > fictional-example/1.0/record/ocds-213czf-000-00001-withversions.json 16 | ``` 17 | 18 | ### 1.1 19 | 20 | The release packages were generated from the [OCDS 1.1 Sample Data Spreadsheet Input Template](https://docs.google.com/spreadsheets/d/1P-q5S8-WUxYT6t8uVuZDvnGfsl39DhhZV_GvgR1GKHk/edit#gid=159397949). 21 | 22 | 1. Edit the template, as desired 23 | 1. Do steps 4 and 5 on the "Instructions" sheet 24 | 1. Save the JSON file to `fictional-example/1.1/ocds-213czf-000-00001.json` 25 | 1. Run `ocdskit indent fictional-example/1.1/ocds-213czf-000-00001.json` 26 | 1. Create the record packages: 27 | 28 | cat fictional-example/1.1/ocds-213czf-000-00001.json | jq -crM | ocdskit --pretty compile --package --linked-releases --published-date 2014-02-02T13:02:00Z --uri https://raw.githubusercontent.com/open-contracting/sample-data/main/fictional-example/1.1/record/ocds-213czf-000-00001.json > fictional-example/1.1/record/ocds-213czf-000-00001.json 29 | cat fictional-example/1.1/ocds-213czf-000-00001.json | jq -crM | ocdskit --pretty compile --package --linked-releases --published-date 2014-02-02T13:02:00Z --versioned --uri https://raw.githubusercontent.com/open-contracting/sample-data/main/fictional-example/1.1/record/ocds-213czf-000-00001-withversions.json > fictional-example/1.1/record/ocds-213czf-000-00001-withversions.json 30 | 31 | 1. Split the JSON file into many files, for easier browsing: 32 | 33 | cat fictional-example/1.1/ocds-213czf-000-00001.json | jq -crM | ocdskit split-release-packages 1 | split -l 1 -a 1 - fictional-example/1.1/ocds-213czf-000-00001-0 34 | 35 | 1. Rename the JSON files: 36 | 37 | mv fictional-example/1.1/ocds-213czf-000-00001-0a fictional-example/1.1/ocds-213czf-000-00001-01-planning.json 38 | mv fictional-example/1.1/ocds-213czf-000-00001-0b fictional-example/1.1/ocds-213czf-000-00001-02-tender.json 39 | mv fictional-example/1.1/ocds-213czf-000-00001-0c fictional-example/1.1/ocds-213czf-000-00001-03-tenderAmendment.json 40 | mv fictional-example/1.1/ocds-213czf-000-00001-0d fictional-example/1.1/ocds-213czf-000-00001-04-award.json 41 | mv fictional-example/1.1/ocds-213czf-000-00001-0e fictional-example/1.1/ocds-213czf-000-00001-05-contract.json 42 | mv fictional-example/1.1/ocds-213czf-000-00001-0f fictional-example/1.1/ocds-213czf-000-00001-06-implementation.json 43 | 44 | Note that the [OCDS Data Review Tool](https://review.standard.open-contracting.org/) "loading some sample data" link refers to `ocds-213czf-000-00001-02-tender.json` above. 45 | -------------------------------------------------------------------------------- /fictional-example/flattened/ocds-213czf-000-00001-01-planning.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-contracting/sample-data/f99daa843be2bec48cb3f0a47a1cdd6405d170f2/fictional-example/flattened/ocds-213czf-000-00001-01-planning.xlsx -------------------------------------------------------------------------------- /fictional-example/flattened/ocds-213czf-000-00001-02-tender.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-contracting/sample-data/f99daa843be2bec48cb3f0a47a1cdd6405d170f2/fictional-example/flattened/ocds-213czf-000-00001-02-tender.xlsx -------------------------------------------------------------------------------- /fictional-example/flattened/ocds-213czf-000-00001-03-tenderAmendment.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-contracting/sample-data/f99daa843be2bec48cb3f0a47a1cdd6405d170f2/fictional-example/flattened/ocds-213czf-000-00001-03-tenderAmendment.xlsx -------------------------------------------------------------------------------- /fictional-example/flattened/ocds-213czf-000-00001-04-award.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-contracting/sample-data/f99daa843be2bec48cb3f0a47a1cdd6405d170f2/fictional-example/flattened/ocds-213czf-000-00001-04-award.xlsx -------------------------------------------------------------------------------- /fictional-example/flattened/ocds-213czf-000-00001-05-contract.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-contracting/sample-data/f99daa843be2bec48cb3f0a47a1cdd6405d170f2/fictional-example/flattened/ocds-213czf-000-00001-05-contract.xlsx -------------------------------------------------------------------------------- /fictional-example/flattened/ocds-213czf-000-00001-06-implementation.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-contracting/sample-data/f99daa843be2bec48cb3f0a47a1cdd6405d170f2/fictional-example/flattened/ocds-213czf-000-00001-06-implementation.xlsx -------------------------------------------------------------------------------- /flat-template/README.md: -------------------------------------------------------------------------------- 1 | # Flat Template 2 | 3 | [Flatten Tool](https://flatten-tool.readthedocs.io/en/latest/usage-ocds/) can be used to convert to and from OCDS JSON and CSV or Excel. 4 | 5 | This folder contains CSV and spreadsheet templates for OCDS 1.1.3, generated using Flatten Tool as described under Maintenance below. 6 | 7 | ## Using the CSV and Excel templates 8 | 9 | For each release of data about a contracting process, add a row to `releases.csv` or the `releases` sheet. Each contracting process ought to have a unique `ocid`, and each release ought to have a unique release `id` within the scope of its contracting process. These identifiers are used to link up data across CSV files or Excel sheets. 10 | 11 | In cases of one-to-many relationships – for example, one release can have many awards – data must be entered in a separate CSV file or Excel sheet. In those cases, you must enter the `ocid` of the contracting process, the `id` of the release, and other identifiers as appropriate among the first columns of the file or sheet. 12 | 13 | Feel free to hide or remove unused columns. 14 | 15 | ## Converting to OCDS JSON 16 | 17 | [See Flatten Tool's documentation](https://flatten-tool.readthedocs.io/en/latest/usage-ocds/#converting-a-populated-spreadsheet-to-json), or upload your spreadsheet to the [OCDS Data Review Tool](https://review.standard.open-contracting.org/). 18 | 19 | ## Maintenance 20 | 21 | This assumes that the `standard` repository and this repository have the same parent directory on your system, and that the `standard` repository is checked out to the latest tag. Install Flatten Tool, change into this repository's directory, and run: 22 | 23 | ```shell 24 | flatten-tool create-template --truncation-length 5 --no-deprecated-fields --schema=../standard/schema/release-schema.json -o flat-template/template --root-id=ocid --main-sheet-name releases 25 | ``` 26 | -------------------------------------------------------------------------------- /flat-template/template.ods: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-contracting/sample-data/f99daa843be2bec48cb3f0a47a1cdd6405d170f2/flat-template/template.ods -------------------------------------------------------------------------------- /flat-template/template.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/open-contracting/sample-data/f99daa843be2bec48cb3f0a47a1cdd6405d170f2/flat-template/template.xlsx -------------------------------------------------------------------------------- /flat-template/template/award_amendments.csv: -------------------------------------------------------------------------------- 1 | ocid,id,awards/0/id,awards/0/amendments/0/date,awards/0/amendments/0/rationale,awards/0/amendments/0/id,awards/0/amendments/0/description,awards/0/amendments/0/amendsReleaseID,awards/0/amendments/0/releaseID 2 | -------------------------------------------------------------------------------- /flat-template/template/award_documents.csv: -------------------------------------------------------------------------------- 1 | ocid,id,awards/0/id,awards/0/documents/0/id,awards/0/documents/0/documentType,awards/0/documents/0/title,awards/0/documents/0/description,awards/0/documents/0/url,awards/0/documents/0/datePublished,awards/0/documents/0/dateModified,awards/0/documents/0/format,awards/0/documents/0/language 2 | -------------------------------------------------------------------------------- /flat-template/template/award_items.csv: -------------------------------------------------------------------------------- 1 | ocid,id,awards/0/id,awards/0/items/0/id,awards/0/items/0/description,awards/0/items/0/classification/scheme,awards/0/items/0/classification/id,awards/0/items/0/classification/description,awards/0/items/0/classification/uri,awards/0/items/0/quantity,awards/0/items/0/unit/scheme,awards/0/items/0/unit/id,awards/0/items/0/unit/name,awards/0/items/0/unit/value/amount,awards/0/items/0/unit/value/currency,awards/0/items/0/unit/uri 2 | -------------------------------------------------------------------------------- /flat-template/template/award_items_additionalClassific.csv: -------------------------------------------------------------------------------- 1 | ocid,id,awards/0/id,awards/0/items/0/id,awards/0/items/0/additionalClassifications/0/scheme,awards/0/items/0/additionalClassifications/0/id,awards/0/items/0/additionalClassifications/0/description,awards/0/items/0/additionalClassifications/0/uri 2 | -------------------------------------------------------------------------------- /flat-template/template/award_suppliers.csv: -------------------------------------------------------------------------------- 1 | ocid,id,awards/0/id,awards/0/suppliers/0/name,awards/0/suppliers/0/id 2 | -------------------------------------------------------------------------------- /flat-template/template/awards.csv: -------------------------------------------------------------------------------- 1 | ocid,id,awards/0/id,awards/0/title,awards/0/description,awards/0/status,awards/0/date,awards/0/value/amount,awards/0/value/currency,awards/0/contractPeriod/startDate,awards/0/contractPeriod/endDate,awards/0/contractPeriod/maxExtentDate,awards/0/contractPeriod/durationInDays 2 | -------------------------------------------------------------------------------- /flat-template/template/contr_amendments.csv: -------------------------------------------------------------------------------- 1 | ocid,id,contracts/0/id,contracts/0/amendments/0/date,contracts/0/amendments/0/rationale,contracts/0/amendments/0/id,contracts/0/amendments/0/description,contracts/0/amendments/0/amendsReleaseID,contracts/0/amendments/0/releaseID 2 | -------------------------------------------------------------------------------- /flat-template/template/contr_documents.csv: -------------------------------------------------------------------------------- 1 | ocid,id,contracts/0/id,contracts/0/documents/0/id,contracts/0/documents/0/documentType,contracts/0/documents/0/title,contracts/0/documents/0/description,contracts/0/documents/0/url,contracts/0/documents/0/datePublished,contracts/0/documents/0/dateModified,contracts/0/documents/0/format,contracts/0/documents/0/language 2 | -------------------------------------------------------------------------------- /flat-template/template/contr_imple_documents.csv: -------------------------------------------------------------------------------- 1 | ocid,id,contracts/0/id,contracts/0/implementation/documents/0/id,contracts/0/implementation/documents/0/documentType,contracts/0/implementation/documents/0/title,contracts/0/implementation/documents/0/description,contracts/0/implementation/documents/0/url,contracts/0/implementation/documents/0/datePublished,contracts/0/implementation/documents/0/dateModified,contracts/0/implementation/documents/0/format,contracts/0/implementation/documents/0/language 2 | -------------------------------------------------------------------------------- /flat-template/template/contr_imple_milestones.csv: -------------------------------------------------------------------------------- 1 | ocid,id,contracts/0/id,contracts/0/implementation/milestones/0/id,contracts/0/implementation/milestones/0/title,contracts/0/implementation/milestones/0/type,contracts/0/implementation/milestones/0/description,contracts/0/implementation/milestones/0/code,contracts/0/implementation/milestones/0/dueDate,contracts/0/implementation/milestones/0/dateMet,contracts/0/implementation/milestones/0/dateModified,contracts/0/implementation/milestones/0/status 2 | -------------------------------------------------------------------------------- /flat-template/template/contr_imple_transactions.csv: -------------------------------------------------------------------------------- 1 | ocid,id,contracts/0/id,contracts/0/implementation/transactions/0/id,contracts/0/implementation/transactions/0/source,contracts/0/implementation/transactions/0/date,contracts/0/implementation/transactions/0/value/amount,contracts/0/implementation/transactions/0/value/currency,contracts/0/implementation/transactions/0/payer/name,contracts/0/implementation/transactions/0/payer/id,contracts/0/implementation/transactions/0/payee/name,contracts/0/implementation/transactions/0/payee/id,contracts/0/implementation/transactions/0/uri 2 | -------------------------------------------------------------------------------- /flat-template/template/contr_items.csv: -------------------------------------------------------------------------------- 1 | ocid,id,contracts/0/id,contracts/0/items/0/id,contracts/0/items/0/description,contracts/0/items/0/classification/scheme,contracts/0/items/0/classification/id,contracts/0/items/0/classification/description,contracts/0/items/0/classification/uri,contracts/0/items/0/quantity,contracts/0/items/0/unit/scheme,contracts/0/items/0/unit/id,contracts/0/items/0/unit/name,contracts/0/items/0/unit/value/amount,contracts/0/items/0/unit/value/currency,contracts/0/items/0/unit/uri 2 | -------------------------------------------------------------------------------- /flat-template/template/contr_items_additionalClassific.csv: -------------------------------------------------------------------------------- 1 | ocid,id,contracts/0/id,contracts/0/items/0/id,contracts/0/items/0/additionalClassifications/0/scheme,contracts/0/items/0/additionalClassifications/0/id,contracts/0/items/0/additionalClassifications/0/description,contracts/0/items/0/additionalClassifications/0/uri 2 | -------------------------------------------------------------------------------- /flat-template/template/contr_milestones.csv: -------------------------------------------------------------------------------- 1 | ocid,id,contracts/0/id,contracts/0/milestones/0/id,contracts/0/milestones/0/title,contracts/0/milestones/0/type,contracts/0/milestones/0/description,contracts/0/milestones/0/code,contracts/0/milestones/0/dueDate,contracts/0/milestones/0/dateMet,contracts/0/milestones/0/dateModified,contracts/0/milestones/0/status 2 | -------------------------------------------------------------------------------- /flat-template/template/contr_relatedProcesses.csv: -------------------------------------------------------------------------------- 1 | ocid,id,contracts/0/id,contracts/0/relatedProcesses/0/id,contracts/0/relatedProcesses/0/relationship,contracts/0/relatedProcesses/0/title,contracts/0/relatedProcesses/0/scheme,contracts/0/relatedProcesses/0/identifier,contracts/0/relatedProcesses/0/uri 2 | -------------------------------------------------------------------------------- /flat-template/template/contracts.csv: -------------------------------------------------------------------------------- 1 | ocid,id,contracts/0/id,contracts/0/awardID,contracts/0/title,contracts/0/description,contracts/0/status,contracts/0/period/startDate,contracts/0/period/endDate,contracts/0/period/maxExtentDate,contracts/0/period/durationInDays,contracts/0/value/amount,contracts/0/value/currency,contracts/0/dateSigned 2 | -------------------------------------------------------------------------------- /flat-template/template/parti_additionalIdentifiers.csv: -------------------------------------------------------------------------------- 1 | ocid,id,parties/0/id,parties/0/additionalIdentifiers/0/scheme,parties/0/additionalIdentifiers/0/id,parties/0/additionalIdentifiers/0/legalName,parties/0/additionalIdentifiers/0/uri 2 | -------------------------------------------------------------------------------- /flat-template/template/parties.csv: -------------------------------------------------------------------------------- 1 | ocid,id,parties/0/name,parties/0/id,parties/0/identifier/scheme,parties/0/identifier/id,parties/0/identifier/legalName,parties/0/identifier/uri,parties/0/address/streetAddress,parties/0/address/locality,parties/0/address/region,parties/0/address/postalCode,parties/0/address/countryName,parties/0/contactPoint/name,parties/0/contactPoint/email,parties/0/contactPoint/telephone,parties/0/contactPoint/faxNumber,parties/0/contactPoint/url,parties/0/roles 2 | -------------------------------------------------------------------------------- /flat-template/template/plann_documents.csv: -------------------------------------------------------------------------------- 1 | ocid,id,planning/documents/0/id,planning/documents/0/documentType,planning/documents/0/title,planning/documents/0/description,planning/documents/0/url,planning/documents/0/datePublished,planning/documents/0/dateModified,planning/documents/0/format,planning/documents/0/language 2 | -------------------------------------------------------------------------------- /flat-template/template/plann_milestones.csv: -------------------------------------------------------------------------------- 1 | ocid,id,planning/milestones/0/id,planning/milestones/0/title,planning/milestones/0/type,planning/milestones/0/description,planning/milestones/0/code,planning/milestones/0/dueDate,planning/milestones/0/dateMet,planning/milestones/0/dateModified,planning/milestones/0/status 2 | -------------------------------------------------------------------------------- /flat-template/template/relatedProcesses.csv: -------------------------------------------------------------------------------- 1 | ocid,id,relatedProcesses/0/id,relatedProcesses/0/relationship,relatedProcesses/0/title,relatedProcesses/0/scheme,relatedProcesses/0/identifier,relatedProcesses/0/uri 2 | -------------------------------------------------------------------------------- /flat-template/template/releases.csv: -------------------------------------------------------------------------------- 1 | ocid,id,date,tag,initiationType,buyer/name,buyer/id,planning/rationale,planning/budget/id,planning/budget/description,planning/budget/amount/amount,planning/budget/amount/currency,planning/budget/project,planning/budget/projectID,planning/budget/uri,tender/id,tender/title,tender/description,tender/status,tender/procuringEntity/name,tender/procuringEntity/id,tender/value/amount,tender/value/currency,tender/minValue/amount,tender/minValue/currency,tender/procurementMethod,tender/procurementMethodDetails,tender/procurementMethodRationale,tender/mainProcurementCategory,tender/additionalProcurementCategories,tender/awardCriteria,tender/awardCriteriaDetails,tender/submissionMethod,tender/submissionMethodDetails,tender/tenderPeriod/startDate,tender/tenderPeriod/endDate,tender/tenderPeriod/maxExtentDate,tender/tenderPeriod/durationInDays,tender/enquiryPeriod/startDate,tender/enquiryPeriod/endDate,tender/enquiryPeriod/maxExtentDate,tender/enquiryPeriod/durationInDays,tender/hasEnquiries,tender/eligibilityCriteria,tender/awardPeriod/startDate,tender/awardPeriod/endDate,tender/awardPeriod/maxExtentDate,tender/awardPeriod/durationInDays,tender/contractPeriod/startDate,tender/contractPeriod/endDate,tender/contractPeriod/maxExtentDate,tender/contractPeriod/durationInDays,tender/numberOfTenderers,language 2 | -------------------------------------------------------------------------------- /flat-template/template/tende_amendments.csv: -------------------------------------------------------------------------------- 1 | ocid,id,tender/id,tender/amendments/0/date,tender/amendments/0/rationale,tender/amendments/0/id,tender/amendments/0/description,tender/amendments/0/amendsReleaseID,tender/amendments/0/releaseID 2 | -------------------------------------------------------------------------------- /flat-template/template/tende_documents.csv: -------------------------------------------------------------------------------- 1 | ocid,id,tender/id,tender/documents/0/id,tender/documents/0/documentType,tender/documents/0/title,tender/documents/0/description,tender/documents/0/url,tender/documents/0/datePublished,tender/documents/0/dateModified,tender/documents/0/format,tender/documents/0/language 2 | -------------------------------------------------------------------------------- /flat-template/template/tende_items.csv: -------------------------------------------------------------------------------- 1 | ocid,id,tender/id,tender/items/0/id,tender/items/0/description,tender/items/0/classification/scheme,tender/items/0/classification/id,tender/items/0/classification/description,tender/items/0/classification/uri,tender/items/0/quantity,tender/items/0/unit/scheme,tender/items/0/unit/id,tender/items/0/unit/name,tender/items/0/unit/value/amount,tender/items/0/unit/value/currency,tender/items/0/unit/uri 2 | -------------------------------------------------------------------------------- /flat-template/template/tende_items_additionalClassific.csv: -------------------------------------------------------------------------------- 1 | ocid,id,tender/id,tender/items/0/id,tender/items/0/additionalClassifications/0/scheme,tender/items/0/additionalClassifications/0/id,tender/items/0/additionalClassifications/0/description,tender/items/0/additionalClassifications/0/uri 2 | -------------------------------------------------------------------------------- /flat-template/template/tende_milestones.csv: -------------------------------------------------------------------------------- 1 | ocid,id,tender/id,tender/milestones/0/id,tender/milestones/0/title,tender/milestones/0/type,tender/milestones/0/description,tender/milestones/0/code,tender/milestones/0/dueDate,tender/milestones/0/dateMet,tender/milestones/0/dateModified,tender/milestones/0/status 2 | -------------------------------------------------------------------------------- /flat-template/template/tende_tenderers.csv: -------------------------------------------------------------------------------- 1 | ocid,id,tender/id,tender/tenderers/0/name,tender/tenderers/0/id 2 | -------------------------------------------------------------------------------- /requirements_dev.in: -------------------------------------------------------------------------------- 1 | jsonschema 2 | referencing 3 | requests 4 | pytest 5 | -------------------------------------------------------------------------------- /requirements_dev.txt: -------------------------------------------------------------------------------- 1 | # This file was autogenerated by uv via the following command: 2 | # uv pip compile requirements_dev.in -o requirements_dev.txt 3 | attrs==24.2.0 4 | # via 5 | # jsonschema 6 | # referencing 7 | certifi==2024.8.30 8 | # via requests 9 | charset-normalizer==3.3.2 10 | # via requests 11 | exceptiongroup==1.2.2 12 | # via pytest 13 | idna==3.8 14 | # via requests 15 | iniconfig==2.0.0 16 | # via pytest 17 | jsonschema==4.23.0 18 | # via -r requirements_dev.in 19 | jsonschema-specifications==2023.12.1 20 | # via jsonschema 21 | packaging==24.1 22 | # via pytest 23 | pluggy==1.5.0 24 | # via pytest 25 | pytest==8.3.2 26 | # via -r requirements_dev.in 27 | referencing==0.35.1 28 | # via 29 | # -r requirements_dev.in 30 | # jsonschema 31 | # jsonschema-specifications 32 | requests==2.32.3 33 | # via -r requirements_dev.in 34 | rpds-py==0.20.0 35 | # via 36 | # jsonschema 37 | # referencing 38 | tomli==2.0.1 39 | # via pytest 40 | urllib3==2.2.2 41 | # via requests 42 | -------------------------------------------------------------------------------- /tests/test_fictional_example.py: -------------------------------------------------------------------------------- 1 | import json 2 | import os 3 | import warnings 4 | from glob import glob 5 | 6 | import pytest 7 | import requests 8 | from jsonschema import FormatChecker 9 | from jsonschema.validators import Draft4Validator as Validator 10 | from referencing import Registry, Resource 11 | 12 | 13 | def custom_warning_formatter(message, category, filename, lineno, line=None): 14 | return str(message).replace(os.getcwd() + os.sep, '') 15 | 16 | 17 | warnings.formatwarning = custom_warning_formatter 18 | 19 | 20 | def get_test_cases(): 21 | test_valid_argvalues = [] 22 | 23 | versions = { 24 | '1.0': '1__0__3', 25 | '1.1': '1__1__5', 26 | } 27 | 28 | url_template = 'https://standard.open-contracting.org/schema/{}/release-package-schema.json' 29 | 30 | for minor_version, patch_version in versions.items(): 31 | package_schema_url = url_template.format(patch_version) 32 | package_schema = requests.get(package_schema_url).json() 33 | 34 | release_schema_url = package_schema_url.replace('-package', '') 35 | release_schema = requests.get(release_schema_url).json() 36 | 37 | registry = Registry().with_resource(release_schema_url, Resource.from_contents(release_schema)) 38 | 39 | filenames = glob(os.path.join('fictional-example', minor_version, '*.json')) 40 | assert len(filenames), f'{minor_version} fixtures not found' 41 | test_valid_argvalues += [(filename, registry, package_schema) for filename in filenames] 42 | 43 | return test_valid_argvalues 44 | 45 | 46 | @pytest.mark.parametrize(('filename', 'registry', 'schema'), get_test_cases()) 47 | def test_valid(filename, registry, schema): 48 | errors = 0 49 | 50 | with open(filename) as f: 51 | data = json.load(f) 52 | 53 | for error in Validator(schema, format_checker=FormatChecker(), registry=registry).iter_errors(data): 54 | errors += 1 55 | warnings.warn(json.dumps(error.instance, indent=2)) 56 | warnings.warn(f"{error.message} ({'/'.join(error.absolute_schema_path)})\n") 57 | 58 | assert errors == 0, f'{filename} is invalid. See warnings below.' 59 | --------------------------------------------------------------------------------