Skip to content

Commit

Permalink
feat: add credit class certifications and update project ratings to b…
Browse files Browse the repository at this point in the history
…e a list (#59)

* feat: add regen:ratings and regen:certifications and refactor project ttl's

* feat!: update C03 project metadata

* feat: add certifications to credit class metadata

* fix: context

* fix: qudt/unit prefixes

* feat: add ICROA to C03 and update url

* fix: clean up prefixes

* chore: rm specific credit class jsonld templates
  • Loading branch information
blushi committed Jul 4, 2023
1 parent 92462e9 commit 2f6d54f
Show file tree
Hide file tree
Showing 28 changed files with 463 additions and 467 deletions.
16 changes: 10 additions & 6 deletions jsonld/C03/project-metadata/C03-project-full-example.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
},
"regen:offsetGenerationMethod": {
"@container": "@list"
},
"regen:ratings": {
"@container": "@list"
}
},
"@type": "regen:C03-Project",
Expand Down Expand Up @@ -65,10 +68,11 @@
]
}
},
"regen:rating": {
"@type": "regen:BeZeroCarbon",
"schema:name": "BeZero Carbon",
"schema:ratingValue": "AAA",
"schema:url": "https://bezerocarbon.com/123"
}
"regen:ratings": [
{
"schema:name": "BeZero Carbon",
"schema:ratingValue": "AAA",
"schema:url": "https://bezerocarbon.com/123"
}
]
}
52 changes: 0 additions & 52 deletions jsonld/credit-classes/C01-verified-carbon-standard-class.jsonld

This file was deleted.

63 changes: 0 additions & 63 deletions jsonld/credit-classes/C02-city-forest-credits-class.jsonld

This file was deleted.

59 changes: 0 additions & 59 deletions jsonld/credit-classes/C03-Toucan-TCO2-class.jsonld

This file was deleted.

11 changes: 10 additions & 1 deletion jsonld/credit-classes/credit-class.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@
},
"schema:image": {
"@type": "schema:URL"
},
"regen:certifications": {
"@container": "@list"
}
},
"@type": "regen:CreditClass",
"@type": "regen:XXX-CreditClass",
"schema:description": "",
"schema:name": "",
"schema:url": "",
Expand Down Expand Up @@ -58,5 +61,11 @@
"regen:verificationMethod": "",
"regen:projectActivities": [
""
],
"regen:certifications": [
{
"schema:name": "",
"schema:url": ""
}
]
}
13 changes: 7 additions & 6 deletions jsonld/projects/C03-project.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,11 @@
]
}
},
"regen:rating": {
"@type": "regen:BeZeroCarbon",
"schema:name": "BeZero Carbon",
"schema:ratingValue": "",
"schema:url": ""
}
"regen:ratings": [
{
"schema:name": "BeZero Carbon",
"schema:ratingValue": "",
"schema:url": ""
}
]
}
81 changes: 81 additions & 0 deletions jsonld/projects/project.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"@context": {
"schema": "http://schema.org/",
"regen": "https://schema.regen.network#",
"qudt": "http://qudt.org/schema/qudt/",
"unit": "http://qudt.org/vocab/unit/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"schema:url": {
"@type": "schema:URL"
},
"qudt:unit": {
"@type": "qudt:Unit"
},
"qudt:numericValue": {
"@type": "xsd:double"
},
"regen:projectStartDate": {
"@type": "xsd:date"
},
"regen:projectEndDate": {
"@type": "xsd:date"
},
"regen:offsetGenerationMethod": {
"@container": "@list"
},
"regen:ratings": {
"@container": "@list"
}
},
"@type": "regen:XXX-Project",
"@id": "http://app.regen.network/project/<ID>",
"schema:name": "",
"schema:location": {
"@context": {
"type": "@type",
"@vocab": "https://purl.org/geojson/vocab#",
"coordinates": {
"@container": "@list"
},
"bbox": {
"@container": "@list"
}
},
"type": "Feature"
},
"regen:projectSize": {
"qudt:unit": "unit:HA",
"qudt:numericValue": 0
},
"regen:projectActivity": {
"schema:name": "",
"schema:url": ""
},
"regen:projectDeveloper": {
"@type": "regen:Organization",
"schema:name": "",
"schema:url": "",
"schema:description": "",
"regen:address": ""
},
"regen:projectVerifier": {
"@type": "regen:Organization",
"schema:name": "",
"schema:url": "",
"schema:description": "",
"regen:address": ""
},
"regen:offsetGenerationMethod": [
""
],
"regen:projectType": "",
"regen:projectStartDate": "",
"regen:projectEndDate": "",
"regen:ratings": [
{
"schema:name": "",
"schema:ratingValue": "",
"schema:url": ""
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
},
"regen:offsetGenerationMethod": {
"@container": "@list"
},
"regen:certifications": {
"@container": "@list"
}
},
"@type": "regen:C01-CreditClass",
Expand Down Expand Up @@ -320,5 +323,11 @@
],
"schema:url": "https://library.regen.network/v/regen-registry-credit-classes/credits-from-other-registries/verified-carbon-standard-credit-class/approved-methodologies"
},
"regen:verificationMethod": "Third-party verified"
"regen:verificationMethod": "Third-party verified",
"regen:certifications": [
{
"schema:name": "ICROA approved",
"schema:url": "https://icroa.org/"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
},
"regen:ecosystemType": {
"@container": "@list"
},
"regen:certifications": {
"@container": "@list"
}
},
"@type": "regen:C02-CreditClass",
Expand Down Expand Up @@ -60,5 +63,11 @@
"regen:carbonOffsetStandard": {
"schema:name": "City Forest Credits Standard",
"schema:url": "https://www.cityforestcredits.org/wp-content/uploads/2022/03/City-Forest-Credits-Standard-V2.pdf"
}
},
"regen:certifications": [
{
"schema:name": "ICROA approved",
"schema:url": "https://icroa.org/"
}
]
}
8 changes: 7 additions & 1 deletion ops/C03/credit-class-metadata/C03-Toucan-TCO2-class.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -332,5 +332,11 @@
"Avoided Conversion of Grasslands and Shrublands (ACoGS)",
"Wetlands Restoration and Conservation (WRC)"
],
"regen:tokenizationSource": "Toucan"
"regen:tokenizationSource": "Toucan",
"regen:certifications": [
{
"schema:name": "ICROA approved",
"schema:url": "https://icroa.org/"
}
]
}
Loading

0 comments on commit 2f6d54f

Please sign in to comment.