Skip to content

Commit

Permalink
mapping/sustainability.yaml: Update organization classification mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
duncandewhurst committed Nov 22, 2023
1 parent 0ee1dc7 commit 8d893e8
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 4 deletions.
28 changes: 26 additions & 2 deletions docs/cost/ids/sustainability.md
Original file line number Diff line number Diff line change
Expand Up @@ -1190,9 +1190,33 @@ international
:columns: 8
OC4IDS mapping
^^^
1. Get the `Organization` object in `parties` that represents the accredited entity. If none exists yet, [add an organization](../common.md#add-an-organization) and add 'funder' to its `.roles`.
2. Add a `Classification` object to the organization's `.details.classifications` array, set its `.scheme` to 'costIdsLegalType' and map the organization's legal type ('private', 'public' or 'non-government') to its `.id`.
3. Add a `Classification` object to the organization's `.details.classifications` array, set its `.scheme` to 'costIdsAdministrativeLevel' and map the organization's administrative level ('international', 'regional', 'national' or 'sub-national') to its `.id`.
```json
{
"parties": [
{
"id": "1",
"name": "Development Bank of South Africa",
"roles": [
"funder"
],
"details": {
"classifications": [
{
"id": "public",
"scheme": "costIdsLegalType"
},
{
"id": "national",
"scheme": "costIdsAdministrativeLevel"
}
]
}
}
]
}
```
````
Expand Down
30 changes: 28 additions & 2 deletions mapping/sustainability.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -682,8 +682,34 @@
national
regional
international
mapping: ''
example: ''
mapping: |-
1. Get the `Organization` object in `parties` that represents the accredited entity. If none exists yet, [add an organization](../common.md#add-an-organization) and add 'funder' to its `.roles`.
2. Add a `Classification` object to the organization's `.details.classifications` array, set its `.scheme` to 'costIdsLegalType' and map the organization's legal type ('private', 'public' or 'non-government') to its `.id`.
3. Add a `Classification` object to the organization's `.details.classifications` array, set its `.scheme` to 'costIdsAdministrativeLevel' and map the organization's administrative level ('international', 'regional', 'national' or 'sub-national') to its `.id`.
example: |-
{
"parties": [
{
"id": "1",
"name": "Development Bank of South Africa",
"roles": [
"funder"
],
"details": {
"classifications": [
{
"id": "public",
"scheme": "costIdsLegalType"
},
{
"id": "national",
"scheme": "costIdsAdministrativeLevel"
}
]
}
}
]
}
- id: '3.12'
title: Project preparation costs
module: Climate finance
Expand Down

0 comments on commit 8d893e8

Please sign in to comment.