From 118c5bf688f05a0c29130eea2feafc64596aa38a Mon Sep 17 00:00:00 2001 From: Duncan Dewhurst Date: Wed, 15 Nov 2023 09:46:14 +1300 Subject: [PATCH] mapping/sustainability.yaml: Link public consultation meetings --- docs/cost/ids/sustainability.md | 154 ++++++++++++++++---------------- manage.py | 4 +- mapping/sustainability.yaml | 2 +- 3 files changed, 81 insertions(+), 79 deletions(-) diff --git a/docs/cost/ids/sustainability.md b/docs/cost/ids/sustainability.md index 925e9679..8506ac65 100644 --- a/docs/cost/ids/sustainability.md +++ b/docs/cost/ids/sustainability.md @@ -23,7 +23,7 @@ This page documents a mapping from the elements in the CoST IDS sustainability m ## Economic and fiscal -(Economic and fiscal-Procurement strategy)= +(economic-and-fiscal-procurement-strategy)= `````{grid} 2 @@ -56,7 +56,7 @@ OC4IDS mapping ````` -(Economic and fiscal-Life cycle cost)= +(economic-and-fiscal-life-cycle-cost)= `````{grid} 2 @@ -94,7 +94,7 @@ OC4IDS mapping ````` -(Economic and fiscal-Life cycle cost calculation methodology)= +(economic-and-fiscal-life-cycle-cost-calculation-methodology)= `````{grid} 2 @@ -126,7 +126,7 @@ OC4IDS mapping ````` -(Economic and fiscal-Funding source for preparation, implementation and operation)= +(economic-and-fiscal-funding-source-for-preparation-implementation-and-operation)= `````{grid} 2 @@ -150,7 +150,7 @@ OC4IDS mapping ````` -(Economic and fiscal-Budget for preparation, implementation and operation)= +(economic-and-fiscal-budget-for-preparation-implementation-and-operation)= `````{grid} 2 @@ -174,7 +174,7 @@ OC4IDS mapping ````` -(Economic and fiscal-Cost benefit analysis)= +(economic-and-fiscal-cost-benefit-analysis)= `````{grid} 2 @@ -206,7 +206,7 @@ OC4IDS mapping ````` -(Economic and fiscal-Value for money)= +(economic-and-fiscal-value-for-money)= `````{grid} 2 @@ -238,7 +238,7 @@ Project Level: Publish in `documents`, with `.documentType` set to 'valueForMone ````` -(Economic and fiscal-Budget projections)= +(economic-and-fiscal-budget-projections)= `````{grid} 2 @@ -262,7 +262,7 @@ OC4IDS mapping ````` -(Economic and fiscal-Budget shortfall)= +(economic-and-fiscal-budget-shortfall)= `````{grid} 2 @@ -314,7 +314,7 @@ Add a `Metric` object to the `.metrics` array, set its `.id` incrementally and s ## Environment and climate -(Environment and climate-Environmental impact category)= +(environment-and-climate-environmental-impact-category)= `````{grid} 2 @@ -360,7 +360,7 @@ Project level: ````` -(Environment and climate-Environmental measures)= +(environment-and-climate-environmental-measures)= `````{grid} 2 @@ -393,7 +393,7 @@ Project level: Add a document, set its `.documentType` to 'environmentalMeasures ````` -(Environment and climate-Environmental exceptions)= +(environment-and-climate-environmental-exceptions)= `````{grid} 2 @@ -425,7 +425,7 @@ Project Level: Publish in `documents`, with `.documentType` set to 'environmenta ````` -(Environment and climate-Protected area)= +(environment-and-climate-protected-area)= `````{grid} 2 @@ -472,7 +472,7 @@ If the project is not located in a protected area, set `.environment.protectedAr ````` -(Environment and climate-Conservation measures)= +(environment-and-climate-conservation-measures)= `````{grid} 2 @@ -529,7 +529,7 @@ If there is an accompanying document publish in `documents`, with `.documentType ````` -(Environment and climate-Climate and disaster risk assessment)= +(environment-and-climate-climate-and-disaster-risk-assessment)= `````{grid} 2 @@ -562,7 +562,7 @@ Project level: Add a document, set its `.documentType` to 'climateAndDisasterRis ````` -(Environment and climate-Climate measures)= +(environment-and-climate-climate-measures)= `````{grid} 2 @@ -620,7 +620,7 @@ If there is an accompanying document publish in `documents`, with `.documentType ````` -(Environment and climate-Forecast of greenhouse gas emissions)= +(environment-and-climate-forecast-of-greenhouse-gas-emissions)= `````{grid} 2 @@ -686,7 +686,7 @@ Project-level: ````` -(Environment and climate-Environmental certifications)= +(environment-and-climate-environmental-certifications)= `````{grid} 2 @@ -725,7 +725,7 @@ Contracting process level: Publish in `documents`, with `.documentType` set to ' ````` -(Environment and climate-Decommissioning plans)= +(environment-and-climate-decommissioning-plans)= `````{grid} 2 @@ -757,7 +757,7 @@ Project level: Publish in `documents`, with `.documentType` set to 'decommission ````` -(Environment and climate-Decommissioning cost forecast)= +(environment-and-climate-decommissioning-cost-forecast)= `````{grid} 2 @@ -815,7 +815,7 @@ Project level: ## Climate finance -(Climate finance-Climate objective)= +(climate-finance-climate-objective)= `````{grid} 2 @@ -852,7 +852,7 @@ Project level: Add the relevant code from the climateChangeGoal codelist to the ````` -(Climate finance-Financial instrument)= +(climate-finance-financial-instrument)= `````{grid} 2 @@ -892,7 +892,7 @@ Project level: For each instrument, add a `finance` object to the `budget.financ ````` -(Climate finance-Climate transformation)= +(climate-finance-climate-transformation)= `````{grid} 2 @@ -926,7 +926,7 @@ Project level: Publish in documents, with `.documentType` set to 'climateTransfo ````` -(Climate finance-Climate finance decision-maker)= +(climate-finance-climate-finance-decision-maker)= `````{grid} 2 @@ -950,7 +950,7 @@ OC4IDS mapping ````` -(Climate finance-Nationally Determined Contributions (NDC))= +(climate-finance-nationally-determined-contributions-ndc)= `````{grid} 2 @@ -990,7 +990,7 @@ See mapping for data point "Policy coherence" in Institutional extension adding ````` -(Climate finance-Paris Agreement)= +(climate-finance-paris-agreement)= `````{grid} 2 @@ -1014,7 +1014,7 @@ See mapping for data point "Policy coherence" in Institutional extension adding ````` -(Climate finance-Beneficiaries)= +(climate-finance-beneficiaries)= `````{grid} 2 @@ -1040,7 +1040,7 @@ OC4IDS mapping ````` -(Climate finance-Amount of investment)= +(climate-finance-amount-of-investment)= `````{grid} 2 @@ -1076,7 +1076,7 @@ Project level: For each financing instrument, add the value and currency to the` ````` -(Climate finance-Funding source)= +(climate-finance-funding-source)= `````{grid} 2 @@ -1122,7 +1122,7 @@ Map the organization's `.id` from the party array to `financingParty.id` in the ````` -(Climate finance-Green Climate Fund Accredited Entity)= +(climate-finance-green-climate-fund-accredited-entity)= `````{grid} 2 @@ -1158,7 +1158,7 @@ Add each accredited entity organization to the `parties` array and add 'gcfAccre ````` -(Climate finance-Accredited Entity Type)= +(climate-finance-accredited-entity-type)= `````{grid} 2 @@ -1189,7 +1189,7 @@ OC4IDS mapping ````` -(Climate finance-Project preparation costs)= +(climate-finance-project-preparation-costs)= `````{grid} 2 @@ -1213,7 +1213,7 @@ OC4IDS mapping ````` -(Climate finance-Project preparation period)= +(climate-finance-project-preparation-period)= `````{grid} 2 @@ -1237,7 +1237,7 @@ OC4IDS mapping ````` -(Climate finance-Project approval period)= +(climate-finance-project-approval-period)= `````{grid} 2 @@ -1261,7 +1261,7 @@ OC4IDS mapping ````` -(Climate finance-Ratio of co-finance)= +(climate-finance-ratio-of-co-finance)= `````{grid} 2 @@ -1334,7 +1334,7 @@ For each co-financing arrangement add a new `finance` object to the `budget.fina ````` -(Climate finance-Terms of climate finance)= +(climate-finance-terms-of-climate-finance)= `````{grid} 2 @@ -1364,7 +1364,7 @@ OC4IDS mapping ````` -(Climate finance-Carbon efficiency)= +(climate-finance-carbon-efficiency)= `````{grid} 2 @@ -1388,7 +1388,7 @@ Publish the cost in `environment.abatementCost`. If supporting documentation is ````` -(Climate finance-Non-climate co-benefits)= +(climate-finance-non-climate-co-benefits)= `````{grid} 2 @@ -1425,7 +1425,7 @@ Project level: For each impact identified add a `benefit` object to the `benefit ````` -(Climate finance-Public consultation meetings)= +(climate-finance-public-consultation-meetings)= `````{grid} 2 @@ -1440,7 +1440,7 @@ Disclose the occurrence of public meetings with communities and impacted groups :columns: 8 OC4IDS mapping ^^^ -See mapping for the Public consultation meetings data point in the Social module. +See [public consultation meetings (social module)](social-public-consultation-meetings). ```json ``` @@ -1449,7 +1449,7 @@ See mapping for the Public consultation meetings data point in the Social module ````` -(Climate finance-Disbursement records)= +(climate-finance-disbursement-records)= `````{grid} 2 @@ -1544,7 +1544,7 @@ For each actual disbursement: ````` -(Climate finance-Type of project monitoring)= +(climate-finance-type-of-project-monitoring)= `````{grid} 2 @@ -1571,7 +1571,7 @@ OC4IDS mapping ````` -(Climate finance-Performance monitoring)= +(climate-finance-performance-monitoring)= `````{grid} 2 @@ -1604,7 +1604,7 @@ For each KPI add a `Metric` object to the `metrics` array and set the object's f ````` -(Climate finance-Reporting period)= +(climate-finance-reporting-period)= `````{grid} 2 @@ -1638,7 +1638,7 @@ For each KPI metric add the sentence "To be reported XXX" where XXX is the repor ````` -(Climate finance-Oversight reports)= +(climate-finance-oversight-reports)= `````{grid} 2 @@ -1662,7 +1662,7 @@ OC4IDS mapping ````` -(Climate finance-Independent monitoring)= +(climate-finance-independent-monitoring)= `````{grid} 2 @@ -1696,7 +1696,7 @@ Project level: Add an entry to `parties` with 'independentMonitor' included in i ````` -(Climate finance-Independent evaluation)= +(climate-finance-independent-evaluation)= `````{grid} 2 @@ -1731,7 +1731,7 @@ Project level: Add a document, set its `.documentType` to 'technicalAuditReport' ````` -(Climate finance-Impact measurement)= +(climate-finance-impact-measurement)= `````{grid} 2 @@ -1764,7 +1764,7 @@ Project level: Publish in documents, with `.documentType` set to 'impactMethodol ````` -(Climate finance-Carbon footprint)= +(climate-finance-carbon-footprint)= `````{grid} 2 @@ -1830,7 +1830,7 @@ Project-level: ````` -(Climate finance-Infrastructure assets to be decommissioned)= +(climate-finance-infrastructure-assets-to-be-decommissioned)= `````{grid} 2 @@ -1854,7 +1854,7 @@ OC4IDS mapping ````` -(Climate finance-Decommission period)= +(climate-finance-decommission-period)= `````{grid} 2 @@ -1878,7 +1878,7 @@ OC4IDS mapping ````` -(Climate finance-Decommission plan)= +(climate-finance-decommission-plan)= `````{grid} 2 @@ -1902,7 +1902,7 @@ See decommissioning plan data point in environment extension ````` -(Climate finance-Carbon decommission savings)= +(climate-finance-carbon-decommission-savings)= `````{grid} 2 @@ -1969,7 +1969,7 @@ Project-level: ````` -(Climate finance-Decommission mitigation plan)= +(climate-finance-decommission-mitigation-plan)= `````{grid} 2 @@ -2008,7 +2008,7 @@ Publish in documents, with `.documentType` set to 'socialImpact' and include a s ## Social -(Social-Number of beneficiaries)= +(social-number-of-beneficiaries)= `````{grid} 2 @@ -2032,7 +2032,7 @@ OC4IDS mapping ````` -(Social-Inclusive design and implementation)= +(social-inclusive-design-and-implementation)= `````{grid} 2 @@ -2075,7 +2075,7 @@ Project-level: ````` -(Social-Indigenous land)= +(social-indigenous-land)= `````{grid} 2 @@ -2116,7 +2116,7 @@ If the project is not located or cut through indigenous land, set `.social.indig ````` -(Social-Public consultation meetings)= +(social-public-consultation-meetings)= `````{grid} 2 @@ -2182,7 +2182,7 @@ For each meeting: ````` -(Social-Land compensation budget)= +(social-land-compensation-budget)= `````{grid} 2 @@ -2213,7 +2213,7 @@ Project Level: Set `.social.landCompensationBudget` to the amount and currency o ````` -(Social-Labour obligations)= +(social-labour-obligations)= `````{grid} 2 @@ -2292,7 +2292,7 @@ Publish the signed contract that includes labor obligations: Add a document to ````` -(Social-Labour budget)= +(social-labour-budget)= `````{grid} 2 @@ -2330,7 +2330,7 @@ Contract level: Publish the amount and currency of the labor budget in `.summary ````` -(Social-Workers' accidents)= +(social-workers-accidents)= `````{grid} 2 @@ -2396,7 +2396,7 @@ Publish summary statistics on worker fatalities: ````` -(Social-Health and safety certifications)= +(social-health-and-safety-certifications)= `````{grid} 2 @@ -2435,7 +2435,7 @@ Contracting process level: Publish in `.summary.documents`, with `.documentType` ````` -(Social-Construction materials testing)= +(social-construction-materials-testing)= `````{grid} 2 @@ -2503,7 +2503,7 @@ Publish test results: For each test result, add a document, set `.documentType` ````` -(Social-Building inspections)= +(social-building-inspections)= `````{grid} 2 @@ -2535,7 +2535,7 @@ Project Level: Publish in `documents`, with `.documentType` set to 'buildingInsp ````` -(Social-Jobs generated)= +(social-jobs-generated)= `````{grid} 2 @@ -2666,7 +2666,7 @@ Publish actual jobs created: ## Institutional -(Institutional-Policy coherence)= +(institutional-policy-coherence)= `````{grid} 2 @@ -2736,7 +2736,7 @@ If further documentation of the project's policy alignment is available, add a d ````` -(Institutional-Freedom of information requests)= +(institutional-freedom-of-information-requests)= `````{grid} 2 @@ -2770,7 +2770,7 @@ For each freedom of information request, add a document, set `.documentType` to ````` -(Institutional-Answers to Freedom of information requests)= +(institutional-answers-to-freedom-of-information-requests)= `````{grid} 2 @@ -2804,7 +2804,7 @@ For each freedom of information request response, add a document, set `.document ````` -(Institutional-Lobbying transparency)= +(institutional-lobbying-transparency)= `````{grid} 2 @@ -2874,7 +2874,7 @@ For each meeting: ````` -(Institutional-Beneficial ownership)= +(institutional-beneficial-ownership)= `````{grid} 2 @@ -2921,7 +2921,7 @@ For each beneficial owner: ````` -(Institutional-Sustainability criteria)= +(institutional-sustainability-criteria)= `````{grid} 2 @@ -2964,7 +2964,7 @@ Add a `Sustainability` object to the `.summary.tender.sustainability` array and ````` -(Institutional-Anti-corruption certifications)= +(institutional-anti-corruption-certifications)= `````{grid} 2 @@ -2996,7 +2996,7 @@ Project Level: Publish in documents, with .documentType set to 'antiCorruptionCe ````` -(Institutional-Independent monitoring)= +(institutional-independent-monitoring)= `````{grid} 2 @@ -3030,7 +3030,7 @@ Project Level: Add an entry to `parties` with 'independentMonitor' included in i ````` -(Institutional-Performance monitoring)= +(institutional-performance-monitoring)= `````{grid} 2 @@ -3061,7 +3061,7 @@ Project level: Publish in `metrics`. For each KPI add a Metric object to the met ````` -(Institutional-Risk management plans)= +(institutional-risk-management-plans)= `````{grid} 2 @@ -3093,7 +3093,7 @@ Project Level: Publish in documents, with .documentType set to 'riskProvisions' ````` -(Institutional-Sustainable sub-sectors)= +(institutional-sustainable-sub-sectors)= `````{grid} 2 diff --git a/manage.py b/manage.py index a59b1604..fbbbf1b0 100755 --- a/manage.py +++ b/manage.py @@ -14,6 +14,7 @@ import mdformat import requests import yaml +from docutils import nodes from jsonschema import FormatChecker from jsonschema.validators import Draft4Validator as validator from ocdsextensionregistry import ProfileBuilder @@ -928,9 +929,10 @@ def update_sustainability_docs(): modules[module] = [] title = element.get("title", "") + target = nodes.make_id(f"{module}-{title}") modules[module].extend( [ - f"\n({module}-{title})=", + f"\n({target})=", "\n\n`````{grid} 2", f"\n\n````{{grid-item-card}} {title}", "\n:columns: 4", diff --git a/mapping/sustainability.yaml b/mapping/sustainability.yaml index 8446b273..439d268d 100644 --- a/mapping/sustainability.yaml +++ b/mapping/sustainability.yaml @@ -801,7 +801,7 @@ module: Climate finance indicator: Public participation disclosure format: Disclose the occurrence of public meetings with communities and impacted groups including the minutes, number of the participants, dates and location of these meetings (E.g. Meeting 1 \[date\] \[location\] \[number of participants\] \[Document\], Meeting 2 \[date\] \[location\] \[number of participants\], \[Document\]). - mapping: See mapping for the Public consultation meetings data point in the Social module. + mapping: See [public consultation meetings (social module)](social-public-consultation-meetings). example: '' - id: '3.20' title: Disbursement records