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

project-schema.json: add impactCategories and hasImpactAssessment to … #441

Merged
merged 7 commits into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/_static/i18n.csv
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,13 @@ social/consultationMeetings/publicOffice/organization/id,Organization ID,True,
social/consultationMeetings/publicOffice/jobTitle,Job title,True,
environment,Environment,False,
environment/goals,Environmental goals,False,
environment/hasImpactAssessment,Has impact assessment,False,
environment/impactCategories,Impact categories,False,
environment/impactCategories,Classification,False,
environment/impactCategories/scheme,Scheme,False,
environment/impactCategories/id,ID,True,
environment/impactCategories/description,Description,True,
environment/impactCategories/uri,URI,False,
environment/abatementCost,Abatement cost,False,
environment/abatementCost,Value,False,
environment/abatementCost/amount,Amount,False,
Expand Down
9 changes: 6 additions & 3 deletions docs/cost/ids/sustainability.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,14 +330,17 @@ OC4IDS mapping
^^^
Project level:

1. If an environmental impact assessment was conducted, set `.environment.hasImpactAssessment` to true. If an environmental impact assessment was not conducted, set `environmental.hasImpactAssessment` to false.
If an environmental impact assessment was conducted:

2. Add a `Classification` object to the `.environment.impactClassifications` array, set its `.scheme` to "ifc-environmental-social" and set its `.id` to the letter for the category into which the project falls.
- Set `.environment.hasImpactAssessment` to `true`.
- Add a `Classification` object to the `.environment.impactCategories` array, set its `.scheme` to "ifc-environmental-social" and set its `.id` to the letter for the category into which the project falls.

If an environmental impact assessment was not conducted, set `environmental.hasImpactAssessment` to `false`.
```json
{
"environment": {
"hasImpactAssessment": true,
"impactClassifications": [
"impactCategories": [
{
"scheme": "ifc-environmental-social",
"id": "a"
Expand Down
7 changes: 7 additions & 0 deletions docs/examples/blank.json
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,13 @@
"goals": [
"string"
],
"hasImpactAssessment": "boolean",
"impactCategories": [
{
"scheme": "string",
"id": "string"
}
],
"abatementCost": {
"amount": "number",
"currency": "string from currency codelist"
Expand Down
7 changes: 7 additions & 0 deletions docs/examples/example.json
Original file line number Diff line number Diff line change
Expand Up @@ -1068,6 +1068,13 @@
"goals": [
"climateChangeMitigation"
],
"hasImpactAssessment": true,
"impactCategories": [
{
"scheme": "ifc-environmental-social",
"id": "a"
}
],
"abatementCost": {
"amount": 12.29,
"currency": "USD"
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
* `maintenancePeriod`
* `decommissioningPeriod`
* [#431](https://github.com/open-contracting/infrastructure/pull/431) - `environment.goals`
* [#441](https://github.com/open-contracting/infrastructure/pull/441) - `environment.hasImpactAssessment`
* [#441](https://github.com/open-contracting/infrastructure/pull/441) - `environment.impactCategories`
* [#442](https://github.com/open-contracting/infrastructure/pull/442) - `environment.abatementCost`
* [#434](https://github.com/open-contracting/infrastructure/pull/434) - `contractingProcesses.summary.tender.sustainability`
* [#428](https://github.com/open-contracting/infrastructure/pull/428) - `lobbyingMeetings`
Expand Down
6 changes: 6 additions & 0 deletions docs/reference/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ Each `Period` has the following fields:

This sub-schema is referenced by the following properties:
* [`additionalClassifications`](project-schema.json,,additionalClassifications)
* [`environment/impactCategories`](project-schema.json,,environment/impactCategories)

Each `Classification` has the following fields:

Expand All @@ -346,6 +347,11 @@ Each `Classification` has the following fields:
:title: additionalClassifications
```

```{jsoninclude} ../../docs/examples/example.json
:jsonpointer: /projects/0/environment/impactCategories
:title: environment/impactCategories
```

````

`````
Expand Down
9 changes: 6 additions & 3 deletions mapping/sustainability.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,17 @@
mapping: |-
Project level:

1. If an environmental impact assessment was conducted, set `.environment.hasImpactAssessment` to true. If an environmental impact assessment was not conducted, set `environmental.hasImpactAssessment` to false.
If an environmental impact assessment was conducted:

2. Add a `Classification` object to the `.environment.impactClassifications` array, set its `.scheme` to "ifc-environmental-social" and set its `.id` to the letter for the category into which the project falls.
- Set `.environment.hasImpactAssessment` to `true`.
- Add a `Classification` object to the `.environment.impactCategories` array, set its `.scheme` to "ifc-environmental-social" and set its `.id` to the letter for the category into which the project falls.

If an environmental impact assessment was not conducted, set `environmental.hasImpactAssessment` to `false`.
example: |-
{
"environment": {
"hasImpactAssessment": true,
"impactClassifications": [
"impactCategories": [
{
"scheme": "ifc-environmental-social",
"id": "a"
Expand Down
1 change: 1 addition & 0 deletions schema/project-level/codelists/classificationScheme.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Code,Title,Description,Source,Category
sdg,Sustainable Development Goals,"The Sustainable Development Goals are a collection of 17 interlinked goals set by the United Nations General Assembly and designed to be a ""blueprint to achieve a better and more sustainable future for all"".",https://sdgs.un.org/goals,purpose
sdgTarget,Sustainable Development Goal Targets,The Sustainable Development Goal Targets are specific targets for each Sustainable Development Goal.,https://sdgs.un.org/goals,purpose
ifc-environmental-social,International Finance Corporation’s Policy on environmental and social sustainability,"As part of the review of environmental and social risks and impacts of a proposed investment, IFC uses a process of environmental and social categorization to reflect the magnitude of risks and impacts.",https://www.ifc.org/en/insights-reports/2012/publications-policy-sustainability-2012,purpose
15 changes: 15 additions & 0 deletions schema/project-level/project-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,21 @@
"openCodelist": false,
"minItems": 1
},
"hasImpactAssessment": {
"title": "Has impact assessment",
"description": "Whether an environmental impact assessment has been conducted.",
"type": "boolean"
},
"impactCategories": {
"title": "Impact categories",
"description": "The categories of the environmental impact of the project.",
"type": "array",
"items": {
"$ref": "#/definitions/Classification"
},
"uniqueItems": true,
"minItems": 1
},
"abatementCost": {
"title": "Abatement cost",
"description": "The lifetime abatement cost of the project, measured in cost per tonne of CO2 equivalent emissions. That is, the additional cost of reducing greenhouse gas emissions by one tonne compared to the most likely alternative scenario.",
Expand Down
Loading