From bc85bc8c47ec31327d90dd7f59b569eccc74b515 Mon Sep 17 00:00:00 2001 From: S4mmyb Date: Mon, 6 Nov 2023 16:44:48 -0700 Subject: [PATCH] updated per marie's comments --- jsonld/credit-batches/C05-batch.jsonld | 1 + .../C05-001-20221014-20231014-batch.jsonld | 31 ---------------- .../C05-class-metadata.jsonld | 36 +++++++++--------- .../KSH01-001-20230101-20230501.jsonld | 1 + .../project-metadata/KSH01-001-project.jsonld | 5 ++- shacl/credit-batches/credit-vintage.ttl | 8 ---- shacl/credit-classes/C05-kct-class.ttl | 37 ++++++++----------- shacl/credit-classes/credit-class.ttl | 1 - shacl/methodologies/methodology.ttl | 1 - shacl/projects/KSH01-project.ttl | 19 ++++++++++ shacl/projects/project.ttl | 2 +- 11 files changed, 58 insertions(+), 84 deletions(-) delete mode 100644 ops/C05/credit-batch-metadata/C05-001-20221014-20231014-batch.jsonld create mode 100644 shacl/projects/KSH01-project.ttl diff --git a/jsonld/credit-batches/C05-batch.jsonld b/jsonld/credit-batches/C05-batch.jsonld index dec32da..53a4069 100644 --- a/jsonld/credit-batches/C05-batch.jsonld +++ b/jsonld/credit-batches/C05-batch.jsonld @@ -10,6 +10,7 @@ "@type": "schema:URL" } }, + "@type": "regen:C05-CreditBatch", "regen:verificationReport": { "schema:name": "", "schema:url": "" diff --git a/ops/C05/credit-batch-metadata/C05-001-20221014-20231014-batch.jsonld b/ops/C05/credit-batch-metadata/C05-001-20221014-20231014-batch.jsonld deleted file mode 100644 index 44e2d72..0000000 --- a/ops/C05/credit-batch-metadata/C05-001-20221014-20231014-batch.jsonld +++ /dev/null @@ -1,31 +0,0 @@ -{ - "@context": { - "schema": "http://schema.org/", - "regen": "https://schema.regen.network#", - "xsd": "http://www.w3.org/2001/XMLSchema#", - "regen:supplementalDatasets": { - "@container": "@list" - }, - "schema:url": { - "@type": "schema:URL" - } - }, - "regen:verificationReport": { - "schema:name": "", - "schema:url": "" - }, - "regen:monitoringReport": { - "schema:name": "", - "schema:url": "" - }, - "regen:projectVerifier": { - "schema:name": "", - "schema:url": "" - }, - "regen:supplementalDatasets": [ - { - "schema:name": "", - "schema:url": "" - } - ] -} diff --git a/ops/C05/credit-class-metadata/C05-class-metadata.jsonld b/ops/C05/credit-class-metadata/C05-class-metadata.jsonld index 34ac33e..460bf7b 100644 --- a/ops/C05/credit-class-metadata/C05-class-metadata.jsonld +++ b/ops/C05/credit-class-metadata/C05-class-metadata.jsonld @@ -9,7 +9,7 @@ "schema:url": { "@type": "schema:URL" }, - "regen:additionalityApproach": { + "regen:additionalityAssessment": { "@container": "@list" }, "regen:baselineMethod": { @@ -21,6 +21,9 @@ "regen:biocharFeedstockMaterial": { "@container": "@list" }, + "regen:bufferPoolAccounts": { + "@container": "@list" + }, "regen:creditingTerm": { "@type": "schema:Duration" }, @@ -36,7 +39,7 @@ "regen:landOwnershipType": { "@container": "@list" }, - "regen:leakageApproach": { + "regen:leakageAssessment": { "@container": "@list" }, "regen:lookbackPeriod": { @@ -65,11 +68,11 @@ "schema:name": "Credit Class for Carbon Removal through Biochar Production", "schema:description": "The Biochar Carbon credit focuses on carbon removal and avoiding emissions that would have resulted from the decomposition of waste biomass. Carbon removal is the approved benefit that is monitored, quantified, and determines the number of credits issued. The approved benefit of atmospheric regulation through carbon sequestration is driven by carbon removals and reductions through the production and application of biochar to soils.", "schema:url": "https://registry.regen.network/v/regen-registry-credit-classes/regen-registry-credit-classes-1/credit-class-for-carbon-removal-through-biochar-production", - "regen:additionalityApproach": [ + "regen:additionalityAssessment": [ "Regulatory Surplus", "Positive List" ], - "regen:aggregatedProjects": true, + "regen:allowsAggregatedProjects": true, "regen:approvedMethodologies": { "@type": "schema:ItemList", "schema:itemListElement": [ @@ -82,11 +85,9 @@ { "schema:name": "Appendix: In-Stand Surface Application of Biochar in Forestlands Methodology", "schema:url": "https://registry.regen.network/v/methodology-library/published-methodologies/appendix-in-stand-surface-application-of-biochar-in-forestlands-methodology", - "schema:identifier": "", "schema:version": "V1.0" } - ], - "schema:url": "" + ] }, "regen:baselineMethod": [ "Project Method" @@ -102,16 +103,13 @@ "Industrial waste", "Aquaculture plants" ], - "regen:bufferPoolAccounts": { - "@type": "schema:ItemList", - "schema:itemListElement": [ - { - "schema:name": "Carbon Removal through Biochar Production Credit Class Buffer Pool", - "regen:walletAddress": "regen1wgjpjh42cr7t5sp5hgty4yrzww496a6yaznc9u4wsv9ac3xccu8szz2upa", - "regen:poolAllocation": "10%" - } - ] - }, + "regen:bufferPoolAccounts": [ + { + "schema:name": "Carbon Removal through Biochar Production Credit Class Buffer Pool", + "regen:walletAddress": "regen1wgjpjh42cr7t5sp5hgty4yrzww496a6yaznc9u4wsv9ac3xccu8szz2upa", + "regen:poolAllocation": "10%" + } + ], "regen:creditingTerm": "P2Y", "regen:creditGenerationMethod": [ "Carbon Removal", @@ -131,10 +129,10 @@ "Private", "Tribal" ], - "regen:leakageApproach": [ + "regen:leakageAssessment": [ "Transport Emissions" ], - "regen:lookbackPeriod": "P-1Y", + "regen:lookbackPeriod": "-P1Y", "regen:measuredGHGs": [ "Carbon Dioxide (CO2)", "Methane (CH4)" diff --git a/ops/KSH01/credit-batch-metadata/KSH01-001-20230101-20230501.jsonld b/ops/KSH01/credit-batch-metadata/KSH01-001-20230101-20230501.jsonld index d0643ba..e716668 100644 --- a/ops/KSH01/credit-batch-metadata/KSH01-001-20230101-20230501.jsonld +++ b/ops/KSH01/credit-batch-metadata/KSH01-001-20230101-20230501.jsonld @@ -10,6 +10,7 @@ "@type": "schema:URL" } }, + "@type": "regen:KSH01-CreditBatch", "regen:verificationReport": { "schema:name": "2023 Grazing Season Verification Report - Grgich Hills Estate", "schema:url": "https://regen-registry.s3.amazonaws.com/registry/KSH01-Sheep-Grazing-in-Vineyard-Systems-Credit-Class/Projects/KSH01-001/project-documentation/2023+Grazing+Season+Verification+Report+-+Grgich+Hills+Estate.pdf" diff --git a/ops/KSH01/project-metadata/KSH01-001-project.jsonld b/ops/KSH01/project-metadata/KSH01-001-project.jsonld index de7a4bf..dc304f1 100644 --- a/ops/KSH01/project-metadata/KSH01-001-project.jsonld +++ b/ops/KSH01/project-metadata/KSH01-001-project.jsonld @@ -51,7 +51,10 @@ "qudt:unit": "unit:HA", "qudt:numericValue": 126.6 }, - "regen:projectActivity": "High Density, Short Duration Sheep Grazing", + "regen:projectActivity": { + "schema:name": "High Density, Short Duration Sheep Grazing", + "schema:url": "https://www.sciencedirect.com/science/article/pii/S0016706123002756" + }, "regen:projectType": "Environmental Stewardship", "regen:projectStartDate": "2023-01-01", "regen:projectEndDate": "2023-05-31" diff --git a/shacl/credit-batches/credit-vintage.ttl b/shacl/credit-batches/credit-vintage.ttl index f4c6d68..7157f99 100644 --- a/shacl/credit-batches/credit-vintage.ttl +++ b/shacl/credit-batches/credit-vintage.ttl @@ -36,14 +36,6 @@ regen:CreditVintageShape sh:path regen:initialIssuanceTotalGrossAmount ; sh:minExclusive 0; ] ; - sh:property [ - sh:path regen:batchData ; - sh:node dash:ListShape ; - sh:property [ - sh:path ( [ sh:zeroOrMorePath rdf:rest ] rdf:first ) ; - sh:datatype xsd:string ; - ] ; - ] ; . # regen:CreditVintageInitialDistributionShape defines a credit vintage initial distribution that is stored diff --git a/shacl/credit-classes/C05-kct-class.ttl b/shacl/credit-classes/C05-kct-class.ttl index f26dfbb..893ab23 100644 --- a/shacl/credit-classes/C05-kct-class.ttl +++ b/shacl/credit-classes/C05-kct-class.ttl @@ -8,13 +8,13 @@ regen:C05-CreditClassShape a sh:NodeShape ; sh:targetClass regen:C05-CreditClass ; sh:property [ - sh:path regen:aggregatedProjects ; + sh:path regen:allowsAggregatedProjects ; sh:node schema:Boolean ; sh:minCount 1 ; sh:maxCount 1 ; ] ; sh:property [ - sh:path regen:additionalityApproach ; + sh:path regen:additionalityAssessment ; sh:node dash:ListShape ; sh:property [ sh:path ( [ sh:zeroOrMorePath rdf:rest ] rdf:first ) ; @@ -57,7 +57,16 @@ regen:C05-CreditClassShape a sh:NodeShape ; sh:minCount 1 ; sh:maxCount 1 ; ] ; - sh:property regen:BufferPoolAccountsShape ; + sh:property [ + sh:path regen:bufferPoolAccounts ; + sh:node dash:ListShape ; + sh:property [ + sh:path ( [ sh:zeroOrMorePath rdf:rest ] rdf:first ) ; + sh:node regen:BufferPoolAccountShape ; + ] ; + sh:minCount 1 ; + sh:maxCount 1; + ] ; sh:property [ sh:path regen:creditingTerm ; sh:node schema:Duration ; @@ -102,7 +111,7 @@ regen:C05-CreditClassShape a sh:NodeShape ; sh:maxCount 1 ; ] ; sh:property [ - sh:path regen:leakageApproach ; + sh:path regen:leakageAssessment ; sh:node dash:ListShape ; sh:property [ sh:path ( [ sh:zeroOrMorePath rdf:rest ] rdf:first ) ; @@ -160,27 +169,11 @@ regen:BufferPoolAccountShape a sh:NodeShape ; sh:property [ sh:path regen:walletAddress ; sh:datatype xsd:string ; - sh:minCount 1 ; + sh:maxCount 1 ; ] ; sh:property [ sh:path regen:poolAllocation ; sh:datatype xsd:string ; - sh:minCount 1 ; - ] ; -. - -regen:BufferPoolAccountsShape sh:path regen:bufferPoolAccounts ; - sh:node dash:ItemList ; - sh:minCount 1 ; - sh:maxCount 1 ; - sh:property [ - sh:path schema:itemListElement ; - sh:minCount 1 ; sh:maxCount 1 ; - sh:property [ - sh:path ( [ sh:zeroOrMorePath rdf:rest ] rdf:first ) ; - sh:node regen:BufferPoolAccountShape ; - sh:minCount 1 ; - ] ; - ] + ] ; . \ No newline at end of file diff --git a/shacl/credit-classes/credit-class.ttl b/shacl/credit-classes/credit-class.ttl index 9bd4a22..0c9b986 100644 --- a/shacl/credit-classes/credit-class.ttl +++ b/shacl/credit-classes/credit-class.ttl @@ -142,7 +142,6 @@ regen:MethodologyVersionShape a sh:NodeShape ; sh:property [ sh:path schema:identifier ; sh:datatype xsd:string ; - sh:minCount 1 ; sh:maxCount 1 ; ] ; sh:property [ diff --git a/shacl/methodologies/methodology.ttl b/shacl/methodologies/methodology.ttl index a9d1eeb..d87103b 100644 --- a/shacl/methodologies/methodology.ttl +++ b/shacl/methodologies/methodology.ttl @@ -21,7 +21,6 @@ regen:MethodologyVersionShape a sh:NodeShape ; sh:property [ sh:path schema:identifier ; sh:datatype xsd:string ; - sh:minCount 1 ; sh:maxCount 1 ; ] ; sh:property [ diff --git a/shacl/projects/KSH01-project.ttl b/shacl/projects/KSH01-project.ttl new file mode 100644 index 0000000..eb08525 --- /dev/null +++ b/shacl/projects/KSH01-project.ttl @@ -0,0 +1,19 @@ +@prefix schema: . +@prefix sh: . +@prefix regen: . +@prefix rdfs: . +@prefix rdf: . +@prefix dash: . +@prefix xsd: . + +regen:KSH01-Project rdfs:subClassOf regen:Project . + +regen:KSH01-ProjectShape a sh:NodeShape ; + sh:targetClass regen:KSH01-Project ; + sh:property regen:ProjectSizePropertyShape ; + sh:property regen:ProjectActivityPropertyShape ; + sh:property regen:ProjectStartDatePropertyShape ; + sh:property regen:ProjectEndDatePropertyShape ; + sh:property regen:ProjectTypePropertyShape ; + sh:property regen:LocationPropertyShape +. diff --git a/shacl/projects/project.ttl b/shacl/projects/project.ttl index d135828..9dbd08a 100644 --- a/shacl/projects/project.ttl +++ b/shacl/projects/project.ttl @@ -10,7 +10,7 @@ # Anchored regen:ProjectShape a sh:NodeShape ; - sh:targetClass regen:Project, regen:C01-Project, regen:C02-Project, regen:C03-Project, regen:C05-Project ; + sh:targetClass regen:Project, regen:C01-Project, regen:C02-Project, regen:C03-Project, regen:C05-Project, regen:KSH01-Project ; sh:property regen:NamePropertyShape ; sh:property regen:LocationPropertyShape ; sh:property regen:ProjectSizeOptionalPropertyShape ;