Skip to content

Commit

Permalink
fix: C04 metadata (#68)
Browse files Browse the repository at this point in the history
* fix: update C04 metadata

* fix: update C04 shacl

* fix: have monitoringFrequency and verificationFrequency as schema:Duration

* fix: more metadata fixes

* fix: typo

* chore: add schema:Duration

* fix: missing property shape

* fix: C02-006 jsonld
  • Loading branch information
blushi authored Nov 6, 2023
1 parent dfada06 commit f04f342
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 49 deletions.
2 changes: 1 addition & 1 deletion ops/C02/project-metadata/C02-006-project.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"regen:projectDeveloper": {
"@type": "regen:Organization",
"schema:name": "Lookout Mountain Conservancy",
"schema:url": "https://lookoutmountainconservancy.org",
"schema:url": "https://lookoutmountainconservancy.org"
},
"regen:projectType": "Agriculture Forestry and Other Land Use",
"regen:projectActivity": {
Expand Down
51 changes: 29 additions & 22 deletions ops/C04/credit-class-metadata/C04-ruuts-credit-class.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,23 @@
"regen:leakageApproach": {
"@container": "@list"
},
"regen:bufferPoolAccounts": {
"@container": "@list"
},
"regen:creditingTerm": {
"@type": "schema:activityDuration"
"@type": "schema:Duration"
},
"regen:lookbackPeriod": {
"@type": "schema:activityDuration"
"@type": "schema:Duration"
},
"regen:permanencePeriod": {
"@type": "schema:activityDuration"
"@type": "schema:Duration"
},
"regen:monitoringFrequency": {
"@type": "schema:frequency"
"@type": "schema:Duration"
},
"regen:verificationFrequency": {
"@type": "schema:frequency"
"@type": "schema:Duration"
}
},
"@type": "regen:C04-CreditClass",
Expand All @@ -75,8 +78,16 @@
"Methane (CH4)"
],
"regen:coBenefits": [
"Water Infultration",
"Biodiversity"
{
"@id": "regen:WaterInfiltration",
"@type": "regen:MeasuredCoBenefit",
"schema:name": "Water Infiltration"
},
{
"@id": "regen:Biodiversity",
"@type": "regen:MeasuredCoBenefit",
"schema:name": "Biodiversity"
}
],
"regen:geographicApplicability": "Global",
"regen:eligibleActivities": [
Expand All @@ -93,11 +104,11 @@
"Integrated Cro-Livestock (ICL)"
],
"regen:creditingTerm": "P10Y",
"regen:lookbackPeriod": "P-14Y",
"regen:lookbackPeriod": "-P14Y",
"regen:permanencePeriod": "P20Y",
"regen:aggregatedProjects": true,
"regen:monitoringFrequency": "Annual",
"regen:verificationFrequency": "Five year",
"regen:allowsAggregatedProjects": true,
"regen:monitoringFrequency": "P1Y",
"regen:verificationFrequency": "P5Y",
"regen:verificationMethods": [
"Ruuts Internal Quality Assurance",
"Third-Party ISO 14064-3 Verification"
Expand All @@ -111,19 +122,15 @@
"schema:identifier": "",
"schema:version": "V1.0"
}
],
"schema:url": ""
},
"regen:bufferPoolAccounts": {
"@type": "schema:ItemList",
"schema:itemListElement": [
{
"schema:name": "Credit Class (Pooled) Buffer Pool",
"regen:walletAddress": "regen17pmq7hp4upvmmveqexzuhzu64v36re3w3447n7dt46uwp594wtpsuuh7f6",
"regen:poolAllocation": "5%"
}
]
},
"regen:bufferPoolAccounts": [
{
"schema:name": "Credit Class (Pooled) Buffer Pool",
"regen:address": "regen17pmq7hp4upvmmveqexzuhzu64v36re3w3447n7dt46uwp594wtpsuuh7f6",
"regen:poolAllocation": "5%"
}
],
"regen:additionalityApproach": [
"Common Practice Analysis",
"Regulatory Additionality"
Expand Down
34 changes: 9 additions & 25 deletions shacl/credit-classes/C04-ruuts-credit-class.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,6 @@ regen:C04-CreditClassShape a sh:NodeShape ;
sh:minCount 1 ;
sh:maxCount 1 ;
] ;
sh:property [
sh:path regen:coBenefits ;
sh:node dash:ListShape ;
sh:property [
sh:path ( [ sh:zeroOrMorePath rdf:rest ] rdf:first ) ;
sh:datatype xsd:string ;
sh:minLength 1 ;
] ;
sh:minCount 1 ;
sh:maxCount 1 ;
] ;
sh:property [
sh:path regen:geographicApplicability ;
sh:datatype xsd:string ;
Expand Down Expand Up @@ -68,35 +57,35 @@ regen:C04-CreditClassShape a sh:NodeShape ;
] ;
sh:property [
sh:path regen:creditingTerm ;
sh:node schema:activityDuration ;
sh:node schema:Duration ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:minLength 1 ;
] ;
sh:property [
sh:path regen:lookbackPeriod ;
sh:node schema:activityDuration ;
sh:node schema:Duration ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:minLength 1 ;
] ;
sh:property [
sh:path regen:aggregatedProjects ;
sh:path regen:allowsAggregatedProjects ;
sh:node schema:Boolean ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:minLength 1 ;
] ;
sh:property [
sh:path regen:monitoringFrequency ;
sh:datatype schema:frequency ;
sh:node schema:Duration ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:minLength 1 ;
] ;
sh:property [
sh:path regen:verificationFrequency ;
sh:node schema:frequency ;
sh:node schema:Duration ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:minLength 1 ;
Expand Down Expand Up @@ -142,7 +131,7 @@ regen:BufferPoolAccountShape a sh:NodeShape ;
sh:minLength 1 ;
] ;
sh:property [
sh:path regen:walletAddress ;
sh:path regen:address ;
sh:datatype xsd:string ;
sh:minCount 1 ;
] ;
Expand All @@ -154,17 +143,12 @@ regen:BufferPoolAccountShape a sh:NodeShape ;
.

regen:BufferPoolAccountsShape sh:path regen:bufferPoolAccounts ;
sh:node dash:ItemList ;
sh:node dash:ListShape ;
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 ;
] ;
]
.
] ;
.
2 changes: 1 addition & 1 deletion shacl/credit-classes/credit-class.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ regen:CreditClassShape a sh:NodeShape ;
[
sh:property regen:OffsetGenerationMethodPropertyShape ;
] [
sh:property regen:creditGenerationMethodPropertyShape ;
sh:property regen:CreditGenerationMethodPropertyShape ;
]
) ;
sh:or (
Expand Down

0 comments on commit f04f342

Please sign in to comment.