Skip to content

Commit

Permalink
add id, scheme, uri, wasDerivedFrom properties
Browse files Browse the repository at this point in the history
  • Loading branch information
odscjen committed Nov 28, 2024
1 parent 2539f50 commit dae2a3c
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 4 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,15 @@ In the European Union, this extension's fields correspond to [eForms BT-01 (Proc
```json
{
"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 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.",
"$ref": "#/definitions/Classification"
"type": "object",
"properties": {
"scheme": {
"title": "Scheme",
"description": "The scheme or codelist from which the legislation code is taken.",
"type": [
"string",
"null"
],
"codelist": "+itemClassificationScheme.csv",
"openCodelist": true,
"minLength": 1
},
"id": {
"title": "ID",
"description": "The legislation code taken from the scheme.",
"type": [
"string",
"integer",
"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 directive the legislation was derived from.",
"$ref": "#/definitions/Classification"
}
},
"minProperties": 1
}
}
}
Expand Down

0 comments on commit dae2a3c

Please sign in to comment.