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
17 changes: 13 additions & 4 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 has many of the same fields as a `Classification` object including `scheme`. 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).
odscjen marked this conversation as resolved.
Show resolved Hide resolved

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 @@ -21,10 +21,15 @@ In the European Union, this extension's fields correspond to [eForms BT-01 (Proc
```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,6 +41,10 @@ Report issues for this extension in the [ocds-extensions repository](https://git

## Changelog

### 2024-11-28

* Add `wasDerivedFrom` field.
odscjen marked this conversation as resolved.
Show resolved Hide resolved

### 2023-08-01

* Add 'ELI' to `+itemClassificationScheme.csv`.
Expand Down
40 changes: 39 additions & 1 deletion release-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,45 @@
"legalBasis": {
"title": "Legal basis",
"description": "The legal basis of the procedure.",
odscjen marked this conversation as resolved.
Show resolved Hide resolved
"$ref": "#/definitions/Classification"
"type": "object",
"properties": {
"scheme": {
"title": "Scheme",
"description": "The scheme or codelist from which the legislation's code is taken.",
odscjen marked this conversation as resolved.
Show resolved Hide resolved
"type": [
"string",
"null"
],
"codelist": "+itemClassificationScheme.csv",
"openCodelist": true,
"minLength": 1
},
"id": {
"title": "ID",
"description": "The legislation's code taken from the scheme.",
odscjen marked this conversation as resolved.
Show resolved Hide resolved
"type": [
"string",
"integer",
"null"
],
odscjen marked this conversation as resolved.
Show resolved Hide resolved
"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 directive the legislation was derived from.",
odscjen marked this conversation as resolved.
Show resolved Hide resolved
"$ref": "#/definitions/Classification"
odscjen marked this conversation as resolved.
Show resolved Hide resolved
}
},
"minProperties": 1
}
}
}
Expand Down
Loading