Skip to content

Commit

Permalink
mapping/sustainability.yaml: Add mapping and example
Browse files Browse the repository at this point in the history
  • Loading branch information
Neelima Janardhanan authored and Neelima Janardhanan committed Nov 13, 2023
1 parent 8155d84 commit a413c5b
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 28 deletions.
69 changes: 43 additions & 26 deletions docs/cost/ids/sustainability.md
Original file line number Diff line number Diff line change
Expand Up @@ -941,9 +941,19 @@ Identify who approved the climate finance investment in the country (organizatio
:columns: 8
OC4IDS mapping
^^^
Project level: Add the organization to the `parties` array and add 'climateFinanceFocalPoint' to their `.roles` array.
```json
{
"parties": [
{
"id": "1",
"name": "Presidential Climate Commission",
"roles": [
"climateFinanceFocalPoint"
]
}
]
}
```
````
Expand Down Expand Up @@ -1466,38 +1476,45 @@ OC4IDS mapping
^^^
For each planned disbursement:
* If the disbursement relates to a contracting processes, for example a payment from a funder to a supplier or subcontractor of a supplier, get the `ContractingProcess` in the `.contractingProcesses` array to which the disbursement relates and add a `Milestone` object to its `.summary.milestones` array. Otherwise, if the disbursement relates to the project, for example a payment from a funder to the public authority, add a `Milestone` object to the project-level `.milestones` array.
* Set the milestone's:
* `.id` incrementally
* `.status` to 'scheduled'
* `.dueDate` to the date on which the disbursement is planned to occur
* `.type` to 'payment'
* `.value` to the amount and currency of the planned disbursement
- If the disbursement relates to a contracting processes, for example a payment from a funder to a supplier or subcontractor of a supplier, get the `ContractingProcess` in the `.contractingProcesses` array to which the disbursement relates and add a `Milestone` object to its `.summary.milestones` array. Otherwise, if the disbursement relates to the project, for example a payment from a funder to the public authority, add a `Milestone` object to the project-level `.milestones` array.
- Set the milestone's:
- `.id` incrementally
- `.status` to 'scheduled'
- `.dueDate` to the date on which the disbursement is planned to occur
- `.type` to 'payment'
- `.value` to the amount and currency of the planned disbursement
For each actual disbursement:
* If the disbursement relates to a contracting processes, for example a payment from a funder to a supplier or subcontractor of a supplier, get the `ContractingProcess` in the `.contractingProcesses` array to which the disbursement relates and add a `Transaction` object to its `.summary.transactions` array. Otherwise, if the disbursement relates to the project, for example a payment from a funder to the public authority, add a `Transaction` object to the project-level `.transactions` array.
* Set the transaction's:
* `.id` incrementally
* `.date` to the date of the disbursement
* `.value` to the amount and currency of the disbursement
* Get the `Organization` in `.parties` that represents the payer. If none exists yet, [add an organization](../common.md#add-an-organization) for the payer:
* Add 'payer' to the organization's `.roles` array
* Set the transaction's `.payer` to the `.id` and `.name` of the organization
* Get the `Organization` in `.parties` that represents the payee. If none exists yet, [add an organization](../common.md#add-an-organization) for the payee:
* Add 'payee' to the organization's `.roles` array.
* Set the transaction's `.payee` to the `.id` and `.name` of the organization
* Get the `Milestone` in `.milestones` that represents that planned disbursement:
* Set its `.status` to 'met'
* Set its `.dateMet` to the date of the disbursement
* Set the transaction's `.relatedImplementationMilestone` to the `.id` and `.title` of the milestone
- If the disbursement relates to a contracting processes, for example a payment from a funder to a supplier or subcontractor of a supplier, get the `ContractingProcess` in the `.contractingProcesses` array to which the disbursement relates and add a `Transaction` object to its `.summary.transactions` array. Otherwise, if the disbursement relates to the project, for example a payment from a funder to the public authority, add a `Transaction` object to the project-level `.transactions` array.
- Set the transaction's:
- `.id` incrementally
- `.date` to the date of the disbursement
- `.value` to the amount and currency of the disbursement
- Get the `Organization` in `.parties` that represents the payer. If none exists yet, [add an organization](../common.md#add-an-organization) for the payer:
- Add 'payer' to the organization's `.roles` array
- Set the transaction's `.payer` to the `.id` and `.name` of the organization
- Get the `Organization` in `.parties` that represents the payee. If none exists yet, [add an organization](../common.md#add-an-organization) for the payee:
- Add 'payee' to the organization's `.roles` array.
- Set the transaction's `.payee` to the `.id` and `.name` of the organization
- Get the `Milestone` in `.milestones` that represents that planned disbursement:
- Set its `.status` to 'met'
- Set its `.dateMet` to the date of the disbursement
- Set the transaction's `.relatedImplementationMilestone` to the `.id` and `.title` of the milestone
```json
{
"milestones": [
{
"id": "1",
"title": "Grant disbursement"
"title": "Grant disbursement",
"status": "met",
"dueDate": "2023-07-01T00:00:00Z",
"dateMet": "2023-08-01T00:00:00Z",
Expand Down
15 changes: 13 additions & 2 deletions mapping/sustainability.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,19 @@
module: Climate finance
indicator: Decision-making process
disclosure format: Identify who approved the climate finance investment in the country (organization, party, role)
mapping: ''
example: ''
mapping: 'Project level: Add the organization to the `parties` array and add ''climateFinanceFocalPoint'' to their `.roles` array.'
example: |-
{
"parties": [
{
"id": "1",
"name": "Presidential Climate Commission",
"roles": [
"climateFinanceFocalPoint"
]
}
]
}
- id: '3.5'
title: Nationally Determined Contributions (NDC)
module: Climate finance
Expand Down

0 comments on commit a413c5b

Please sign in to comment.