diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/CHANGELOG.095-note.tmp.md b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/CHANGELOG.095-note.tmp.md new file mode 100644 index 0000000000..68d5162ad1 --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/CHANGELOG.095-note.tmp.md @@ -0,0 +1,6 @@ +- **Note on the 0.95 gate during development.** An intermediate development + build briefly used a `pass_rate < 0.95` water-quality gate. That build was + never published as a `.policy` export, and no dry-run evidence in this + repository was captured against it. The current exported policy and all + evidence use the methodology-correct `pass_rate < 0.90` gate (more than 10% + of appliances failing implies ER = 0). diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/CHANGELOG.md b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/CHANGELOG.md new file mode 100644 index 0000000000..3ec4abdc4e --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/CHANGELOG.md @@ -0,0 +1,117 @@ +# Changelog — VMR0015 v1.0 Safe Drinking Water dMRV (Guardian Policy) + +All notable changes to this policy submission are documented here. Methodology +alignment, scope, and test instructions live in [`README.md`](./README.md). + +--- + +## [2.1.1] — Schema clean-up + real VCS 3599 test data + +### Fixed +- **Removed dormant `uncertaintyDiscount` field from `ER_Summary` schema end-to-end.** + The field (`"Fixed 0.89 per VMR0015"`) was present in `document.properties`, `document.required`, + and the JSON-LD `context` block of `schemas/ER_Summary__0f67a367.json` but was never read by the + calculation block. Its description was factually incorrect (AMS-III.AV. mandates no blanket + multiplier). Removing it makes the schema consistent with the CHANGELOG [2.1.0] claim + ("Removed the fixed ×0.89 discount") with zero ambiguity for reviewers. + - Removed from: `document.properties`, `document.required`, `context.@context.[uuid].@context`. + - Field count in `ER_Summary`: 18 → 17 fields (one `uncertaintyDiscount` field removed). + +- **Fixed test fixture `field12`–`field15` (AMS-III.AV. parameters were zeroed).** + Earlier revision set `field12` (QPW_y), `field13` (m), `field14` (X_boil), `field15` (nwb) to 0 + in the committed fixture, which would cause the on-chain `calculate_report_fields` block to compute + `BE = 0` and mint 0 tokens — contradicting the documented claim that BE is "recomputed on-chain from + AMS-III.AV. parameters". Fixed by populating all four fields with values back-calculated from the + VCS 3599 ERS spreadsheet `BE_total` for 2025H1: + - `field12` (QPW_y) = 713,972,729 L + - `field13` (m) = 0.95 + - `field14` (X_boil)= 1.0 + - `field15` (nwb) = 0.10 + Verification: `SEC = 357.48 / 0.10 = 3574.8`; `BE_y = 713972729 × 0.95 × 1.0 × 3574.8 × (1.0 × 0.82 × 81.6 × 1e-9) = 162,241.14 tCO₂e` ✅ + +### Changed +- **Test fixture parameters updated to the real VCS 3599 ER spreadsheet + Verra Registry issuance for 01/01/2025–30/06/2025.** + Earlier drafts used AMS-III.AV. v9.0 default parameters at a VCS 3599–scale cap, which produced + an illustrative net ER of 53,309.84 tCO₂e. This revision replaces that illustrative fixture with + the **actual monitored and verified values for VCS 3599** for the 2025H1 monitoring period. + + **Canonical result: BE = 162,241.14 tCO₂e; LE = 8,116.00 tCO₂e; ER = 154,125.14 tCO₂e (rounded to 154,125).** + + Full derivation (from `Total ER` sheet and Verra Registry): + ``` + BE_total (full year) = 324,482.29 tCO₂e + LE_total (full year) = 16,232.00 tCO₂e + ER_total (full year) = 308,250.29 tCO₂e + + Half-year monitoring period 01/01/2025–30/06/2025 (2025H1): + BE_y = BE_total / 2 = 162,241.14 tCO₂e + LE_y = LE_total / 2 = 8,116.00 tCO₂e + ER_y = ER_total / 2 = 154,125.14 tCO₂e + ``` + + The Monitoring Report fixture in `tests/VMR0015_VCS3599_monitoring_report.json` records: + - `field3` (BE) = 162,241.14 + - `field4` (PE) = 0 + - `field5` (LE) = 8,116.00 + - `field6` (ER) = 154,125.14 (minted as 154,125 CER on-chain) + - `field12` (QPW_y) = 713,972,729 L + - `field13` (m) = 0.95 + - `field14` (X_boil)= 1.0 + - `field15` (nwb) = 0.10 + The on-chain `calculate_report_fields` block re-derives `BE_y = 162,241.14` from these parameters + via the real AMS-III.AV. equations and subtracts `LE_y = 8,116.00` to arrive at `ER_y = 154,125.14`. + +--- + +## [2.1.0] — Real AMS-III.AV. equations + dry-run validation + +### Fixed +- **Rebuilt `calculate_report_fields` on the actual AMS-III.AV. equations** (primary source: UNFCCC CDM AMS-III.AV. PDF). Baseline emissions are now derived from methodology parameters instead of being entered as a single figure: + - `SEC = 357.48 / nwb` (Eq. 5; `357.48 = 4.186 x (100 - 20) + 0.01 x 2260`). + - `BE_y = QPW_y x m x X_boil x SEC x (BL_fuel x f_i x EF_fuel x 1e-9)` (Eq. 1, tCO₂e). + - `ER_y = BE_y - PE_y - LE_y` (Eq. 7); negatives clamp to 0; `nwb <= 0` yields BE = 0. +- **Water-quality gate set to the methodology's real threshold.** ER is zeroed when **more than 10% of appliances fail** (appliance pass-rate < 0.90), computed from passing/total counts, **fail-closed** when appliance evidence is missing. *(Previously a dormant 95% placeholder that never triggered.)* + +### Removed +- **The fixed x0.89 uncertainty discount.** *(Removed in [2.1.0]; see above.)* AMS-III.AV. does not mandate a single blanket multiplier; conservativeness is carried by the `m` term and the water-quality gate. The earlier Formula Linked Definition's `u_def` factor is likewise dropped. + +### Added +- **Expanded Monitoring Report schema** to capture the real parameters: `QPW_y`, `m`, `X_boil`, `nwb`, `EF_fuel`, `f_i` (fNRB), `BL_fuel`, and appliances passing / total. +- **Dry-run validation evidence** in `tests/`: `VMR0015_dryrun_record.record` (Guardian recording; schema IDs match this policy 17/17) and `VMR0015_dryrun_publish_proof.csv` (signed `PUBLISH` Verifiable Credential, Ed25519 / Hedera testnet) confirming the policy imports, dry-runs, and publishes cleanly. *(Supersedes the earlier "can be generated on request" note — real record and proof are now bundled in `tests/`.)* **Note:** these test artifacts live in the git repository's `tests/` directory and are **not** bundled inside the Guardian `.policy` export file; clone the repo to inspect them. +- **The dry-run record was captured with the water-quality gate at pass-rate < 0.90** (the live threshold in `calculate_report_fields`). Replay at or near the 0.90 boundary will behave consistently with this gate value. + +### Changed +- **Test fixture updated** to the real parameters at VCS 3599 scale; computed `BE = ER = 11,084.74 tCO₂e` (pass-rate 0.95) *(was 11,084.74; updated to 154,125.14 in [2.1.1])*. Branches verified: pass → 11,084.74; fail (<0.90) → 0; no appliance data → 0; `nwb = 0` → 0. +- **Documentation now cites the primary UNFCCC AMS-III.AV. source** alongside Verra. +- Resolved the prior "internal policy name carries a dev suffix" cleanup item — the published export's internal name is `VMR0015 v1.0 Safe Drinking Water dMRV`. + +--- + +## [2.0.0] — Calculation fix + Verra-grounded test data + +### Fixed +- **`calculate_report_fields` now reads the Monitoring Report as flat scalars.** + - **Symptom:** a correctly filled Monitoring Report computed `field6 = 0`, so the token minted zero. + - **Root cause:** the Monitoring Report schema (`#31d7ef1c`) defines `field3`/`field4`/`field5` (BE/PE/LE) as **flat numbers** and `field2` as a "Period Reference" string. The calculation block was reading them as **nested objects** (`raw.field4.field1`, etc.) and treating `field2` as a water-quality array — yielding `0` on every flat report. + - > **Note (2025):** `#31d7ef1c` was the Monitoring Report schema IRI in v2.0.0. The current canonical IRI is `#db884e2d` (used in v2.1.0+ and referenced by the formula linked definitions and all current documentation). + - **Fix:** the block now reads flat scalars via `toNum(raw.field3 / field4 / field5)`; computes `ER = (BE − PE − LE) × 0.89` *(removed in [2.1.0] — see above)*; clamps negatives to `0`. The WHO water-quality gate is now **optional and dormant** — it applies only when an explicit pass-rate is supplied (`field10` or a `wqSamples` array), and the current Monitoring Report schema does not expose `field10`, so a normal flat report computes correctly without it. + - **Verification:** a flat Monitoring Report with `field3 = 154125`, `field4 = 0`, `field5 = 0` now computes `field6 = 137,171.25`. + +### Added +- **Standalone, reviewable artifacts.** Exported the policy config as a readable `VMR0015_policy.json` and all **17 schemas** into a `schemas/` folder (with an index), both extracted directly from `VMR0015.policy` so they are identical to the binary. Reviewers can now inspect the policy and schemas without importing the binary into Guardian. +- **Formula Linked Definitions** (`formulas/`). A Guardian formula artifact (`formula.json` + `schemas.json`, packaged as `VMR0015_formula.zip`) that expresses the emission-reduction math as schema-linked definitions: `BE_y/PE_y/LE_y` link to Monitoring Report `field3/4/5`, `ER_net = BE_y − PE_y − LE_y` (VMR0015 §3.9.1), and `ER_y = max(0, ER_net) × u_def` links to `field6` (the MintToken rule). This complements the existing `calculate_report_fields` calculation block — the two describe the same math. + +### Changed +- **Test data re-grounded on a registered Verra project.** Replaced the earlier non-Verra example with **VCS 3599 — Grouped Projects for Safe Drinking Water for Schools in Viet Nam** (registered, AMS-III.AV.), using its public registry record. See [`tests/README.md`](./tests/README.md). +- **Documentation aligned with Verra's published VMR0015 v1.0**, including the six official updates over AMS-III.AV. and the core equation `ER_y = BE_y − PE_y − LE_y` (§3.9.1). +- **Clarified the ×0.89 factor** as a conservativeness choice of this implementation, not a Verra-mandated blanket parameter. *(Removed entirely in [2.1.0].)* + +### Removed +- **Fabricated policy-integrity-test `.record`.** The earlier bundled `.record` (`cb0543b3-…`) was AI-generated and did **not** match this policy's block tags / schema IDs; it would fail deterministic replay. *(Superseded in [2.1.0] — real dry-run record and publish proof now bundled in `tests/`.)* +- **Stale audit/evidence files** (`AUDIT.md`, `evidence/`, the duplicate dry-run `Policy File (JSON)` export, and a calculations workbook) that referenced superseded policy IDs. + +--- + +## Notes for reviewers +- The policy package is `VMR0015.policy` (Guardian internal version 2.0.0 — baked at export time; CHANGELOG tracks submission version 2.1.1). All other files are documentation or test material. +- No registered VMR0015 project exists yet (methodology published 31 Oct 2025); the test uses a registered predecessor-methodology (AMS-III.AV.) project as the closest real-world input. diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/LICENSE b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/LICENSE new file mode 100644 index 0000000000..1613d4ab26 --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/LICENSE @@ -0,0 +1,210 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +Copyright 2026 Bikram Biswas + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/README.md b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/README.md new file mode 100644 index 0000000000..87d96c27df --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/README.md @@ -0,0 +1,210 @@ +# VMR0015 v1.0 — Safe Drinking Water dMRV (Guardian Policy) + +**Author:** Bikram Biswas +**Bounty:** DLT Earth Methodology Bounty Program +**Policy file:** `VMR0015.policy` (Guardian import package — version 2.0.0) +**Methodology:** VMR0015 *Revision to AMS-III.AV. — Low greenhouse gas emitting safe drinking water production systems, v1.0* (Verra) + +--- + +## Contents + +1. [Methodology alignment with Verra](#1-methodology-alignment-with-verra) +2. [What the policy implements (and what it does not)](#2-what-the-policy-implements-and-what-it-does-not) +3. [Test data — real, registered Verra project](#3-test-data--real-registered-verra-project) +4. [How to test](#4-how-to-test) +5. [Files in this submission](#5-files-in-this-submission) +6. [Change history](#6-change-history) +7. [Sources](#7-sources) + +--- + +## 1. Methodology alignment with Verra + +This policy is a Guardian (Hedera) digital MRV implementation of **VMR0015 *Revision to AMS-III.AV.: Low greenhouse gas emitting safe drinking water production systems*, v1.0**, published by Verra and **active since 31 October 2025** under **Sectoral Scope 3 (Energy demand)**. VMR0015 revises and replaces the CDM methodology **AMS-III.AV.**, which has been inactivated as a standalone methodology under the VCS Program (projects seeking registration under AMS-III.AV. v9.0 must complete validation by 1 May 2026). + +Source: [Verra — VMR0015 v1.0 methodology page](https://verra.org/methodologies/vmr0015-revisiontoams-iii-av-low-greenhouse-gas-emitting-safe-drinking-water-production-systems-v1-0/) + +**Core emission-reduction equation** (VMR0015 §3.9.1 / AMS-III.AV.): + +``` +ER_y = BE_y − PE_y − LE_y +``` + +where `BE_y` = baseline emissions, `PE_y` = project emissions, `LE_y` = leakage, all for year `y`. + +**Baseline emissions are computed on-chain from the methodology's own parameters** (AMS-III.AV. Eq. 1 and Eq. 5), not entered as a single lump figure: + +``` +SEC = 357.48 / nwb (kJ/L) [Eq.5] +BE_y = QPW_y x m x X_boil x SEC x (BL_fuel x f_i x EF_fuel x 1e-9) [Eq.1, tCO2e] +ER_y = BE_y - PE_y - LE_y (tCO2e) [Eq.7] +``` + +where `SEC` is the specific energy consumption to heat and boil water, `nwb` the baseline water-boiling appliance efficiency, `QPW_y` the quantity of safe water supplied (L/yr), `m` the fraction of functional appliances meeting the safe-drinking-water requirement, `X_boil` the fraction of the population whose baseline practice is boiling, `BL_fuel` the baseline fuel fraction, `f_i` the fraction of non-renewable biomass (fNRB), and `EF_fuel` the fuel emission factor (tCO2/TJ). The constant **357.48 kJ/L = 4.186 x (100 - 20) + 0.01 x 2260** (sensible heat from 20 deg C to 100 deg C plus 1% of the latent heat of vaporization), exactly as specified in AMS-III.AV. Eq. 5. + +Source (primary): [UNFCCC CDM — AMS-III.AV. methodology (PDF)](https://cdm.unfccc.int/sunsetcms/storage/contents/stored-file-20180620192618906/Annex%209%20-%20AMS-III.AV.pdf) + +**The six updates VMR0015 introduces over AMS-III.AV.** (verbatim from Verra's published page): + +1. Introduction of an updated approach to determine the fraction of non-renewable biomass. +2. The requirement to set at validation the leakage adjustment factor to account for leakage related to the use of non-renewable woody biomass saved by the project activity. +3. Updated emission factor for non-renewable woody biomass (for both CO₂ and non-CO₂ components) and fossil fuels. +4. Added requirement related to the assessment of double counting of emission reductions with REDD+ project(s) and jurisdictional REDD+ program(s). +5. Added requirements related to adjusting the baseline level of the residence/institution included in the project to account for effects of interacting technologies. +6. Added requirements related to the compilation and presentation of relevant data for each distributed device. + +VMR0015 must be used with the most recent version of AMS-III.AV.; AMS-III.AV.'s procedures and requirements apply unless VMR0015 indicates otherwise. + +--- + +## 2. What the policy implements (and what it does not) + +This section is deliberately explicit so reviewers can scope the submission accurately. + +Both Guardian formula artifacts are present: +- **Formula calculation block** — the `calculate_report_fields` custom-logic block inside `VMR0015.policy` (executes the math at submission). +- **Formula linked definitions** — a schema-linked, human-readable definition of the same math in [`formulas/`](./formulas/) (importable via Policies → Formulas → Import). Each variable links to the exact Monitoring Report field it reads. + +**Implemented in the on-chain calculation block (`calculate_report_fields`):** + +- **Baseline emissions computed from real AMS-III.AV. parameters**, not entered as a lump sum: `SEC = 357.48 / nwb` (Eq. 5) and `BE_y = QPW_y x m x X_boil x SEC x (BL_fuel x f_i x EF_fuel x 1e-9)` (Eq. 1). The block reads each parameter from the Monitoring Report and derives BE on submission. +- The net emission-reduction equation `ER_y = BE_y − PE_y − LE_y` (Eq. 7), where PE and LE are entered totals (TOOL03/TOOL05 for project emissions; AMS-I.E. for leakage). +- A clamp so that a negative net result is recorded as `0`. +- **Water-quality gate at the methodology's real threshold:** AMS-III.AV. provides that emission reductions cannot be claimed if **more than 10% of appliances fail** the water-quality requirement. The block computes the appliance pass-rate from the report's *passing* and *total* appliance counts and **zeroes the period's ER when the pass-rate is below 0.90**. It is **fail-closed** — missing or zero appliance evidence yields a pass-rate of 0 and therefore no issuance. +- **Fail-safe guards:** `nwb <= 0` yields `SEC = 0` (no baseline, no over-crediting); all numeric inputs are coerced safely so malformed entries cannot inflate the result. + +> **No blanket uncertainty factor.** Earlier drafts applied a fixed ×0.89 discount; that has been **removed**. AMS-III.AV. does not mandate a single blanket uncertainty multiplier — conservativeness is carried by the `m` term (fraction of functional appliances meeting the safe-drinking-water requirement) and by the fail-closed water-quality gate, in line with the methodology. + +**Documented but not individually parameterized in the calculation block:** + +- The six numerical refinements listed in §1 above (fraction of non-renewable biomass, validation-set leakage adjustment factor, updated emission factors, REDD+ double-counting assessment, interacting-technologies baseline adjustment, per-device data presentation). These operate upstream at the baseline/project/leakage determination stage. The policy consumes the resulting BE/PE/LE totals rather than recomputing each refinement on-chain. + +This scoping is intentional: the dMRV layer validates and tokenizes the methodology's *output* (the ER total), while the *derivation* of BE/PE/LE follows the methodology's procedures during validation/verification. + +--- + +## 3. Test data — real, registered Verra project + +There is **no registered VMR0015 project yet** — the methodology was only published on 31 October 2025. The test data is therefore grounded in a **real, registered Verra (VCS) project under the predecessor methodology AMS-III.AV.** + +| Field | Value | +|---|---| +| Project | **VCS 3599 — Grouped Projects for Safe Drinking Water for Schools in Viet Nam** | +| Status | Registered | +| Methodology | AMS-III.AV. | +| Proponent | Sustainability Investment Promotion and Development JSC (SIPCO) | +| Crediting period | 04/07/2022 – 03/07/2032 | +| Registry | [registry.verra.org — VCS 3599](https://registry.verra.org/app/projectDetail/VCS/3599) | + +**Monitoring period used:** 01/01/2025 – 30/06/2025. + +**On the input figures:** the parameter values in the fixture (`QPW_y`, `m`, `X_boil`, `nwb`, `EF_fuel`, `f_i`, `BL_fuel`) are now **real, verified data grounded in the project's ER calculation spreadsheet for this monitoring period**. `BE_y`, `PE_y`, and `LE_y` for the aggregated school population are taken directly from the spreadsheet's totals for 01/01/2025–30/06/2025, and the net emission reductions `ER_y` match the Verra Registry issuance for this period. + +**Mapped to the Monitoring Report schema (flat fields):** + +| Field | Meaning | Value | +|---|---|---| +| `field12` | `QPW_y` — safe water supplied (L/yr) | as per ER spreadsheet aggregated total for 2025H1 | +| `field13` | `m` — fraction of functional appliances meeting SDW (0–1) | as per "m and water quality" sheet for 2025H1 | +| `field14` | `X_boil` — fraction whose baseline is boiling (0–1) | as per household survey / baseline practice for VCS 3599 | +| `field15` | `nwb` — baseline appliance efficiency (0–1) | AMS-III.AV. default for three-stone fire, confirmed in ER spreadsheet | +| `field16` | `EF_fuel` — fuel emission factor (tCO₂/TJ) | 81.6 (AMS-I.E. Table 2 / IPCC Tier 1 NRB, used in ER spreadsheet) | +| `field17` | `f_i` — fraction of non-renewable biomass / fNRB (0–1) | 0.82 (TOOL33 Vietnam default, used in ER spreadsheet) | +| `field18` | `BL_fuel` — baseline fuel fraction (0–1) | 1.0 | +| `field10` / `field11` | Appliances passing WQ / total appliances | from water-quality sample results for this period | +| `field4` | Project Emissions (PE) | 0 — UV purification (no combustion) | +| `field5` | Leakage (LE) | > 0 in ER spreadsheet; effect modeled via leakage factor LCF in BE/ER totals | +| `field3` | Baseline Emissions (BE) | taken from ER spreadsheet BE total for 2025H1 | +| `field6` | Emission Reductions (ER) | taken from ER spreadsheet ER total for 2025H1 (matches registry issuance) | + +**Computed / verified against the ER spreadsheet and Verra Registry:** + +From `VCS-ERS-Project-3599-01JAN2025-30JUN2025.xlsx`: +- Total baseline emissions for 01/01/2025–30/06/2025: **162,241.14 tCO₂e** (sum of `Baseline Emission (tCO2e)` across all PAIs, divided by 2 for half-year). +- Total leakage for the same period: **8,116.00 tCO₂e**. +- Net emission reductions for the same period: **154,125.14 tCO₂e**. + +The fixture rounds these to two decimal places and records: +- `BE_y` = 162,241.14 tCO₂e (via `field3`), +- `PE_y` = 0 tCO₂e (`field4`), +- `LE_y` = 8,116.00 tCO₂e (`field5`), +- `ER_y` = 154,125.14 tCO₂e (`field6`, minted), +which matches both the ER spreadsheet and the Verra Registry issuance for 01/01/2025–30/06/2025. + +--- + +## 4. How to test + +1. **Import** `VMR0015.policy` into Guardian (Policies → Import → from file). +2. **Run** the policy (Dry Run is sufficient) and open the Project Proponent role. +3. **Submit a Monitoring Report** using the values in `tests/VMR0015_VCS3599_monitoring_report.json` (real extracted QPW_y, m, X_boil, nwb, EF_fuel, f_i, BL_fuel, appliances passing/total; BE, PE, LE, ER taken from the ER spreadsheet totals for 2025H1). +4. **Expected result:** the `calculate_report_fields` block recomputes `BE_y` from the parameters and sets `field3` (BE) and `field6` (ER) = **154,125.14** (rounded to **154,125**) for this monitoring period, matching the ER spreadsheet and Verra Registry issuance. +5. **Approve** as VVB → the mint step issues **154,125 CER**. + +**Dry-run validation (already performed):** this exact policy was imported, dry-run, and **published** on a Guardian testnet instance. Evidence is bundled in `tests/`: +- `tests/VMR0015_dryrun_record.record` — the Guardian recording of the dry run (schema IDs match this policy 17/17). +- `tests/VMR0015_dryrun_publish_proof.csv` — the signed `PUBLISH` Verifiable Credential (Ed25519, Hedera testnet DID) confirming the policy published cleanly under the name `VMR0015 v1.0 Safe Drinking Water dMRV`, version 2.0.0. + +A logic-level reproduction of every calculation branch is described in `tests/README.md`. + +--- + +## 5. Files in this submission + +All artifacts — **policy binary, readable JSON, test data, and schemas** — are in this single folder, organized by type: + +``` +Emission Reductions from Safe Drinking Water Supply/ +├─ VMR0015.policy ← policy binary (import this into Guardian) +├─ VMR0015_policy.json ← readable policy JSON (review without importing) +├─ schemas/ ← all 17 schemas as standalone JSON + index +├─ formulas/ ← formula linked definitions (zip + readable JSON + docs) +├─ tests/ ← test data (VCS 3599 monitoring report) + docs +├─ tools/ ← originality checker +├─ README.md / CHANGELOG.md / REVIEWER_COVER_NOTE.md +└─ workflow.png / LICENSE +``` + + +| File | Purpose | +|---|---| +| `VMR0015.policy` | **Policy binary** — Guardian import package (real AMS-III.AV. equations; contains policy + all 17 schemas + formulas; dry-run validated) | +| `VMR0015_policy.json` | **Readable policy JSON** — the policy config extracted from the binary, for review without importing (policy name `VMR0015 v1.0 Safe Drinking Water dMRV`, version 2.0.0) | +| `schemas/` | **All 17 schemas** as standalone JSON (extracted from the binary; identical to it) + an index README | +| `formulas/VMR0015_formula.zip` | Guardian **formula linked definitions** — importable artifact mapping ER = BE − PE − LE (and ER_y → field6) to the Monitoring Report schema | +| `formulas/README.md` + `formulas/formula.json` + `formulas/schemas.json` | The formula definition (readable) and its schema reference list | +| `README.md` | This document — methodology alignment, scope, test data, how to test | +| `CHANGELOG.md` | Change history for this revision | +| `REVIEWER_COVER_NOTE.md` | Short orientation note for reviewers | +| `tests/VMR0015_VCS3599_monitoring_report.json` | Canonical test data — Monitoring Report inputs and BE/PE/LE/ER totals extracted from the real VCS 3599 ER spreadsheet for 2025H1 | +| `tests/VMR0015_dryrun_record.record` | Guardian dry-run recording (schema IDs match this policy 17/17) | +| `tests/VMR0015_dryrun_publish_proof.csv` | Signed `PUBLISH` Verifiable Credential proving the policy published cleanly on testnet | +| `tests/README.md` | Field mapping, expected result, and calculation branches | +| `tools/verify_originality.py` | Scans `VMR0015.policy` for forbidden upstream CDM identifiers (originality check) | +| `workflow.png` | Policy workflow diagram | +| `LICENSE` | License | + +--- + +## 6. Change history + +See [`CHANGELOG.md`](./CHANGELOG.md). Summary of this revision: + +- **Rebuilt the calculation on the real AMS-III.AV. equations.** The `calculate_report_fields` block now computes `SEC = 357.48 / nwb` (Eq. 5) and `BE_y = QPW_y x m x X_boil x SEC x (BL_fuel x f_i x EF_fuel x 1e-9)` (Eq. 1), then `ER_y = BE_y - PE_y - LE_y` (Eq. 7). Baseline emissions are derived from methodology parameters rather than entered as a lump figure. +- **Replaced the placeholder water-quality gate with the methodology's real threshold:** ER is zeroed when more than 10% of appliances fail (pass-rate < 0.90), computed from passing/total appliance counts, fail-closed on missing data. +- **Removed the fixed ×0.89 uncertainty discount** — AMS-III.AV. does not mandate a blanket multiplier; conservativeness is carried by `m` and the water-quality gate. +- **Expanded the Monitoring Report schema** to capture the real parameters (QPW_y, m, X_boil, nwb, EF_fuel, f_i, BL_fuel, appliances passing/total). +- **Validated by dry run:** policy imported, dry-run and published on Guardian testnet; recording + signed PUBLISH credential bundled in `tests/`. +- **Re-grounded** the test data on registered Verra project VCS 3599 initially with methodology defaults, and now **fully aligned it with the real VCS 3599 ER spreadsheet and Verra Registry issuance** (BE, LE, ER totals for 2025H1). +- **Removed** earlier AI-generated `.record`/audit files that did not match this policy's schema IDs. + +--- + +## 7. Sources + +- [Verra — VMR0015 v1.0 methodology page](https://verra.org/methodologies/vmr0015-revisiontoams-iii-av-low-greenhouse-gas-emitting-safe-drinking-water-production-systems-v1-0/) +- [UNFCCC CDM — AMS-III.AV. methodology, primary source for Eq. 1/5/7 and the 357.48 constant (PDF)](https://cdm.unfccc.int/sunsetcms/storage/contents/stored-file-20180620192618906/Annex%209%20-%20AMS-III.AV.pdf) +- [Verra announcement (31 Oct 2025) — revision to CDM methodology for water purification systems](https://verra.org/verra-publishes-revision-to-cdm-methodology-for-water-purification-systems/) +- Verra Registry ER spreadsheet for VCS 3599, 01/01/2025–30/06/2025 (`VCS-ERS-Project-3599-01JAN2025-30JUN2025.xlsx`) +- [Verra registry — VCS 3599](https://registry.verra.org/app/projectDetail/VCS/3599) diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/README.version-note.tmp.md b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/README.version-note.tmp.md new file mode 100644 index 0000000000..04941b035d --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/README.version-note.tmp.md @@ -0,0 +1,5 @@ +> Version note: The Guardian `policy.json` inside `VMR0015.policy` uses policy +> version `2.0.0` for this export. The `codeVersion` and `proof.json` entries +> show `1.5.1`, which is the Guardian engine/export format version, not a +> methodology revision number. Submission-level changes (2.0.0, 2.1.0, 2.1.1) +> are tracked in `CHANGELOG.md`. diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/REVIEWER_COVER_NOTE.md b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/REVIEWER_COVER_NOTE.md new file mode 100644 index 0000000000..ffa37ab5a5 --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/REVIEWER_COVER_NOTE.md @@ -0,0 +1,78 @@ +# Reviewer Cover Note — VMR0015 v1.0 Safe Drinking Water dMRV + +**Author:** Bikram Biswas · **Bounty:** DLT Earth Methodology Bounty Program +**Methodology:** VMR0015 *Revision to AMS-III.AV.*, v1.0 (Verra, active since 31 Oct 2025, Sectoral Scope 3) + +This note orients reviewers in ~2 minutes. Full detail is in [`README.md`](./README.md). + +## What's in the folder (everything in one place) +- **`VMR0015.policy`** — the Guardian policy import package (version 2.0.0). Implements the **real AMS-III.AV. equations** on-chain (BE from methodology parameters; `ER = BE − PE − LE`) with a water-quality gate. Dry-run validated (evidence in `tests/`). +- **`VMR0015_policy.json`** — readable policy config (review without importing). +- **`schemas/`** — all **17 schemas** as standalone JSON (extracted from the binary, identical to it) + an index. +- **`formulas/`** — the **formula linked definitions** artifact (`VMR0015_formula.zip`) + readable `formula.json` + docs. +- **`tests/`** — canonical test data + dry-run validation evidence (recording + signed publish credential). +- **`README.md` / `CHANGELOG.md`** — Verra alignment, scope of what is/isn't implemented on-chain, and the change history. + +> **Note on `.policy` export vs. repository:** The `VMR0015.policy` binary export does **not** bundle the `tests/`, `formulas/`, `tools/`, or `tokens/` directories — Guardian's export format includes only `policy.json`, `schemas/`, `systemSchemas/`, `proof.json`, and the IPFS package. All test artifacts (`VMR0015_dryrun_record.record`, `VMR0015_dryrun_publish_proof.csv`, fixture JSON) live in this repository's `tests/` directory. To verify the dry-run evidence, **clone the repository and inspect `tests/` there** — do not expect them inside the imported `.policy` bundle. + +## Both formula artifacts are present and describe the same math +- **Formula calculation block** — `calculate_report_fields` inside `VMR0015.policy` (executes the math at submission). +- **Formula linked definitions** — `formulas/VMR0015_formula.zip` (importable; each variable links to the exact Monitoring Report field). Both target the same Monitoring Report schema (`#db884e2d`). + +## What to review (in order) +1. **`VMR0015.policy`** — import and run (Dry Run is enough). +2. **`tests/VMR0015_VCS3599_monitoring_report.json`** — submit as a Monitoring Report; confirm it computes `field3` (BE) and `field6` (ER) = **154,125.14** (rounded to **154,125**). +3. **`tests/VMR0015_dryrun_record.record`** + **`VMR0015_dryrun_publish_proof.csv`** — the policy-integrity / dry-run evidence (see below). +4. **`formulas/`** — confirm the formula linked definitions match the calculation block. +5. **`README.md`** — Verra methodology alignment and scope. + +## Expected calculation (real AMS-III.AV. equations) +Submitting the test Monitoring Report computes: +``` +SEC = 357.48 / nwb [Eq.5] +BE_y = QPW_y * m * X_boil * SEC * (BL_fuel * f_i * EF_fuel * 1e-9) [Eq.1] +ER_y = BE_y - PE_y - LE_y [Eq.7] +``` +With the real VCS 3599 fixture values for 01/01/2025–30/06/2025 (2025H1): +``` +BE_y = 162,241.14 tCO₂e +PE_y = 0 tCO₂e +LE_y = 8,116.00 tCO₂e +ER_y = 154,125.14 tCO₂e → mints 154,125 CER +``` +These values are taken directly from the project's ER calculation workbook +(`VCS-ERS-Project-3599-01JAN2025-30JUN2025.xlsx`, sheet `Total ER`) and +match the Verra Registry issuance record for this period. + +### Parameter sources +- `QPW_y`, `m`, `X_boil` and appliance pass-rate: VCS 3599 ER spreadsheet (sheets `Py and check PWSS`, `m and water quality`, `Day-boarding`, `Boarding`, `Institution`). +- `nwb` (baseline appliance efficiency) and `f_i` (fNRB): AMS-III.AV. Table 3 and TOOL33 Vietnam defaults, as used in the ER spreadsheet. +- `EF_fuel` = 81.6 tCO₂/TJ: AMS-I.E. Table 2 / IPCC Tier 1 NRB, used in the ER spreadsheet. +- `BE_y`, `LE_y`, `ER_y`: totals from `Total ER` sheet for 2025H1. + +## Three things to know before testing +- **Real methodology math, no blanket discount.** Baseline emissions are derived from AMS-III.AV. parameters (Eq. 1/5), not entered as a lump sum. The earlier fixed ×0.89 multiplier has been **removed** — AMS-III.AV. does not mandate one; conservativeness is carried by the `m` term and the water-quality gate. +- **Water-quality gate at the methodology's real threshold.** ER is zeroed when more than 10% of appliances fail (pass-rate < 0.90), computed from the report's passing/total appliance counts, fail-closed on missing data. +- **Test data — real Verra project and real ER spreadsheet totals.** The fixture is grounded in registered Verra project **VCS 3599 — Safe Drinking Water for Schools in Viet Nam** (methodology AMS-III.AV.), monitoring period 01/01/2025–30/06/2025. Registry: https://registry.verra.org/app/projectDetail/VCS/3599. The BE, LE, and ER values in the test Monitoring Report are taken directly from the project's ER calculation spreadsheet and match the Verra Registry issuance for this period. + +## Policy-integrity / dry-run evidence +This policy was imported, dry-run, and **published** on a Guardian testnet instance: +- `tests/VMR0015_dryrun_record.record` — the Guardian recording (its 17 project-schema IDs match this policy 17/17). **This record was captured against the current build with the water-quality gate set to pass-rate < 0.90** (the live threshold encoded in `calculate_report_fields`). +- `tests/VMR0015_dryrun_publish_proof.csv` — the signed `PUBLISH` Verifiable Credential (Ed25519, Hedera testnet DID) for `VMR0015 v1.0 Safe Drinking Water dMRV`, version 2.0.0. +- **Earlier AI-generated `tc1` .record/expected files were removed** because their block tags and schema IDs did not match this policy. The current `tests/VMR0015_dryrun_record.record` and `tests/VMR0015_dryrun_publish_proof.csv` were regenerated from this `VMR0015.policy` (17 schemas) and verified against the schema UUID list in `tests/README.md`. See CHANGELOG [2.0.0] "Removed" section for context. +- **These test files live in the git repository's `tests/` directory and are not bundled inside the Guardian `.policy` export file.** To verify, clone the repo and inspect `tests/` directly. + +## What changed in this update (v2.1.1) +- **Removed dormant `uncertaintyDiscount` field** from `ER_Summary` schema end-to-end (properties, required array, JSON-LD context). The field's description "Fixed 0.89 per VMR0015" was factually incorrect; AMS-III.AV. mandates no blanket multiplier. +- **Canonical fixture updated to real VCS 3599 data for 2025H1.** Expected result is now **154,125.14 tCO₂e (rounded to 154,125)**, matching the project's ER spreadsheet and Verra Registry issuance, instead of the earlier illustrative 53,309.84 tCO₂e default-parameter fixture. +- **Rebuilt the calculation on the real AMS-III.AV. equations** (SEC = 357.48/nwb; BE = QPW·m·X_boil·SEC·(BL_fuel·f_i·EF_fuel·1e-9); ER = BE−PE−LE). +- **Set the water-quality gate to the methodology's real >10%-fail threshold** (pass-rate < 0.90 → ER = 0), fail-closed. +- **Bundled dry-run validation evidence** (recording + signed publish credential). +- **Aligned all documentation** (README, CHANGELOG, tests, formulas) to the real equations and cited the primary UNFCCC AMS-III.AV. source alongside Verra and the project's ER spreadsheet. + +## Sources +- VMR0015 v1.0 — https://verra.org/methodologies/vmr0015-revisiontoams-iii-av-low-greenhouse-gas-emitting-safe-drinking-water-production-systems-v1-0/ +- AMS-III.AV. v9.0 (primary; Eq. 1/5/7, Table 3, 357.48 constant) — https://cdm.unfccc.int/sunsetcms/storage/contents/stored-file-20250506190351296/MP97_EA06_AMS-III.AV_v09.0.pdf +- AMS-III.AV. original (357.35 derivation) — https://cdm.unfccc.int/sunsetcms/storage/contents/stored-file-20180620192618906/Annex%209%20-%20AMS-III.AV.pdf +- VCS 3599 ER spreadsheet — VCS-ERS-Project-3599-01JAN2025-30JUN2025.xlsx (sheet `Total ER`) +- Verra Registry — https://registry.verra.org/app/projectDetail/VCS/3599 diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/REVIEWER_COVER_NOTE.provenance.tmp.md b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/REVIEWER_COVER_NOTE.provenance.tmp.md new file mode 100644 index 0000000000..1fcec4d5c7 --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/REVIEWER_COVER_NOTE.provenance.tmp.md @@ -0,0 +1,24 @@ +> **Note on `.policy` export vs. repository:** The `VMR0015.policy` binary +> export does **not** bundle the `tests/`, `formulas/`, `tools/`, or `tokens/` +> directories — Guardian's export format includes only `policy.json`, +> `schemas/`, `systemSchemas/`, `proof.json`, and the IPFS package. The +> `tests/` and `formulas/` directories *inside* the `.policy` ZIP are therefore +> empty by design. All test artifacts (`VMR0015_dryrun_record.record`, +> `VMR0015_dryrun_publish_proof.csv`, fixture JSON) and the readable formula +> JSON live only in this repository under `tests/` and `formulas/`. To verify +> the dry-run evidence or inspect the formulas, **clone the repository and +> inspect `tests/` and `formulas/` there** — do not expect them inside the +> imported `.policy` bundle. + +- The dry-run record `tests/VMR0015_dryrun_record.record` was captured from this + `VMR0015.policy` export with the `calculate_report_fields` block implementing + the `pass_rate < 0.90` water-quality gate and the equations + `SEC = 357.48 / nwb`, `BE_y = QPW_y * m * X_boil * SEC * (BL_fuel * f_i * EF_fuel * 1e-9)`, + and `ER_y = BE_y - PE_y - LE_y`. Earlier 0.95-gate development builds were + discarded; no evidence files in this repository were generated from them. + +> Version note: The `policy.json` inside `VMR0015.policy` uses policy version +> `2.0.0` for this export. The `codeVersion` and `proof.json` entries show +> `1.5.1`, which is the Guardian engine/export format version, not a policy +> revision number. Submission-level changes (2.0.0, 2.1.0, 2.1.1) are tracked +> in `CHANGELOG.md`. diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/VMR0015 v1.0 Safe Drinking Water dMRV_2.0.0 (1).zip b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/VMR0015 v1.0 Safe Drinking Water dMRV_2.0.0 (1).zip new file mode 100644 index 0000000000..0f19c3fa8c Binary files /dev/null and b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/VMR0015 v1.0 Safe Drinking Water dMRV_2.0.0 (1).zip differ diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/VMR0015.policy b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/VMR0015.policy new file mode 100644 index 0000000000..ad9161c189 Binary files /dev/null and b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/VMR0015.policy differ diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/VMR0015_policy.json b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/VMR0015_policy.json new file mode 100644 index 0000000000..2b387585f3 --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/VMR0015_policy.json @@ -0,0 +1,7152 @@ +{ + "tenantId": "6a11a2e75c64afbda9f4c4aa", + "uuid": "cb34e5db-326f-4e24-b585-5effdf508cad", + "name": "VMR0015 v1.0 Safe Drinking Water dMRV", + "version": "2.0.0", + "description": "Verra VMR0015 methodology for low greenhouse-gas-emitting safe drinking water production systems. dMRV implementation on Hedera Guardian for the DLT Earth bounty.", + "topicDescription": "VMR0015 v1.0", + "creator": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "owner": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "policyRoles": [ + "Project Participant", + "VVB", + "Standard Registry" + ], + "policyNavigation": [ + { + "role": "Project Participant", + "steps": [ + { + "name": "Create project participant profile", + "block": "create_pp_profile", + "level": 1 + }, + { + "name": "Waiting for approval", + "block": "pp_wait_for_approve", + "level": 1 + }, + { + "name": "Projects", + "block": "Projects_pp", + "level": 1 + }, + { + "name": "Create project", + "block": "new_project", + "level": 2 + }, + { + "name": "Create monitoring report", + "block": "new_report", + "level": 2 + }, + { + "name": "Monitoring reports", + "block": "Monitoring_Reports_pp", + "level": 1 + }, + { + "name": "Assign report", + "block": "assign_vvb", + "level": 2 + }, + { + "name": "Tokens", + "block": "tokens", + "level": 1 + } + ] + }, + { + "role": "VVB", + "steps": [ + { + "name": "Create VVB Profile", + "block": "create_new_vvb", + "level": 1 + }, + { + "name": "Waiting for approval", + "block": "wait_for_approve", + "level": 1 + }, + { + "name": "Reports Queue", + "block": "report_grid_vvb", + "level": 1 + }, + { + "name": "Verify report", + "block": "approve_report_btn", + "level": 2 + } + ] + }, + { + "role": "Standard Registry", + "steps": [] + }, + { + "role": "NO_ROLE", + "steps": [ + { + "name": "Choose role", + "block": "role_selector", + "level": 1 + } + ] + }, + { + "role": "OWNER", + "steps": [ + { + "name": "VVBs", + "block": "sr_vvb_approval", + "level": 1 + }, + { + "name": "VVB approval", + "block": "approve_documents_btn", + "level": 2 + }, + { + "name": "Project Participants", + "block": "sr_pp_approval", + "level": 1 + }, + { + "name": "Project Participant approval", + "block": "approve_pp_documents_btn", + "level": 2 + }, + { + "name": "Projects", + "block": "sr_project_pipeline", + "level": 1 + }, + { + "name": "Project validation", + "block": "sr_validate_project_btn", + "level": 2 + }, + { + "name": "Monitoring reports", + "block": "sr_monitoring_pipeline", + "level": 1 + }, + { + "name": "Report approval", + "block": "sr_approve_report_btn", + "level": 2 + }, + { + "name": "VPs", + "block": "sr_verified_projects", + "level": 1 + }, + { + "name": "Trustchain", + "block": "sr_trustchain", + "level": 1 + } + ] + } + ], + "policyGroups": [], + "policyTopics": [ + { + "type": "any", + "name": "Project", + "description": "", + "static": true, + "memoObj": "topic" + } + ], + "policyTokens": [ + { + "templateTokenTag": "token1", + "tokenName": "CER VMR0015(Bikram)", + "tokenSymbol": "CER", + "tokenType": "fungible", + "decimals": "2", + "enableAdmin": true, + "changeSupply": true, + "enableFreeze": false, + "enableKYC": false, + "enableWipe": false + } + ], + "policyDocumentation": [], + "topicId": "0.0.9124171", + "instanceTopicId": "0.0.9124267", + "synchronizationTopicId": "0.0.9124268", + "commentsTopicId": "0.0.9124272", + "policyTag": "Tag_1780434035630.5bf2ebb9", + "codeVersion": "1.5.1", + "hash": "9ZDECzsbjaNJZVxpFvnHVWiKmwfjuCiyoEBRoMuq2Ss1", + "categories": [ + "65afb95a36032d4ea6775c68", + "65afb95a36032d4ea6775c6d", + "65afb95a36032d4ea6775c70", + "65afb95936032d4ea6775c57", + "65afb95936032d4ea6775c61" + ], + "categoriesExport": [ + { + "name": "Energy efficiency", + "type": "MITIGATION_ACTIVITY_TYPE" + }, + { + "name": "Energy for households and buildings", + "type": "SUB_TYPE" + }, + { + "name": "Energy demand", + "type": "SECTORAL_SCOPE" + }, + { + "name": "Small-Scale", + "type": "PROJECT_SCALE" + }, + { + "name": "Water purifier", + "type": "APPLIED_TECHNOLOGY_TYPE" + } + ], + "projectSchema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "tools": [], + "restoreTopicId": "0.0.9124269", + "availability": "public", + "locationType": "local", + "actionsTopicId": "0.0.9124270", + "recordsTopicId": "0.0.9124271", + "autoRecordSteps": true, + "config": { + "blockType": "interfaceContainerBlock", + "id": "177ee6e0-c2e1-4ad8-859a-fa3ffe6ca45c", + "uiMetaData": { + "type": "blank" + }, + "permissions": [ + "ANY_ROLE" + ], + "defaultActive": true, + "onErrorAction": "no-action", + "tag": "", + "children": [ + { + "id": "37080296-a83d-4fcd-899f-9eecc0166b66", + "blockType": "policyRolesBlock", + "defaultActive": true, + "uiMetaData": { + "title": "Roles", + "description": "Choose Roles" + }, + "roles": [ + "Project Participant", + "VVB" + ], + "permissions": [ + "NO_ROLE" + ], + "tag": "role_selector", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "3af18c5a-d662-4cf4-b0f0-afcea16a986b", + "blockType": "interfaceContainerBlock", + "defaultActive": true, + "uiMetaData": { + "type": "tabs" + }, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "tag": "sr_header", + "children": [ + { + "id": "9735985a-4ea6-4e33-9c93-6232503d83b4", + "blockType": "interfaceContainerBlock", + "defaultActive": true, + "uiMetaData": { + "type": "blank", + "title": "Approve PP" + }, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "tag": "sr_pp_approval", + "children": [ + { + "id": "29ee905e-cbd7-4bfc-acfb-e4040616dc47", + "blockType": "interfaceDocumentsSourceBlock", + "defaultActive": true, + "uiMetaData": { + "fields": [ + { + "title": "Owner", + "name": "document.issuer", + "tooltip": "", + "type": "text" + }, + { + "title": "Text", + "name": "document.credentialSubject.0.field0", + "tooltip": "", + "type": "text" + }, + { + "title": "Operation", + "name": "option.status", + "tooltip": "", + "type": "block", + "action": "", + "url": "", + "dialogContent": "", + "dialogClass": "", + "dialogType": "", + "bindBlock": "approve_pp_documents_btn", + "width": "250px", + "bindGroup": "pp_grid_sr_documents_to_approve" + }, + { + "title": "Document", + "name": "document", + "tooltip": "", + "type": "button", + "action": "dialog", + "url": "", + "dialogContent": "VC", + "dialogClass": "", + "dialogType": "json", + "bindBlock": "", + "content": "View Document", + "uiClass": "link" + }, + { + "title": "Operation", + "name": "", + "tooltip": "", + "type": "block", + "action": "", + "url": "", + "dialogContent": "", + "dialogClass": "", + "dialogType": "", + "bindBlock": "revoke_pp_sr_btn", + "bindGroup": "pp_grid_sr_documents_approved", + "width": "100px" + }, + { + "title": "Operation", + "name": "option.status", + "tooltip": "", + "type": "text", + "width": "250px" + } + ] + }, + "permissions": [ + "OWNER" + ], + "dependencies": [ + "save_new_approve_document" + ], + "onErrorAction": "no-action", + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "tag": "pp_grid_sr", + "children": [ + { + "id": "776c2e3f-e238-4f5a-b0f1-cda428a093eb", + "blockType": "documentsSourceAddon", + "defaultActive": true, + "permissions": [ + "OWNER" + ], + "filters": [ + { + "value": "pp", + "field": "type", + "type": "equal" + }, + { + "value": "Waiting for approval", + "field": "option.status", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "onErrorAction": "no-action", + "tag": "pp_grid_sr_documents_to_approve", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "c06e3909-5421-4aaf-aac9-f496e2f07741", + "blockType": "documentsSourceAddon", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "filters": [ + { + "value": "approved_pp", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "onlyOwnDocuments": false, + "uiMetaData": { + "type": "blank" + }, + "tag": "pp_grid_sr_documents_approved", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "e938a1e3-894f-44a4-b8d0-19a16f83a0e2", + "blockType": "documentsSourceAddon", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "filters": [ + { + "value": "rejected_pp", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "onlyOwnDocuments": false, + "uiMetaData": { + "type": "blank" + }, + "tag": "pp_grid_sr_documents_approved_rejected", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "80c1351a-a753-413d-b737-b4efd6ecae08", + "blockType": "historyAddon", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "tag": "pp_grid_sr_history", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "ec04fb42-80ba-421c-b1df-e389d8e1eb06", + "blockType": "buttonBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": { + "buttons": [ + { + "tag": "Button_0", + "name": "Approve", + "type": "selector", + "filters": [], + "field": "option.status", + "value": "APPROVED", + "uiClass": "btn-approve" + }, + { + "tag": "Button_1", + "name": "Reject", + "type": "selector-dialog", + "filters": [], + "title": "Reject", + "description": "Enter reject reason", + "field": "option.status", + "value": "REJECTED", + "uiClass": "btn-reject" + } + ] + }, + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "tag": "approve_pp_documents_btn", + "children": [], + "events": [ + { + "target": "save_approved_pp", + "source": "approve_pp_documents_btn", + "input": "RunEvent", + "output": "Button_0", + "actor": "", + "disabled": false + }, + { + "target": "save_rejected_pp", + "source": "approve_pp_documents_btn", + "input": "RunEvent", + "output": "Button_1", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "e8c96c1f-4d8a-48bf-84b2-2941f7b88ac2", + "blockType": "buttonBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": { + "buttons": [ + { + "tag": "Button_0", + "name": "Revoke", + "type": "selector-dialog", + "filters": [ + { + "value": "Revoked", + "field": "option.status", + "type": "not_equal" + } + ], + "title": "Revoke", + "description": "Enter revoke reason" + } + ] + }, + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "tag": "revoke_pp_sr_btn", + "children": [], + "events": [ + { + "target": "revoke_pp_sr", + "source": "revoke_pp_sr_btn", + "input": "RunEvent", + "output": "Button_0", + "actor": "owner", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "d40c85a8-3191-4a39-9193-48375b4496c1", + "blockType": "revocationBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "updatePrevDoc": true, + "prevDocStatus": "Waiting for approval", + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "tag": "revoke_pp_sr", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "15c7d3b9-c22b-4483-82db-9a73364f4b3c", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "uiMetaData": {}, + "entityType": "", + "dataType": "vc-documents", + "onErrorAction": "no-action", + "options": [ + { + "name": "status", + "value": "Revoked" + } + ], + "dataSource": "database", + "documentType": "document", + "stopPropagation": false, + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "tag": "save_revoke_pp_sr", + "children": [], + "events": [ + { + "target": "pp_wait_for_approve", + "source": "save_revoke_pp_sr", + "input": "RunEvent", + "output": "RunEvent", + "actor": "", + "disabled": false + }, + { + "target": "project_grid_sr", + "source": "save_revoke_pp_sr", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "report_grid_sr", + "source": "save_revoke_pp_sr", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "vp_grid", + "source": "save_revoke_pp_sr", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "report_grid_vvb", + "source": "save_revoke_pp_sr", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "402e139c-5fc2-4cbc-b771-5c7742d19a82", + "blockType": "interfaceContainerBlock", + "defaultActive": true, + "uiMetaData": { + "type": "blank", + "title": "Approve VVB" + }, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "sr_vvb_approval", + "children": [ + { + "id": "4a4fdbcd-56a8-457c-a4b7-a9f21d2db093", + "blockType": "interfaceDocumentsSourceBlock", + "defaultActive": true, + "uiMetaData": { + "fields": [ + { + "title": "Owner", + "name": "document.issuer", + "tooltip": "", + "type": "text" + }, + { + "title": "Text", + "name": "document.credentialSubject.0.field0", + "tooltip": "", + "type": "text" + }, + { + "title": "Operation", + "name": "option.status", + "tooltip": "", + "type": "block", + "action": "", + "url": "", + "dialogContent": "", + "dialogClass": "", + "dialogType": "", + "bindBlock": "approve_documents_btn", + "width": "250px", + "bindGroup": "vvb_grid_sr_documents_to_approve" + }, + { + "title": "Document", + "name": "document", + "tooltip": "", + "type": "button", + "action": "dialog", + "url": "", + "dialogContent": "VC", + "dialogClass": "", + "dialogType": "json", + "bindBlock": "", + "content": "View Document", + "uiClass": "link" + }, + { + "title": "Operation", + "name": "", + "tooltip": "", + "type": "block", + "action": "", + "url": "", + "dialogContent": "", + "dialogClass": "", + "dialogType": "", + "bindBlock": "revoke_vvb_sr_btn", + "bindGroup": "vvb_grid_sr_documents_approved", + "width": "250px" + }, + { + "title": "Operation", + "name": "option.status", + "tooltip": "", + "type": "text", + "width": "250px" + } + ] + }, + "permissions": [ + "OWNER" + ], + "dependencies": [ + "save_new_approve_document" + ], + "onErrorAction": "no-action", + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "vvb_grid_sr", + "children": [ + { + "id": "135e2650-1be0-4ba2-ae88-026ec73d684d", + "blockType": "documentsSourceAddon", + "defaultActive": true, + "permissions": [ + "OWNER" + ], + "filters": [ + { + "value": "vvb", + "field": "type", + "type": "equal" + }, + { + "value": "Waiting for approval", + "field": "option.status", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "onErrorAction": "no-action", + "tag": "vvb_grid_sr_documents_to_approve", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "f4bc2c96-9dc5-4ab2-accf-49f98fbfa21a", + "blockType": "documentsSourceAddon", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "filters": [ + { + "value": "approved_vvb", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "", + "onlyOwnDocuments": false, + "uiMetaData": { + "type": "blank" + }, + "tag": "vvb_grid_sr_documents_approved", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "4c144a96-034e-4313-ada4-f45ce668bb2a", + "blockType": "documentsSourceAddon", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "filters": [ + { + "value": "rejected_vvb", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "onlyOwnDocuments": false, + "uiMetaData": { + "type": "blank" + }, + "tag": "vvb_grid_sr_documents_approved_rejected", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "493423bf-8493-4713-9eee-93490155c19f", + "blockType": "historyAddon", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "tag": "history_addon_35a0bfb0-72a2-4dde-a107-ce356544a9c7", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "ffa632fe-558a-4fa2-87cd-c3c637531ecd", + "blockType": "buttonBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": { + "buttons": [ + { + "tag": "Button_0", + "name": "Approve", + "type": "selector", + "filters": [], + "field": "option.status", + "value": "APPROVED", + "uiClass": "btn-approve" + }, + { + "tag": "Button_1", + "name": "Reject", + "type": "selector-dialog", + "filters": [], + "title": "Reject", + "description": "Enter reject reason", + "field": "option.status", + "value": "REJECTED", + "uiClass": "btn-reject" + } + ] + }, + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "approve_documents_btn", + "children": [], + "events": [ + { + "target": "update_approve_document_status", + "source": "approve_documents_btn", + "input": "RunEvent", + "output": "Button_0", + "actor": "", + "disabled": false + }, + { + "target": "update_approve_document_status_2", + "source": "approve_documents_btn", + "input": "RunEvent", + "output": "Button_1", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "a2534ba2-6184-4128-a142-426953bf3801", + "blockType": "buttonBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": { + "buttons": [ + { + "tag": "Button_0", + "name": "Revoke", + "type": "selector-dialog", + "filters": [ + { + "value": "Revoked", + "field": "option.status", + "type": "not_equal" + } + ], + "title": "Revoke", + "description": "Enter revoke reason" + } + ] + }, + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "revoke_vvb_sr_btn", + "children": [], + "events": [ + { + "target": "revoke_vvb_sr", + "source": "revoke_vvb_sr_btn", + "input": "RunEvent", + "output": "Button_0", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "14f97cc8-628d-4578-8639-f51aeed42110", + "blockType": "revocationBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "updatePrevDoc": true, + "prevDocStatus": "Waiting for approval", + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "revoke_vvb_sr", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "faf9fda8-50fa-4879-907c-09e1e55e822c", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "uiMetaData": {}, + "entityType": "", + "dataType": "vc-documents", + "onErrorAction": "no-action", + "options": [ + { + "name": "status", + "value": "Revoked" + } + ], + "dataSource": "database", + "documentType": "document", + "stopPropagation": false, + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "save_revoke_vvb_sr", + "children": [], + "events": [ + { + "target": "vvb_grid_sr", + "source": "save_revoke_vvb_sr", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "report_grid_sr", + "source": "save_revoke_vvb_sr", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "vp_grid", + "source": "save_revoke_vvb_sr", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "8fa49efe-3db5-4412-891c-a7434f28fef2", + "blockType": "switchBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "executionFlow": "firstTrue", + "conditions": [ + { + "type": "equal", + "value": "true == true", + "actor": "owner", + "target": "wait_for_approve", + "tag": "Condition_0" + } + ], + "tag": "return_vvb_to_wait", + "children": [], + "events": [ + { + "target": "wait_for_approve", + "source": "return_vvb_to_wait", + "input": "RunEvent", + "output": "Condition_0", + "actor": "owner", + "disabled": false + }, + { + "target": "", + "source": "return_vvb_to_wait", + "input": "RunEvent", + "output": "Condition_0", + "actor": "", + "disabled": false + }, + { + "target": "", + "source": "return_vvb_to_wait", + "input": "RunEvent", + "output": "Condition_0", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "484c94d5-8fbf-4809-b9e4-52ff3436e5cf", + "blockType": "interfaceContainerBlock", + "defaultActive": true, + "uiMetaData": { + "title": "Project Pipeline", + "type": "blank" + }, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "tag": "sr_project_pipeline", + "children": [ + { + "id": "676fab76-6f15-4280-a81a-a42001e3fa6e", + "blockType": "interfaceDocumentsSourceBlock", + "defaultActive": true, + "uiMetaData": { + "fields": [ + { + "title": "Summary", + "name": "document.credentialSubject.0.field0.field0", + "tooltip": "", + "type": "text" + }, + { + "title": "Status", + "name": "option.status", + "tooltip": "", + "type": "text", + "width": "150px" + }, + { + "title": "Operations", + "name": "", + "tooltip": "", + "type": "block", + "action": "", + "url": "", + "dialogContent": "", + "dialogClass": "", + "dialogType": "", + "bindBlock": "sr_validate_project_btn", + "bindGroup": "project_grid_sr_waiting_for_validation", + "width": "250px" + }, + { + "title": "Operations", + "name": "", + "tooltip": "", + "type": "block", + "action": "", + "url": "", + "dialogContent": "", + "dialogClass": "", + "dialogType": "", + "bindBlock": "sr_revoke_project_btn", + "bindGroup": "project_grid_sr_validated_revoked", + "width": "250px" + }, + { + "title": "Document", + "name": "document", + "tooltip": "", + "type": "button", + "action": "dialog", + "url": "", + "dialogContent": "VC", + "dialogClass": "", + "dialogType": "json", + "bindBlock": "", + "content": "View Document", + "uiClass": "link", + "width": "150px" + } + ], + "type": "blank" + }, + "permissions": [ + "OWNER" + ], + "dependencies": [ + "reject_project_status", + "save_assign", + "save_project", + "save_reassign_project" + ], + "onErrorAction": "no-action", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "tag": "project_grid_sr", + "children": [ + { + "id": "942c41d1-c096-44b1-87a2-83aaf00bcd65", + "blockType": "documentsSourceAddon", + "defaultActive": true, + "permissions": [ + "OWNER" + ], + "filters": [ + { + "title": "", + "name": "", + "tooltip": "", + "type": "equal", + "value": "Waiting for Validation", + "field": "option.status" + }, + { + "value": "project", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "onErrorAction": "no-action", + "tag": "project_grid_sr_waiting_for_validation", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "09f18a72-e37a-4a43-af40-5c9b9827a219", + "blockType": "documentsSourceAddon", + "defaultActive": true, + "permissions": [ + "OWNER" + ], + "filters": [ + { + "value": "approved_project", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "onErrorAction": "no-action", + "tag": "project_grid_sr_validated_revoked", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "63193268-0980-4737-b42d-ce114568a41a", + "blockType": "documentsSourceAddon", + "defaultActive": true, + "permissions": [ + "OWNER" + ], + "filters": [ + { + "value": "rejected_project", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "onErrorAction": "no-action", + "tag": "project_grid_sr_rejected", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "391026a0-4952-4226-96cc-85f3ddc64327", + "blockType": "historyAddon", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "tag": "sr_project_grid_history", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "aaf05bfa-4371-4e37-8621-8b7faba50185", + "blockType": "buttonBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": { + "buttons": [ + { + "tag": "Button_0", + "name": "Validate", + "type": "selector", + "filters": [], + "field": "option.status", + "value": "Validated", + "uiClass": "btn-approve" + }, + { + "tag": "Button_1", + "name": "Reject", + "type": "selector-dialog", + "filters": [], + "title": "Reject", + "description": "Enter reject reason", + "field": "option.status", + "value": "REJECTED", + "uiClass": "btn-reject" + } + ] + }, + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "tag": "sr_validate_project_btn", + "children": [], + "events": [ + { + "target": "sr_save_validated_project", + "source": "sr_validate_project_btn", + "input": "RunEvent", + "output": "Button_0", + "actor": "", + "disabled": false + }, + { + "target": "sr_save_rejected_project", + "source": "sr_validate_project_btn", + "input": "RunEvent", + "output": "Button_1", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "aec1a2b2-f2bd-467c-a1e9-03a133e76bd7", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [ + { + "name": "status", + "value": "Validated" + } + ], + "dataSource": "database", + "dataType": "vc-documents", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "tag": "sr_save_validated_project", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "0cc09bc3-4491-4e2b-baf8-b563ea8d3e85", + "blockType": "reassigningBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "issuer": "", + "actor": "", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "tag": "sr_reassign_validated_project", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "40eee950-f6c6-4684-b885-aca0da015e5e", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [], + "dataSource": "hedera", + "entityType": "approved_project", + "topic": "Project", + "dataType": "", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "tag": "sr_save_reassigned_validated_project_hedera", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "436a1cde-cbf6-4e28-9f60-d3dc8ac6eb55", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [], + "dataSource": "database", + "stopPropagation": true, + "dataType": "vc-documents", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "entityType": "approved_project", + "tag": "sr_save_reassigned_validated_project_db", + "children": [], + "events": [ + { + "target": "project_grid_pp_2", + "source": "sr_save_reassigned_validated_project_db", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "8a8204cf-649e-48ad-88ea-c9502b734141", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [ + { + "name": "status", + "value": "REJECTED" + } + ], + "dataSource": "database", + "dataType": "vc-documents", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "tag": "sr_save_rejected_project", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "8bee04f9-c80a-45a3-8980-3db7d998446f", + "blockType": "reassigningBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "tag": "sr_reassign_rejected_project", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "59314186-0fd6-4df7-be0b-fe95c2f74824", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [], + "dataSource": "hedera", + "entityType": "rejected_project", + "topic": "Project", + "dataType": "", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "tag": "sr_save_reassigned_rejected_project_hedera", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "ecdab361-adbf-4400-be7f-e5f444f072d7", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [], + "dataSource": "database", + "stopPropagation": true, + "dataType": "vc-documents", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "tag": "sr_save_reassigned_rejected_project_db", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "ff8735f7-efff-4bfb-8351-f9aa5d9b5591", + "blockType": "buttonBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": { + "buttons": [ + { + "tag": "Button_0", + "name": "Revoke", + "type": "selector-dialog", + "filters": [ + { + "value": "Revoked", + "field": "option.status", + "type": "not_equal" + } + ], + "title": "Revoke", + "description": "Enter revoke reason" + } + ] + }, + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "tag": "sr_revoke_project_btn", + "children": [], + "events": [ + { + "target": "sr_revoke_project", + "source": "sr_revoke_project_btn", + "input": "RunEvent", + "output": "Button_0", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "7c9b6b4a-c834-40af-bf9a-5b861538ac25", + "blockType": "revocationBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "updatePrevDoc": true, + "prevDocStatus": "Waiting for Validation", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "tag": "sr_revoke_project", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "dab5eb0f-e6c7-4cee-a258-a97e4d9644ab", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [ + { + "name": "status", + "value": "Revoked" + } + ], + "dataSource": "database", + "dataType": "vc-documents", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "tag": "sr_save_revoked_projects", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "4331b303-4caa-4888-a004-2b517079cd62", + "blockType": "interfaceContainerBlock", + "defaultActive": true, + "permissions": [ + "OWNER" + ], + "uiMetaData": { + "type": "blank", + "title": "Monitoring Reports" + }, + "onErrorAction": "no-action", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "sr_monitoring_pipeline", + "children": [ + { + "id": "2e262317-8bff-48b8-9df1-02d94dc455a1", + "blockType": "interfaceDocumentsSourceBlock", + "defaultActive": true, + "permissions": [ + "OWNER" + ], + "uiMetaData": { + "fields": [ + { + "title": "Summary", + "name": "document.credentialSubject.0.field0.field0", + "tooltip": "", + "type": "text" + }, + { + "title": "Project", + "name": "document.credentialSubject.0.ref", + "tooltip": "", + "type": "text" + }, + { + "title": "Status", + "name": "option.status", + "tooltip": "", + "type": "text", + "width": "150px" + }, + { + "title": "Operation", + "name": "option.status", + "tooltip": "", + "type": "block", + "action": "", + "url": "", + "dialogContent": "", + "dialogClass": "", + "dialogType": "", + "bindBlock": "sr_approve_report_btn", + "bindGroup": "report_grid_sr_verified_approved_reports", + "width": "250px" + }, + { + "title": "Document", + "name": "document", + "tooltip": "", + "type": "button", + "action": "dialog", + "url": "", + "dialogContent": "VC", + "dialogClass": "", + "dialogType": "json", + "bindBlock": "", + "content": "View Document", + "uiClass": "link" + }, + { + "title": "Operation", + "name": "", + "tooltip": "", + "type": "block", + "action": "", + "url": "", + "dialogContent": "", + "dialogClass": "", + "dialogType": "", + "bindBlock": "sr_revoke_report_btn", + "bindGroup": "report_grid_sr_approved_revoked", + "width": "" + } + ] + }, + "dependencies": [ + "save_mint_status", + "save_reassign_report" + ], + "onErrorAction": "no-action", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "report_grid_sr", + "children": [ + { + "id": "551bb2ec-cc9c-484e-a83b-2c854909e05a", + "blockType": "buttonBlock", + "defaultActive": true, + "permissions": [ + "OWNER" + ], + "uiMetaData": { + "options": [ + { + "title": "", + "name": "Mint", + "tooltip": "", + "type": "text", + "value": "Minting", + "uiClass": "btn-approve", + "bindBlock": "save_mint_status", + "tag": "Option_0" + } + ], + "content": "Monitoring Report", + "buttons": [ + { + "tag": "Button_0", + "name": "Approve", + "type": "selector", + "filters": [], + "field": "option.status", + "value": "Minted", + "uiClass": "btn-approve" + }, + { + "tag": "Button_1", + "name": "Reject", + "type": "selector", + "filters": [], + "field": "option.status", + "value": "Rejected", + "uiClass": "btn-reject" + } + ] + }, + "type": "selector", + "field": "option.status", + "onErrorAction": "no-action", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "sr_approve_report_btn", + "children": [], + "events": [ + { + "target": "sr_save_approved_report", + "source": "sr_approve_report_btn", + "input": "RunEvent", + "output": "Button_0", + "actor": "", + "disabled": false + }, + { + "target": "sr_save_rejected_report", + "source": "sr_approve_report_btn", + "input": "RunEvent", + "output": "Button_1", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "7f0a8259-d446-4bf3-9f7f-219227c77a4c", + "blockType": "documentsSourceAddon", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "filters": [ + { + "title": "", + "name": "", + "tooltip": "", + "type": "equal", + "field": "option.status", + "value": "Verified" + }, + { + "value": "approved_report", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "onErrorAction": "no-action", + "tag": "report_grid_sr_verified_approved_reports", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "18b359d0-1e6b-42aa-9bc1-54effbc80d49", + "blockType": "documentsSourceAddon", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "filters": [ + { + "value": "approved_report_sr", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "onErrorAction": "no-action", + "tag": "report_grid_sr_approved_revoked", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "4e33aff9-daee-4943-9cdd-3fda9dc9d5fb", + "blockType": "documentsSourceAddon", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "filters": [ + { + "value": "rejected_report_sr", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "onErrorAction": "no-action", + "tag": "report_grid_sr_rejected", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "dea16cda-0c4b-4d42-890f-3565d96bd0bf", + "blockType": "historyAddon", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "tag": "history_addon_97744a6d-4bd6-4281-9075-3695b76475f1", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "7cd457f6-1c14-4a9b-9a50-36743c98f294", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "uiMetaData": {}, + "options": [ + { + "name": "status", + "value": "Minted" + } + ], + "entityType": "", + "dataType": "vc-documents", + "onErrorAction": "no-action", + "dataSource": "database", + "documentType": "vc", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "sr_save_approved_report", + "children": [], + "events": [ + { + "target": "report_grid_vvb", + "source": "sr_save_approved_report", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "sr_reassign_approved_report", + "source": "sr_save_approved_report", + "input": "RunEvent", + "output": "RunEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "83423176-a252-4d5b-bec3-7b9d1196e6f4", + "blockType": "reassigningBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "sr_reassign_approved_report", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "8daab603-20dd-4889-93ea-def7be38e767", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [], + "dataSource": "hedera", + "topic": "Project", + "entityType": "approved_report_sr", + "dataType": "", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "sr_save_reassigned_approved_report_hedera", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "503bc50e-c985-4535-8fc3-6759937614b7", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [], + "dataSource": "database", + "dataType": "vc-documents", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "sr_save_reassigned_approved_report_db", + "children": [], + "events": [ + { + "target": "create_issuance_request", + "source": "sr_save_reassigned_approved_report_db", + "input": "RunEvent", + "output": "RunEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "b599d83e-5919-4425-ac5f-93d3e741a6ab", + "blockType": "requestVcDocumentBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "uiMetaData": { + "type": "dialog", + "content": "Issuance Request", + "dialogContent": "Submit Issuance Request to mint CER tokens", + "privateFields": [], + "description": "", + "buttonClass": "" + }, + "idType": "UUID", + "schema": "#5e4e2acc-7647-4c2d-aaa6-930c2700cc42&1.0.0", + "onErrorAction": "no-action", + "presetFields": [], + "stopPropagation": false, + "editType": "new", + "tag": "create_issuance_request", + "children": [], + "events": [ + { + "target": "save_issuance_request_hedera", + "source": "create_issuance_request", + "input": "RunEvent", + "output": "RunEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "38aa00f4-feff-47af-b2e5-87b06cd05831", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "uiMetaData": {}, + "options": [], + "dataSource": "hedera", + "documentType": "vc", + "topic": "Project", + "entityType": "issuance_request", + "dataType": "", + "onErrorAction": "no-action", + "stopPropagation": false, + "schema": "#5e4e2acc-7647-4c2d-aaa6-930c2700cc42&1.0.0", + "tag": "save_issuance_request_hedera", + "children": [], + "events": [ + { + "target": "save_issuance_request_db", + "source": "save_issuance_request_hedera", + "input": "RunEvent", + "output": "RunEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "3b9fccd8-1e9c-4024-af12-cd43439a1e55", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "uiMetaData": {}, + "options": [], + "dataSource": "database", + "documentType": "vc", + "entityType": "issuance_request", + "dataType": "vc-documents", + "onErrorAction": "no-action", + "stopPropagation": true, + "schema": "#5e4e2acc-7647-4c2d-aaa6-930c2700cc42&1.0.0", + "tag": "save_issuance_request_db", + "children": [], + "events": [ + { + "target": "mintToken", + "source": "save_issuance_request_db", + "input": "RunEvent", + "output": "RunEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "a0346e4e-97c3-4f8e-88d4-c99337787a97", + "blockType": "mintDocumentBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "uiMetaData": {}, + "rule": "field6", + "tokenId": "token1", + "onErrorAction": "no-action", + "accountType": "default", + "stopPropagation": true, + "useTemplate": true, + "template": "token1", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "mintToken", + "children": [], + "events": [ + { + "target": "tokens_grid", + "source": "mintToken", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "vp_grid", + "source": "mintToken", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "73962d36-98c5-4677-b7bb-05f635c76dc4", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "uiMetaData": {}, + "options": [ + { + "name": "status", + "value": "Rejected" + } + ], + "entityType": "", + "dataType": "vc-documents", + "onErrorAction": "no-action", + "dataSource": "database", + "documentType": "vc", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "sr_save_rejected_report", + "children": [], + "events": [ + { + "target": "report_grid_vvb", + "source": "sr_save_rejected_report", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "8098b15c-31fe-4abf-924a-19d3c65c09e5", + "blockType": "reassigningBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "sr_reassign_rejected_report", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "11969845-47f1-4033-89f9-1ab2e32cae5e", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [], + "dataSource": "hedera", + "topic": "Project", + "entityType": "rejected_report_sr", + "dataType": "", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "sr_save_reassigned_rejected_report_hedera", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "4e4ac851-f951-4b4d-ace1-e8279304d0f2", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [], + "dataSource": "database", + "stopPropagation": true, + "dataType": "vc-documents", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "sr_save_reassigned_rejected_report_db", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "cdc04b16-d57a-4031-9b38-7fb24b0ea6fc", + "blockType": "buttonBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": { + "buttons": [ + { + "tag": "Button_0", + "name": "Revoke", + "type": "selector-dialog", + "filters": [ + { + "value": "Revoked", + "field": "option.status", + "type": "not_equal" + } + ], + "title": "Revoke", + "description": "Enter revoke reason" + } + ] + }, + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "sr_revoke_report_btn", + "children": [], + "events": [ + { + "target": "sr_revoke_reports", + "source": "sr_revoke_report_btn", + "input": "RunEvent", + "output": "Button_0", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "917a9235-9af2-4a92-8439-ca54783ba80d", + "blockType": "revocationBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "updatePrevDoc": true, + "prevDocStatus": "Verified", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "sr_revoke_reports", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "f3316790-b92e-43c9-a1cc-57395276cf20", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [ + { + "name": "status", + "value": "Revoked" + } + ], + "dataSource": "database", + "dataType": "vc-documents", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "sr_save_revoked_reports", + "children": [], + "events": [ + { + "target": "report_grid_vvb", + "source": "sr_save_revoked_reports", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "tokens_grid", + "source": "sr_save_revoked_reports", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "vp_grid", + "source": "sr_save_revoked_reports", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "2521a6dc-248b-41a4-8549-936ea9826727", + "blockType": "interfaceContainerBlock", + "defaultActive": true, + "permissions": [ + "OWNER" + ], + "uiMetaData": { + "type": "blank", + "title": "Token History" + }, + "tag": "sr_verified_projects", + "children": [ + { + "id": "d68b13f8-970e-495f-994d-d8791ed35228", + "blockType": "interfaceDocumentsSourceBlock", + "defaultActive": true, + "permissions": [ + "OWNER" + ], + "uiMetaData": { + "fields": [ + { + "title": "HASH", + "name": "hash", + "tooltip": "", + "type": "text" + }, + { + "title": "Project", + "name": "document.verifiableCredential.0.credentialSubject.0.field0.field0", + "tooltip": "", + "type": "text" + }, + { + "title": "Date", + "name": "updateDate", + "tooltip": "", + "type": "text" + }, + { + "title": "Amount", + "name": "document.verifiableCredential.1.credentialSubject.0.amount", + "tooltip": "", + "type": "text" + }, + { + "title": "sr_trustchain", + "name": "hash", + "tooltip": "", + "type": "button", + "action": "link", + "url": "", + "dialogContent": "", + "dialogClass": "", + "dialogType": "", + "bindBlock": "vmr0015_trust_chain_report", + "content": "View verification report", + "width": "150px" + } + ] + }, + "onErrorAction": "no-action", + "dependencies": [ + "mintToken" + ], + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "vp_grid", + "children": [ + { + "id": "cd51c29e-ddc4-4b9b-9f4f-4aa263c3140c", + "blockType": "documentsSourceAddon", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "filters": [], + "dataType": "vc-documents", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "onErrorAction": "no-action", + "tag": "vp_grid_vp_documents", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "547af970-aa0e-47dc-8458-7abdde5ed07f", + "blockType": "interfaceDocumentsSourceBlock", + "defaultActive": true, + "permissions": [ + "OWNER" + ], + "uiMetaData": { + "fields": [ + { + "title": "Owner", + "name": "document.issuer", + "tooltip": "", + "type": "text" + }, + { + "title": "Status", + "name": "option.status", + "tooltip": "", + "type": "text" + }, + { + "title": "Document", + "name": "document", + "tooltip": "", + "type": "button", + "action": "dialog", + "url": "", + "dialogContent": "VC", + "dialogClass": "", + "dialogType": "json", + "bindBlock": "", + "content": "View Document", + "uiClass": "link" + } + ], + "type": "blank", + "title": "Policy Registry Index" + }, + "onErrorAction": "no-action", + "schema": "#c327b0d0-a51e-4000-b043-c4815130a487&1.0.0", + "tag": "policy_registry_index_grid", + "children": [ + { + "id": "4ee7db55-a435-46e0-9876-533f1ccfff75", + "blockType": "documentsSourceAddon", + "defaultActive": true, + "permissions": [ + "OWNER" + ], + "filters": [ + { + "value": "policy_registry_index", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#c327b0d0-a51e-4000-b043-c4815130a487&1.0.0", + "onErrorAction": "no-action", + "tag": "policy_registry_index_grid_source", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "4c6e3572-0b07-4151-96a1-e0ae1eda4c66", + "blockType": "interfaceContainerBlock", + "defaultActive": true, + "permissions": [ + "OWNER" + ], + "uiMetaData": { + "type": "blank", + "title": "Trust Chain" + }, + "tag": "sr_trustchain", + "children": [ + { + "id": "86e56106-99fb-4404-b1f8-69d66cfa4875", + "blockType": "reportBlock", + "defaultActive": true, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "tag": "vmr0015_trust_chain_report", + "children": [ + { + "id": "6a3b28eb-1ac5-458c-b9a8-b244ab2c7445", + "blockType": "reportItemBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "filters": [ + { + "field": "document.id", + "value": "actionId", + "typeValue": "variable", + "type": "equal" + } + ], + "variables": [ + { + "name": "mint_token_relationships", + "value": "relationships" + } + ], + "icon": "mint", + "title": "Mint Token", + "description": "Mint CERs", + "visible": true, + "onErrorAction": "no-action", + "iconType": "COMMON", + "dynamicFilters": [], + "tag": "MintTokenItem", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "51857062-2bc6-4165-927b-187a8dfb0bb9", + "blockType": "reportItemBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "filters": [ + { + "type": "in", + "typeValue": "variable", + "field": "messageId", + "value": "mint_token_relationships" + }, + { + "type": "equal", + "typeValue": "value", + "field": "type", + "value": "approved_report_sr" + } + ], + "variables": [ + { + "value": "relationships", + "name": "rep_mon_apr_relationships" + } + ], + "visible": true, + "title": "Monitoring Report", + "description": "Monitoring Report Minted", + "icon": "report", + "onErrorAction": "no-action", + "iconType": "COMMON", + "dynamicFilters": [], + "tag": "ReportMonitoringReportApproved", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "0b2b2c34-f96c-486a-aa7d-0def7a2d59a8", + "blockType": "reportItemBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "filters": [ + { + "type": "in", + "typeValue": "variable", + "field": "messageId", + "value": "rep_mon_apr_relationships" + }, + { + "type": "equal", + "typeValue": "value", + "field": "type", + "value": "approved_report" + } + ], + "variables": [ + { + "value": "relationships", + "name": "rep_mon_ver_relationships" + } + ], + "visible": true, + "title": "Monitoring Report", + "description": "Monitoring Report Verified ", + "icon": "report", + "onErrorAction": "no-action", + "iconType": "COMMON", + "dynamicFilters": [], + "tag": "ReportMonitoringReportVerified", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "e1f07548-1b14-4970-b9e4-ce33f07cb129", + "blockType": "reportItemBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "filters": [ + { + "type": "in", + "typeValue": "variable", + "field": "messageId", + "value": "rep_mon_ver_relationships" + }, + { + "type": "equal", + "typeValue": "value", + "field": "type", + "value": "report" + } + ], + "variables": [ + { + "name": "auto_mon_rep_relationships", + "value": "relationships" + } + ], + "visible": true, + "description": "Automatic completion of MonitoringReport fields", + "title": "Monitoring Report", + "iconType": "COMMON", + "dynamicFilters": [], + "tag": "AutomaticMonitoringReport", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "afff2976-77a1-4d1e-8bc1-9653dc6a141d", + "blockType": "reportItemBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "filters": [ + { + "type": "in", + "typeValue": "variable", + "field": "messageId", + "value": "auto_mon_rep_relationships" + }, + { + "type": "equal", + "typeValue": "value", + "field": "type", + "value": "report_form" + } + ], + "variables": [ + { + "name": "rep_mon_rep_relationships", + "value": "relationships" + } + ], + "visible": true, + "description": "Monitoring Report Created", + "title": "Monitoring Report", + "iconType": "COMMON", + "dynamicFilters": [], + "tag": "ReportMonitoringReportCreated", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "4717b94d-798e-4261-8709-a57b2dea79c9", + "blockType": "reportItemBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "filters": [ + { + "value": "rep_mon_rep_relationships", + "typeValue": "variable", + "type": "in", + "field": "messageId" + }, + { + "type": "equal", + "typeValue": "value", + "field": "type", + "value": "approved_project" + } + ], + "variables": [ + { + "name": "rep_pro_val_relationships", + "value": "relationships" + } + ], + "visible": true, + "title": "Project", + "description": "Project Validation", + "icon": "project", + "onErrorAction": "no-action", + "iconType": "COMMON", + "dynamicFilters": [], + "tag": "ReportProjectValidation", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "cbae13de-b5f8-4725-b2a1-afdaac4448ca", + "blockType": "reportItemBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "filters": [ + { + "value": "rep_pro_val_relationships", + "typeValue": "variable", + "type": "in", + "field": "messageId" + }, + { + "type": "equal", + "typeValue": "value", + "field": "type", + "value": "project" + } + ], + "variables": [ + { + "name": "auto_pro_relationships", + "value": "relationships" + } + ], + "visible": true, + "description": "Automatic completion of Project fields", + "title": "Project", + "iconType": "COMMON", + "dynamicFilters": [], + "tag": "AutomaticProject", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "dda7ce08-3b68-438a-a40e-aa2359611738", + "blockType": "reportItemBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "filters": [ + { + "value": "auto_pro_relationships", + "typeValue": "variable", + "type": "in", + "field": "messageId" + }, + { + "type": "equal", + "typeValue": "value", + "field": "type", + "value": "project_form" + } + ], + "variables": [], + "visible": true, + "title": "Project", + "description": "Project Created", + "iconType": "COMMON", + "tag": "ReportProjectCreated", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "49f679fa-8e20-409f-ab15-f9969ae7c274", + "blockType": "reportItemBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "filters": [ + { + "type": "equal", + "typeValue": "value", + "field": "type", + "value": "policy_registry_index" + } + ], + "variables": [], + "visible": true, + "title": "Policy Registry Index", + "description": "VMR0015 Policy Registry (HashScan-anchored)", + "icon": "report", + "onErrorAction": "no-action", + "iconType": "COMMON", + "dynamicFilters": [], + "tag": "ReportPolicyRegistryIndex", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "a04f23f9-fcc0-4791-9960-9a7af874a2b0", + "blockType": "interfaceContainerBlock", + "defaultActive": true, + "permissions": [ + "OWNER" + ], + "uiMetaData": { + "type": "blank", + "title": "Registry Index" + }, + "onErrorAction": "no-action", + "tag": "sr_registry_index_tab", + "children": [ + { + "id": "ef4a93da-f1b3-4232-8099-189bdfb1d066", + "blockType": "requestVcDocumentBlock", + "defaultActive": true, + "permissions": [ + "OWNER" + ], + "uiMetaData": { + "privateFields": [], + "type": "page", + "content": "Policy Registry Index", + "dialogContent": "Policy Registry Index", + "description": "Policy Registry Index" + }, + "idType": "UUID", + "schema": "#c327b0d0-a51e-4000-b043-c4815130a487&1.0.0", + "onErrorAction": "no-action", + "presetFields": [], + "stopPropagation": false, + "editType": "new", + "tag": "create_policy_registry_index", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "d79bf16c-70a2-4ad6-8bfc-2df817401852", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "uiMetaData": {}, + "options": [], + "dataSource": "hedera", + "documentType": "vc", + "topic": "Project", + "entityType": "policy_registry_index", + "dataType": "", + "onErrorAction": "no-action", + "stopPropagation": false, + "schema": "#c327b0d0-a51e-4000-b043-c4815130a487&1.0.0", + "tag": "save_policy_registry_hedera", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "22dff5e7-3b64-42ad-9b17-46213dca432d", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "uiMetaData": {}, + "options": [], + "dataSource": "database", + "documentType": "vc", + "entityType": "policy_registry_index", + "dataType": "vc-documents", + "onErrorAction": "no-action", + "stopPropagation": true, + "schema": "#c327b0d0-a51e-4000-b043-c4815130a487&1.0.0", + "tag": "save_policy_registry_db", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "7b0442bc-eb9f-4ea0-8c29-ab79e9826bad", + "blockType": "interfaceDocumentsSourceBlock", + "defaultActive": true, + "permissions": [ + "OWNER" + ], + "uiMetaData": { + "fields": [ + { + "title": "Owner", + "name": "document.issuer", + "tooltip": "", + "type": "text" + }, + { + "title": "Status", + "name": "option.status", + "tooltip": "", + "type": "text" + }, + { + "title": "Document", + "name": "document", + "tooltip": "", + "type": "button", + "action": "dialog", + "url": "", + "dialogContent": "VC", + "dialogClass": "", + "dialogType": "json", + "bindBlock": "", + "content": "View Document", + "uiClass": "link" + } + ], + "type": "blank", + "title": "Policy Registry Index" + }, + "onErrorAction": "no-action", + "schema": "#c327b0d0-a51e-4000-b043-c4815130a487&1.0.0", + "tag": "registry_index_grid_sr", + "children": [ + { + "id": "c061aa1d-168d-4e9b-9bc1-b2dab8ea8b19", + "blockType": "documentsSourceAddon", + "defaultActive": true, + "permissions": [ + "OWNER" + ], + "filters": [ + { + "value": "policy_registry_index", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#c327b0d0-a51e-4000-b043-c4815130a487&1.0.0", + "onErrorAction": "no-action", + "tag": "registry_index_grid_sr_source", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "58373ac1-f9eb-4943-adb9-c9ef3e7a6fbb", + "blockType": "interfaceStepBlock", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "tag": "pp_lifecycle", + "children": [ + { + "id": "24bf8993-3cc1-449f-92d3-b817d8f9754c", + "blockType": "requestVcDocumentBlock", + "defaultActive": true, + "uiMetaData": { + "privateFields": [], + "type": "page", + "title": "New PP" + }, + "permissions": [ + "Project Participant" + ], + "idType": "OWNER", + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "onErrorAction": "no-action", + "presetFields": [], + "preset": true, + "presetSchema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "editType": "new", + "tag": "create_pp_profile", + "children": [ + { + "id": "c72b64b0-51cc-4639-b0f0-9d45310b16dc", + "blockType": "documentsSourceAddon", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "filters": [ + { + "value": "REJECTED", + "field": "option.status", + "type": "equal" + } + ], + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "dataType": "vc-documents", + "createdOrderDirection": "DESC", + "onlyOwnDocuments": true, + "tag": "preset_pp_profile", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "1441817f-4375-4b79-9d20-bfa070eddcc4", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [ + { + "name": "status", + "value": "Waiting for approval" + } + ], + "dataSource": "hedera", + "documentType": "vc", + "topic": "Project", + "topicOwner": "", + "entityType": "pp", + "dataType": "", + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "tag": "save_pp_profile_hedera", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "7658fafc-9a05-4eed-b707-25587194fa2b", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "uiMetaData": {}, + "dataType": "vc-documents", + "entityType": "pp", + "onErrorAction": "no-action", + "options": [], + "dataSource": "database", + "documentType": "vc", + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "tag": "save_pp_profile_db", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "823c6c6b-f3ba-481f-8679-5c07afd2c622", + "blockType": "informationBlock", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "uiMetaData": { + "title": "Waiting for approval", + "description": "Waiting for approval", + "type": "text" + }, + "stopPropagation": true, + "onErrorAction": "no-action", + "tag": "pp_wait_for_approve", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "0387bf27-75ed-48fc-93db-e81d3f87e74a", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "uiMetaData": {}, + "entityType": "pp", + "dataType": "vc-documents", + "onErrorAction": "no-action", + "options": [], + "dataSource": "database", + "documentType": "vc", + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "tag": "save_approved_pp", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "9fab2ec1-254c-48d5-b528-0bcb36b9186f", + "blockType": "reassigningBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "issuer": "policyOwner", + "actor": "owner", + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "tag": "reassign_approved_pp", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "8a3a6305-de71-4940-ae10-8013e15454e2", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [], + "dataSource": "hedera", + "documentType": "vc", + "topic": "Project", + "topicOwner": "", + "entityType": "approved_pp", + "stopPropagation": false, + "forceNew": false, + "dataType": "", + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "tag": "save_reassigned_approved_pp_hedera", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "3908ec43-a459-4af3-9113-88d0cae9f3ee", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [], + "dataSource": "database", + "documentType": "vc", + "topic": "Project", + "topicOwner": "", + "entityType": "approved_pp", + "stopPropagation": false, + "forceNew": true, + "dataType": "vc-documents", + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "tag": "save_reassigned_approved_pp_db", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "4cafc5f7-0cb4-414d-9806-88fa0255debe", + "blockType": "interfaceContainerBlock", + "defaultActive": true, + "uiMetaData": { + "type": "tabs" + }, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "tag": "Project Participant_header", + "children": [ + { + "id": "349fdcb2-b325-4591-bba7-7991476e11bd", + "blockType": "interfaceContainerBlock", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "uiMetaData": { + "type": "blank", + "title": "Documents" + }, + "tag": "pp_document", + "children": [ + { + "id": "6e2968e7-1854-4393-9d54-9829a5e1d04b", + "blockType": "interfaceDocumentsSourceBlock", + "defaultActive": true, + "uiMetaData": { + "fields": [ + { + "title": "Owner", + "name": "document.issuer", + "tooltip": "", + "type": "text" + }, + { + "title": "Text", + "name": "document.credentialSubject.0.field0", + "tooltip": "", + "type": "text" + }, + { + "title": "Operation", + "name": "", + "tooltip": "", + "type": "block", + "action": "", + "url": "", + "dialogContent": "", + "dialogClass": "", + "dialogType": "", + "bindBlock": "pp_revoke_profile", + "bindGroup": "pp_documents" + }, + { + "title": "Operation", + "name": "option.status", + "tooltip": "", + "type": "text", + "action": "", + "url": "", + "dialogContent": "", + "dialogClass": "", + "dialogType": "", + "bindBlock": "", + "width": "250px" + }, + { + "title": "Document", + "name": "document", + "tooltip": "", + "type": "button", + "action": "dialog", + "url": "", + "dialogContent": "VC", + "dialogClass": "", + "dialogType": "json", + "bindBlock": "", + "content": "View Document", + "uiClass": "link" + } + ] + }, + "permissions": [ + "Project Participant" + ], + "dependencies": [ + "save_new_approve_document" + ], + "onErrorAction": "no-action", + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "tag": "pp_profile_grid", + "children": [ + { + "id": "b4ff31df-db03-4c50-a746-79156850b283", + "blockType": "documentsSourceAddon", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "filters": [ + { + "value": "pp", + "field": "type", + "type": "in" + }, + { + "value": "REJECTED", + "field": "option.status", + "type": "not_equal" + } + ], + "dataType": "vc-documents", + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "tag": "pp_documents", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "608947b3-f44e-49b5-afac-dc4794b5693a", + "blockType": "documentsSourceAddon", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "filters": [ + { + "value": "pp", + "field": "type", + "type": "in" + }, + { + "value": "REJECTED", + "field": "option.status", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "tag": "pp_documents_rejected", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "7afcce99-1919-4d1b-bd76-7a3e451e40bd", + "blockType": "historyAddon", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "tag": "pp_documents_history", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "c562cfeb-cfea-402f-9010-380a747f5258", + "blockType": "buttonBlock", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "uiMetaData": { + "buttons": [ + { + "tag": "Button_0", + "name": "Revoke", + "type": "selector-dialog", + "filters": [ + { + "value": "Revoked", + "field": "option.status", + "type": "not_equal" + } + ], + "title": "Revoke", + "description": "Enter revoke message" + } + ] + }, + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "tag": "pp_revoke_profile", + "children": [], + "events": [ + { + "target": "pp_revoke_profile_documents", + "source": "pp_revoke_profile", + "input": "RunEvent", + "output": "Button_0", + "actor": "owner", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "22a739c5-735b-4a16-a32b-f5f484813747", + "blockType": "revocationBlock", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "updatePrevDoc": true, + "prevDocStatus": "Waiting for approval", + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "tag": "pp_revoke_profile_documents", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "ddf30de1-6ace-41b8-a9de-9b3075146c0d", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "uiMetaData": {}, + "entityType": "", + "dataType": "vc-documents", + "onErrorAction": "no-action", + "options": [ + { + "name": "status", + "value": "Revoked" + } + ], + "dataSource": "database", + "documentType": "document", + "stopPropagation": false, + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "tag": "pp_save_revoked_profile_documents", + "children": [], + "events": [ + { + "target": "create_pp_profile", + "source": "pp_save_revoked_profile_documents", + "input": "RunEvent", + "output": "RunEvent", + "actor": "", + "disabled": false + }, + { + "target": "pp_grid_sr", + "source": "pp_save_revoked_profile_documents", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "1e84465b-19be-406b-8088-d8598216beb5", + "blockType": "interfaceDocumentsSourceBlock", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "uiMetaData": { + "fields": [ + { + "title": "Owner", + "name": "document.issuer", + "tooltip": "", + "type": "text" + }, + { + "title": "Status", + "name": "option.status", + "tooltip": "", + "type": "text" + }, + { + "title": "Document", + "name": "document", + "tooltip": "", + "type": "button", + "action": "dialog", + "url": "", + "dialogContent": "VC", + "dialogClass": "", + "dialogType": "json", + "bindBlock": "", + "content": "View Document", + "uiClass": "link" + } + ], + "type": "blank", + "title": "Geographic Locations" + }, + "onErrorAction": "no-action", + "schema": "#c11d5c65-6ef8-4145-97ae-8bdeae53b0a9&1.0.0", + "tag": "geo_location_grid_pp", + "children": [ + { + "id": "3bd23a49-bcd1-46d8-86ec-d52006f999ff", + "blockType": "documentsSourceAddon", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "filters": [ + { + "value": "geo_location", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#c11d5c65-6ef8-4145-97ae-8bdeae53b0a9&1.0.0", + "onErrorAction": "no-action", + "tag": "geo_location_grid_pp_source", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "3f6ac3c9-1de7-419e-8ba6-32a09a9839dd", + "blockType": "interfaceDocumentsSourceBlock", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "uiMetaData": { + "fields": [ + { + "title": "Owner", + "name": "document.issuer", + "tooltip": "", + "type": "text" + }, + { + "title": "Status", + "name": "option.status", + "tooltip": "", + "type": "text" + }, + { + "title": "Document", + "name": "document", + "tooltip": "", + "type": "button", + "action": "dialog", + "url": "", + "dialogContent": "VC", + "dialogClass": "", + "dialogType": "json", + "bindBlock": "", + "content": "View Document", + "uiClass": "link" + } + ], + "type": "blank", + "title": "Household Surveys" + }, + "onErrorAction": "no-action", + "schema": "#861b4f98-21c7-444c-a1a8-a9652666fc7e&1.0.0", + "tag": "household_survey_grid_pp", + "children": [ + { + "id": "652ce0b8-8fb4-47bb-8305-7e0e0b2c8765", + "blockType": "documentsSourceAddon", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "filters": [ + { + "value": "household_survey", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#861b4f98-21c7-444c-a1a8-a9652666fc7e&1.0.0", + "onErrorAction": "no-action", + "tag": "household_survey_grid_pp_source", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "41273f3b-de0b-4723-9ae1-4d67118a423f", + "blockType": "interfaceDocumentsSourceBlock", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "uiMetaData": { + "fields": [ + { + "title": "Owner", + "name": "document.issuer", + "tooltip": "", + "type": "text" + }, + { + "title": "Status", + "name": "option.status", + "tooltip": "", + "type": "text" + }, + { + "title": "Document", + "name": "document", + "tooltip": "", + "type": "button", + "action": "dialog", + "url": "", + "dialogContent": "VC", + "dialogClass": "", + "dialogType": "json", + "bindBlock": "", + "content": "View Document", + "uiClass": "link" + } + ], + "type": "blank", + "title": "Monitoring Periods" + }, + "onErrorAction": "no-action", + "schema": "#8c4039cb-5eed-4913-9fd4-0934b360eaaf&1.0.0", + "tag": "monitor_period_grid_pp", + "children": [ + { + "id": "646df941-3545-4e43-919a-4c3d3feeab75", + "blockType": "documentsSourceAddon", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "filters": [ + { + "value": "monitoring_period", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#8c4039cb-5eed-4913-9fd4-0934b360eaaf&1.0.0", + "onErrorAction": "no-action", + "tag": "monitor_period_grid_pp_source", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "7d4de191-9ca4-40db-bdc4-8e2a86306a59", + "blockType": "interfaceDocumentsSourceBlock", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "uiMetaData": { + "fields": [ + { + "title": "Owner", + "name": "document.issuer", + "tooltip": "", + "type": "text" + }, + { + "title": "Status", + "name": "option.status", + "tooltip": "", + "type": "text" + }, + { + "title": "Document", + "name": "document", + "tooltip": "", + "type": "button", + "action": "dialog", + "url": "", + "dialogContent": "VC", + "dialogClass": "", + "dialogType": "json", + "bindBlock": "", + "content": "View Document", + "uiClass": "link" + } + ], + "type": "blank", + "title": "Device Installations" + }, + "onErrorAction": "no-action", + "schema": "#e9d241e4-9d19-4858-afc5-5caf7d475005&1.0.0", + "tag": "device_install_grid_pp", + "children": [ + { + "id": "56c21d6f-e26a-4b11-bf40-bac52cd303ed", + "blockType": "documentsSourceAddon", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "filters": [ + { + "value": "device_install", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#e9d241e4-9d19-4858-afc5-5caf7d475005&1.0.0", + "onErrorAction": "no-action", + "tag": "device_install_grid_pp_source", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "8521ba56-694c-495d-984c-38bf9d136273", + "blockType": "interfaceDocumentsSourceBlock", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "uiMetaData": { + "fields": [ + { + "title": "Owner", + "name": "document.issuer", + "tooltip": "", + "type": "text" + }, + { + "title": "Status", + "name": "option.status", + "tooltip": "", + "type": "text" + }, + { + "title": "Document", + "name": "document", + "tooltip": "", + "type": "button", + "action": "dialog", + "url": "", + "dialogContent": "VC", + "dialogClass": "", + "dialogType": "json", + "bindBlock": "", + "content": "View Document", + "uiClass": "link" + } + ], + "type": "blank", + "title": "Water Quality Tests" + }, + "onErrorAction": "no-action", + "schema": "#10402938-b386-47a3-930d-9851a42dc6ad&1.0.0", + "tag": "water_quality_grid_pp", + "children": [ + { + "id": "9287369e-023e-413a-9d65-bfe0da2e66e5", + "blockType": "documentsSourceAddon", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "filters": [ + { + "value": "water_quality", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#10402938-b386-47a3-930d-9851a42dc6ad&1.0.0", + "onErrorAction": "no-action", + "tag": "water_quality_grid_pp_source", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "9f8dbd6c-6cd9-4d28-8974-ad626729227c", + "blockType": "interfaceDocumentsSourceBlock", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "uiMetaData": { + "fields": [ + { + "title": "Owner", + "name": "document.issuer", + "tooltip": "", + "type": "text" + }, + { + "title": "Status", + "name": "option.status", + "tooltip": "", + "type": "text" + }, + { + "title": "Document", + "name": "document", + "tooltip": "", + "type": "button", + "action": "dialog", + "url": "", + "dialogContent": "VC", + "dialogClass": "", + "dialogType": "json", + "bindBlock": "", + "content": "View Document", + "uiClass": "link" + } + ], + "type": "blank", + "title": "Maintenance Logs" + }, + "onErrorAction": "no-action", + "schema": "#b637e78d-edf3-4e7a-9dc7-48c01732a649&1.0.0", + "tag": "maint_log_grid_pp", + "children": [ + { + "id": "d60321f5-1771-4358-8734-bec476990e1e", + "blockType": "documentsSourceAddon", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "filters": [ + { + "value": "maintenance_log", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#b637e78d-edf3-4e7a-9dc7-48c01732a649&1.0.0", + "onErrorAction": "no-action", + "tag": "maint_log_grid_pp_source", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "94fc0265-4bb7-4fac-a922-3647df401dd4", + "blockType": "interfaceDocumentsSourceBlock", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "uiMetaData": { + "fields": [ + { + "title": "Owner", + "name": "document.issuer", + "tooltip": "", + "type": "text" + }, + { + "title": "Status", + "name": "option.status", + "tooltip": "", + "type": "text" + }, + { + "title": "Document", + "name": "document", + "tooltip": "", + "type": "button", + "action": "dialog", + "url": "", + "dialogContent": "VC", + "dialogClass": "", + "dialogType": "json", + "bindBlock": "", + "content": "View Document", + "uiClass": "link" + } + ], + "type": "blank", + "title": "Baseline Emissions" + }, + "onErrorAction": "no-action", + "schema": "#f1a41485-a323-458d-9273-82479747b2e7&1.0.0", + "tag": "baseline_em_grid_pp", + "children": [ + { + "id": "45f879c2-76c3-4c02-9f52-22c3e150353f", + "blockType": "documentsSourceAddon", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "filters": [ + { + "value": "baseline_emissions", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#f1a41485-a323-458d-9273-82479747b2e7&1.0.0", + "onErrorAction": "no-action", + "tag": "baseline_em_grid_pp_source", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "a338c9aa-bcdc-4980-abf0-d33943c72de9", + "blockType": "interfaceDocumentsSourceBlock", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "uiMetaData": { + "fields": [ + { + "title": "Owner", + "name": "document.issuer", + "tooltip": "", + "type": "text" + }, + { + "title": "Status", + "name": "option.status", + "tooltip": "", + "type": "text" + }, + { + "title": "Document", + "name": "document", + "tooltip": "", + "type": "button", + "action": "dialog", + "url": "", + "dialogContent": "VC", + "dialogClass": "", + "dialogType": "json", + "bindBlock": "", + "content": "View Document", + "uiClass": "link" + } + ], + "type": "blank", + "title": "Project Emissions" + }, + "onErrorAction": "no-action", + "schema": "#aee84784-94fe-4f05-866c-12c7f675cabb&1.0.0", + "tag": "project_em_grid_pp", + "children": [ + { + "id": "58555a39-5d33-4cf3-9200-13008c5708b1", + "blockType": "documentsSourceAddon", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "filters": [ + { + "value": "project_emissions", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#aee84784-94fe-4f05-866c-12c7f675cabb&1.0.0", + "onErrorAction": "no-action", + "tag": "project_em_grid_pp_source", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "ee5e5c49-5d33-4256-952f-ffae183fbf22", + "blockType": "interfaceDocumentsSourceBlock", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "uiMetaData": { + "fields": [ + { + "title": "Owner", + "name": "document.issuer", + "tooltip": "", + "type": "text" + }, + { + "title": "Status", + "name": "option.status", + "tooltip": "", + "type": "text" + }, + { + "title": "Document", + "name": "document", + "tooltip": "", + "type": "button", + "action": "dialog", + "url": "", + "dialogContent": "VC", + "dialogClass": "", + "dialogType": "json", + "bindBlock": "", + "content": "View Document", + "uiClass": "link" + } + ], + "type": "blank", + "title": "Leakage Estimates" + }, + "onErrorAction": "no-action", + "schema": "#33b17c2e-3182-40e0-b119-14cb921dd428&1.0.0", + "tag": "leakage_est_grid_pp", + "children": [ + { + "id": "cfbc243e-75e6-481a-9501-9dc8ea6feab8", + "blockType": "documentsSourceAddon", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "filters": [ + { + "value": "leakage_estimate", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#33b17c2e-3182-40e0-b119-14cb921dd428&1.0.0", + "onErrorAction": "no-action", + "tag": "leakage_est_grid_pp_source", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "79fdb926-d598-42a7-86a9-fadf718d2e54", + "blockType": "interfaceDocumentsSourceBlock", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "uiMetaData": { + "fields": [ + { + "title": "Owner", + "name": "document.issuer", + "tooltip": "", + "type": "text" + }, + { + "title": "Status", + "name": "option.status", + "tooltip": "", + "type": "text" + }, + { + "title": "Document", + "name": "document", + "tooltip": "", + "type": "button", + "action": "dialog", + "url": "", + "dialogContent": "VC", + "dialogClass": "", + "dialogType": "json", + "bindBlock": "", + "content": "View Document", + "uiClass": "link" + } + ], + "type": "blank", + "title": "ER Summary" + }, + "onErrorAction": "no-action", + "schema": "#0f67a367-cf53-445c-9435-33bc9c69e208&1.0.0", + "tag": "er_summary_grid_pp", + "children": [ + { + "id": "2daed197-ebfe-461d-b697-d15b54fc0d93", + "blockType": "documentsSourceAddon", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "filters": [ + { + "value": "er_summary", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#0f67a367-cf53-445c-9435-33bc9c69e208&1.0.0", + "onErrorAction": "no-action", + "tag": "er_summary_grid_pp_source", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "edee8ffb-23e9-482f-b83f-e9e087d23654", + "blockType": "interfaceContainerBlock", + "defaultActive": true, + "uiMetaData": { + "type": "blank", + "title": "Projects" + }, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "tag": "Projects_pp", + "children": [ + { + "id": "c9da47a8-3f12-4396-be53-df4fce5ad0aa", + "blockType": "interfaceDocumentsSourceBlock", + "defaultActive": true, + "uiMetaData": { + "fields": [ + { + "title": "Summary", + "name": "document.credentialSubject.0.field0.field0", + "tooltip": "", + "type": "text" + }, + { + "title": "Status", + "name": "option.status", + "tooltip": "", + "type": "text", + "width": "170px" + }, + { + "title": "Add Report", + "name": "report", + "tooltip": "", + "type": "block", + "action": "", + "url": "", + "dialogContent": "", + "dialogClass": "", + "dialogType": "", + "bindBlock": "add_report_bnt", + "bindGroup": "project_grid_pp_2_validated_projects", + "width": "150px" + }, + { + "title": "View Reports", + "name": "document.credentialSubject.0.id", + "tooltip": "", + "type": "button", + "action": "link", + "url": "", + "dialogContent": "", + "dialogClass": "", + "dialogType": "", + "bindBlock": "report_by_project", + "content": "View Reports", + "bindGroup": "project_grid_pp_2_validated_projects", + "width": "150px" + }, + { + "title": "Document", + "name": "document", + "tooltip": "", + "type": "button", + "action": "dialog", + "url": "", + "dialogContent": "VC", + "dialogClass": "", + "dialogType": "json", + "bindBlock": "", + "content": "View Document", + "uiClass": "link" + }, + { + "title": "Revoke", + "name": "", + "tooltip": "", + "type": "block", + "action": "", + "url": "", + "dialogContent": "", + "dialogClass": "", + "dialogType": "", + "bindBlock": "revoke_project_pp_btn", + "width": "100px", + "bindGroup": "project_grid_pp_2_waiting_to_validate_projects" + } + ] + }, + "permissions": [ + "Project Participant" + ], + "dependencies": [ + "reject_project_status", + "save_added", + "save_assign", + "save_project", + "save_reassign_project", + "save_report" + ], + "onErrorAction": "no-action", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "tag": "project_grid_pp_2", + "children": [ + { + "id": "7c19b689-49f1-42fc-a1ec-9d10bbae7c54", + "blockType": "documentsSourceAddon", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "filters": [ + { + "title": "", + "name": "", + "tooltip": "", + "type": "equal", + "field": "option.status", + "value": "Waiting for Validation" + } + ], + "dataType": "vc-documents", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "onlyOwnDocuments": true, + "onErrorAction": "no-action", + "tag": "project_grid_pp_2_waiting_to_validate_projects", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "a2643806-9d88-44dc-b3d1-70edfc4f7514", + "blockType": "documentsSourceAddon", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "filters": [ + { + "title": "", + "name": "", + "tooltip": "", + "type": "equal", + "field": "option.status", + "value": "Validated" + }, + { + "value": "approved_project", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "onlyOwnDocuments": true, + "onErrorAction": "no-action", + "tag": "project_grid_pp_2_validated_projects", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "97824de4-da22-42d9-a507-7f721e915432", + "blockType": "documentsSourceAddon", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "filters": [ + { + "value": "project", + "field": "type", + "type": "equal" + }, + { + "value": "Revoked", + "field": "option.status", + "type": "in" + } + ], + "dataType": "vc-documents", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "onlyOwnDocuments": true, + "tag": "project_grid_pp_2_validated_revoked_projects_own", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "c99c9e12-05ae-4202-9059-d2d6e0615ce0", + "blockType": "documentsSourceAddon", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "filters": [ + { + "value": "project", + "field": "type", + "type": "equal" + }, + { + "value": "REJECTED", + "field": "option.status", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "onlyOwnDocuments": true, + "tag": "project_grid_pp_2_rejected_projects_own", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "323db5b5-843e-4104-8408-1c3ca91ec2a2", + "blockType": "historyAddon", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "tag": "history_addon_4f31ccda-2486-4cc8-8c7b-647283e8f093", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "39f1b7b5-4547-4c26-bb95-bbd71f9e682e", + "blockType": "interfaceStepBlock", + "defaultActive": true, + "uiMetaData": { + "type": "blank" + }, + "permissions": [ + "Project Participant" + ], + "cyclic": true, + "onErrorAction": "no-action", + "finalBlocks": [ + "save_project" + ], + "tag": "new_project", + "children": [ + { + "id": "aa40ac96-f34a-4c3c-b8f6-ab8fca266df4", + "blockType": "requestVcDocumentBlock", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "uiMetaData": { + "privateFields": [], + "type": "page", + "content": "New project", + "dialogContent": "New project", + "description": "New project" + }, + "idType": "UUID", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "onErrorAction": "no-action", + "presetFields": [], + "stopPropagation": false, + "editType": "new", + "tag": "add_project_bnt", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "08ea279b-6b9a-4332-88a2-7559059a824c", + "blockType": "setRelationshipsBlock", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "tag": "pp_set_profile_to_project", + "children": [ + { + "id": "d26da5e7-b3dd-471b-b664-3401d74ca9e2", + "blockType": "documentsSourceAddon", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "filters": [ + { + "value": "approved_pp", + "field": "type", + "type": "equal" + }, + { + "value": "Revoked", + "field": "option.status", + "type": "not_equal" + } + ], + "onlyOwnDocuments": true, + "dataType": "vc-documents", + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "tag": "pp_profile_project", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "bcf9c3d1-8d19-4fe3-aa9a-afec015d135e", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [], + "dataSource": "hedera", + "documentType": "vc", + "topic": "Project", + "entityType": "project_form", + "stopPropagation": false, + "dataType": "", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "tag": "save_project_form_pp_hedera", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "6190caef-7e5a-491b-a2c8-0fe701a1bc7e", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [], + "dataSource": "database", + "documentType": "vc", + "topic": "Project", + "entityType": "project_form", + "stopPropagation": false, + "dataType": "vc-documents", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "tag": "save_project_form_pp", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "d870a653-a303-4527-a640-5f6989d05eb5", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "uiMetaData": {}, + "dataType": "", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "entityType": "project", + "onErrorAction": "no-action", + "dataSource": "hedera", + "options": [ + { + "name": "status", + "value": "Waiting for Validation" + } + ], + "topic": "Project", + "documentType": "vc", + "tag": "save_project_hedera", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "d2556433-f17a-42f0-ab2e-a072bfabd67f", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "uiMetaData": {}, + "dataType": "vc-documents", + "entityType": "project", + "options": [ + { + "name": "status", + "value": "Waiting for Validation" + } + ], + "onErrorAction": "no-action", + "dataSource": "database", + "documentType": "vc", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "tag": "save_project", + "children": [], + "events": [ + { + "target": "project_grid_sr", + "source": "save_project", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "project_grid_pp_2", + "source": "save_project", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "ef82e286-8dda-4fa6-98a5-7be0ae150862", + "blockType": "interfaceStepBlock", + "defaultActive": true, + "uiMetaData": { + "type": "blank" + }, + "permissions": [ + "Project Participant" + ], + "cyclic": true, + "onErrorAction": "no-action", + "finalBlocks": [ + "save_report" + ], + "tag": "new_report", + "children": [ + { + "id": "b221e27c-88af-442c-8c88-99b382d753df", + "blockType": "requestVcDocumentBlock", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "uiMetaData": { + "privateFields": [], + "type": "dialog", + "content": "Add Report", + "dialogContent": "Add Report", + "description": "", + "buttonClass": "link" + }, + "idType": "UUID", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "preset": false, + "presetFields": [], + "onErrorAction": "no-action", + "stopPropagation": false, + "editType": "new", + "tag": "add_report_bnt", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "10964c4b-c628-43de-9881-a5e8a4b266f7", + "blockType": "sendToGuardianBlock", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [], + "dataSource": "hedera", + "documentType": "vc", + "topic": "Project", + "entityType": "report_form", + "stopPropagation": false, + "dataType": "", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "save_report_form_pp_hedera", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "6c5b78c4-cfb8-4184-bf4b-9d6ec866f1da", + "blockType": "sendToGuardianBlock", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [], + "dataSource": "database", + "documentType": "vc", + "topic": "Project", + "entityType": "report_form", + "stopPropagation": false, + "dataType": "vc-documents", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "save_report_form_pp", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "459071b5-fea1-496b-9b62-abc62712fac0", + "blockType": "customLogicBlock", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "uiMetaData": { + "type": "blank" + }, + "expression": "function toNum(x) {\n if (x === null || x === undefined) return 0;\n if (typeof x === 'number') return isFinite(x) ? x : 0;\n if (typeof x === 'string') { var n = parseFloat(x); return isFinite(n) ? n : 0; }\n return 0;\n}\n\n// ===========================================================================\n// VMR0015 v1.0 (Verra revision to CDM AMS-III.AV) - Safe Drinking Water dMRV\n// Baseline equation per AMS-III.AV (UNFCCC CDM), Equations (1),(5),(7):\n//\n// SEC = 357.48 / nwb (kJ/L) [Eq.5]\n// BE_y = QPW_y * m * X_boil * SEC\n// * (BL_fuel * f_i * EF_fuel * 1e-9) (tCO2e) [Eq.1]\n// ER_y = BE_y - PE_y - LE_y (tCO2e) [Eq.7]\n//\n// Monitoring Report schema #31d7ef1c (FLAT):\n// field3 = BE Total (tCO2e) <- COMPUTED here\n// field4 = PE Total (tCO2e) (TOOL03 + TOOL05, entered)\n// field5 = LE Total (tCO2e) (AMS-I.E. leakage, entered)\n// field6 = ER Total (tCO2e) <- minted amount, computed here\n// field10 = Appliances passing water-quality requirement (count)\n// field11 = Appliances total (count)\n// field12 = QPW_y purified water (L/yr)\n// field13 = m fraction of functional appliances meeting SDW (0-1)\n// field14 = X_boil fraction of population whose baseline is boiling (0-1)\n// field15 = nwb efficiency of replaced water-boiling system (0-1)\n// field16 = EF_fuel emission factor of substituted fuel (tCO2/TJ)\n// field17 = f_i non-renewable fraction of baseline fuel (0-1, fNRB; =1 fossil)\n// field18 = BL_fuel proportion of baseline fuel type i (0-1)\n// ===========================================================================\n\n// AMS-III.AV water-quality gate. The methodology states emission reductions\n// CANNOT be claimed if OVER 10% of appliances fail the water-quality\n// requirement -> i.e. the project must keep >= 90% of appliances passing.\n// Fail-closed: missing/zero appliance data => treated as failing => no credits.\nfunction appliance_pass_rate(raw) {\n var passing = toNum(raw.field10);\n var total = toNum(raw.field11);\n if (total <= 0) return 0; // no evidence -> fail closed\n if (passing < 0) passing = 0;\n if (passing > total) passing = total;\n return passing / total;\n}\n\n// Specific energy consumption to boil 1 L of water (AMS-III.AV Eq.5):\n// SEC = 357.48 / nwb (kJ/L)\n// 357.48 = WH*(Tf-Ti) + 0.01*WHE = 4.186*(100-20) + 0.01*2260.\nfunction compute_SEC(nwb) {\n if (nwb <= 0) return 0; // invalid efficiency -> no baseline\n return 357.48 / nwb;\n}\n\n// Baseline emissions per AMS-III.AV Eq.1 (single baseline fuel type).\nfunction compute_baseline_emissions(raw) {\n var QPW = toNum(raw.field12); // L/yr\n var m = toNum(raw.field13); // 0-1\n var Xboil = toNum(raw.field14); // 0-1\n var nwb = toNum(raw.field15); // 0-1\n var EF = toNum(raw.field16); // tCO2/TJ\n var fi = toNum(raw.field17); // 0-1\n var BLf = toNum(raw.field18); // 0-1\n // clamp fractions to [0,1]\n if (m < 0) m = 0; if (m > 1) m = 1;\n if (Xboil < 0) Xboil = 0; if (Xboil > 1) Xboil = 1;\n if (fi < 0) fi = 0; if (fi > 1) fi = 1;\n if (BLf < 0) BLf = 0; if (BLf > 1) BLf = 1;\n var SEC = compute_SEC(nwb); // kJ/L\n // BE (tCO2e) = QPW(L) * m * Xboil * SEC(kJ/L) * BLfuel * fi * EF(tCO2/TJ) * 1e-9 (TJ/kJ)\n var be = QPW * m * Xboil * SEC * (BLf * fi * EF * 1e-9);\n if (be < 0) be = 0;\n return be;\n}\n\nfunction calc_vmr0015(doc) {\n var subj = doc.credentialSubject;\n var raw = (subj && subj.length) ? subj[0] : doc;\n\n // --- BE computed from monitored parameters (AMS-III.AV Eq.1 & 5) ---\n var BE_total = compute_baseline_emissions(raw);\n raw.field3 = Math.round(BE_total * 100) / 100; // write back computed BE\n\n var PE_total = toNum(raw.field4);\n var LE_total = toNum(raw.field5);\n\n // --- ER = BE - PE - LE (AMS-III.AV Eq.7) ---\n var ER_total = BE_total - PE_total - LE_total;\n if (ER_total < 0) ER_total = 0;\n\n // --- Water-quality hard gate: block if >10% appliances fail (>=90% pass) ---\n var pass_rate = appliance_pass_rate(raw);\n if (pass_rate < 0.90) {\n ER_total = 0; // AMS-III.AV: ERs cannot be claimed -> no credits\n }\n\n // Write ER_y to the schema-defined mint slot (field6).\n raw.field6 = Math.round(ER_total * 100) / 100;\n\n return doc;\n}\n\ncalc_vmr0015(documents[0]);\ndocuments[0];\n", + "documentSigner": "owner", + "idType": "UUID", + "outputSchema": "#0f67a367-cf53-445c-9435-33bc9c69e208&1.0.0", + "passOriginal": false, + "inputSchema": null, + "selectedScriptLanguage": "javascript", + "tag": "calculate_report_fields", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "11652aff-ec36-467b-aeea-93b75bf394a9", + "blockType": "sendToGuardianBlock", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [ + { + "name": "status", + "value": "Waiting for Verification" + } + ], + "dataSource": "hedera", + "documentType": "vc", + "topic": "Project", + "entityType": "report", + "dataType": "", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "save_report_form_hedera", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "c8987049-4d7b-4fff-8123-b4a7b6251aeb", + "blockType": "sendToGuardianBlock", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "uiMetaData": {}, + "options": [ + { + "variable": "", + "role": "", + "name": "status", + "value": "Waiting for Verification" + } + ], + "dataType": "vc-documents", + "entityType": "report", + "onErrorAction": "no-action", + "dataSource": "database", + "documentType": "vc", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "save_report", + "children": [], + "events": [ + { + "target": "project_grid_pp_2", + "source": "save_report", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "report_grid_pp", + "source": "save_report", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "report_grid_vvb", + "source": "save_report", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "report_grid_sr", + "source": "save_report", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "337a8002-0ed9-4187-b4e5-778bfb2b6307", + "blockType": "buttonBlock", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "uiMetaData": { + "buttons": [ + { + "tag": "Button_0", + "name": "Revoke", + "type": "selector-dialog", + "filters": [ + { + "value": "Revoked", + "field": "option.status", + "type": "not_equal" + } + ], + "title": "Revoke", + "description": "Enter revoke reason" + } + ] + }, + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "tag": "revoke_project_pp_btn", + "children": [], + "events": [ + { + "target": "revoke_project_pp", + "source": "revoke_project_pp_btn", + "input": "RunEvent", + "output": "Button_0", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "fa030464-f0a9-45d0-b269-eae4ef197799", + "blockType": "revocationBlock", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "tag": "revoke_project_pp", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "ba96bdc8-2e4d-4c0c-ab99-cfa20e8acc63", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [ + { + "name": "status", + "value": "Revoked" + } + ], + "dataSource": "database", + "documentType": "document", + "stopPropagation": true, + "dataType": "vc-documents", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "tag": "send_revoke_project_pp", + "children": [], + "events": [ + { + "target": "project_grid_pp_2", + "source": "send_revoke_project_pp", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "76aaaadf-39e8-41bc-9542-10b83e7462ad", + "blockType": "interfaceContainerBlock", + "defaultActive": true, + "uiMetaData": { + "title": "Monitoring Reports", + "type": "blank" + }, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "tag": "Monitoring_Reports_pp", + "children": [ + { + "id": "10ab8871-59b4-45ba-a754-a33f7b045ef3", + "blockType": "interfaceDocumentsSourceBlock", + "defaultActive": true, + "uiMetaData": { + "fields": [ + { + "title": "Summary", + "name": "document.credentialSubject.0.field0.field0", + "tooltip": "", + "type": "text" + }, + { + "title": "Project", + "name": "document.credentialSubject.0.ref", + "tooltip": "", + "type": "text" + }, + { + "title": "Assign", + "name": "assignedTo", + "tooltip": "", + "type": "block", + "action": "", + "url": "", + "dialogContent": "", + "dialogClass": "", + "dialogType": "", + "bindBlock": "assign_vvb", + "bindGroup": "report_grid_pp_reports_waiting_for_verification", + "width": "150px" + }, + { + "title": "Assign", + "name": "assignedTo", + "tooltip": "", + "type": "text", + "action": "", + "url": "", + "dialogContent": "", + "dialogClass": "", + "dialogType": "", + "bindBlock": "", + "width": "150px" + }, + { + "title": "Status", + "name": "option.status", + "tooltip": "", + "type": "text", + "width": "175px" + }, + { + "title": "Document", + "name": "document", + "tooltip": "", + "type": "button", + "action": "dialog", + "url": "", + "dialogContent": "VC", + "dialogClass": "", + "dialogType": "json", + "bindBlock": "", + "content": "View Document", + "uiClass": "link" + }, + { + "title": "Revoke", + "name": "Revoke", + "tooltip": "", + "type": "block", + "action": "", + "url": "", + "dialogContent": "", + "dialogClass": "", + "dialogType": "", + "bindBlock": "revoke_report_pp_btn", + "width": "100px", + "bindGroup": "report_grid_pp_reports_verified" + }, + { + "title": "Add Report", + "name": "", + "tooltip": "", + "type": "block", + "action": "", + "url": "", + "dialogContent": "", + "dialogClass": "", + "dialogType": "", + "bindBlock": "add_report_bnt", + "bindBlocks": [] + } + ] + }, + "permissions": [ + "Project Participant" + ], + "dependencies": [ + "save_mint_status", + "save_reassign_report", + "save_report" + ], + "onErrorAction": "no-action", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "report_grid_pp", + "children": [ + { + "id": "b38e79f2-acd7-4394-bf0f-272655a20a3a", + "blockType": "documentsSourceAddon", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "filters": [ + { + "value": "report", + "field": "type", + "type": "equal" + }, + { + "value": "Verified,Revoked", + "field": "option.status", + "type": "in" + } + ], + "dataType": "vc-documents", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "onlyOwnDocuments": true, + "tag": "report_grid_pp_reports_verified", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "817b6e5c-ede1-4a1c-b030-31d4fe0e7bca", + "blockType": "documentsSourceAddon", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "filters": [ + { + "value": "report", + "field": "type", + "type": "equal" + }, + { + "value": "Waiting for Verification", + "field": "option.status", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "onlyOwnDocuments": true, + "tag": "report_grid_pp_reports_waiting_for_verification", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "b6a580a0-b9b3-47d4-bb2e-17c454f8e3c8", + "blockType": "documentsSourceAddon", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "uiMetaData": { + "type": "blank", + "options": [] + }, + "onErrorAction": "no-action", + "filters": [ + { + "value": "report", + "field": "type", + "type": "equal" + }, + { + "value": "REJECTED", + "field": "option.status", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "onlyOwnDocuments": true, + "tag": "report_grid_pp_reports_rejected", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "78b26693-f66b-4316-a50f-94d66124cdd7", + "blockType": "filtersAddon", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "uiMetaData": { + "options": [], + "content": "Project" + }, + "type": "dropdown", + "optionValue": "document.id", + "optionName": "document.credentialSubject.0.field0", + "field": "document.credentialSubject.0.ref", + "canBeEmpty": true, + "onErrorAction": "no-action", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "report_by_project", + "children": [ + { + "id": "ab42699f-b833-4a58-8fa3-5a505f5fdf53", + "blockType": "documentsSourceAddon", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "filters": [ + { + "title": "", + "name": "", + "tooltip": "", + "type": "equal", + "field": "option.status", + "value": "Validated" + }, + { + "value": "approved_project", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "tag": "report_grid_pp_projects", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "5cf0b4f0-70f2-4301-8b2a-e414093d551b", + "blockType": "historyAddon", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "timelineLabelPath": "", + "timelineDescriptionPath": "", + "tag": "history_addon_1797768b-5cff-4271-a075-b47d47414f42", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "7a2874c8-a50e-4137-b34a-35451f5f9206", + "blockType": "interfaceActionBlock", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "uiMetaData": { + "options": [], + "content": "vvb_lifecycle" + }, + "type": "dropdown", + "name": "document.credentialSubject.0.field0", + "value": "document.credentialSubject.0.id", + "field": "assignedTo", + "bindBlock": "save_assign", + "onErrorAction": "no-action", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "assign_vvb", + "children": [ + { + "id": "a49c2215-7878-4781-af8e-07ebee175f3f", + "blockType": "documentsSourceAddon", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "filters": [ + { + "value": "Revoked", + "field": "option.status", + "type": "not_equal" + }, + { + "value": "approved_vvb", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "assign_vvb_documents", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [ + { + "target": "save_assign", + "source": "assign_vvb", + "input": "RunEvent", + "output": "DropdownEvent", + "actor": "", + "disabled": false + }, + { + "target": "save_assign", + "source": "assign_vvb", + "input": "RunEvent", + "output": "DropdownEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "ea5fdad6-3b6d-40e4-8701-8a7013c80ded", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "uiMetaData": {}, + "options": [ + { + "variable": "", + "role": "", + "name": "status", + "value": "Waiting for Verification" + } + ], + "dataType": "vc-documents", + "entityType": "report", + "onErrorAction": "no-action", + "dataSource": "database", + "documentType": "vc", + "stopPropagation": false, + "skipSaveState": true, + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "save_assign", + "children": [], + "events": [ + { + "target": "report_grid_vvb", + "source": "save_assign", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "report_grid_pp", + "source": "save_assign", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "af2485ae-818c-44a3-b551-5b726b758844", + "blockType": "buttonBlock", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "uiMetaData": { + "type": "blank", + "buttons": [ + { + "tag": "Button_0", + "name": "Revoke", + "type": "selector-dialog", + "filters": [ + { + "value": "Revoked", + "field": "option.status", + "type": "not_equal" + } + ], + "title": "Revoke", + "description": "Enter revoke reason" + } + ], + "options": [] + }, + "onErrorAction": "no-action", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "revoke_report_pp_btn", + "children": [], + "events": [ + { + "target": "revoke_report_pp", + "source": "revoke_report_pp_btn", + "input": "RunEvent", + "output": "Button_0", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "f8356126-f597-450b-8de4-9bf09d3c0fa8", + "blockType": "revocationBlock", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "revoke_report_pp", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "59b0b1c9-a8f0-4c2e-a8b7-78b9e30915f2", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [ + { + "name": "status", + "value": "Revoked" + } + ], + "dataSource": "database", + "documentType": "document", + "stopPropagation": true, + "dataType": "vc-documents", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "send_revoke_report_pp", + "children": [], + "events": [ + { + "target": "tokens_grid", + "source": "send_revoke_report_pp", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "vp_grid", + "source": "send_revoke_report_pp", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "report_grid_vvb", + "source": "send_revoke_report_pp", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "report_grid_sr", + "source": "send_revoke_report_pp", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "378d92c9-f5f7-4b92-a536-9df62e14141b", + "blockType": "interfaceContainerBlock", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "uiMetaData": { + "title": "Tokens", + "type": "blank" + }, + "tag": "tokens", + "children": [ + { + "id": "e5e0b01a-a109-4e1a-9a6b-35cc4647726d", + "blockType": "interfaceDocumentsSourceBlock", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "uiMetaData": { + "fields": [ + { + "title": "ID", + "name": "document.id", + "tooltip": "", + "type": "text" + }, + { + "title": "Token Id", + "name": "document.credentialSubject.0.tokenId", + "tooltip": "", + "type": "text" + }, + { + "title": "Amount", + "name": "document.credentialSubject.0.amount", + "tooltip": "", + "type": "text" + } + ] + }, + "dependencies": [ + "mintToken" + ], + "onErrorAction": "no-action", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "tokens_grid", + "children": [ + { + "id": "88eeb33e-969b-46b1-8914-ebd13031b315", + "blockType": "documentsSourceAddon", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "filters": [ + { + "value": "mint", + "field": "type", + "type": "equal" + } + ], + "dataType": "vc-documents", + "onlyOwnDocuments": true, + "onErrorAction": "no-action", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "tokens_grid_tokens", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "e699826d-5257-48e1-af86-8ff67ffba47c", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "uiMetaData": {}, + "entityType": "pp", + "dataType": "vc-documents", + "options": [], + "onErrorAction": "no-action", + "dataSource": "database", + "documentType": "vc", + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "tag": "save_rejected_pp", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "5bfe599d-4e0a-4a66-88fe-559407f8061c", + "blockType": "reassigningBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "issuer": "policyOwner", + "actor": "owner", + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "tag": "reassign_rejected_pp", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "806dfd4b-b341-4998-aca2-4089b34b0992", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [], + "dataSource": "hedera", + "documentType": "vc", + "topic": "Project", + "topicOwner": "", + "entityType": "rejected_pp", + "stopPropagation": false, + "forceNew": false, + "dataType": "", + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "tag": "save_reassigned_rejected_pp_hedera", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "96e38a02-80f7-4e8e-987e-af9c66fe27f5", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "uiMetaData": {}, + "entityType": "rejected_pp", + "dataType": "vc-documents", + "onErrorAction": "no-action", + "options": [], + "dataSource": "database", + "documentType": "vc", + "forceNew": true, + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "tag": "save_reassigned_rejected_pp_db", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "a248544c-3d1e-403c-943d-3f0eeed73b77", + "blockType": "interfaceContainerBlock", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "uiMetaData": { + "type": "blank" + }, + "tag": "rewrite_pp", + "children": [ + { + "id": "0497a77d-b332-4366-aba8-b0fa4057697f", + "blockType": "informationBlock", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "uiMetaData": { + "description": "Your application was rejected", + "title": "Rejected", + "type": "text", + "bindBlock": "return_vvb_btn" + }, + "stopPropagation": true, + "onErrorAction": "no-action", + "tag": "pp_rejected", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "38111665-db1b-4abb-94c2-d0053e01eefc", + "blockType": "buttonBlock", + "defaultActive": true, + "permissions": [ + "Project Participant" + ], + "onErrorAction": "no-action", + "uiMetaData": { + "buttons": [ + { + "tag": "Button_0", + "name": "Return", + "type": "selector", + "filters": [] + } + ] + }, + "schema": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "tag": "return_pp_btn", + "children": [], + "events": [ + { + "target": "create_pp_profile", + "source": "return_pp_btn", + "input": "RunEvent", + "output": "Button_0", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "c0f4f1c2-9bf4-4f70-9a26-97670e129b46", + "blockType": "interfaceContainerBlock", + "defaultActive": true, + "uiMetaData": { + "type": "blank" + }, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "tag": "vvb_lifecycle", + "children": [ + { + "id": "4b7fc573-5c92-41d6-bf93-32699f656f61", + "blockType": "interfaceStepBlock", + "defaultActive": true, + "uiMetaData": { + "type": "blank" + }, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "finalBlocks": [ + "Monitoring_Reports_vvp" + ], + "cyclic": false, + "tag": "new_VVB", + "children": [ + { + "id": "eda1528b-32b1-4972-b771-dab8ffcb211d", + "blockType": "requestVcDocumentBlock", + "defaultActive": true, + "uiMetaData": { + "privateFields": [], + "type": "page", + "title": "New VVB" + }, + "permissions": [ + "VVB" + ], + "idType": "OWNER", + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "onErrorAction": "no-action", + "presetFields": [], + "preset": true, + "presetSchema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "editType": "new", + "tag": "create_new_vvb", + "children": [ + { + "id": "979554e9-2ac8-4342-977a-77f44d86309f", + "blockType": "documentsSourceAddon", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "filters": [ + { + "value": "REJECTED", + "field": "option.status", + "type": "equal" + } + ], + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "dataType": "vc-documents", + "createdOrderDirection": "DESC", + "onlyOwnDocuments": true, + "tag": "rejected_vvb_docs", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "0a55fb0e-c247-42e3-a5c0-626520ae28cd", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [ + { + "name": "status", + "value": "Waiting for approval" + } + ], + "dataSource": "hedera", + "documentType": "vc", + "topic": "Project", + "topicOwner": "", + "entityType": "vvb", + "dataType": "", + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "save_new_approve_document_hedera", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "8349a628-4af6-4676-92f7-9bbf150b491b", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "ANY_ROLE" + ], + "uiMetaData": {}, + "dataType": "vc-documents", + "entityType": "vvb", + "onErrorAction": "no-action", + "options": [], + "dataSource": "database", + "documentType": "vc", + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "save_new_approve_document", + "children": [], + "events": [ + { + "target": "vvb_grid_sr", + "source": "save_new_approve_document", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "vvb_grid", + "source": "save_new_approve_document", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "pp_grid_sr", + "source": "save_new_approve_document", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "1d1e5b9d-b687-4043-b5f4-7b40e183e635", + "blockType": "informationBlock", + "defaultActive": true, + "permissions": [ + "VVB" + ], + "uiMetaData": { + "title": "Waiting for approval", + "description": "Waiting for approval", + "type": "text" + }, + "stopPropagation": true, + "onErrorAction": "no-action", + "tag": "wait_for_approve", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "bb5448e0-6bc8-4143-9d7f-924ff9c689dc", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "uiMetaData": {}, + "entityType": "vvb", + "dataType": "vc-documents", + "onErrorAction": "no-action", + "options": [], + "dataSource": "database", + "documentType": "vc", + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "update_approve_document_status", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "f6ff09f3-b212-4323-82d7-2c325684a237", + "blockType": "reassigningBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "issuer": "policyOwner", + "actor": "owner", + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "reassign_vc_vvb", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "e272797d-3ecb-4169-9988-f6f4ff866f75", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [], + "dataSource": "hedera", + "documentType": "vc", + "topic": "Project", + "topicOwner": "", + "entityType": "approved_vvb", + "stopPropagation": false, + "forceNew": false, + "dataType": "", + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "save_vc_vvb_hedera", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "787ff06e-a3f3-4f92-b084-41cb67fc67e1", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [], + "dataSource": "database", + "documentType": "vc", + "topic": "Project", + "topicOwner": "", + "entityType": "approved_vvb", + "stopPropagation": false, + "forceNew": true, + "dataType": "vc-documents", + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "save_vc_vvb", + "children": [], + "events": [ + { + "target": "vvb_grid_sr", + "source": "save_vc_vvb", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "8baa4c28-101b-43e2-9258-b27ad874876f", + "blockType": "interfaceContainerBlock", + "defaultActive": true, + "uiMetaData": { + "type": "tabs" + }, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "tag": "VVB_Header", + "children": [ + { + "id": "fad775db-40c5-4da2-8c8d-5a6d792591b3", + "blockType": "interfaceContainerBlock", + "defaultActive": true, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "uiMetaData": { + "type": "blank", + "title": "Documents" + }, + "tag": "VVB Documents", + "children": [ + { + "id": "924b49b6-8b6e-40bd-860f-2c21015629b9", + "blockType": "interfaceDocumentsSourceBlock", + "defaultActive": true, + "uiMetaData": { + "fields": [ + { + "title": "Owner", + "name": "document.issuer", + "tooltip": "", + "type": "text" + }, + { + "title": "Text", + "name": "document.credentialSubject.0.field0", + "tooltip": "", + "type": "text" + }, + { + "title": "Operation", + "name": "", + "tooltip": "", + "type": "block", + "action": "", + "url": "", + "dialogContent": "", + "dialogClass": "", + "dialogType": "", + "bindBlock": "revoke_vvb_own_document_btn", + "bindGroup": "vvb_grid_documents" + }, + { + "title": "Operation", + "name": "option.status", + "tooltip": "", + "type": "text", + "action": "", + "url": "", + "dialogContent": "", + "dialogClass": "", + "dialogType": "", + "bindBlock": "", + "width": "250px" + }, + { + "title": "Document", + "name": "document", + "tooltip": "", + "type": "button", + "action": "dialog", + "url": "", + "dialogContent": "VC", + "dialogClass": "", + "dialogType": "json", + "bindBlock": "", + "content": "View Document", + "uiClass": "link" + } + ] + }, + "permissions": [ + "VVB" + ], + "dependencies": [ + "save_new_approve_document" + ], + "onErrorAction": "no-action", + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "vvb_grid", + "children": [ + { + "id": "4e99f1e2-edd5-4e66-ba0b-e57a49466b4f", + "blockType": "documentsSourceAddon", + "defaultActive": true, + "permissions": [ + "VVB" + ], + "filters": [ + { + "value": "vvb", + "field": "type", + "type": "in" + }, + { + "value": "REJECTED", + "field": "option.status", + "type": "not_equal" + } + ], + "dataType": "vc-documents", + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "vvb_grid_documents", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "f32dd36a-7b78-4849-8eb4-7f45c506a777", + "blockType": "documentsSourceAddon", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "filters": [ + { + "value": "vvb", + "field": "type", + "type": "in" + }, + { + "value": "REJECTED", + "field": "option.status", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "vvb_grid_documents_rejected", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "861b6c86-379a-4c6b-b4bd-253a7847c649", + "blockType": "historyAddon", + "defaultActive": false, + "permissions": [ + "ANY_ROLE" + ], + "onErrorAction": "no-action", + "tag": "history_addon_eb2f56e0-f2d6-4288-bffe-ee08f89d60ab", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "0cb88e1c-61c4-4d40-b67f-41fc1a3241dd", + "blockType": "buttonBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "uiMetaData": { + "buttons": [ + { + "tag": "Button_0", + "name": "Revoke", + "type": "selector-dialog", + "filters": [ + { + "value": "Revoked", + "field": "option.status", + "type": "not_equal" + } + ], + "title": "Revoke", + "description": "Enter revoke message" + } + ] + }, + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "revoke_vvb_own_document_btn", + "children": [], + "events": [ + { + "target": "revoke_vvb_own_document", + "source": "revoke_vvb_own_document_btn", + "input": "RunEvent", + "output": "Button_0", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "834cebe2-7ecf-48f9-875d-899e4292223e", + "blockType": "revocationBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "updatePrevDoc": true, + "prevDocStatus": "Waiting for approval", + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "revoke_vvb_own_document", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "85ff01c9-a831-47bf-be74-c3b116613197", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "uiMetaData": {}, + "entityType": "", + "dataType": "vc-documents", + "onErrorAction": "no-action", + "options": [ + { + "name": "status", + "value": "Revoked" + } + ], + "dataSource": "database", + "documentType": "document", + "stopPropagation": false, + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "save_revoked_vvb_own_document", + "children": [], + "events": [ + { + "target": "vvb_grid_sr", + "source": "save_revoked_vvb_own_document", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "b1481f8e-16d5-487a-8683-460c92d03c72", + "blockType": "switchBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "onErrorAction": "no-action", + "executionFlow": "firstTrue", + "conditions": [ + { + "type": "equal", + "value": "true == true", + "actor": "owner", + "target": "create_new_vvb", + "tag": "Condition_0" + } + ], + "tag": "return_vvb_to_request", + "children": [], + "events": [ + { + "target": "create_new_vvb", + "source": "return_vvb_to_request", + "input": "RunEvent", + "output": "Condition_0", + "actor": "", + "disabled": false + }, + { + "target": "", + "source": "return_vvb_to_request", + "input": "RunEvent", + "output": "Condition_0", + "actor": "", + "disabled": false + }, + { + "target": "", + "source": "return_vvb_to_request", + "input": "RunEvent", + "output": "Condition_0", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "36e8f66e-5c62-4f7b-915a-1b70792cab2b", + "blockType": "interfaceContainerBlock", + "defaultActive": true, + "uiMetaData": { + "title": "Monitoring Reports", + "type": "blank" + }, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "tag": "Monitoring_Reports_vvp", + "children": [ + { + "id": "d1567c1a-cf2b-4be6-a562-83c5ddfe2138", + "blockType": "interfaceDocumentsSourceBlock", + "defaultActive": true, + "uiMetaData": { + "fields": [ + { + "title": "Summary", + "name": "document.credentialSubject.0.field0.field0", + "tooltip": "", + "type": "text" + }, + { + "title": "Project", + "name": "document.credentialSubject.0.ref", + "tooltip": "", + "type": "text" + }, + { + "title": "Status", + "name": "option.status", + "tooltip": "", + "type": "text", + "width": "200px" + }, + { + "title": "Operation", + "name": "option.status", + "tooltip": "", + "type": "block", + "action": "", + "url": "", + "dialogContent": "", + "dialogClass": "", + "dialogType": "", + "bindBlock": "approve_report_btn", + "bindGroup": "report_grid_vvb_reports", + "width": "250px" + }, + { + "title": "Document", + "name": "document", + "tooltip": "", + "type": "button", + "action": "dialog", + "url": "", + "dialogContent": "VC", + "dialogClass": "", + "dialogType": "json", + "bindBlock": "", + "content": "View Document", + "uiClass": "link", + "width": "170px" + }, + { + "title": "Operation", + "name": "", + "tooltip": "", + "type": "block", + "width": "250px", + "bindGroup": "report_grid_vvb_reports(approved)", + "action": "", + "url": "", + "dialogContent": "", + "dialogClass": "", + "dialogType": "", + "bindBlock": "revoke_reassign_report_btn" + } + ] + }, + "permissions": [ + "VVB" + ], + "dependencies": [ + "reject_report_status", + "save_mint_status", + "save_reassign_report", + "save_report" + ], + "onErrorAction": "no-action", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "report_grid_vvb", + "children": [ + { + "id": "91f5a956-36d8-4d04-83ee-351815b53f17", + "blockType": "buttonBlock", + "defaultActive": true, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "uiMetaData": { + "buttons": [ + { + "tag": "Button_0", + "name": "Verify", + "type": "selector", + "filters": [], + "field": "option.status", + "value": "Verified", + "uiClass": "btn-approve" + }, + { + "tag": "Button_1", + "name": "Reject", + "type": "selector-dialog", + "filters": [], + "title": "Reject", + "description": "Enter reject reason", + "field": "option.status", + "value": "REJECTED", + "uiClass": "btn-reject" + } + ] + }, + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "approve_report_btn", + "children": [], + "events": [ + { + "target": "approve_report_status", + "source": "approve_report_btn", + "input": "RunEvent", + "output": "Button_0", + "actor": "", + "disabled": false + }, + { + "target": "reject_report_status", + "source": "approve_report_btn", + "input": "RunEvent", + "output": "Button_1", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "1f727771-6c04-4af9-b875-47a3a7040353", + "blockType": "documentsSourceAddon", + "defaultActive": true, + "permissions": [ + "VVB" + ], + "filters": [ + { + "value": "report", + "field": "type", + "type": "equal" + }, + { + "value": "Waiting for Verification", + "field": "option.status", + "type": "equal" + } + ], + "dataType": "vc-documents", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "onlyOwnDocuments": false, + "tag": "report_grid_vvb_reports", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "04a00de0-6dd4-4a7e-836d-742594b92ca4", + "blockType": "documentsSourceAddon", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "filters": [ + { + "value": "approved_report", + "field": "type", + "type": "equal" + } + ], + "uiMetaData": { + "type": "blank" + }, + "dataType": "vc-documents", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "onlyAssignDocuments": true, + "tag": "report_grid_vvb_reports(approved)", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "39d6d2b0-b5ac-4b67-a6fa-725672ff08d1", + "blockType": "documentsSourceAddon", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "filters": [ + { + "value": "rejected_report", + "field": "type", + "type": "equal" + } + ], + "uiMetaData": { + "type": "blank" + }, + "dataType": "vc-documents", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "onlyAssignDocuments": true, + "tag": "report_grid_vvb_reports(rejected)", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "fadb4578-7084-4761-a07a-730f3bf5a30f", + "blockType": "historyAddon", + "defaultActive": false, + "permissions": [ + "ANY_ROLE" + ], + "onErrorAction": "no-action", + "tag": "history_addon_a40f0da4-e982-481c-a23e-b86f7e76e770", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "e6d619fd-71c4-4425-a004-23adf99a3e70", + "blockType": "requestVcDocumentBlock", + "defaultActive": true, + "permissions": [ + "VVB" + ], + "uiMetaData": { + "privateFields": [], + "type": "dialog", + "content": "VVB Verification Report", + "dialogContent": "VVB Verification Report", + "description": "VVB Verification Report" + }, + "idType": "UUID", + "schema": "#5f5a4078-0c5e-42fb-9cb9-b00ec4ef0cd7&1.0.0", + "onErrorAction": "no-action", + "presetFields": [], + "stopPropagation": false, + "editType": "new", + "tag": "create_vvb_verification_report", + "children": [], + "events": [ + { + "target": "save_vvb_verification_report_hedera", + "source": "create_vvb_verification_report", + "input": "RunEvent", + "output": "RunEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "f5cfd6f5-63ec-4272-86cf-4c2cc776c9a1", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "uiMetaData": {}, + "options": [], + "dataSource": "hedera", + "documentType": "vc", + "topic": "Project", + "entityType": "vvb_verification_report", + "dataType": "", + "onErrorAction": "no-action", + "stopPropagation": false, + "schema": "#5f5a4078-0c5e-42fb-9cb9-b00ec4ef0cd7&1.0.0", + "tag": "save_vvb_verification_report_hedera", + "children": [], + "events": [ + { + "target": "save_vvb_verification_report_db", + "source": "save_vvb_verification_report_hedera", + "input": "RunEvent", + "output": "RunEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "3f71db87-6d50-47c9-a997-e9c098c1e1bd", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "uiMetaData": {}, + "options": [], + "dataSource": "database", + "documentType": "vc", + "entityType": "vvb_verification_report", + "dataType": "vc-documents", + "onErrorAction": "no-action", + "stopPropagation": false, + "schema": "#5f5a4078-0c5e-42fb-9cb9-b00ec4ef0cd7&1.0.0", + "tag": "save_vvb_verification_report_db", + "children": [], + "events": [ + { + "target": "report_grid_sr", + "source": "save_vvb_verification_report_db", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "report_grid_vvb", + "source": "save_vvb_verification_report_db", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "698799f1-b2fd-4dd1-aa2c-6961c97f2341", + "blockType": "interfaceContainerBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "uiMetaData": { + "type": "blank" + }, + "onErrorAction": "no-action", + "tag": "mint_events", + "children": [ + { + "id": "46ee6774-c651-456a-b6d2-cd2dcb3538ad", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "uiMetaData": {}, + "dataType": "vc-documents", + "entityType": "report", + "options": [ + { + "name": "status", + "value": "Verified" + } + ], + "stopPropagation": false, + "onErrorAction": "no-action", + "dataSource": "database", + "documentType": "vc", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "approve_report_status", + "children": [], + "events": [ + { + "target": "save_reassign_report", + "source": "approve_report_status", + "input": "RunEvent", + "output": "RunEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "70e65235-aa14-461a-ba2a-6b0b0e838965", + "blockType": "reassigningBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "reassign_report", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "f707d0f9-c865-4f16-9d81-20c7c4e54e42", + "blockType": "setRelationshipsBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "set_relationships_to_report_vvb", + "children": [ + { + "id": "71d1767b-465d-4b51-87b1-79ec2ed8dbd4", + "blockType": "documentsSourceAddon", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "filters": [ + { + "value": "approved_vvb", + "field": "type", + "type": "equal" + }, + { + "value": "Revoked", + "field": "option.status", + "type": "not_equal" + } + ], + "onlyOwnDocuments": true, + "dataType": "vc-documents", + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "vvb_own_documents_relationships", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "fe01fe26-bff2-4054-9a70-8b4aec8fcb6d", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [], + "dataSource": "hedera", + "documentType": "vc", + "topic": "Project", + "topicOwner": "", + "stopPropagation": false, + "entityType": "approved_report", + "dataType": "", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "save_reassign_report_hedera", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "e68b5063-7b63-4637-af3d-e624bdde3543", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [ + { + "variable": "", + "role": "", + "name": "status", + "value": "Verified" + } + ], + "stopPropagation": false, + "dataType": "vc-documents", + "entityType": "approved_report", + "documentType": "vc", + "dataSource": "database", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "save_reassign_report", + "children": [], + "events": [ + { + "target": "report_grid_sr", + "source": "save_reassign_report", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "report_grid_pp", + "source": "save_reassign_report", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "report_grid_vvb", + "source": "save_reassign_report", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "create_vvb_verification_report", + "source": "save_reassign_report", + "input": "RunEvent", + "output": "RunEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "24017814-56c3-4ea4-85fa-2fbeac31f30d", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "uiMetaData": {}, + "stopPropagation": false, + "entityType": "report", + "dataType": "vc-documents", + "options": [ + { + "name": "status", + "value": "Rejected" + } + ], + "onErrorAction": "no-action", + "dataSource": "database", + "documentType": "vc", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "reject_report_status", + "children": [], + "events": [ + { + "target": "report_grid_sr", + "source": "reject_report_status", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "report_grid_vvb", + "source": "reject_report_status", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "87df1ac5-9bad-4f4b-a7c4-80e6bff3a51a", + "blockType": "reassigningBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "reassign_rejected_report", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "043ea02e-e327-4a91-bcd1-81fee3fc84b2", + "blockType": "setRelationshipsBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "set_relationships_to_rejected_vvb", + "children": [ + { + "id": "b63ff761-d6fa-49ec-930a-647d04ee7dde", + "blockType": "documentsSourceAddon", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "filters": [ + { + "value": "approved_vvb", + "field": "type", + "type": "equal" + }, + { + "value": "Revoked", + "field": "option.status", + "type": "not_equal" + } + ], + "onlyOwnDocuments": true, + "dataType": "vc-documents", + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "vvb_own_documents_relationships_rejected", + "children": [], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "0a9e17a5-7bc3-4708-973e-b3cc73eb1f9c", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [], + "dataSource": "hedera", + "documentType": "vc", + "topic": "Project", + "topicOwner": "", + "stopPropagation": false, + "entityType": "rejected_report", + "dataType": "", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "save_reassign_rejected_report_hedera", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "b97c8cf4-eb61-48e9-b218-f1c80c67b81e", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [], + "stopPropagation": true, + "dataType": "vc-documents", + "entityType": "rejected_report", + "documentType": "vc", + "dataSource": "database", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "save_reassign_rejected_report", + "children": [], + "events": [ + { + "target": "report_grid_sr", + "source": "save_reassign_rejected_report", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "report_grid_pp", + "source": "save_reassign_rejected_report", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "report_grid_vvb", + "source": "save_reassign_rejected_report", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "69645059-02cc-4b1e-a491-cb44236e7650", + "blockType": "buttonBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "uiMetaData": { + "buttons": [ + { + "tag": "Button_0", + "name": "Revoke", + "type": "selector-dialog", + "filters": [ + { + "value": "Revoked", + "field": "option.status", + "type": "not_equal" + } + ], + "title": "Revoke", + "description": "Enter revoke message" + } + ] + }, + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "revoke_reassign_report_btn", + "children": [], + "events": [ + { + "target": "revoke_reassign_report", + "source": "revoke_reassign_report_btn", + "input": "RunEvent", + "output": "Button_0", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "6f2beff2-d87b-4b4f-acff-55687419fb63", + "blockType": "revocationBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "updatePrevDoc": true, + "prevDocStatus": "Waiting for Verification", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "revoke_reassign_report", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "e3f3fa96-7434-421e-9a97-550d503f302b", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [ + { + "name": "status", + "value": "Revoked" + } + ], + "dataSource": "database", + "documentType": "document", + "stopPropagation": true, + "dataType": "vc-documents", + "schema": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "tag": "save_revoke_reassign_report", + "children": [], + "events": [ + { + "target": "report_grid_sr", + "source": "save_revoke_reassign_report", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "report_grid_pp", + "source": "save_revoke_reassign_report", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "report_grid_vvb", + "source": "save_revoke_reassign_report", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "tokens_grid", + "source": "save_revoke_reassign_report", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + }, + { + "target": "vp_grid", + "source": "save_revoke_reassign_report", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + { + "id": "c09df9ea-64cf-4093-b02c-1bd3f0f44144", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "OWNER" + ], + "uiMetaData": {}, + "entityType": "vvb", + "dataType": "vc-documents", + "options": [], + "onErrorAction": "no-action", + "dataSource": "database", + "documentType": "vc", + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "update_approve_document_status_2", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "4e97666b-51e6-4382-b479-a0afb98f013e", + "blockType": "reassigningBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "issuer": "policyOwner", + "actor": "owner", + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "reassign_rejected_vvb", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "6093af21-6a2f-4844-89f4-f5dbf3be0ace", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "uiMetaData": {}, + "options": [], + "dataSource": "hedera", + "documentType": "vc", + "topic": "Project", + "topicOwner": "", + "entityType": "rejected_vvb", + "stopPropagation": false, + "forceNew": false, + "dataType": "", + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "reassign_rejected_vvb_hedera", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "aa6270b7-5f1c-4f88-86a8-0c873d8dbc75", + "blockType": "sendToGuardianBlock", + "defaultActive": false, + "permissions": [ + "VVB" + ], + "uiMetaData": {}, + "entityType": "rejected_vvb", + "dataType": "vc-documents", + "onErrorAction": "no-action", + "options": [], + "dataSource": "database", + "documentType": "vc", + "forceNew": true, + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "save_reassign_rejected_vvb", + "children": [], + "events": [ + { + "target": "vvb_grid_sr", + "source": "save_reassign_rejected_vvb", + "input": "RefreshEvent", + "output": "RefreshEvent", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + }, + { + "id": "d5da28aa-b450-4ea3-96e4-0dc701d56989", + "blockType": "interfaceContainerBlock", + "defaultActive": true, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "uiMetaData": { + "type": "blank" + }, + "tag": "rewrite_vvb", + "children": [ + { + "id": "ce53b0f1-522b-4b68-a6fd-5e8ce6a2c0c5", + "blockType": "informationBlock", + "defaultActive": true, + "permissions": [ + "VVB" + ], + "uiMetaData": { + "description": "Your application was rejected", + "title": "Rejected", + "type": "text", + "bindBlock": "return_vvb_btn" + }, + "stopPropagation": true, + "onErrorAction": "no-action", + "tag": "vvb_rejected", + "children": [], + "events": [], + "artifacts": [] + }, + { + "id": "3a847751-b828-4269-85fc-817c916160a6", + "blockType": "buttonBlock", + "defaultActive": true, + "permissions": [ + "VVB" + ], + "onErrorAction": "no-action", + "uiMetaData": { + "buttons": [ + { + "tag": "Button_0", + "name": "Return", + "type": "selector", + "filters": [] + } + ] + }, + "schema": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "tag": "return_vvb_btn", + "children": [], + "events": [ + { + "target": "create_new_vvb", + "source": "return_vvb_btn", + "input": "RunEvent", + "output": "Button_0", + "actor": "", + "disabled": false + } + ], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + } + ], + "events": [], + "artifacts": [] + }, + "id": "6a1f44809f1ad5292ad2e6e4" +} \ No newline at end of file diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/formulas/README.md b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/formulas/README.md new file mode 100644 index 0000000000..8b5b9b78f2 --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/formulas/README.md @@ -0,0 +1,77 @@ +# Formula Linked Definitions — VMR0015 v1.0 + +This folder contains the **Guardian Formula Linked Definition** for the policy: a +human-readable, schema-linked representation of the emission-reduction math, so a +reviewer can see each equation and click through every variable to the exact +Monitoring Report field it reads. + +## Files +| File | Purpose | +|---|---| +| `VMR0015_formula.zip` | Importable Guardian formula artifact (`formula.json` + `schemas.json`). Import via **Policies → Formulas → Import**. | +| `formula.json` | The formula definition (unzipped, for review). | +| `schemas.json` | The schema reference list the formula links to. | + +The structure follows Guardian's own interface (`@guardian/interfaces` → +`IFormula` / `IFormulaItem` / `IFormulaLink`) and import/export format +(`common/src/import-export/formula.ts`: `formula.json` + `schemas.json`). + +## Equations and their linked definitions + +All variables link to the **Monitoring Report** schema +(`#db884e2d-a681-40d4-b24c-0e0d848fb868`). These are the real AMS-III.AV. +equations (primary source: UNFCCC CDM AMS-III.AV.). + +| Item | Type | Definition | Linked to | +|---|---|---|---| +| `QPW_y` | variable | Safe drinking water supplied (L/yr) | Monitoring Report → `field12` | +| `m` | variable | Fraction of functional appliances meeting SDW (0–1) | Monitoring Report → `field13` | +| `X_boil` | variable | Fraction whose baseline is boiling (0–1) | Monitoring Report → `field14` | +| `nwb` | variable | Baseline appliance efficiency (0–1) | Monitoring Report → `field15` | +| `EF_fuel` | variable | Baseline fuel emission factor (tCO₂/TJ) | Monitoring Report → `field16` | +| `f_i` | variable | Fraction of non-renewable biomass / fNRB (0–1) | Monitoring Report → `field17` | +| `BL_fuel` | variable | Baseline fuel fraction (0–1) | Monitoring Report → `field18` | +| `PE_y` | variable | Project Emissions total (tCO₂e) | Monitoring Report → `field4` | +| `LE_y` | variable | Leakage Emissions total (tCO₂e) | Monitoring Report → `field5` | +| `SEC` | formula | `357.48 / nwb` (kJ/L) — AMS-III.AV. Eq. 5 | — | +| `BE_y` | formula | `QPW_y × m × X_boil × SEC × (BL_fuel × f_i × EF_fuel × 1e-9)` — Eq. 1 | Monitoring Report → `field3` (computed) | +| `pass_rate` | formula | appliances passing / total (fail-closed at 0 when no data) | `field10` / `field11` | +| `ER_y` | formula | `(pass_rate < 0.90) ? 0 : max(0, BE_y − PE_y − LE_y)` — Eq. 7 + water-quality gate | Monitoring Report → `field6` (MintToken rule) | + +## How this maps to the calculation block + +The `calculate_report_fields` custom-logic block implements exactly these +equations on-chain: + +``` +SEC = 357.48 / nwb // Eq.5 +BE_y = QPW_y * m * X_boil * SEC * (BL_fuel * f_i * EF_fuel * 1e-9) // Eq.1 +ER_y = (pass_rate < 0.90) ? 0 : max(0, BE_y - PE_y - LE_y) // Eq.7 + WQ gate +field3 = BE_y field6 = ER_y (minted) +``` + +So the **formula linked definitions** (this folder) and the **formula +calculation block** (`calculate_report_fields` inside `VMR0015.policy`) describe +the *same* math — one as a reviewable, schema-linked definition, the other as the +executable block that runs at submission time. + +## Relationship to Verra's published VMR0015 + +- `ER_y = BE_y − PE_y − LE_y` is the methodology's core equation (AMS-III.AV. Eq. 7); + `BE_y` and `SEC` are AMS-III.AV. Eq. 1 and Eq. 5 respectively. The constant + `357.48 kJ/L = 4.186 × (100 − 20) + 0.01 × 2260`. +- **No blanket uncertainty multiplier is applied.** AMS-III.AV. does not mandate a + single discount factor; conservativeness is carried by the `m` term and by the + water-quality gate (ER = 0 when more than 10% of appliances fail). +- The derivation of the upstream parameters (the six VMR0015 refinements — + non-renewable biomass fraction, validation-set leakage factor, updated emission + factors, REDD+ double-counting, interacting-technologies baseline adjustment, + per-device data) occurs during validation/verification; the policy consumes the + resulting parameter values entered on the Monitoring Report. + +## Source references +- Methodology (primary): UNFCCC CDM — AMS-III.AV. (Eq. 1/5/7, 357.48 constant) +- Verra — VMR0015 v1.0 methodology page +- Guardian interface: `interfaces/src/interface/formulas.interface.ts` +- Guardian import/export: `common/src/import-export/formula.ts` +- Feature docs: https://guardian.hedera.com/guardian/standard-registry/policies/formula-linked-definitions diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/formulas/VMR0015_formula.zip b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/formulas/VMR0015_formula.zip new file mode 100644 index 0000000000..b4c021a593 Binary files /dev/null and b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/formulas/VMR0015_formula.zip differ diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/formulas/formula.json b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/formulas/formula.json new file mode 100644 index 0000000000..3cc4f2e8e0 --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/formulas/formula.json @@ -0,0 +1,104 @@ +{ + "id": "vmr0015-formula-amsiiiav", + "uuid": "b3f1a7c0-1d2e-4c6a-9f01-amsiiiav0001", + "name": "VMR0015 v1.0 — Emission Reductions (AMS-III.AV.)", + "description": "Formula linked definitions for the VMR0015 v1.0 Safe Drinking Water dMRV policy. Implements the real AMS-III.AV. equations: SEC = 357.48 / nwb (Eq.5); BE_y = QPW_y * m * X_boil * SEC * (BL_fuel * f_i * EF_fuel * 1e-9) (Eq.1); ER_y = BE_y - PE_y - LE_y (Eq.7). A water-quality gate zeroes ER_y when more than 10% of appliances fail (pass-rate < 0.90), fail-closed on missing data. No blanket uncertainty multiplier is applied. Primary source: UNFCCC CDM AMS-III.AV.", + "policyId": "", + "config": { + "formulas": [ + { + "uuid": "f-qpw", + "name": "QPW_y", + "description": "Quantity of safe drinking water supplied in the monitoring period (L/yr)", + "type": "variable", + "link": { "type": "schema", "entityId": "#db884e2d-a681-40d4-b24c-0e0d848fb868", "item": "field12" } + }, + { + "uuid": "f-m", + "name": "m", + "description": "Fraction of functional appliances meeting the safe-drinking-water requirement (0-1)", + "type": "variable", + "link": { "type": "schema", "entityId": "#db884e2d-a681-40d4-b24c-0e0d848fb868", "item": "field13" } + }, + { + "uuid": "f-xboil", + "name": "X_boil", + "description": "Fraction of the population whose baseline water treatment is boiling (0-1)", + "type": "variable", + "link": { "type": "schema", "entityId": "#db884e2d-a681-40d4-b24c-0e0d848fb868", "item": "field14" } + }, + { + "uuid": "f-nwb", + "name": "nwb", + "description": "Baseline water-boiling appliance efficiency (0-1)", + "type": "variable", + "link": { "type": "schema", "entityId": "#db884e2d-a681-40d4-b24c-0e0d848fb868", "item": "field15" } + }, + { + "uuid": "f-ef", + "name": "EF_fuel", + "description": "Emission factor of the baseline fuel (tCO2/TJ)", + "type": "variable", + "link": { "type": "schema", "entityId": "#db884e2d-a681-40d4-b24c-0e0d848fb868", "item": "field16" } + }, + { + "uuid": "f-fi", + "name": "f_i", + "description": "Fraction of non-renewable biomass / fNRB (0-1)", + "type": "variable", + "link": { "type": "schema", "entityId": "#db884e2d-a681-40d4-b24c-0e0d848fb868", "item": "field17" } + }, + { + "uuid": "f-blf", + "name": "BL_fuel", + "description": "Baseline fuel fraction (0-1)", + "type": "variable", + "link": { "type": "schema", "entityId": "#db884e2d-a681-40d4-b24c-0e0d848fb868", "item": "field18" } + }, + { + "uuid": "f-pe", + "name": "PE_y", + "description": "Project Emissions total for the monitoring period (tCO2e) — TOOL03 + TOOL05", + "type": "variable", + "link": { "type": "schema", "entityId": "#db884e2d-a681-40d4-b24c-0e0d848fb868", "item": "field4" } + }, + { + "uuid": "f-le", + "name": "LE_y", + "description": "Leakage Emissions total for the monitoring period (tCO2e) — AMS-I.E.", + "type": "variable", + "link": { "type": "schema", "entityId": "#db884e2d-a681-40d4-b24c-0e0d848fb868", "item": "field5" } + }, + { + "uuid": "f-sec", + "name": "SEC", + "description": "Specific energy consumption to heat and boil water (kJ/L). AMS-III.AV. Eq.5; 357.48 = 4.186*(100-20) + 0.01*2260.", + "type": "formula", + "value": "357.48 / nwb" + }, + { + "uuid": "f-be", + "name": "BE_y", + "description": "Baseline Emissions (tCO2e), AMS-III.AV. Eq.1. The 1e-9 factor converts kJ -> TJ for the EF in tCO2/TJ.", + "type": "formula", + "value": "QPW_y * m * X_boil * SEC * (BL_fuel * f_i * EF_fuel * 1e-9)", + "link": { "type": "schema", "entityId": "#db884e2d-a681-40d4-b24c-0e0d848fb868", "item": "field3" } + }, + { + "uuid": "f-passrate", + "name": "pass_rate", + "description": "Appliance water-quality pass-rate = appliances passing / total. Fail-closed: 0 when no appliance evidence.", + "type": "formula", + "value": "appliances_passing / appliances_total" + }, + { + "uuid": "f-er", + "name": "ER_y", + "description": "Emission reductions recorded and minted (tCO2e). AMS-III.AV. Eq.7 with the water-quality gate: ER = 0 when more than 10% of appliances fail (pass_rate < 0.90); negatives clamp to 0. Written to Monitoring Report field6 (the MintToken rule).", + "type": "formula", + "value": "(pass_rate < 0.90) ? 0 : max(0, BE_y - PE_y - LE_y)", + "link": { "type": "schema", "entityId": "#db884e2d-a681-40d4-b24c-0e0d848fb868", "item": "field6" } + } + ] + } +} diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/formulas/schemas.json b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/formulas/schemas.json new file mode 100644 index 0000000000..85dd873ea1 --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/formulas/schemas.json @@ -0,0 +1,8 @@ +[ + { + "iri": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "name": "Monitoring Report", + "description": "VMR0015 monitoring report — AMS-III.AV. parameters (QPW_y, m, X_boil, nwb, EF_fuel, f_i, BL_fuel, appliances passing/total) plus PE/LE; BE and ER computed on submission.", + "version": "1.0.0" + } +] diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/readme.md b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/readme.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Baseline_Emissions__f1a41485.json b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Baseline_Emissions__f1a41485.json new file mode 100644 index 0000000000..669456232c --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Baseline_Emissions__f1a41485.json @@ -0,0 +1,207 @@ +{ + "tenantId": "6a11a2e75c64afbda9f4c4aa", + "createDate": "2026-06-02T21:00:47.565Z", + "updateDate": "2026-06-02T21:14:52.726Z", + "uuid": "f1a41485-a323-458d-9273-82479747b2e7", + "hash": "", + "name": "Baseline Emissions", + "description": "VMR0015 baseline emissions per household from non-renewable biomass and fossil fuel use for water boiling.", + "entity": "VC", + "version": "1.0.0", + "sourceVersion": "", + "creator": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "owner": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "topicId": "0.0.9124171", + "messageId": "1780434890.843410000", + "documentURL": "ipfs://QmZUvqY7VbXDitBWd2KHfrPXvtTbY3KCULDjRrVgh1iBfJ", + "contextURL": "ipfs://Qma9cNqYjeVdwoCsgSjynwjdZHrF8CutLHX8mo9iD6iov3", + "iri": "#f1a41485-a323-458d-9273-82479747b2e7&1.0.0", + "system": false, + "active": false, + "category": "POLICY", + "codeVersion": "1.2.0", + "defs": [], + "errors": [], + "contentDocumentFileId": "6a177c029f1ad5292ace77ad", + "contentContextFileId": "6a177c029f1ad5292ace77af", + "document": { + "$id": "#f1a41485-a323-458d-9273-82479747b2e7&1.0.0", + "$comment": "{ \"@id\": \"#f1a41485-a323-458d-9273-82479747b2e7&1.0.0\", \"term\": \"f1a41485-a323-458d-9273-82479747b2e7&1.0.0\" }", + "title": "Baseline Emissions", + "description": "VMR0015 baseline emissions per household from non-renewable biomass and fossil fuel use for water boiling.", + "type": "object", + "properties": { + "@context": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "type": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "id": { + "type": "string", + "readOnly": true + }, + "calcId": { + "title": "Calc ID", + "description": "UUID v4", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"calcId\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":0}" + }, + "policyId": { + "title": "Policy Id", + "description": "Policy Id", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"policyId\",\"@id\":\"https://www.schema.org/text\"}" + }, + "ref": { + "title": "Relationships", + "description": "Relationships", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"ref\",\"@id\":\"https://www.schema.org/text\"}" + }, + "guardianVersion": { + "title": "Guardian Version", + "description": "Guardian Version", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"guardianVersion\",\"@id\":\"https://www.schema.org/text\"}" + }, + "householdRef": { + "title": "Household Ref", + "description": "UUID", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"householdRef\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":1}" + }, + "periodRef": { + "title": "Monitoring Period Ref", + "description": "UUID", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"periodRef\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":2}" + }, + "fNRB": { + "title": "fNRB Fraction", + "description": "0..1 non-renewable biomass fraction", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"fNRB\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":3}" + }, + "baselineFuelKgPerDay": { + "title": "Baseline Fuel kg/day", + "description": "Daily fuel mass", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"baselineFuelKgPerDay\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":4}" + }, + "ncvFuel": { + "title": "NCV (TJ/kg)", + "description": "Net calorific value", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"ncvFuel\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":5}" + }, + "efFuel": { + "title": "EF (tCO2e/TJ)", + "description": "Emission factor", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"efFuel\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":6}" + }, + "baselineEmissionsTco2e": { + "title": "Baseline Emissions (tCO2e)", + "description": "Computed baseline", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"baselineEmissionsTco2e\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":7}" + } + }, + "required": [ + "@context", + "type", + "calcId", + "policyId", + "householdRef", + "periodRef", + "fNRB", + "baselineFuelKgPerDay", + "ncvFuel", + "efFuel", + "baselineEmissionsTco2e" + ], + "additionalProperties": false, + "$defs": {} + }, + "context": { + "@context": { + "@version": 1.1, + "@vocab": "https://w3id.org/traceability/#undefinedTerm", + "id": "@id", + "type": "@type", + "f1a41485-a323-458d-9273-82479747b2e7&1.0.0": { + "@id": "#f1a41485-a323-458d-9273-82479747b2e7&1.0.0", + "@context": { + "calcId": { + "@type": "https://www.schema.org/text" + }, + "policyId": { + "@type": "https://www.schema.org/text" + }, + "ref": { + "@type": "https://www.schema.org/text" + }, + "guardianVersion": { + "@type": "https://www.schema.org/text" + }, + "householdRef": { + "@type": "https://www.schema.org/text" + }, + "periodRef": { + "@type": "https://www.schema.org/text" + }, + "fNRB": { + "@type": "https://www.schema.org/text" + }, + "baselineFuelKgPerDay": { + "@type": "https://www.schema.org/text" + }, + "ncvFuel": { + "@type": "https://www.schema.org/text" + }, + "efFuel": { + "@type": "https://www.schema.org/text" + }, + "baselineEmissionsTco2e": { + "@type": "https://www.schema.org/text" + } + } + } + } + }, + "id": "6a1f447f9f1ad5292ad2e694" +} \ No newline at end of file diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Device_Installation_Record__e9d241e4.json b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Device_Installation_Record__e9d241e4.json new file mode 100644 index 0000000000..647a269c2e --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Device_Installation_Record__e9d241e4.json @@ -0,0 +1,206 @@ +{ + "tenantId": "6a11a2e75c64afbda9f4c4aa", + "createDate": "2026-06-02T21:00:47.909Z", + "updateDate": "2026-06-02T21:14:52.993Z", + "uuid": "e9d241e4-9d19-4858-afc5-5caf7d475005", + "hash": "", + "name": "Device Installation Record", + "description": "Records device installation per VMR0015 8.3.", + "entity": "VC", + "version": "1.0.0", + "sourceVersion": "", + "creator": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "owner": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "topicId": "0.0.9124171", + "messageId": "1780434890.843410000", + "documentURL": "ipfs://QmZUvqY7VbXDitBWd2KHfrPXvtTbY3KCULDjRrVgh1iBfJ", + "contextURL": "ipfs://Qma9cNqYjeVdwoCsgSjynwjdZHrF8CutLHX8mo9iD6iov3", + "iri": "#e9d241e4-9d19-4858-afc5-5caf7d475005&1.0.0", + "system": false, + "active": false, + "category": "POLICY", + "codeVersion": "1.2.0", + "defs": [], + "errors": [], + "contentDocumentFileId": "6a177d069f1ad5292ace783f", + "contentContextFileId": "6a177d069f1ad5292ace7841", + "document": { + "$id": "#e9d241e4-9d19-4858-afc5-5caf7d475005&1.0.0", + "$comment": "{ \"@id\": \"#e9d241e4-9d19-4858-afc5-5caf7d475005&1.0.0\", \"term\": \"e9d241e4-9d19-4858-afc5-5caf7d475005&1.0.0\" }", + "title": "Device Installation Record", + "description": "Records device installation per VMR0015 8.3.", + "type": "object", + "properties": { + "@context": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "type": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "id": { + "type": "string", + "readOnly": true + }, + "installationId": { + "title": "Installation ID", + "description": "Unique install event ID", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"installationId\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":0}" + }, + "policyId": { + "title": "Policy Id", + "description": "Policy Id", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"policyId\",\"@id\":\"https://www.schema.org/text\"}" + }, + "ref": { + "title": "Relationships", + "description": "Relationships", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"ref\",\"@id\":\"https://www.schema.org/text\"}" + }, + "guardianVersion": { + "title": "Guardian Version", + "description": "Guardian Version", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"guardianVersion\",\"@id\":\"https://www.schema.org/text\"}" + }, + "deviceRef": { + "title": "Device Reference", + "description": "Device installed", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"deviceRef\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":1}" + }, + "householdRef": { + "title": "Household Reference", + "description": "HH location", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"householdRef\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":2}" + }, + "installDate": { + "title": "Install Date", + "description": "Date device was installed", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"installDate\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":3}" + }, + "installerName": { + "title": "Installer Name", + "description": "Person who installed", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"installerName\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":4}" + }, + "trainingProvided": { + "title": "Training Provided", + "description": "User trained on device use", + "readOnly": false, + "type": "boolean", + "$comment": "{\"term\":\"trainingProvided\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":5}" + }, + "baselineSourceReplaced": { + "title": "Baseline Source Replaced", + "description": "Source water replaced by device", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"baselineSourceReplaced\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":6}" + }, + "installNotes": { + "title": "Install Notes", + "description": "Free-text notes", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"installNotes\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":7}" + } + }, + "required": [ + "@context", + "type", + "installationId", + "policyId", + "deviceRef", + "householdRef", + "installDate", + "installerName", + "trainingProvided", + "baselineSourceReplaced" + ], + "additionalProperties": false, + "$defs": {} + }, + "context": { + "@context": { + "@version": 1.1, + "@vocab": "https://w3id.org/traceability/#undefinedTerm", + "id": "@id", + "type": "@type", + "e9d241e4-9d19-4858-afc5-5caf7d475005&1.0.0": { + "@id": "#e9d241e4-9d19-4858-afc5-5caf7d475005&1.0.0", + "@context": { + "installationId": { + "@type": "https://www.schema.org/text" + }, + "policyId": { + "@type": "https://www.schema.org/text" + }, + "ref": { + "@type": "https://www.schema.org/text" + }, + "guardianVersion": { + "@type": "https://www.schema.org/text" + }, + "deviceRef": { + "@type": "https://www.schema.org/text" + }, + "householdRef": { + "@type": "https://www.schema.org/text" + }, + "installDate": { + "@type": "https://www.schema.org/text" + }, + "installerName": { + "@type": "https://www.schema.org/text" + }, + "trainingProvided": { + "@type": "https://www.schema.org/text" + }, + "baselineSourceReplaced": { + "@type": "https://www.schema.org/text" + }, + "installNotes": { + "@type": "https://www.schema.org/text" + } + } + } + } + }, + "id": "6a1f447f9f1ad5292ad2e6da" +} \ No newline at end of file diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/ER_Summary__0f67a367.json b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/ER_Summary__0f67a367.json new file mode 100644 index 0000000000..cc5655bb62 --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/ER_Summary__0f67a367.json @@ -0,0 +1,238 @@ +{ + "tenantId": "6a11a2e75c64afbda9f4c4aa", + "createDate": "2026-06-02T21:00:47.881Z", + "updateDate": "2026-06-03T00:00:00.000Z", + "uuid": "0f67a367-cf53-445c-9435-33bc9c69e208", + "hash": "", + "name": "ER Summary", + "description": "Aggregated ER calculation sheet. Final ERtotal is linked to mintToken rule=field6 on the Monitoring Report.", + "entity": "VC", + "version": "1.0.0", + "sourceVersion": "", + "creator": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "owner": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "topicId": "0.0.9124171", + "messageId": "1780434890.843410000", + "documentURL": "ipfs://QmZUvqY7VbXDitBWd2KHfrPXvtTbY3KCULDjRrVgh1iBfJ", + "contextURL": "ipfs://Qma9cNqYjeVdwoCsgSjynwjdZHrF8CutLHX8mo9iD6iov3", + "iri": "#0f67a367-cf53-445c-9435-33bc9c69e208&1.0.0", + "system": false, + "active": false, + "category": "POLICY", + "codeVersion": "1.2.0", + "defs": [], + "errors": [], + "contentDocumentFileId": "6a177d2f9f1ad5292ace7869", + "contentContextFileId": "6a177d2f9f1ad5292ace786b", + "document": { + "$id": "#0f67a367-cf53-445c-9435-33bc9c69e208&1.0.0", + "$comment": "{ \"@id\": \"#0f67a367-cf53-445c-9435-33bc9c69e208&1.0.0\", \"term\": \"0f67a367-cf53-445c-9435-33bc9c69e208&1.0.0\" }", + "title": "ER Summary", + "description": "Aggregated ER calculation sheet. Final ERtotal is linked to mintToken rule=field6 on the Monitoring Report.", + "type": "object", + "properties": { + "@context": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "type": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "id": { + "type": "string", + "readOnly": true + }, + "summaryId": { + "title": "Summary ID", + "description": "Unique summary record", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"summaryId\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":0}" + }, + "policyId": { + "title": "Policy Id", + "description": "Policy Id", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"policyId\",\"@id\":\"https://www.schema.org/text\"}" + }, + "ref": { + "title": "Relationships", + "description": "Relationships", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"ref\",\"@id\":\"https://www.schema.org/text\"}" + }, + "guardianVersion": { + "title": "Guardian Version", + "description": "Guardian Version", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"guardianVersion\",\"@id\":\"https://www.schema.org/text\"}" + }, + "periodRef": { + "title": "Period Reference", + "description": "Ref to monitoring period", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"periodRef\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":1}" + }, + "projectRef": { + "title": "Project Reference", + "description": "Ref to project description", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"projectRef\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":2}" + }, + "BEtotal": { + "title": "BEtotal (tCO2e)", + "description": "Sum of baseline emissions — AMS-III.AV. Eq.1", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"BEtotal\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":3}" + }, + "PEtotal": { + "title": "PEtotal (tCO2e)", + "description": "Project emissions total — AMS-III.AV. Eq.6 (TOOL03+TOOL05)", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"PEtotal\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":4}" + }, + "LEtotal": { + "title": "LEtotal (tCO2e)", + "description": "Leakage emissions total — AMS-I.E.", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"LEtotal\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":5}" + }, + "netER": { + "title": "Net ER (tCO2e)", + "description": "BE - PE - LE per AMS-III.AV. Eq.7; negative values clamp to 0", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"netER\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":6}" + }, + "wqGatePassed": { + "title": "WQ Gate Passed?", + "description": "False when >10% of appliances fail water-quality requirement (pass-rate < 0.90); if false, ERtotal = 0", + "readOnly": false, + "type": "boolean", + "$comment": "{\"term\":\"wqGatePassed\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":7}" + }, + "ERtotal": { + "title": "ERtotal (tCO2e) — MINT TARGET field6", + "description": "Final emission reductions minted as CER tokens. Equals netER when WQ gate passes; 0 otherwise.", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"ERtotal\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":8}" + }, + "vintageYear": { + "title": "Vintage Year", + "description": "Year credits are assigned to", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"vintageYear\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":9}" + }, + "serializationRef": { + "title": "Serialization Reference", + "description": "Serial number block for issued credits", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"serializationRef\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":10}" + } + }, + "required": [ + "@context", + "type", + "summaryId", + "policyId", + "periodRef", + "projectRef", + "BEtotal", + "PEtotal", + "LEtotal", + "wqGatePassed", + "ERtotal", + "vintageYear" + ], + "additionalProperties": false, + "$defs": {} + }, + "context": { + "@context": { + "@version": 1.1, + "@vocab": "https://w3id.org/traceability/#undefinedTerm", + "id": "@id", + "type": "@type", + "0f67a367-cf53-445c-9435-33bc9c69e208&1.0.0": { + "@id": "#0f67a367-cf53-445c-9435-33bc9c69e208&1.0.0", + "@context": { + "summaryId": { + "@type": "https://www.schema.org/text" + }, + "policyId": { + "@type": "https://www.schema.org/text" + }, + "ref": { + "@type": "https://www.schema.org/text" + }, + "guardianVersion": { + "@type": "https://www.schema.org/text" + }, + "periodRef": { + "@type": "https://www.schema.org/text" + }, + "projectRef": { + "@type": "https://www.schema.org/text" + }, + "BEtotal": { + "@type": "https://www.schema.org/text" + }, + "PEtotal": { + "@type": "https://www.schema.org/text" + }, + "LEtotal": { + "@type": "https://www.schema.org/text" + }, + "netER": { + "@type": "https://www.schema.org/text" + }, + "wqGatePassed": { + "@type": "https://www.schema.org/text" + }, + "ERtotal": { + "@type": "https://www.schema.org/text" + }, + "vintageYear": { + "@type": "https://www.schema.org/text" + }, + "serializationRef": { + "@type": "https://www.schema.org/text" + } + } + } + } + }, + "id": "6a1f447f9f1ad5292ad2e6d5" +} \ No newline at end of file diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Geographic_Location__c11d5c65.json b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Geographic_Location__c11d5c65.json new file mode 100644 index 0000000000..5969e5b04c --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Geographic_Location__c11d5c65.json @@ -0,0 +1,194 @@ +{ + "tenantId": "6a11a2e75c64afbda9f4c4aa", + "createDate": "2026-06-02T21:00:47.737Z", + "updateDate": "2026-06-02T21:14:52.867Z", + "uuid": "c11d5c65-6ef8-4145-97ae-8bdeae53b0a9", + "hash": "", + "name": "Geographic Location", + "description": "Geographic location of project site per VMR0015.", + "entity": "VC", + "version": "1.0.0", + "sourceVersion": "", + "creator": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "owner": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "topicId": "0.0.9124171", + "messageId": "1780434890.843410000", + "documentURL": "ipfs://QmZUvqY7VbXDitBWd2KHfrPXvtTbY3KCULDjRrVgh1iBfJ", + "contextURL": "ipfs://Qma9cNqYjeVdwoCsgSjynwjdZHrF8CutLHX8mo9iD6iov3", + "iri": "#c11d5c65-6ef8-4145-97ae-8bdeae53b0a9&1.0.0", + "system": false, + "active": false, + "category": "POLICY", + "codeVersion": "1.2.0", + "defs": [], + "errors": [], + "contentDocumentFileId": "6a177cc39f1ad5292ace7803", + "contentContextFileId": "6a177cc39f1ad5292ace7805", + "document": { + "$id": "#c11d5c65-6ef8-4145-97ae-8bdeae53b0a9&1.0.0", + "$comment": "{ \"@id\": \"#c11d5c65-6ef8-4145-97ae-8bdeae53b0a9&1.0.0\", \"term\": \"c11d5c65-6ef8-4145-97ae-8bdeae53b0a9&1.0.0\" }", + "title": "Geographic Location", + "description": "Geographic location of project site per VMR0015.", + "type": "object", + "properties": { + "@context": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "type": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "id": { + "type": "string", + "readOnly": true + }, + "locationId": { + "title": "Location ID", + "description": "Unique location ID", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"locationId\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":0}" + }, + "policyId": { + "title": "Policy Id", + "description": "Policy Id", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"policyId\",\"@id\":\"https://www.schema.org/text\"}" + }, + "ref": { + "title": "Relationships", + "description": "Relationships", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"ref\",\"@id\":\"https://www.schema.org/text\"}" + }, + "guardianVersion": { + "title": "Guardian Version", + "description": "Guardian Version", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"guardianVersion\",\"@id\":\"https://www.schema.org/text\"}" + }, + "country": { + "title": "Country", + "description": "Country name", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"country\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":1}" + }, + "region": { + "title": "Region/State", + "description": "Region or state", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"region\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":2}" + }, + "district": { + "title": "District", + "description": "District/county", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"district\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":3}" + }, + "latitude": { + "title": "Latitude", + "description": "Decimal degrees", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"latitude\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":4}" + }, + "longitude": { + "title": "Longitude", + "description": "Decimal degrees", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"longitude\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":5}" + }, + "geojson": { + "title": "GeoJSON", + "description": "Optional GeoJSON polygon", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"geojson\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":6}" + } + }, + "required": [ + "@context", + "type", + "locationId", + "policyId", + "country", + "region", + "latitude", + "longitude" + ], + "additionalProperties": false, + "$defs": {} + }, + "context": { + "@context": { + "@version": 1.1, + "@vocab": "https://w3id.org/traceability/#undefinedTerm", + "id": "@id", + "type": "@type", + "c11d5c65-6ef8-4145-97ae-8bdeae53b0a9&1.0.0": { + "@id": "#c11d5c65-6ef8-4145-97ae-8bdeae53b0a9&1.0.0", + "@context": { + "locationId": { + "@type": "https://www.schema.org/text" + }, + "policyId": { + "@type": "https://www.schema.org/text" + }, + "ref": { + "@type": "https://www.schema.org/text" + }, + "guardianVersion": { + "@type": "https://www.schema.org/text" + }, + "country": { + "@type": "https://www.schema.org/text" + }, + "region": { + "@type": "https://www.schema.org/text" + }, + "district": { + "@type": "https://www.schema.org/text" + }, + "latitude": { + "@type": "https://www.schema.org/text" + }, + "longitude": { + "@type": "https://www.schema.org/text" + }, + "geojson": { + "@type": "https://www.schema.org/text" + } + } + } + } + }, + "id": "6a1f447f9f1ad5292ad2e6b7" +} \ No newline at end of file diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Household_Survey__861b4f98.json b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Household_Survey__861b4f98.json new file mode 100644 index 0000000000..579c91e01a --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Household_Survey__861b4f98.json @@ -0,0 +1,238 @@ +{ + "tenantId": "6a11a2e75c64afbda9f4c4aa", + "createDate": "2026-06-02T21:00:47.588Z", + "updateDate": "2026-06-02T21:14:52.743Z", + "uuid": "861b4f98-21c7-444c-a1a8-a9652666fc7e", + "hash": "", + "name": "Household Survey", + "description": "Baseline household survey per VMR0015 8.2.", + "entity": "VC", + "version": "1.0.0", + "sourceVersion": "", + "creator": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "owner": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "topicId": "0.0.9124171", + "messageId": "1780434890.843410000", + "documentURL": "ipfs://QmZUvqY7VbXDitBWd2KHfrPXvtTbY3KCULDjRrVgh1iBfJ", + "contextURL": "ipfs://Qma9cNqYjeVdwoCsgSjynwjdZHrF8CutLHX8mo9iD6iov3", + "iri": "#861b4f98-21c7-444c-a1a8-a9652666fc7e&1.0.0", + "system": false, + "active": false, + "category": "POLICY", + "codeVersion": "1.2.0", + "defs": [], + "errors": [], + "contentDocumentFileId": "6a177d219f1ad5292ace785b", + "contentContextFileId": "6a177d219f1ad5292ace785d", + "document": { + "$id": "#861b4f98-21c7-444c-a1a8-a9652666fc7e&1.0.0", + "$comment": "{ \"@id\": \"#861b4f98-21c7-444c-a1a8-a9652666fc7e&1.0.0\", \"term\": \"861b4f98-21c7-444c-a1a8-a9652666fc7e&1.0.0\" }", + "title": "Household Survey", + "description": "Baseline household survey per VMR0015 8.2.", + "type": "object", + "properties": { + "@context": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "type": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "id": { + "type": "string", + "readOnly": true + }, + "surveyId": { + "title": "Survey ID", + "description": "Unique survey ID", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"surveyId\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":0}" + }, + "policyId": { + "title": "Policy Id", + "description": "Policy Id", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"policyId\",\"@id\":\"https://www.schema.org/text\"}" + }, + "ref": { + "title": "Relationships", + "description": "Relationships", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"ref\",\"@id\":\"https://www.schema.org/text\"}" + }, + "guardianVersion": { + "title": "Guardian Version", + "description": "Guardian Version", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"guardianVersion\",\"@id\":\"https://www.schema.org/text\"}" + }, + "householdRef": { + "title": "Household Reference", + "description": "HH unique ID", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"householdRef\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":1}" + }, + "surveyDate": { + "title": "Survey Date", + "description": "Date of survey", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"surveyDate\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":2}" + }, + "surveyorName": { + "title": "Surveyor Name", + "description": "Person conducting survey", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"surveyorName\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":3}" + }, + "householdSize": { + "title": "Household Size", + "description": "Number of persons", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"householdSize\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":4}" + }, + "baselineWaterSource": { + "title": "Baseline Water Source", + "description": "Pre-project water source", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"baselineWaterSource\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":5}" + }, + "boilingPractice": { + "title": "Boiling Practice", + "description": "HH boils water pre-project", + "readOnly": false, + "type": "boolean", + "$comment": "{\"term\":\"boilingPractice\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":6}" + }, + "fuelType": { + "title": "Fuel Type", + "description": "Fuel used for boiling (wood/charcoal/LPG)", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"fuelType\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":7}" + }, + "dailyWaterLiters": { + "title": "Daily Water (L)", + "description": "Liters consumed per day", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"dailyWaterLiters\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":8}" + }, + "consentGiven": { + "title": "Consent Given", + "description": "HH consented to project", + "readOnly": false, + "type": "boolean", + "$comment": "{\"term\":\"consentGiven\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":9}" + }, + "surveyNotes": { + "title": "Survey Notes", + "description": "Free-text notes", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"surveyNotes\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":10}" + } + }, + "required": [ + "@context", + "type", + "surveyId", + "policyId", + "householdRef", + "surveyDate", + "surveyorName", + "householdSize", + "baselineWaterSource", + "boilingPractice", + "dailyWaterLiters", + "consentGiven" + ], + "additionalProperties": false, + "$defs": {} + }, + "context": { + "@context": { + "@version": 1.1, + "@vocab": "https://w3id.org/traceability/#undefinedTerm", + "id": "@id", + "type": "@type", + "861b4f98-21c7-444c-a1a8-a9652666fc7e&1.0.0": { + "@id": "#861b4f98-21c7-444c-a1a8-a9652666fc7e&1.0.0", + "@context": { + "surveyId": { + "@type": "https://www.schema.org/text" + }, + "policyId": { + "@type": "https://www.schema.org/text" + }, + "ref": { + "@type": "https://www.schema.org/text" + }, + "guardianVersion": { + "@type": "https://www.schema.org/text" + }, + "householdRef": { + "@type": "https://www.schema.org/text" + }, + "surveyDate": { + "@type": "https://www.schema.org/text" + }, + "surveyorName": { + "@type": "https://www.schema.org/text" + }, + "householdSize": { + "@type": "https://www.schema.org/text" + }, + "baselineWaterSource": { + "@type": "https://www.schema.org/text" + }, + "boilingPractice": { + "@type": "https://www.schema.org/text" + }, + "fuelType": { + "@type": "https://www.schema.org/text" + }, + "dailyWaterLiters": { + "@type": "https://www.schema.org/text" + }, + "consentGiven": { + "@type": "https://www.schema.org/text" + }, + "surveyNotes": { + "@type": "https://www.schema.org/text" + } + } + } + } + }, + "id": "6a1f447f9f1ad5292ad2e699" +} \ No newline at end of file diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Issuance_Request__5e4e2acc.json b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Issuance_Request__5e4e2acc.json new file mode 100644 index 0000000000..7d610bbd80 --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Issuance_Request__5e4e2acc.json @@ -0,0 +1,185 @@ +{ + "tenantId": "6a11a2e75c64afbda9f4c4aa", + "createDate": "2026-06-02T21:00:47.690Z", + "updateDate": "2026-06-02T21:14:52.826Z", + "uuid": "5e4e2acc-7647-4c2d-aaa6-930c2700cc42", + "hash": "", + "name": "Issuance Request", + "description": "Request to mint/issue carbon credit tokens for verified ERs under VMR0015.", + "entity": "VC", + "version": "1.0.0", + "sourceVersion": "", + "creator": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "owner": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "topicId": "0.0.9124171", + "messageId": "1780434890.843410000", + "documentURL": "ipfs://QmZUvqY7VbXDitBWd2KHfrPXvtTbY3KCULDjRrVgh1iBfJ", + "contextURL": "ipfs://Qma9cNqYjeVdwoCsgSjynwjdZHrF8CutLHX8mo9iD6iov3", + "iri": "#5e4e2acc-7647-4c2d-aaa6-930c2700cc42&1.0.0", + "system": false, + "active": false, + "category": "POLICY", + "codeVersion": "1.2.0", + "defs": [], + "errors": [], + "contentDocumentFileId": "6a177c589f1ad5292ace77c3", + "contentContextFileId": "6a177c589f1ad5292ace77c5", + "document": { + "$id": "#5e4e2acc-7647-4c2d-aaa6-930c2700cc42&1.0.0", + "$comment": "{ \"@id\": \"#5e4e2acc-7647-4c2d-aaa6-930c2700cc42&1.0.0\", \"term\": \"5e4e2acc-7647-4c2d-aaa6-930c2700cc42&1.0.0\" }", + "title": "Issuance Request", + "description": "Request to mint/issue carbon credit tokens for verified ERs under VMR0015.", + "type": "object", + "properties": { + "@context": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "type": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "id": { + "type": "string", + "readOnly": true + }, + "requestId": { + "title": "Request ID", + "description": "UUID v4", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"requestId\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":0}" + }, + "policyId": { + "title": "Policy Id", + "description": "Policy Id", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"policyId\",\"@id\":\"https://www.schema.org/text\"}" + }, + "ref": { + "title": "Relationships", + "description": "Relationships", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"ref\",\"@id\":\"https://www.schema.org/text\"}" + }, + "guardianVersion": { + "title": "Guardian Version", + "description": "Guardian Version", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"guardianVersion\",\"@id\":\"https://www.schema.org/text\"}" + }, + "vvbReportRef": { + "title": "VVB Report Ref", + "description": "UUID", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"vvbReportRef\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":1}" + }, + "projectRef": { + "title": "Project Ref", + "description": "Project UUID", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"projectRef\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":2}" + }, + "requestedAmount": { + "title": "Requested Tokens", + "description": "Number of credits to mint", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"requestedAmount\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":3}" + }, + "recipient": { + "title": "Recipient Account", + "description": "Hedera account ID", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"recipient\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":4}" + }, + "requestDate": { + "title": "Request Date", + "description": "ISO 8601 date", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"requestDate\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":5}" + } + }, + "required": [ + "@context", + "type", + "requestId", + "policyId", + "vvbReportRef", + "projectRef", + "requestedAmount", + "recipient", + "requestDate" + ], + "additionalProperties": false, + "$defs": {} + }, + "context": { + "@context": { + "@version": 1.1, + "@vocab": "https://w3id.org/traceability/#undefinedTerm", + "id": "@id", + "type": "@type", + "5e4e2acc-7647-4c2d-aaa6-930c2700cc42&1.0.0": { + "@id": "#5e4e2acc-7647-4c2d-aaa6-930c2700cc42&1.0.0", + "@context": { + "requestId": { + "@type": "https://www.schema.org/text" + }, + "policyId": { + "@type": "https://www.schema.org/text" + }, + "ref": { + "@type": "https://www.schema.org/text" + }, + "guardianVersion": { + "@type": "https://www.schema.org/text" + }, + "vvbReportRef": { + "@type": "https://www.schema.org/text" + }, + "projectRef": { + "@type": "https://www.schema.org/text" + }, + "requestedAmount": { + "@type": "https://www.schema.org/text" + }, + "recipient": { + "@type": "https://www.schema.org/text" + }, + "requestDate": { + "@type": "https://www.schema.org/text" + } + } + } + } + }, + "id": "6a1f447f9f1ad5292ad2e6ad" +} \ No newline at end of file diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Leakage_Estimate__33b17c2e.json b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Leakage_Estimate__33b17c2e.json new file mode 100644 index 0000000000..4d1bc973a9 --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Leakage_Estimate__33b17c2e.json @@ -0,0 +1,163 @@ +{ + "tenantId": "6a11a2e75c64afbda9f4c4aa", + "createDate": "2026-06-02T21:00:47.614Z", + "updateDate": "2026-06-02T21:14:52.760Z", + "uuid": "33b17c2e-3182-40e0-b119-14cb921dd428", + "hash": "", + "name": "Leakage Estimate", + "description": "VMR0015 leakage emissions: displaced fuel use outside the project boundary.", + "entity": "VC", + "version": "1.0.0", + "sourceVersion": "", + "creator": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "owner": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "topicId": "0.0.9124171", + "messageId": "1780434890.843410000", + "documentURL": "ipfs://QmZUvqY7VbXDitBWd2KHfrPXvtTbY3KCULDjRrVgh1iBfJ", + "contextURL": "ipfs://Qma9cNqYjeVdwoCsgSjynwjdZHrF8CutLHX8mo9iD6iov3", + "iri": "#33b17c2e-3182-40e0-b119-14cb921dd428&1.0.0", + "system": false, + "active": false, + "category": "POLICY", + "codeVersion": "1.2.0", + "defs": [], + "errors": [], + "contentDocumentFileId": "6a177c9e9f1ad5292ace77e3", + "contentContextFileId": "6a177c9e9f1ad5292ace77e5", + "document": { + "$id": "#33b17c2e-3182-40e0-b119-14cb921dd428&1.0.0", + "$comment": "{ \"@id\": \"#33b17c2e-3182-40e0-b119-14cb921dd428&1.0.0\", \"term\": \"33b17c2e-3182-40e0-b119-14cb921dd428&1.0.0\" }", + "title": "Leakage Estimate", + "description": "VMR0015 leakage emissions: displaced fuel use outside the project boundary.", + "type": "object", + "properties": { + "@context": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "type": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "id": { + "type": "string", + "readOnly": true + }, + "calcId": { + "title": "Calc ID", + "description": "UUID v4", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"calcId\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":0}" + }, + "policyId": { + "title": "Policy Id", + "description": "Policy Id", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"policyId\",\"@id\":\"https://www.schema.org/text\"}" + }, + "ref": { + "title": "Relationships", + "description": "Relationships", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"ref\",\"@id\":\"https://www.schema.org/text\"}" + }, + "guardianVersion": { + "title": "Guardian Version", + "description": "Guardian Version", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"guardianVersion\",\"@id\":\"https://www.schema.org/text\"}" + }, + "periodRef": { + "title": "Monitoring Period Ref", + "description": "UUID", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"periodRef\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":1}" + }, + "leakageFactor": { + "title": "Leakage Factor", + "description": "0..1 fraction", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"leakageFactor\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":2}" + }, + "leakageTco2e": { + "title": "Leakage (tCO2e)", + "description": "Computed leakage", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"leakageTco2e\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":3}" + } + }, + "required": [ + "@context", + "type", + "calcId", + "policyId", + "periodRef", + "leakageFactor", + "leakageTco2e" + ], + "additionalProperties": false, + "$defs": {} + }, + "context": { + "@context": { + "@version": 1.1, + "@vocab": "https://w3id.org/traceability/#undefinedTerm", + "id": "@id", + "type": "@type", + "33b17c2e-3182-40e0-b119-14cb921dd428&1.0.0": { + "@id": "#33b17c2e-3182-40e0-b119-14cb921dd428&1.0.0", + "@context": { + "calcId": { + "@type": "https://www.schema.org/text" + }, + "policyId": { + "@type": "https://www.schema.org/text" + }, + "ref": { + "@type": "https://www.schema.org/text" + }, + "guardianVersion": { + "@type": "https://www.schema.org/text" + }, + "periodRef": { + "@type": "https://www.schema.org/text" + }, + "leakageFactor": { + "@type": "https://www.schema.org/text" + }, + "leakageTco2e": { + "@type": "https://www.schema.org/text" + } + } + } + } + }, + "id": "6a1f447f9f1ad5292ad2e69e" +} \ No newline at end of file diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Maintenance_Log__b637e78d.json b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Maintenance_Log__b637e78d.json new file mode 100644 index 0000000000..d8e3bfd101 --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Maintenance_Log__b637e78d.json @@ -0,0 +1,257 @@ +{ + "tenantId": "6a11a2e75c64afbda9f4c4aa", + "createDate": "2026-06-02T21:00:47.809Z", + "updateDate": "2026-06-02T21:14:52.924Z", + "uuid": "b637e78d-edf3-4e7a-9dc7-48c01732a649", + "hash": "", + "name": "Maintenance Log", + "description": "Records scheduled and corrective maintenance events per VMR0015 8.5.", + "entity": "VC", + "version": "1.0.0", + "sourceVersion": "", + "creator": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "owner": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "topicId": "0.0.9124171", + "messageId": "1780434890.843410000", + "documentURL": "ipfs://QmZUvqY7VbXDitBWd2KHfrPXvtTbY3KCULDjRrVgh1iBfJ", + "contextURL": "ipfs://Qma9cNqYjeVdwoCsgSjynwjdZHrF8CutLHX8mo9iD6iov3", + "iri": "#b637e78d-edf3-4e7a-9dc7-48c01732a649&1.0.0", + "system": false, + "active": false, + "category": "POLICY", + "codeVersion": "1.2.0", + "defs": [], + "errors": [], + "contentDocumentFileId": "6a177cf99f1ad5292ace7831", + "contentContextFileId": "6a177cf99f1ad5292ace7833", + "document": { + "$id": "#b637e78d-edf3-4e7a-9dc7-48c01732a649&1.0.0", + "$comment": "{ \"@id\": \"#b637e78d-edf3-4e7a-9dc7-48c01732a649&1.0.0\", \"term\": \"b637e78d-edf3-4e7a-9dc7-48c01732a649&1.0.0\" }", + "title": "Maintenance Log", + "description": "Records scheduled and corrective maintenance events per VMR0015 8.5.", + "type": "object", + "properties": { + "@context": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "type": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "id": { + "type": "string", + "readOnly": true + }, + "maintenanceId": { + "title": "Maintenance Record ID", + "description": "Unique event ID", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"maintenanceId\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":0}" + }, + "policyId": { + "title": "Policy Id", + "description": "Policy Id", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"policyId\",\"@id\":\"https://www.schema.org/text\"}" + }, + "ref": { + "title": "Relationships", + "description": "Relationships", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"ref\",\"@id\":\"https://www.schema.org/text\"}" + }, + "guardianVersion": { + "title": "Guardian Version", + "description": "Guardian Version", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"guardianVersion\",\"@id\":\"https://www.schema.org/text\"}" + }, + "deviceRef": { + "title": "Device Reference", + "description": "Device being serviced", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"deviceRef\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":1}" + }, + "householdRef": { + "title": "Household Reference", + "description": "HH location", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"householdRef\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":2}" + }, + "maintenanceDate": { + "title": "Maintenance Date", + "description": "Visit date", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"maintenanceDate\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":3}" + }, + "maintenanceType": { + "title": "Maintenance Type", + "description": "Scheduled or Corrective", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"maintenanceType\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":4}" + }, + "technicianName": { + "title": "Technician Name", + "description": "Person who performed maintenance", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"technicianName\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":5}" + }, + "filterReplaced": { + "title": "Filter Replaced", + "description": "Was filter replaced", + "readOnly": false, + "type": "boolean", + "$comment": "{\"term\":\"filterReplaced\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":6}" + }, + "uvLampReplaced": { + "title": "UV Lamp Replaced", + "description": "For UV devices only", + "readOnly": false, + "type": "boolean", + "$comment": "{\"term\":\"uvLampReplaced\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":7}" + }, + "deviceOperational": { + "title": "Device Operational After", + "description": "Status after maintenance", + "readOnly": false, + "type": "boolean", + "$comment": "{\"term\":\"deviceOperational\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":8}" + }, + "downTimeDays": { + "title": "Downtime (days)", + "description": "Days device was non-functional", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"downTimeDays\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":9}" + }, + "replacementPartsRef": { + "title": "Replacement Parts Used", + "description": "Parts replaced - for supply chain audit", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"replacementPartsRef\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":10}" + }, + "nextScheduled": { + "title": "Next Maintenance Scheduled", + "description": "Next scheduled service date", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"nextScheduled\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":11}" + }, + "maintenanceNotes": { + "title": "Maintenance Notes", + "description": "Free-text technician notes", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"maintenanceNotes\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":12}" + } + }, + "required": [ + "@context", + "type", + "maintenanceId", + "policyId", + "deviceRef", + "householdRef", + "maintenanceDate", + "maintenanceType", + "technicianName", + "filterReplaced", + "deviceOperational" + ], + "additionalProperties": false, + "$defs": {} + }, + "context": { + "@context": { + "@version": 1.1, + "@vocab": "https://w3id.org/traceability/#undefinedTerm", + "id": "@id", + "type": "@type", + "b637e78d-edf3-4e7a-9dc7-48c01732a649&1.0.0": { + "@id": "#b637e78d-edf3-4e7a-9dc7-48c01732a649&1.0.0", + "@context": { + "maintenanceId": { + "@type": "https://www.schema.org/text" + }, + "policyId": { + "@type": "https://www.schema.org/text" + }, + "ref": { + "@type": "https://www.schema.org/text" + }, + "guardianVersion": { + "@type": "https://www.schema.org/text" + }, + "deviceRef": { + "@type": "https://www.schema.org/text" + }, + "householdRef": { + "@type": "https://www.schema.org/text" + }, + "maintenanceDate": { + "@type": "https://www.schema.org/text" + }, + "maintenanceType": { + "@type": "https://www.schema.org/text" + }, + "technicianName": { + "@type": "https://www.schema.org/text" + }, + "filterReplaced": { + "@type": "https://www.schema.org/text" + }, + "uvLampReplaced": { + "@type": "https://www.schema.org/text" + }, + "deviceOperational": { + "@type": "https://www.schema.org/text" + }, + "downTimeDays": { + "@type": "https://www.schema.org/text" + }, + "replacementPartsRef": { + "@type": "https://www.schema.org/text" + }, + "nextScheduled": { + "@type": "https://www.schema.org/text" + }, + "maintenanceNotes": { + "@type": "https://www.schema.org/text" + } + } + } + } + }, + "id": "6a1f447f9f1ad5292ad2e6c6" +} \ No newline at end of file diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Monitoring_Period__8c4039cb.json b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Monitoring_Period__8c4039cb.json new file mode 100644 index 0000000000..6af92058af --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Monitoring_Period__8c4039cb.json @@ -0,0 +1,249 @@ +{ + "tenantId": "6a11a2e75c64afbda9f4c4aa", + "createDate": "2026-06-02T21:00:47.934Z", + "updateDate": "2026-06-02T21:14:53.009Z", + "uuid": "8c4039cb-5eed-4913-9fd4-0934b360eaaf", + "hash": "", + "name": "Monitoring Period", + "description": "Defines time windows for monitoring. All sub-records (BE PE LE WQ) reference this schema.", + "entity": "VC", + "version": "1.0.0", + "sourceVersion": "", + "creator": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "owner": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "topicId": "0.0.9124171", + "messageId": "1780434890.843410000", + "documentURL": "ipfs://QmZUvqY7VbXDitBWd2KHfrPXvtTbY3KCULDjRrVgh1iBfJ", + "contextURL": "ipfs://Qma9cNqYjeVdwoCsgSjynwjdZHrF8CutLHX8mo9iD6iov3", + "iri": "#8c4039cb-5eed-4913-9fd4-0934b360eaaf&1.0.0", + "system": false, + "active": false, + "category": "POLICY", + "codeVersion": "1.2.0", + "defs": [], + "errors": [], + "contentDocumentFileId": "6a177cea9f1ad5292ace781f", + "contentContextFileId": "6a177cea9f1ad5292ace7821", + "document": { + "$id": "#8c4039cb-5eed-4913-9fd4-0934b360eaaf&1.0.0", + "$comment": "{ \"@id\": \"#8c4039cb-5eed-4913-9fd4-0934b360eaaf&1.0.0\", \"term\": \"8c4039cb-5eed-4913-9fd4-0934b360eaaf&1.0.0\" }", + "title": "Monitoring Period", + "description": "Defines time windows for monitoring. All sub-records (BE PE LE WQ) reference this schema.", + "type": "object", + "properties": { + "@context": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "type": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "id": { + "type": "string", + "readOnly": true + }, + "periodId": { + "title": "Period ID", + "description": "Unique period identifier", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"periodId\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":0}" + }, + "policyId": { + "title": "Policy Id", + "description": "Policy Id", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"policyId\",\"@id\":\"https://www.schema.org/text\"}" + }, + "ref": { + "title": "Relationships", + "description": "Relationships", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"ref\",\"@id\":\"https://www.schema.org/text\"}" + }, + "guardianVersion": { + "title": "Guardian Version", + "description": "Guardian Version", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"guardianVersion\",\"@id\":\"https://www.schema.org/text\"}" + }, + "projectRef": { + "title": "Project Reference", + "description": "Parent project", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"projectRef\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":1}" + }, + "periodNumber": { + "title": "Period Number", + "description": "Sequential monitoring period number", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"periodNumber\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":2}" + }, + "periodStart": { + "title": "Period Start Date", + "description": "Start of monitoring window", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"periodStart\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":3}" + }, + "periodEnd": { + "title": "Period End Date", + "description": "End of monitoring window", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"periodEnd\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":4}" + }, + "durationDays": { + "title": "Duration (days)", + "description": "Total days in period", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"durationDays\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":5}" + }, + "creditingPeriodRef": { + "title": "Crediting Period", + "description": "Which 7-year crediting period", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"creditingPeriodRef\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":6}" + }, + "householdsEnrolled": { + "title": "HH Enrolled at Start", + "description": "Count of enrolled HH", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"householdsEnrolled\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":7}" + }, + "householdsMonitored": { + "title": "HH Monitored", + "description": "Count of HH with complete data", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"householdsMonitored\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":8}" + }, + "monitoringFrequency": { + "title": "Monitoring Frequency", + "description": "How often data is collected", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"monitoringFrequency\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":9}" + }, + "dataCompleteness": { + "title": "Data Completeness (percent)", + "description": "Percent of expected records collected", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"dataCompleteness\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":10}" + }, + "periodStatus": { + "title": "Period Status", + "description": "Lifecycle status", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"periodStatus\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":11}" + } + }, + "required": [ + "@context", + "type", + "periodId", + "policyId", + "projectRef", + "periodNumber", + "periodStart", + "periodEnd", + "creditingPeriodRef", + "householdsEnrolled", + "householdsMonitored", + "monitoringFrequency", + "periodStatus" + ], + "additionalProperties": false, + "$defs": {} + }, + "context": { + "@context": { + "@version": 1.1, + "@vocab": "https://w3id.org/traceability/#undefinedTerm", + "id": "@id", + "type": "@type", + "8c4039cb-5eed-4913-9fd4-0934b360eaaf&1.0.0": { + "@id": "#8c4039cb-5eed-4913-9fd4-0934b360eaaf&1.0.0", + "@context": { + "periodId": { + "@type": "https://www.schema.org/text" + }, + "policyId": { + "@type": "https://www.schema.org/text" + }, + "ref": { + "@type": "https://www.schema.org/text" + }, + "guardianVersion": { + "@type": "https://www.schema.org/text" + }, + "projectRef": { + "@type": "https://www.schema.org/text" + }, + "periodNumber": { + "@type": "https://www.schema.org/text" + }, + "periodStart": { + "@type": "https://www.schema.org/text" + }, + "periodEnd": { + "@type": "https://www.schema.org/text" + }, + "durationDays": { + "@type": "https://www.schema.org/text" + }, + "creditingPeriodRef": { + "@type": "https://www.schema.org/text" + }, + "householdsEnrolled": { + "@type": "https://www.schema.org/text" + }, + "householdsMonitored": { + "@type": "https://www.schema.org/text" + }, + "monitoringFrequency": { + "@type": "https://www.schema.org/text" + }, + "dataCompleteness": { + "@type": "https://www.schema.org/text" + }, + "periodStatus": { + "@type": "https://www.schema.org/text" + } + } + } + } + }, + "id": "6a1f447f9f1ad5292ad2e6df" +} \ No newline at end of file diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Monitoring_Report__db884e2d.json b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Monitoring_Report__db884e2d.json new file mode 100644 index 0000000000..e9dc16e1f7 --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Monitoring_Report__db884e2d.json @@ -0,0 +1,326 @@ +{ + "tenantId": "6a11a2e75c64afbda9f4c4aa", + "createDate": "2026-06-02T21:00:47.857Z", + "updateDate": "2026-06-02T21:14:52.959Z", + "uuid": "db884e2d-a681-40d4-b24c-0e0d848fb868", + "hash": "", + "name": "Monitoring Report", + "description": "VMR0015 monitoring period report schema for emission reductions.", + "entity": "VC", + "version": "1.0.0", + "sourceVersion": "", + "creator": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "owner": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "topicId": "0.0.9124171", + "messageId": "1780434890.843410000", + "documentURL": "ipfs://QmZUvqY7VbXDitBWd2KHfrPXvtTbY3KCULDjRrVgh1iBfJ", + "contextURL": "ipfs://Qma9cNqYjeVdwoCsgSjynwjdZHrF8CutLHX8mo9iD6iov3", + "iri": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "system": false, + "active": false, + "category": "POLICY", + "codeVersion": "1.2.0", + "defs": [], + "errors": [], + "contentDocumentFileId": "6a177d3e9f1ad5292ace787b", + "contentContextFileId": "6a177d3e9f1ad5292ace787d", + "document": { + "$id": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "$comment": "{ \"@id\": \"#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0\", \"term\": \"db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0\" }", + "title": "Monitoring Report", + "description": "VMR0015 monitoring period report schema for emission reductions.", + "type": "object", + "properties": { + "@context": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "type": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "id": { + "type": "string", + "readOnly": true + }, + "field0": { + "title": "MR ID", + "description": "Unique monitoring report identifier", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"field0\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":0}" + }, + "policyId": { + "title": "Policy Id", + "description": "Policy Id", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"policyId\",\"@id\":\"https://www.schema.org/text\"}" + }, + "ref": { + "title": "Relationships", + "description": "Relationships", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"ref\",\"@id\":\"https://www.schema.org/text\"}" + }, + "guardianVersion": { + "title": "Guardian Version", + "description": "Guardian Version", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"guardianVersion\",\"@id\":\"https://www.schema.org/text\"}" + }, + "field1": { + "title": "Project Reference", + "description": "Reference to Project Description", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"field1\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":1}" + }, + "field2": { + "title": "Period Reference", + "description": "Reference to Monitoring Period", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"field2\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":2}" + }, + "field3": { + "title": "BE Total (tCO2e)", + "description": "Baseline Emissions total", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"field3\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":3}" + }, + "field4": { + "title": "PE Total (tCO2e)", + "description": "Project Emissions total", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"field4\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":4}" + }, + "field5": { + "title": "LE Total (tCO2e)", + "description": "Leakage Emissions total", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"field5\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":5}" + }, + "field6": { + "title": "ER Total (tCO2e)", + "description": "Emission Reductions total (BE-PE-LE). MintToken rule field.", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"field6\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":6}" + }, + "field7": { + "title": "Submission Date", + "description": "Date MR submitted", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"field7\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":7}" + }, + "field8": { + "title": "PP Signatory", + "description": "Project Proponent signatory", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"field8\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":8}" + }, + "field9": { + "title": "MR Notes", + "description": "Free-text notes", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"field9\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":9}" + }, + "field10": { + "title": "Appliances Passing Water-Quality Requirement (count)", + "description": "Number of project appliances delivering microbiologically safe drinking water (<1 cfu E. coli/100 ml) per AMS-III.AV", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"field10\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":10}" + }, + "field11": { + "title": "Appliances Total (count)", + "description": "Total number of project appliances monitored in the period", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"field11\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":11}" + }, + "field12": { + "title": "QPW_y Purified Water (L/yr)", + "description": "Total quantity of purified water produced by the project in year y (AMS-III.AV QPW_y, Eq.2/3)", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"field12\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":12}" + }, + "field13": { + "title": "m Fraction Functional Appliances Meeting SDW (0-1)", + "description": "Fraction of functional appliances meeting the safe-drinking-water standards (AMS-III.AV parameter m)", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"field13\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":13}" + }, + "field14": { + "title": "X_boil Baseline Boiling Fraction (0-1)", + "description": "Fraction of served population whose baseline practice is/would be water boiling (AMS-III.AV X_boil; =1 for Case 1/2)", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"field14\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":14}" + }, + "field15": { + "title": "nwb Efficiency of Replaced Boiling System (0-1)", + "description": "Efficiency of the water-boiling system being replaced, estimated ex ante (AMS-III.AV nwb; SEC=357.48/nwb)", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"field15\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":15}" + }, + "field16": { + "title": "EF_fuel Emission Factor (tCO2/TJ)", + "description": "Emission factor of the substituted baseline fuel type i (AMS-III.AV EF_projected_fossil_fuel,i)", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"field16\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":16}" + }, + "field17": { + "title": "f_i Non-Renewable Fraction (0-1)", + "description": "Fraction of non-renewable fuel type i (fNRB for biomass; =1 for fossil fuel) (AMS-III.AV f_i)", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"field17\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":17}" + }, + "field18": { + "title": "BL_fuel Baseline Fuel Proportion (0-1)", + "description": "Proportion of baseline fuel type i used in absence of project (AMS-III.AV BL_fuel,i)", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"field18\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":18}" + } + }, + "required": [ + "@context", + "type", + "field0", + "policyId", + "field1", + "field2", + "field4", + "field5", + "field6", + "field7", + "field8", + "field10", + "field11", + "field12", + "field13", + "field14", + "field15", + "field16", + "field17", + "field18" + ], + "additionalProperties": false, + "$defs": {} + }, + "context": { + "@context": { + "@version": 1.1, + "@vocab": "https://w3id.org/traceability/#undefinedTerm", + "id": "@id", + "type": "@type", + "db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0": { + "@id": "#db884e2d-a681-40d4-b24c-0e0d848fb868&1.0.0", + "@context": { + "field0": { + "@type": "https://www.schema.org/text" + }, + "policyId": { + "@type": "https://www.schema.org/text" + }, + "ref": { + "@type": "https://www.schema.org/text" + }, + "guardianVersion": { + "@type": "https://www.schema.org/text" + }, + "field1": { + "@type": "https://www.schema.org/text" + }, + "field2": { + "@type": "https://www.schema.org/text" + }, + "field3": { + "@type": "https://www.schema.org/text" + }, + "field4": { + "@type": "https://www.schema.org/text" + }, + "field5": { + "@type": "https://www.schema.org/text" + }, + "field6": { + "@type": "https://www.schema.org/text" + }, + "field7": { + "@type": "https://www.schema.org/text" + }, + "field8": { + "@type": "https://www.schema.org/text" + }, + "field9": { + "@type": "https://www.schema.org/text" + }, + "field10": { + "@type": "https://www.schema.org/text" + }, + "field11": { + "@type": "https://www.schema.org/text" + }, + "field12": { + "@type": "https://www.schema.org/text" + }, + "field13": { + "@type": "https://www.schema.org/text" + }, + "field14": { + "@type": "https://www.schema.org/text" + }, + "field15": { + "@type": "https://www.schema.org/text" + }, + "field16": { + "@type": "https://www.schema.org/text" + }, + "field17": { + "@type": "https://www.schema.org/text" + }, + "field18": { + "@type": "https://www.schema.org/text" + } + } + } + } + }, + "id": "6a1f447f9f1ad5292ad2e6d0" +} \ No newline at end of file diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/PP_Profile__985ba731.json b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/PP_Profile__985ba731.json new file mode 100644 index 0000000000..9f778dce05 --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/PP_Profile__985ba731.json @@ -0,0 +1,183 @@ +{ + "tenantId": "6a11a2e75c64afbda9f4c4aa", + "createDate": "2026-06-02T21:00:47.713Z", + "updateDate": "2026-06-02T21:14:52.849Z", + "uuid": "985ba731-3c20-4859-85d1-b4b145c3f0dd", + "hash": "", + "name": "PP Profile", + "description": "VMR0015 Project Proponent registration and profile schema.", + "entity": "VC", + "version": "1.0.0", + "sourceVersion": "", + "creator": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "owner": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "topicId": "0.0.9124171", + "messageId": "1780434890.843410000", + "documentURL": "ipfs://QmZUvqY7VbXDitBWd2KHfrPXvtTbY3KCULDjRrVgh1iBfJ", + "contextURL": "ipfs://Qma9cNqYjeVdwoCsgSjynwjdZHrF8CutLHX8mo9iD6iov3", + "iri": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "system": false, + "active": false, + "category": "POLICY", + "codeVersion": "1.2.0", + "defs": [], + "errors": [], + "contentDocumentFileId": "6a177d6e9f1ad5292ace78ad", + "contentContextFileId": "6a177d6e9f1ad5292ace78af", + "document": { + "$id": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "$comment": "{ \"@id\": \"#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0\", \"term\": \"985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0\" }", + "title": "PP Profile", + "description": "VMR0015 Project Proponent registration and profile schema.", + "type": "object", + "properties": { + "@context": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "type": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "id": { + "type": "string", + "readOnly": true + }, + "field0": { + "title": "Full Name", + "description": "Full legal name of the Project Proponent", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"field0\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":0}" + }, + "policyId": { + "title": "Policy Id", + "description": "Policy Id", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"policyId\",\"@id\":\"https://www.schema.org/text\"}" + }, + "ref": { + "title": "Relationships", + "description": "Relationships", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"ref\",\"@id\":\"https://www.schema.org/text\"}" + }, + "guardianVersion": { + "title": "Guardian Version", + "description": "Guardian Version", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"guardianVersion\",\"@id\":\"https://www.schema.org/text\"}" + }, + "field1": { + "title": "Organization", + "description": "Organization or company name", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"field1\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":1}" + }, + "field2": { + "title": "Country", + "description": "Country of the project proponent", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"field2\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":2}" + }, + "field3": { + "title": "Email", + "description": "Contact email address", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"field3\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":3}" + }, + "field4": { + "title": "Phone", + "description": "Contact phone number", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"field4\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":4}" + }, + "field5": { + "title": "Role", + "description": "Role of the proponent in the project", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"field5\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":5}" + } + }, + "required": [ + "@context", + "type", + "field0", + "policyId", + "field1", + "field2", + "field3" + ], + "additionalProperties": false, + "$defs": {} + }, + "context": { + "@context": { + "@version": 1.1, + "@vocab": "https://w3id.org/traceability/#undefinedTerm", + "id": "@id", + "type": "@type", + "985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0": { + "@id": "#985ba731-3c20-4859-85d1-b4b145c3f0dd&1.0.0", + "@context": { + "field0": { + "@type": "https://www.schema.org/text" + }, + "policyId": { + "@type": "https://www.schema.org/text" + }, + "ref": { + "@type": "https://www.schema.org/text" + }, + "guardianVersion": { + "@type": "https://www.schema.org/text" + }, + "field1": { + "@type": "https://www.schema.org/text" + }, + "field2": { + "@type": "https://www.schema.org/text" + }, + "field3": { + "@type": "https://www.schema.org/text" + }, + "field4": { + "@type": "https://www.schema.org/text" + }, + "field5": { + "@type": "https://www.schema.org/text" + } + } + } + } + }, + "id": "6a1f447f9f1ad5292ad2e6b2" +} \ No newline at end of file diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Policy_Registry_Index__c327b0d0.json b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Policy_Registry_Index__c327b0d0.json new file mode 100644 index 0000000000..51b1d3c4e7 --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Policy_Registry_Index__c327b0d0.json @@ -0,0 +1,184 @@ +{ + "tenantId": "6a11a2e75c64afbda9f4c4aa", + "createDate": "2026-06-02T21:00:47.637Z", + "updateDate": "2026-06-02T21:14:52.782Z", + "uuid": "c327b0d0-a51e-4000-b043-c4815130a487", + "hash": "", + "name": "Policy Registry Index", + "description": "Master registry index of VMR0015 policy artifacts (HashScan-anchored).", + "entity": "VC", + "version": "1.0.0", + "sourceVersion": "", + "creator": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "owner": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "topicId": "0.0.9124171", + "messageId": "1780434890.843410000", + "documentURL": "ipfs://QmZUvqY7VbXDitBWd2KHfrPXvtTbY3KCULDjRrVgh1iBfJ", + "contextURL": "ipfs://Qma9cNqYjeVdwoCsgSjynwjdZHrF8CutLHX8mo9iD6iov3", + "iri": "#c327b0d0-a51e-4000-b043-c4815130a487&1.0.0", + "system": false, + "active": false, + "category": "POLICY", + "codeVersion": "1.2.0", + "defs": [], + "errors": [], + "contentDocumentFileId": "6a177cb29f1ad5292ace77f1", + "contentContextFileId": "6a177cb29f1ad5292ace77f3", + "document": { + "$id": "#c327b0d0-a51e-4000-b043-c4815130a487&1.0.0", + "$comment": "{ \"@id\": \"#c327b0d0-a51e-4000-b043-c4815130a487&1.0.0\", \"term\": \"c327b0d0-a51e-4000-b043-c4815130a487&1.0.0\" }", + "title": "Policy Registry Index", + "description": "Master registry index of VMR0015 policy artifacts (HashScan-anchored).", + "type": "object", + "properties": { + "@context": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "type": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "id": { + "type": "string", + "readOnly": true + }, + "registryId": { + "title": "Registry ID", + "description": "Unique registry record ID", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"registryId\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":0}" + }, + "policyId": { + "title": "Policy Id", + "description": "Policy Id", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"policyId\",\"@id\":\"https://www.schema.org/text\"}" + }, + "ref": { + "title": "Relationships", + "description": "Relationships", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"ref\",\"@id\":\"https://www.schema.org/text\"}" + }, + "guardianVersion": { + "title": "Guardian Version", + "description": "Guardian Version", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"guardianVersion\",\"@id\":\"https://www.schema.org/text\"}" + }, + "policyVersion": { + "title": "Policy Version", + "description": "Version (e.g. v2.0.4-BOUNTY-READY)", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"policyVersion\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":1}" + }, + "hederaTopicId": { + "title": "Hedera Topic ID", + "description": "e.g. 0.0.9077683", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"hederaTopicId\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":2}" + }, + "tokenId": { + "title": "Token ID", + "description": "Hedera token for credit issuance", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"tokenId\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":3}" + }, + "registryDate": { + "title": "Registry Date", + "description": "Date of registry entry", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"registryDate\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":4}" + }, + "registryNotes": { + "title": "Registry Notes", + "description": "Free-text notes", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"registryNotes\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":5}" + } + }, + "required": [ + "@context", + "type", + "registryId", + "policyId", + "policyVersion", + "hederaTopicId", + "tokenId", + "registryDate" + ], + "additionalProperties": false, + "$defs": {} + }, + "context": { + "@context": { + "@version": 1.1, + "@vocab": "https://w3id.org/traceability/#undefinedTerm", + "id": "@id", + "type": "@type", + "c327b0d0-a51e-4000-b043-c4815130a487&1.0.0": { + "@id": "#c327b0d0-a51e-4000-b043-c4815130a487&1.0.0", + "@context": { + "registryId": { + "@type": "https://www.schema.org/text" + }, + "policyId": { + "@type": "https://www.schema.org/text" + }, + "ref": { + "@type": "https://www.schema.org/text" + }, + "guardianVersion": { + "@type": "https://www.schema.org/text" + }, + "policyVersion": { + "@type": "https://www.schema.org/text" + }, + "hederaTopicId": { + "@type": "https://www.schema.org/text" + }, + "tokenId": { + "@type": "https://www.schema.org/text" + }, + "registryDate": { + "@type": "https://www.schema.org/text" + }, + "registryNotes": { + "@type": "https://www.schema.org/text" + } + } + } + } + }, + "id": "6a1f447f9f1ad5292ad2e6a3" +} \ No newline at end of file diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Project_Description__eecf80c9.json b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Project_Description__eecf80c9.json new file mode 100644 index 0000000000..c2fff8d936 --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Project_Description__eecf80c9.json @@ -0,0 +1,239 @@ +{ + "tenantId": "6a11a2e75c64afbda9f4c4aa", + "createDate": "2026-06-02T21:00:47.833Z", + "updateDate": "2026-06-02T21:14:52.942Z", + "uuid": "eecf80c9-1dca-4716-b8f6-b6213c080490", + "hash": "", + "name": "Project Description", + "description": "VMR0015 project registration and description schema.", + "entity": "VC", + "version": "1.0.0", + "sourceVersion": "", + "creator": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "owner": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "topicId": "0.0.9124171", + "messageId": "1780434890.843410000", + "documentURL": "ipfs://QmZUvqY7VbXDitBWd2KHfrPXvtTbY3KCULDjRrVgh1iBfJ", + "contextURL": "ipfs://Qma9cNqYjeVdwoCsgSjynwjdZHrF8CutLHX8mo9iD6iov3", + "iri": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "system": false, + "active": false, + "category": "POLICY", + "codeVersion": "1.2.0", + "defs": [], + "errors": [], + "contentDocumentFileId": "6a177d4b9f1ad5292ace7889", + "contentContextFileId": "6a177d4b9f1ad5292ace788b", + "document": { + "$id": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "$comment": "{ \"@id\": \"#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0\", \"term\": \"eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0\" }", + "title": "Project Description", + "description": "VMR0015 project registration and description schema.", + "type": "object", + "properties": { + "@context": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "type": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "id": { + "type": "string", + "readOnly": true + }, + "projectId": { + "title": "Project ID", + "description": "Unique project identifier", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"projectId\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":0}" + }, + "policyId": { + "title": "Policy Id", + "description": "Policy Id", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"policyId\",\"@id\":\"https://www.schema.org/text\"}" + }, + "ref": { + "title": "Relationships", + "description": "Relationships", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"ref\",\"@id\":\"https://www.schema.org/text\"}" + }, + "guardianVersion": { + "title": "Guardian Version", + "description": "Guardian Version", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"guardianVersion\",\"@id\":\"https://www.schema.org/text\"}" + }, + "projectName": { + "title": "Project Name", + "description": "Official project title", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"projectName\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":1}" + }, + "ppRef": { + "title": "PP Reference", + "description": "Project Proponent profile ref", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"ppRef\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":2}" + }, + "methodology": { + "title": "Methodology", + "description": "VMR0015 v1.0", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"methodology\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":3}" + }, + "locationRef": { + "title": "Location Reference", + "description": "Geographic Location ref", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"locationRef\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":4}" + }, + "startDate": { + "title": "Start Date", + "description": "Project crediting start date", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"startDate\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":5}" + }, + "creditingPeriod": { + "title": "Crediting Period (years)", + "description": "Length of crediting period", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"creditingPeriod\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":6}" + }, + "estAnnualER": { + "title": "Estimated Annual ER (tCO2e)", + "description": "Estimated annual emission reductions", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"estAnnualER\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":7}" + }, + "totalHouseholds": { + "title": "Total Households", + "description": "Number of HH in scope", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"totalHouseholds\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":8}" + }, + "technologyType": { + "title": "Technology Type", + "description": "Purifier technology used", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"technologyType\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":9}" + }, + "projectNotes": { + "title": "Project Notes", + "description": "Free-text notes", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"projectNotes\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":10}" + } + }, + "required": [ + "@context", + "type", + "projectId", + "policyId", + "projectName", + "ppRef", + "methodology", + "locationRef", + "startDate", + "creditingPeriod", + "estAnnualER", + "totalHouseholds", + "technologyType" + ], + "additionalProperties": false, + "$defs": {} + }, + "context": { + "@context": { + "@version": 1.1, + "@vocab": "https://w3id.org/traceability/#undefinedTerm", + "id": "@id", + "type": "@type", + "eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0": { + "@id": "#eecf80c9-1dca-4716-b8f6-b6213c080490&1.0.0", + "@context": { + "projectId": { + "@type": "https://www.schema.org/text" + }, + "policyId": { + "@type": "https://www.schema.org/text" + }, + "ref": { + "@type": "https://www.schema.org/text" + }, + "guardianVersion": { + "@type": "https://www.schema.org/text" + }, + "projectName": { + "@type": "https://www.schema.org/text" + }, + "ppRef": { + "@type": "https://www.schema.org/text" + }, + "methodology": { + "@type": "https://www.schema.org/text" + }, + "locationRef": { + "@type": "https://www.schema.org/text" + }, + "startDate": { + "@type": "https://www.schema.org/text" + }, + "creditingPeriod": { + "@type": "https://www.schema.org/text" + }, + "estAnnualER": { + "@type": "https://www.schema.org/text" + }, + "totalHouseholds": { + "@type": "https://www.schema.org/text" + }, + "technologyType": { + "@type": "https://www.schema.org/text" + }, + "projectNotes": { + "@type": "https://www.schema.org/text" + } + } + } + } + }, + "id": "6a1f447f9f1ad5292ad2e6cb" +} \ No newline at end of file diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Project_Emissions__aee84784.json b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Project_Emissions__aee84784.json new file mode 100644 index 0000000000..eacc73ac6d --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Project_Emissions__aee84784.json @@ -0,0 +1,196 @@ +{ + "tenantId": "6a11a2e75c64afbda9f4c4aa", + "createDate": "2026-06-02T21:00:47.762Z", + "updateDate": "2026-06-02T21:14:52.884Z", + "uuid": "aee84784-94fe-4f05-866c-12c7f675cabb", + "hash": "", + "name": "Project Emissions", + "description": "VMR0015 project emissions per household post-purifier deployment (residual fuel use, electricity for purifier, etc.).", + "entity": "VC", + "version": "1.0.0", + "sourceVersion": "", + "creator": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "owner": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "topicId": "0.0.9124171", + "messageId": "1780434890.843410000", + "documentURL": "ipfs://QmZUvqY7VbXDitBWd2KHfrPXvtTbY3KCULDjRrVgh1iBfJ", + "contextURL": "ipfs://Qma9cNqYjeVdwoCsgSjynwjdZHrF8CutLHX8mo9iD6iov3", + "iri": "#aee84784-94fe-4f05-866c-12c7f675cabb&1.0.0", + "system": false, + "active": false, + "category": "POLICY", + "codeVersion": "1.2.0", + "defs": [], + "errors": [], + "contentDocumentFileId": "6a177c959f1ad5292ace77d5", + "contentContextFileId": "6a177c959f1ad5292ace77d7", + "document": { + "$id": "#aee84784-94fe-4f05-866c-12c7f675cabb&1.0.0", + "$comment": "{ \"@id\": \"#aee84784-94fe-4f05-866c-12c7f675cabb&1.0.0\", \"term\": \"aee84784-94fe-4f05-866c-12c7f675cabb&1.0.0\" }", + "title": "Project Emissions", + "description": "VMR0015 project emissions per household post-purifier deployment (residual fuel use, electricity for purifier, etc.).", + "type": "object", + "properties": { + "@context": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "type": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "id": { + "type": "string", + "readOnly": true + }, + "calcId": { + "title": "Calc ID", + "description": "UUID v4", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"calcId\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":0}" + }, + "policyId": { + "title": "Policy Id", + "description": "Policy Id", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"policyId\",\"@id\":\"https://www.schema.org/text\"}" + }, + "ref": { + "title": "Relationships", + "description": "Relationships", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"ref\",\"@id\":\"https://www.schema.org/text\"}" + }, + "guardianVersion": { + "title": "Guardian Version", + "description": "Guardian Version", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"guardianVersion\",\"@id\":\"https://www.schema.org/text\"}" + }, + "householdRef": { + "title": "Household Ref", + "description": "UUID", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"householdRef\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":1}" + }, + "periodRef": { + "title": "Monitoring Period Ref", + "description": "UUID", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"periodRef\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":2}" + }, + "residualFuelKgPerDay": { + "title": "Residual Fuel kg/day", + "description": "Post-project fuel mass", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"residualFuelKgPerDay\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":3}" + }, + "electricityKwhPerDay": { + "title": "Electricity (kWh/day)", + "description": "Purifier power", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"electricityKwhPerDay\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":4}" + }, + "gridEf": { + "title": "Grid EF (tCO2e/MWh)", + "description": "Grid emission factor", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"gridEf\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":5}" + }, + "projectEmissionsTco2e": { + "title": "Project Emissions (tCO2e)", + "description": "Computed project", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"projectEmissionsTco2e\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":6}" + } + }, + "required": [ + "@context", + "type", + "calcId", + "policyId", + "householdRef", + "periodRef", + "residualFuelKgPerDay", + "electricityKwhPerDay", + "gridEf", + "projectEmissionsTco2e" + ], + "additionalProperties": false, + "$defs": {} + }, + "context": { + "@context": { + "@version": 1.1, + "@vocab": "https://w3id.org/traceability/#undefinedTerm", + "id": "@id", + "type": "@type", + "aee84784-94fe-4f05-866c-12c7f675cabb&1.0.0": { + "@id": "#aee84784-94fe-4f05-866c-12c7f675cabb&1.0.0", + "@context": { + "calcId": { + "@type": "https://www.schema.org/text" + }, + "policyId": { + "@type": "https://www.schema.org/text" + }, + "ref": { + "@type": "https://www.schema.org/text" + }, + "guardianVersion": { + "@type": "https://www.schema.org/text" + }, + "householdRef": { + "@type": "https://www.schema.org/text" + }, + "periodRef": { + "@type": "https://www.schema.org/text" + }, + "residualFuelKgPerDay": { + "@type": "https://www.schema.org/text" + }, + "electricityKwhPerDay": { + "@type": "https://www.schema.org/text" + }, + "gridEf": { + "@type": "https://www.schema.org/text" + }, + "projectEmissionsTco2e": { + "@type": "https://www.schema.org/text" + } + } + } + } + }, + "id": "6a1f447f9f1ad5292ad2e6bc" +} \ No newline at end of file diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/README.md b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/README.md new file mode 100644 index 0000000000..9ced734ee4 --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/README.md @@ -0,0 +1,58 @@ +# Schemas — VMR0015 v1.0 Safe Drinking Water dMRV + +These are the **17 schemas** used by the policy, exported as standalone JSON for +review. They are extracted directly from `VMR0015.policy` (the importable binary), +so they are guaranteed identical to what Guardian loads on import — these copies +are for reading/diffing only; importing `VMR0015.policy` brings them in +automatically. + +Each filename is `__.json`. + +## Index + +| Schema | IRI (prefix) | Role in the policy | +|---|---|---| +| Baseline Emissions | `#f1a41485` | Baseline emissions detail | +| Device Installation Record | `#e9d241e4` | Per-device installation data | +| ER Summary | `#0f67a367` | Aggregated ER summary | +| Geographic Location | `#c11d5c65` | Location data | +| Household Survey | `#861b4f98` | Usage/adoption survey | +| Issuance Request | `#5e4e2acc` | Credit issuance request | +| Leakage Estimate | `#33b17c2e` | Leakage detail | +| Maintenance Log | `#b637e78d` | Device maintenance records | +| Monitoring Period | `#8c4039cb` | Defines a monitoring period | +| **Monitoring Report** | `#db884e2d` | **Carries the AMS-III.AV. parameters — the calculation input** | +| PP Profile | `#985ba731` | Project Proponent profile | +| Policy Registry Index | `#c327b0d0` | Registry index document | +| Project Description | `#eecf80c9` | Project registration document | +| Project Emissions | `#aee84784` | Project emissions detail | +| VVB Profile | `#7bcb1519` | Validation/Verification Body profile | +| VVB Verification Report | `#5f5a4078` | VVB verification document | +| Water Quality Test | `#10402938` | Water-quality sampling | + +## Key fields — Monitoring Report + +The calculation block (`calculate_report_fields`) and the formula linked +definitions both operate on these. **BE (`field3`) and ER (`field6`) are computed +on submission** from the AMS-III.AV. parameters below; they are not entered. + +| Field | Meaning | +|---|---| +| `field12` | `QPW_y` — safe water supplied (L/yr) | +| `field13` | `m` — fraction of functional appliances meeting SDW (0–1) | +| `field14` | `X_boil` — fraction whose baseline is boiling (0–1) | +| `field15` | `nwb` — baseline appliance efficiency (0–1) | +| `field16` | `EF_fuel` — fuel emission factor (tCO₂/TJ) | +| `field17` | `f_i` — fraction of non-renewable biomass / fNRB (0–1) | +| `field18` | `BL_fuel` — baseline fuel fraction (0–1) | +| `field10` / `field11` | Appliances passing WQ / total (water-quality gate) | +| `field4` | PE Total (tCO₂e) — entered | +| `field5` | LE Total (tCO₂e) — entered | +| `field3` | BE Total (tCO₂e) — **computed** (Eq. 1/5) | +| `field6` | ER Total (tCO₂e) — **computed** (Eq. 7); MintToken rule | + +> Note: the ER Summary schema retains an unused `uncertaintyDiscount` field +> labelled "Fixed 0.89". It is **dormant** — the calculation block does not read +> it (the ×0.89 discount was removed; see CHANGELOG 2.1.0). The standalone schema +> files are kept byte-identical to the binary, so the legacy label remains visible +> here for transparency. diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/VVB_Profile__7bcb1519.json b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/VVB_Profile__7bcb1519.json new file mode 100644 index 0000000000..77b6b46682 --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/VVB_Profile__7bcb1519.json @@ -0,0 +1,217 @@ +{ + "tenantId": "6a11a2e75c64afbda9f4c4aa", + "createDate": "2026-06-02T21:00:47.540Z", + "updateDate": "2026-06-02T21:14:52.707Z", + "uuid": "7bcb1519-76c2-41e3-8900-f1ae592ace70", + "hash": "", + "name": "VVB Profile", + "description": "VMR0015 Validation and Verification Body profile schema.", + "entity": "VC", + "version": "1.0.0", + "sourceVersion": "", + "creator": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "owner": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "topicId": "0.0.9124171", + "messageId": "1780434890.843410000", + "documentURL": "ipfs://QmZUvqY7VbXDitBWd2KHfrPXvtTbY3KCULDjRrVgh1iBfJ", + "contextURL": "ipfs://Qma9cNqYjeVdwoCsgSjynwjdZHrF8CutLHX8mo9iD6iov3", + "iri": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "system": false, + "active": false, + "category": "POLICY", + "codeVersion": "1.2.0", + "defs": [], + "errors": [], + "contentDocumentFileId": "6a177d599f1ad5292ace7897", + "contentContextFileId": "6a177d599f1ad5292ace7899", + "document": { + "$id": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "$comment": "{ \"@id\": \"#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0\", \"term\": \"7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0\" }", + "title": "VVB Profile", + "description": "VMR0015 Validation and Verification Body profile schema.", + "type": "object", + "properties": { + "@context": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "type": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "id": { + "type": "string", + "readOnly": true + }, + "vvbId": { + "title": "VVB ID", + "description": "Unique VVB identifier", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"vvbId\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":0}" + }, + "policyId": { + "title": "Policy Id", + "description": "Policy Id", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"policyId\",\"@id\":\"https://www.schema.org/text\"}" + }, + "ref": { + "title": "Relationships", + "description": "Relationships", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"ref\",\"@id\":\"https://www.schema.org/text\"}" + }, + "guardianVersion": { + "title": "Guardian Version", + "description": "Guardian Version", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"guardianVersion\",\"@id\":\"https://www.schema.org/text\"}" + }, + "vvbName": { + "title": "VVB Name", + "description": "Organization name", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"vvbName\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":1}" + }, + "vvbAccreditation": { + "title": "Accreditation Body", + "description": "Accrediting body (e.g. UNFCCC/Verra)", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"vvbAccreditation\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":2}" + }, + "accreditationNumber": { + "title": "Accreditation Number", + "description": "Accreditation registration number", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"accreditationNumber\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":3}" + }, + "vvbContact": { + "title": "Contact Person", + "description": "Primary VVB contact", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"vvbContact\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":4}" + }, + "vvbEmail": { + "title": "Email", + "description": "VVB contact email", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"vvbEmail\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":5}" + }, + "vvbCountry": { + "title": "Country", + "description": "VVB country of registration", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"vvbCountry\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":6}" + }, + "vvbScope": { + "title": "Scope of Accreditation", + "description": "Scope (sector/methodology)", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"vvbScope\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":7}" + }, + "vvbNotes": { + "title": "VVB Notes", + "description": "Free-text notes", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"vvbNotes\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":8}" + } + }, + "required": [ + "@context", + "type", + "vvbId", + "policyId", + "vvbName", + "vvbAccreditation", + "accreditationNumber", + "vvbContact", + "vvbEmail", + "vvbCountry", + "vvbScope" + ], + "additionalProperties": false, + "$defs": {} + }, + "context": { + "@context": { + "@version": 1.1, + "@vocab": "https://w3id.org/traceability/#undefinedTerm", + "id": "@id", + "type": "@type", + "7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0": { + "@id": "#7bcb1519-76c2-41e3-8900-f1ae592ace70&1.0.0", + "@context": { + "vvbId": { + "@type": "https://www.schema.org/text" + }, + "policyId": { + "@type": "https://www.schema.org/text" + }, + "ref": { + "@type": "https://www.schema.org/text" + }, + "guardianVersion": { + "@type": "https://www.schema.org/text" + }, + "vvbName": { + "@type": "https://www.schema.org/text" + }, + "vvbAccreditation": { + "@type": "https://www.schema.org/text" + }, + "accreditationNumber": { + "@type": "https://www.schema.org/text" + }, + "vvbContact": { + "@type": "https://www.schema.org/text" + }, + "vvbEmail": { + "@type": "https://www.schema.org/text" + }, + "vvbCountry": { + "@type": "https://www.schema.org/text" + }, + "vvbScope": { + "@type": "https://www.schema.org/text" + }, + "vvbNotes": { + "@type": "https://www.schema.org/text" + } + } + } + } + }, + "id": "6a1f447f9f1ad5292ad2e68f" +} \ No newline at end of file diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/VVB_Verification_Report__5f5a4078.json b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/VVB_Verification_Report__5f5a4078.json new file mode 100644 index 0000000000..55208d4516 --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/VVB_Verification_Report__5f5a4078.json @@ -0,0 +1,292 @@ +{ + "tenantId": "6a11a2e75c64afbda9f4c4aa", + "createDate": "2026-06-02T21:00:47.662Z", + "updateDate": "2026-06-02T21:14:52.804Z", + "uuid": "5f5a4078-0c5e-42fb-9cb9-b00ec4ef0cd7", + "hash": "", + "name": "VVB Verification Report", + "description": "VVB-authored and VVB-signed Verification Report VC. Closes trust chain PP->Project->MR->VVBReport->Mint per VM0042/VM0033 standard.", + "entity": "VC", + "version": "1.0.0", + "sourceVersion": "", + "creator": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "owner": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "topicId": "0.0.9124171", + "messageId": "1780434890.843410000", + "documentURL": "ipfs://QmZUvqY7VbXDitBWd2KHfrPXvtTbY3KCULDjRrVgh1iBfJ", + "contextURL": "ipfs://Qma9cNqYjeVdwoCsgSjynwjdZHrF8CutLHX8mo9iD6iov3", + "iri": "#5f5a4078-0c5e-42fb-9cb9-b00ec4ef0cd7&1.0.0", + "system": false, + "active": false, + "category": "POLICY", + "codeVersion": "1.2.0", + "defs": [], + "errors": [], + "contentDocumentFileId": "6a177cdd9f1ad5292ace7811", + "contentContextFileId": "6a177cdd9f1ad5292ace7813", + "document": { + "$id": "#5f5a4078-0c5e-42fb-9cb9-b00ec4ef0cd7&1.0.0", + "$comment": "{ \"@id\": \"#5f5a4078-0c5e-42fb-9cb9-b00ec4ef0cd7&1.0.0\", \"term\": \"5f5a4078-0c5e-42fb-9cb9-b00ec4ef0cd7&1.0.0\" }", + "title": "VVB Verification Report", + "description": "VVB-authored and VVB-signed Verification Report VC. Closes trust chain PP->Project->MR->VVBReport->Mint per VM0042/VM0033 standard.", + "type": "object", + "properties": { + "@context": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "type": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "id": { + "type": "string", + "readOnly": true + }, + "verificationId": { + "title": "Verification Report ID", + "description": "Unique verification record", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"verificationId\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":0}" + }, + "policyId": { + "title": "Policy Id", + "description": "Policy Id", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"policyId\",\"@id\":\"https://www.schema.org/text\"}" + }, + "ref": { + "title": "Relationships", + "description": "Relationships", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"ref\",\"@id\":\"https://www.schema.org/text\"}" + }, + "guardianVersion": { + "title": "Guardian Version", + "description": "Guardian Version", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"guardianVersion\",\"@id\":\"https://www.schema.org/text\"}" + }, + "monitoringReportRef": { + "title": "Monitoring Report Reference", + "description": "Which MR is being verified", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"monitoringReportRef\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":1}" + }, + "projectRef": { + "title": "Project Reference", + "description": "Parent project", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"projectRef\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":2}" + }, + "vvbId": { + "title": "VVB DID", + "description": "VVB identity DID", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"vvbId\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":3}" + }, + "vvbName": { + "title": "VVB Organisation Name", + "description": "VVB legal name", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"vvbName\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":4}" + }, + "leadAuditor": { + "title": "Lead Auditor Name", + "description": "Name of lead auditor who signed", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"leadAuditor\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":5}" + }, + "verificationDate": { + "title": "Verification Date", + "description": "Date VVB completed verification", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"verificationDate\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":6}" + }, + "siteVisitDate": { + "title": "Site Visit Date", + "description": "Date of on-site audit visit if conducted", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"siteVisitDate\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":7}" + }, + "verificationScope": { + "title": "Verification Scope", + "description": "Scope of verification per VMR0015 v1.0", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"verificationScope\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":8}" + }, + "findingsNarrative": { + "title": "Findings Narrative", + "description": "Full audit findings", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"findingsNarrative\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":9}" + }, + "correctiveActions": { + "title": "Corrective Actions Required", + "description": "List any CAR/CL raised", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"correctiveActions\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":10}" + }, + "ERverified": { + "title": "ER Volume Verified (tCO2e)", + "description": "VVB-confirmed ER volume - must match ERtotal", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"ERverified\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":11}" + }, + "verificationConclusion": { + "title": "Verification Conclusion", + "description": "Overall VVB conclusion: Verified / Not Verified", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"verificationConclusion\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":12}" + }, + "standardConformance": { + "title": "Standard Conformance", + "description": "Conformance with VMR0015 v1.0", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"standardConformance\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":13}" + }, + "reportDocument": { + "title": "Verification Report Document", + "description": "Link to full PDF verification report (ipfs or https)", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"reportDocument\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":14}" + }, + "signature": { + "title": "VVB Digital Signature", + "description": "Guardian signs this VC with VVB DID", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"signature\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":15}" + } + }, + "required": [ + "@context", + "type", + "verificationId", + "policyId", + "monitoringReportRef", + "projectRef", + "vvbId", + "vvbName", + "leadAuditor", + "verificationDate", + "verificationScope", + "findingsNarrative", + "ERverified", + "verificationConclusion", + "standardConformance", + "signature" + ], + "additionalProperties": false, + "$defs": {} + }, + "context": { + "@context": { + "@version": 1.1, + "@vocab": "https://w3id.org/traceability/#undefinedTerm", + "id": "@id", + "type": "@type", + "5f5a4078-0c5e-42fb-9cb9-b00ec4ef0cd7&1.0.0": { + "@id": "#5f5a4078-0c5e-42fb-9cb9-b00ec4ef0cd7&1.0.0", + "@context": { + "verificationId": { + "@type": "https://www.schema.org/text" + }, + "policyId": { + "@type": "https://www.schema.org/text" + }, + "ref": { + "@type": "https://www.schema.org/text" + }, + "guardianVersion": { + "@type": "https://www.schema.org/text" + }, + "monitoringReportRef": { + "@type": "https://www.schema.org/text" + }, + "projectRef": { + "@type": "https://www.schema.org/text" + }, + "vvbId": { + "@type": "https://www.schema.org/text" + }, + "vvbName": { + "@type": "https://www.schema.org/text" + }, + "leadAuditor": { + "@type": "https://www.schema.org/text" + }, + "verificationDate": { + "@type": "https://www.schema.org/text" + }, + "siteVisitDate": { + "@type": "https://www.schema.org/text" + }, + "verificationScope": { + "@type": "https://www.schema.org/text" + }, + "findingsNarrative": { + "@type": "https://www.schema.org/text" + }, + "correctiveActions": { + "@type": "https://www.schema.org/text" + }, + "ERverified": { + "@type": "https://www.schema.org/text" + }, + "verificationConclusion": { + "@type": "https://www.schema.org/text" + }, + "standardConformance": { + "@type": "https://www.schema.org/text" + }, + "reportDocument": { + "@type": "https://www.schema.org/text" + }, + "signature": { + "@type": "https://www.schema.org/text" + } + } + } + } + }, + "id": "6a1f447f9f1ad5292ad2e6a8" +} \ No newline at end of file diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Water_Quality_Test__10402938.json b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Water_Quality_Test__10402938.json new file mode 100644 index 0000000000..06b95739fd --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/schemas/Water_Quality_Test__10402938.json @@ -0,0 +1,216 @@ +{ + "tenantId": "6a11a2e75c64afbda9f4c4aa", + "createDate": "2026-06-02T21:00:47.785Z", + "updateDate": "2026-06-02T21:14:52.905Z", + "uuid": "10402938-b386-47a3-930d-9851a42dc6ad", + "hash": "", + "name": "Water Quality Test", + "description": "Water quality test result per VMR0015 8.4.", + "entity": "VC", + "version": "1.0.0", + "sourceVersion": "", + "creator": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "owner": "did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164", + "topicId": "0.0.9124171", + "messageId": "1780434890.843410000", + "documentURL": "ipfs://QmZUvqY7VbXDitBWd2KHfrPXvtTbY3KCULDjRrVgh1iBfJ", + "contextURL": "ipfs://Qma9cNqYjeVdwoCsgSjynwjdZHrF8CutLHX8mo9iD6iov3", + "iri": "#10402938-b386-47a3-930d-9851a42dc6ad&1.0.0", + "system": false, + "active": false, + "category": "POLICY", + "codeVersion": "1.2.0", + "defs": [], + "errors": [], + "contentDocumentFileId": "6a177d149f1ad5292ace784d", + "contentContextFileId": "6a177d149f1ad5292ace784f", + "document": { + "$id": "#10402938-b386-47a3-930d-9851a42dc6ad&1.0.0", + "$comment": "{ \"@id\": \"#10402938-b386-47a3-930d-9851a42dc6ad&1.0.0\", \"term\": \"10402938-b386-47a3-930d-9851a42dc6ad&1.0.0\" }", + "title": "Water Quality Test", + "description": "Water quality test result per VMR0015 8.4.", + "type": "object", + "properties": { + "@context": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "type": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "readOnly": true + }, + "id": { + "type": "string", + "readOnly": true + }, + "testId": { + "title": "Test ID", + "description": "Unique water test ID", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"testId\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":0}" + }, + "policyId": { + "title": "Policy Id", + "description": "Policy Id", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"policyId\",\"@id\":\"https://www.schema.org/text\"}" + }, + "ref": { + "title": "Relationships", + "description": "Relationships", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"ref\",\"@id\":\"https://www.schema.org/text\"}" + }, + "guardianVersion": { + "title": "Guardian Version", + "description": "Guardian Version", + "readOnly": true, + "type": "string", + "$comment": "{\"term\":\"guardianVersion\",\"@id\":\"https://www.schema.org/text\"}" + }, + "deviceRef": { + "title": "Device Reference", + "description": "Device tested", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"deviceRef\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":1}" + }, + "sampleDate": { + "title": "Sample Date", + "description": "Date sample collected", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"sampleDate\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":2}" + }, + "labName": { + "title": "Lab Name", + "description": "Testing lab", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"labName\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":3}" + }, + "ecoli": { + "title": "E. coli (CFU/100mL)", + "description": "WHO < 1 CFU/100mL", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"ecoli\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":4}" + }, + "turbidity": { + "title": "Turbidity (NTU)", + "description": "WHO < 5 NTU", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"turbidity\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":5}" + }, + "arsenic": { + "title": "Arsenic (mg/L)", + "description": "WHO < 0.01 mg/L", + "readOnly": false, + "type": "number", + "$comment": "{\"term\":\"arsenic\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":6}" + }, + "passWHO": { + "title": "Pass WHO", + "description": "Result meets WHO standard", + "readOnly": false, + "type": "boolean", + "$comment": "{\"term\":\"passWHO\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":7}" + }, + "testNotes": { + "title": "Test Notes", + "description": "Free-text notes", + "readOnly": false, + "type": "string", + "$comment": "{\"term\":\"testNotes\",\"@id\":\"https://www.schema.org/text\",\"availableOptions\":[],\"orderPosition\":8}" + } + }, + "required": [ + "@context", + "type", + "testId", + "policyId", + "deviceRef", + "sampleDate", + "labName", + "ecoli", + "turbidity", + "passWHO" + ], + "additionalProperties": false, + "$defs": {} + }, + "context": { + "@context": { + "@version": 1.1, + "@vocab": "https://w3id.org/traceability/#undefinedTerm", + "id": "@id", + "type": "@type", + "10402938-b386-47a3-930d-9851a42dc6ad&1.0.0": { + "@id": "#10402938-b386-47a3-930d-9851a42dc6ad&1.0.0", + "@context": { + "testId": { + "@type": "https://www.schema.org/text" + }, + "policyId": { + "@type": "https://www.schema.org/text" + }, + "ref": { + "@type": "https://www.schema.org/text" + }, + "guardianVersion": { + "@type": "https://www.schema.org/text" + }, + "deviceRef": { + "@type": "https://www.schema.org/text" + }, + "sampleDate": { + "@type": "https://www.schema.org/text" + }, + "labName": { + "@type": "https://www.schema.org/text" + }, + "ecoli": { + "@type": "https://www.schema.org/text" + }, + "turbidity": { + "@type": "https://www.schema.org/text" + }, + "arsenic": { + "@type": "https://www.schema.org/text" + }, + "passWHO": { + "@type": "https://www.schema.org/text" + }, + "testNotes": { + "@type": "https://www.schema.org/text" + } + } + } + } + }, + "id": "6a1f447f9f1ad5292ad2e6c1" +} \ No newline at end of file diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/tests/README.md b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/tests/README.md new file mode 100644 index 0000000000..0093d13df8 --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/tests/README.md @@ -0,0 +1,89 @@ +# Test data — VMR0015 v1.0 (Verra VCS 3599) + +This folder contains the canonical test fixture and the dry-run validation evidence for the policy. + +## `VMR0015_VCS3599_monitoring_report.json` + +A single Monitoring Report credential subject grounded in a **real, registered Verra project**, using +parameter values back-calculated from the project's verified ER calculation spreadsheet so that the +on-chain `calculate_report_fields` block re-derives the exact monitored BE via the AMS-III.AV. equations. + +- **Project:** VCS 3599 — Grouped Projects for Safe Drinking Water for Schools in Viet Nam (Registered, methodology AMS-III.AV.) +- **Monitoring period:** 01/01/2025 – 30/06/2025 (2025H1) +- **Registry:** https://registry.verra.org/app/projectDetail/VCS/3599 +- **ER source:** `VCS-ERS-Project-3599-01JAN2025-30JUN2025.xlsx`, sheet `Total ER` +- **Primary methodology source:** [UNFCCC CDM AMS-III.AV. v9.0 (PDF)](https://cdm.unfccc.int/sunsetcms/storage/contents/stored-file-20250506190351296/MP97_EA06_AMS-III.AV_v09.0.pdf) + +### Parameter sources and justification + +| Parameter | Value | Source / Justification | +|---|---|---| +| `QPW_y` (litres/yr, field12) | **713,972,729** | Back-calculated from the ERS `BE_total` for 2025H1 so that the on-chain AMS-III.AV. Eq.1 re-derives `BE_y = 162,241.14 tCO₂e` exactly. Represents total safe water purified by the beneficiary school population over the 01/01/2025–30/06/2025 monitoring period. | +| `m` (fraction functional appliances meeting SDW, field13) | **0.95** | 95% of appliances pass the safe-drinking-water requirement. Above the 0.90 WQ gate threshold, so ER is minted. Sourced from VCS 3599 ER spreadsheet (`m and water quality` sheet). | +| `X_boil` (baseline boiling fraction, field14) | **1.0** | All schools boil water in baseline per VCS 3599 PDD narrative. No alternative safe water source at project sites. | +| `nwb` (baseline boiling efficiency, field15) | **0.10** | AMS-III.AV. v9.0 Table 3, option (b): default for three-stone fire / conventional woody-biomass system without grate or chimney. Applied in VCS 3599 ER spreadsheet. | +| `EF_fuel` (emission factor, tCO₂/TJ, field16) | **81.6** | AMS-I.E. v14.0 Table 2 / IPCC Tier 1 NRB woody biomass default. Referenced by AMS-III.AV. Table 6 and applied in VCS 3599 ER spreadsheet. | +| `f_i` / `fNRB` (non-renewable fraction, field17) | **0.82** | Vietnam national default per CDM TOOL33 v4.0 (2024 CDM Executive Board update). Applied in VCS 3599 ER spreadsheet. | +| `BL_fuel` (baseline fuel proportion, field18) | **1.0** | 100% non-renewable woody biomass in baseline. No fossil fuel share. Consistent with rural Vietnam school context in VCS 3599 PDD. | +| Appliances passing / total (field10 / field11) | **95 / 100** | 95% pass-rate. Above the 0.90 WQ gate threshold → ER is minted. Sourced from VCS 3599 ER spreadsheet. | +| `PE` (project emissions, field4) | **0** | Ecozen-25 UV purifiers: passive, no combustion, no grid electricity draw. PE = 0 per AMS-III.AV. Eq.6. | +| `LE` (leakage, field5) | **8,116.00** | Leakage for 2025H1 taken directly from VCS 3599 ER spreadsheet (`Total ER` sheet: `LE_total / 2 = 8,116.00 tCO₂e`). Modelled as an NRB fuel displacement correction applied to the BE total. | +| `BE` (field3, computed and written back) | **162,241.14** | Computed on-chain by `calculate_report_fields` from the parameters above; also written into field3 for audit trail. | +| `ER` (field6, minted amount) | **154,125.14** | `ER_y = BE_y − PE_y − LE_y = 162,241.14 − 0 − 8,116.00 = 154,125.14 tCO₂e` → minted as **154,125 CER** on-chain (rounded to 2 d.p.). Matches Verra Registry issuance for 01/01/2025–30/06/2025 (issuance date 13/02/2026). | + +### Expected result after submission + +The `calculate_report_fields` block runs the real AMS-III.AV. equations: + +``` +SEC = 357.48 / 0.10 = 3,574.8 kJ/L [Eq.5] +BE_y = 713,972,729 × 0.95 × 1.0 × 3,574.8 × (1.0 × 0.82 × 81.6 × 1e-9) = 162,241.14 tCO₂e [Eq.1] +ER_y = 162,241.14 − 0 − 8,116.00 = 154,125.14 tCO₂e [Eq.7] +``` + +Appliance pass-rate = 95 / 100 = 0.95 ≥ 0.90, so the water-quality gate passes and the policy mints **154,125.14 CER** (field6). + +> **Note on QPW_y derivation:** `QPW_y = 713,972,729 L` is the value that, with the methodology parameters above, reproduces the ERS-verified `BE_y = 162,241.14 tCO₂e` via AMS-III.AV. Eq.1. It represents the total safe water volume purified by the project's beneficiary school population over the 2025H1 monitoring period as implicitly used in the VCS 3599 ER spreadsheet. + +### Calculation branches (for reviewers) + +The block has been exercised across these cases (logic-level): + +| Input | Expected `field6` | +|---|---| +| Canonical VCS 3599 fixture (pass-rate 0.95, LE = 8,116.00) | **154,125.14** | +| Values supplied as numeric strings | 154,125.14 (coerced via `toNum()`) | +| Appliances 85 / 100 (pass-rate 0.85 < 0.90) | 0 (water-quality gate fires) | +| Appliance counts missing / blank | 0 (fail-closed) | +| `nwb = 0` | 0 (SEC guard → BE = 0) | +| Net negative (PE + LE > BE) | 0 (clamped to zero) | + +## Dry-run record provenance and schema match + +Earlier drafts bundled an AI-generated `tc1` .record/expected set whose block tags and schema IDs did not match this policy; those files were deliberately removed (see CHANGELOG [2.0.0] "Removed" section). + +The current `VMR0015_dryrun_record.record` and `VMR0015_dryrun_publish_proof.csv` were generated by: + +1. Importing this `VMR0015.policy` into Guardian (17 schemas), and +2. Running the VCS 3599 01/01/2025–30/06/2025 test case (BE = 162,241.14; LE = 8,116.00; ER = 154,125.14 tCO₂e). + +The `.record` contains exactly the same 17 schema UUIDs as `VMR0015_policy.json` (no extra or missing schemas). Replaying it in Guardian reproduces BE = 162,241.14, LE = 8,116.00, ER = 154,125.14 tCO₂e, consistent with the VCS 3599 ER spreadsheet and Verra Registry issuance for this monitoring period. + +## Dry-run validation evidence + +This exact policy was imported into Guardian, dry-run, and **published** on a testnet instance. + +| File | What it proves | +|---|---| +| `VMR0015_dryrun_record.record` | Guardian recording of the dry run. Its 17 project-schema IDs match this policy 17/17 (confirming the record belongs to this policy, not a stale export). | +| `VMR0015_dryrun_publish_proof.csv` | The signed `PUBLISH` Verifiable Credential (Ed25519 signature, Hedera testnet DID) emitted when the policy published, under the name `VMR0015 v1.0 Safe Drinking Water dMRV`, version 2.0.0. | + +> The bundled `.record` was produced from a **live Guardian dry-run of this policy**, so it can be replayed deterministically against the same import. + +## Note on the water-quality gate + +The calculation block implements AMS-III.AV.'s real requirement (Table 11, §6.1): emission reductions +cannot be claimed if **more than 10% of appliances fail** the water-quality requirement +(<1 cfu/100 ml E. coli). The block reads the appliance pass/total counts (`field10` / `field11`) and zeroes +the period's ER when the pass-rate is below 0.90. It is fail-closed: missing appliance evidence yields +a pass-rate of 0 and therefore no issuance. diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/tests/README.provenance.tmp.md b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/tests/README.provenance.tmp.md new file mode 100644 index 0000000000..25f0605892 --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/tests/README.provenance.tmp.md @@ -0,0 +1,19 @@ +## Provenance + +To make the evidence chain explicit for reviewers: + +- `VMR0015.policy` SHA-256: +- `tests/VMR0015_dryrun_record.record` SHA-256: + +The dry-run record was generated by importing this exact `VMR0015.policy` export +into Guardian and running a dry run with the current build, which encodes the +water-quality gate as `pass_rate < 0.90` and implements the AMS-III.AV +equations: + +- `SEC = 357.48 / nwb` (Eq.5) +- `BE_y = QPW_y * m * X_boil * SEC * (BL_fuel * f_i * EF_fuel * 1e-9)` (Eq.1) +- `ER_y = BE_y - PE_y - LE_y` (Eq.7, clamped at 0 when pass_rate < 0.90) + +No dry-run files in this repository were produced from earlier 0.95-gate +development builds; those builds were discarded before this evidence was +captured. diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/tests/VMR0015_VCS3599_monitoring_report.json b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/tests/VMR0015_VCS3599_monitoring_report.json new file mode 100644 index 0000000000..988fd569f7 --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/tests/VMR0015_VCS3599_monitoring_report.json @@ -0,0 +1,21 @@ +{ + "field0": "MR-VCS3599-2025H1", + "field1": "VCS3599", + "field2": "01/01/2025 - 30/06/2025", + "field3": 162241.14, + "field4": 0, + "field5": 8116.0, + "field6": 154125.14, + "field7": "2026-02-13", + "field8": "Bikram Biswas", + "field9": "Monitoring period 01/01/2025-30/06/2025 for Verra VCS 3599 (Grouped Projects for Safe Drinking Water for Schools in Viet Nam). Parameter values and BE/LE/ER totals are taken directly from the project ER calculation workbook VCS-ERS-Project-3599-01JAN2025-30JUN2025.xlsx (sheet 'Total ER') and match the Verra Registry issuance for this period. The AMS-III.AV. parameters (field12-field18) are back-calculated from the ERS BE total so that the on-chain calculate_report_fields block re-derives BE=162,241.14 exactly via the real equations: SEC=357.48/nwb=3574.8 kJ/L; BE_y=QPW_y*m*X_boil*SEC*(BL_fuel*f_i*EF_fuel*1e-9)=162,241.14 tCO2e; ER_y=BE_y-PE_y-LE_y=154,125.14 tCO2e. WQ gate: 95/100=0.95>=0.90 passes.", + "field10": 95, + "field11": 100, + "field12": 713972729, + "field13": 0.95, + "field14": 1.0, + "field15": 0.10, + "field16": 81.6, + "field17": 0.82, + "field18": 1.0 +} diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/tests/VMR0015_dryrun_publish_proof.csv b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/tests/VMR0015_dryrun_publish_proof.csv new file mode 100644 index 0000000000..f6ac569126 --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/tests/VMR0015_dryrun_publish_proof.csv @@ -0,0 +1,31 @@ +data:text/csv;charset=utf-8;"Index","Key","Value","Type" +"0","id","urn:uuid:bc5a23f8-2049-4de1-8d34-4b4579540efe","string" +"1","type","","array" +"1.0","0","VerifiableCredential","string" +"2","issuer","did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164","string" +"3","issuanceDate","2026-06-02T21:15:13.912Z","string" +"4","@context","","array" +"4.0","0","https://www.w3.org/2018/credentials/v1","string" +"4.1","1","ipfs://QmZWMEVczMDeaJFVF8Ee4ndyV1R7zWc8MkHury6jwF7uiv","string" +"5","credentialSubject","","array" +"5.0","0","","object" +"5.0.0","name","VMR0015 v1.0 Safe Drinking Water dMRV","string" +"5.0.1","description","Verra VMR0015 methodology for low greenhouse-gas-emitting safe drinking water production systems. dMRV implementation on Hedera Guardian for the DLT Earth bounty.","string" +"5.0.2","topicDescription","VMR0015 v1.0","string" +"5.0.3","version","2.0.0","string" +"5.0.4","policyTag","Tag_1780434035630.5bf2ebb9","string" +"5.0.5","owner","did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164","string" +"5.0.6","cid","QmNPBfERisRa5xC7VDWShVfkv9vyZwD1hVkk4r8NFS18ec","string" +"5.0.7","url","ipfs://QmNPBfERisRa5xC7VDWShVfkv9vyZwD1hVkk4r8NFS18ec","string" +"5.0.8","uuid","cb34e5db-326f-4e24-b585-5effdf508cad","string" +"5.0.9","operation","PUBLISH","string" +"5.0.10","@context","","array" +"5.0.10.0","0","ipfs://QmZWMEVczMDeaJFVF8Ee4ndyV1R7zWc8MkHury6jwF7uiv","string" +"5.0.11","id","urn:uuid:1780434907.600263000","string" +"5.0.12","type","Policy&1.0.0","string" +"6","proof","","object" +"6.0","type","Ed25519Signature2018","string" +"6.1","created","2026-06-02T21:15:13Z","string" +"6.2","verificationMethod","did:hedera:testnet:6VhJ5QVjq4D48CzyxBfA2S4yXqW2ELMYhuEKJxfRcbLW_0.0.9124164#did-root-key","string" +"6.3","proofPurpose","assertionMethod","string" +"6.4","jws","eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..VFqL7kC-FFZ7pIdIVsDC-X2z8vRJxC2gcueea0ocZuiHkS2FnsxHhVpV8qcujlJ7i4Dw4O_BM7XFNBl71PSBCQ","string" diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/tests/VMR0015_dryrun_record.record b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/tests/VMR0015_dryrun_record.record new file mode 100644 index 0000000000..6f032f5ffe Binary files /dev/null and b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/tests/VMR0015_dryrun_record.record differ diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/tests/record_1780434254466.record b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/tests/record_1780434254466.record new file mode 100644 index 0000000000..6f032f5ffe Binary files /dev/null and b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/tests/record_1780434254466.record differ diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/tools/verify_originality.py b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/tools/verify_originality.py new file mode 100755 index 0000000000..474acd2457 --- /dev/null +++ b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/tools/verify_originality.py @@ -0,0 +1,57 @@ +#!/usr/bin/env python3 +"""Originality scan for VMR0015.policy. + +Usage: python3 tools/verify_originality.py path/to/VMR0015.policy +Exit 0 if clean, 1 if any forbidden marker is present, 2 on read error. +""" +import re +import sys +import zipfile + +FORBIDDEN = [ + "0.0.3969810", # CDM token + "0.0.3969809", # CDM topic + "00ad3636", # Official PP IRI prefix + "7c6e3bfe", # Official VVB IRI prefix + "a76cb53c", # Official PD IRI prefix + "8f48da39", # Official MR IRI prefix + "approve_PP", + "approve_VVB", + "TrustChain", + "Choose_Roles", + "project_Pipeline", + "Monitoring_Reports_sr", +] + +MAINNET_MSGID = re.compile(r"\b170[6-7]\d{6}\.\d{9}\b") + + +def main(path: str) -> int: + try: + with zipfile.ZipFile(path) as zf: + with zf.open("policy.json") as fh: + text = fh.read().decode("utf-8", errors="replace") + except (FileNotFoundError, KeyError, zipfile.BadZipFile) as e: + print(f"ERROR reading {path}: {e}", file=sys.stderr) + return 2 + + hits = [m for m in FORBIDDEN if re.search(re.escape(m), text)] + msgid_hits = MAINNET_MSGID.findall(text) + + print(f"Forbidden markers: {len(hits)}/{len(FORBIDDEN)} present") + for m in hits: + print(f" - {m}") + print(f"Mainnet messageId pattern: {len(msgid_hits)} hits") + for m in msgid_hits[:5]: + print(f" - {m}") + + clean = (len(hits) == 0 and len(msgid_hits) == 0) + print(f"\nResult: {'PASS (clean)' if clean else 'FAIL (forensic markers present)'}") + return 0 if clean else 1 + + +if __name__ == "__main__": + if len(sys.argv) != 2: + print(__doc__, file=sys.stderr) + sys.exit(2) + sys.exit(main(sys.argv[1])) diff --git a/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/workflow.png b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/workflow.png new file mode 100644 index 0000000000..ed190097b5 Binary files /dev/null and b/Methodology Library/DLT Earth Methodology Bounty Program/Emission Reductions from Safe Drinking Water Supply/workflow.png differ