Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

add id, scheme, uri, wasDerivedFrom properties #11

Open
wants to merge 11 commits into
base: 1.1
Choose a base branch
from
22 changes: 17 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Adds fields to the tender object to describe the legal basis of the contracting process – that is, the laws and regulations that govern the contracting process and that grant legal authority to the procuring entity.

The `tender.legalBasis` field is a `Classification` object. Example classification schemes are [LEX](https://en.wikipedia.org/wiki/Lex_(URN)), [CELEX](https://eur-lex.europa.eu/content/help/faq/intro.html#help8) and [ELI](https://en.wikipedia.org/wiki/European_Legislation_Identifier).
The `tender.legalBasis` object identifies the legal basis of the contracting process and, optionally, the law or regulation from which the legal basis was derived. Each law or regulation is identified by an `id` drawn from an identifier `scheme`. Example identifier schemes include [LEX](https://en.wikipedia.org/wiki/Lex_(URN)), [CELEX](https://eur-lex.europa.eu/content/help/faq/intro.html#help8) and [ELI](https://en.wikipedia.org/wiki/European_Legislation_Identifier).

To identify the procedure used, whether by formal name or by legal citation, use the [`tender.procurementMethodDetails`](https://standard.open-contracting.org/latest/en/schema/reference/#release-schema.json,/definitions/Tender,procurementMethodDetails) field.

Expand All @@ -18,13 +18,20 @@ In the European Union, this extension's fields correspond to [eForms BT-01 (Proc

## Example

The legal basis for a contracting process is the Public Contracts Regulations 2015, which is the [transposition](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=LEGISSUM:transposition) into UK law of EU Directive 2014/24.

```json
odscjen marked this conversation as resolved.
Show resolved Hide resolved
{
"tender": {
"crossBorderLaw": "Italian procurement legislation",
"crossBorderLaw": "UK procurement legislation",
"legalBasis": {
"id": "32014L0025",
"scheme": "CELEX"
"id": "https://www.legislation.gov.uk/id/uksi/2015/102",
"scheme": "ELI",
"wasDerivedFrom": {
"id": "32014L0024",
"scheme": "CELEX",
"uri": "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32011R1007"
}
}
}
}
Expand All @@ -36,9 +43,14 @@ Report issues for this extension in the [ocds-extensions repository](https://git

## Changelog

### 2024-11-28

* Add `tender.legalBasis.wasDerivedFrom` field.
* Add `legislationClassificationScheme.csv` codelist.

### 2023-08-01

* Add 'ELI' to `+itemClassificationScheme.csv`.
* Add 'ELI' to "+itemClassificationScheme.csv".

### 2021-01-19

Expand Down
2 changes: 1 addition & 1 deletion extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"release-schema.json"
],
"codelists": [
"+itemClassificationScheme.csv"
"legislationClassificationScheme.csv"
],
"contactPoint": {
"name": "Open Contracting Partnership",
Expand Down
96 changes: 94 additions & 2 deletions release-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,102 @@
},
"legalBasis": {
"title": "Legal basis",
"description": "The legal basis of the procedure.",
"$ref": "#/definitions/Classification"
"description": "The law or regulation that governs the contracting process and grants legal authority to the buyer or procuring entity.",
"type": "object",
"properties": {
"scheme": {
"title": "Scheme",
"description": "The identifier scheme from which the legislation's identifier is taken.",
"type": [
"string",
"null"
],
"codelist": "legislationClassificationScheme.csv",
"openCodelist": true,
"minLength": 1
},
"id": {
"title": "ID",
"description": "The legislation's identifier taken from the scheme.",
"type": [
"string",
"null"
],
"minLength": 1
},
"description": {
"title": "Description",
"description": "A textual description or title for the legislation's identifier.",
"type": [
"string",
"null"
],
"minLength": 1
},
"uri": {
"title": "URI",
"description": "A URI to uniquely identify the legislation.",
"type": [
"string",
"null"
],
"format": "uri"
},
"wasDerivedFrom": {
"title": "Was derived from",
"description": "The law or regulation that the legislation transposes, updates or builds upon. For example, in the EU, national legislation transposes EU directives.",
"$ref": "#/definitions/Legislation"
}
},
"minProperties": 1
}
}
},
"Legislation": {
"title": "Legislation",
"description": "A law or regulation.",
"type": "object",
"properties": {
"scheme": {
"title": "Scheme",
"description": "The identifier scheme from which the legislation's identifier is taken.",
"type": [
"string",
"null"
],
"codelist": "legislationClassificationScheme.csv",
"openCodelist": true,
"minLength": 1
},
"id": {
"title": "ID",
"description": "The legislation's identifier taken from the scheme.",
"type": [
"string",
"null"
],
"minLength": 1
},
"description": {
"title": "Description",
"description": "A textual description or title for the legislation's identifier.",
"type": [
"string",
"null"
],
"minLength": 1
},
"uri": {
"title": "URI",
"description": "A URI to uniquely identify the legislation.",
"type": [
"string",
"null"
],
"format": "uri"
}
},
"minProperties": 1
}
}
}
Loading