Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add credit class certifications and update project ratings to be a list #59

Merged
merged 8 commits into from
Jul 4, 2023
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,11 @@
],
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was actually debating whether we need those credit classes template jsonld files or not
because we'll only have one instance of a given credit class metadata so maybe we could get rid of those (ditto for C02-...-credit-class.jsonld below) cc/ @wgwz

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sgtm, i'm ok with removing the templates for credit classes

"schema:url": ""
},
"regen:verificationMethod": ""
"regen:verificationMethod": "",
"regen:certifications": [
{
"schema:name": "",
"schema:url": ""
}
]
}
8 changes: 7 additions & 1 deletion jsonld/credit-classes/C02-city-forest-credits-class.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,11 @@
],
"regen:carbonOffsetStandard": {
"schema:url": ""
}
},
"regen:certifications": [
{
"schema:name": "",
"schema:url": ""
}
]
}
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 @@
{
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I moved the generic project metadata fields to this project.jsonld file, similarly to what's been done for credit-class.jsonld

"@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/"
}
]
}
13 changes: 7 additions & 6 deletions ops/C03/project-metadata/C03-001-project.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,11 @@
}
]
},
"regen:rating": {
"@type": "regen:BeZeroCarbon",
"schema:name": "BeZero Carbon",
"schema:ratingValue": "AAA",
"schema:url": "https://bezerocarbon.com/listings/?filter=rimba+raya"
}
"regen:ratings": [
{
"schema:name": "BeZero Carbon",
"schema:ratingValue": "AAA",
"schema:url": "https://bezerocarbon.com/listings/?filter=rimba+raya"
}
]
}
13 changes: 7 additions & 6 deletions ops/C03/project-metadata/C03-002-project.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,11 @@
}
]
},
"regen:rating": {
"@type": "regen:BeZeroCarbon",
"schema:name": "BeZero Carbon",
"schema:ratingValue": "B",
"schema:url": "https://bezerocarbon.com/listings/?filter=RIU+sm"
}
"regen:ratings": [
{
"schema:name": "BeZero Carbon",
"schema:ratingValue": "B",
"schema:url": "https://bezerocarbon.com/listings/?filter=RIU+sm"
}
]
}
13 changes: 7 additions & 6 deletions ops/C03/project-metadata/C03-003-project.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,11 @@
}
]
},
"regen:rating": {
"@type": "regen:BeZeroCarbon",
"schema:name": "BeZero Carbon",
"schema:ratingValue": "AAA-",
"schema:url": "https://bezerocarbon.com/listings/?filter=keo+seima"
}
"regen:ratings": [
{
"schema:name": "BeZero Carbon",
"schema:ratingValue": "AAA-",
"schema:url": "https://bezerocarbon.com/listings/?filter=keo+seima"
}
]
}
13 changes: 7 additions & 6 deletions ops/C03/project-metadata/C03-004-project.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,11 @@
}
]
},
"regen:rating": {
"@type": "regen:BeZeroCarbon",
"schema:name": "BeZero Carbon",
"schema:ratingValue": "BBB",
"schema:url": "https://bezerocarbon.com/listings/?filter=kasigau"
}
"regen:ratings": [
{
"schema:name": "BeZero Carbon",
"schema:ratingValue": "BBB",
"schema:url": "https://bezerocarbon.com/listings/?filter=kasigau"
}
]
}
13 changes: 7 additions & 6 deletions ops/C03/project-metadata/C03-006-project.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,11 @@
}
]
},
"regen:rating": {
"@type": "regen:BeZeroCarbon",
"schema:name": "BeZero Carbon",
"schema:ratingValue": "AA-",
"schema:url": "https://bezerocarbon.com/listings/?filter=mai+ndombe"
}
"regen:ratings": [
{
"schema:name": "BeZero Carbon",
"schema:ratingValue": "AA-",
"schema:url": "https://bezerocarbon.com/listings/?filter=mai+ndombe"
}
]
}
13 changes: 7 additions & 6 deletions ops/C03/project-metadata/C03-007-project.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@
}
]
},
"regen:rating": {
"@type": "regen:BeZeroCarbon",
"schema:name": "BeZero Carbon",
"schema:ratingValue": "C",
"schema:url": "https://bezerocarbon.com/listings/?filter=pacajai"
}
"regen:ratings": [
{
"schema:name": "BeZero Carbon",
"schema:ratingValue": "C",
"schema:url": "https://bezerocarbon.com/listings/?filter=pacajai"
}
]
}
13 changes: 7 additions & 6 deletions ops/C03/project-metadata/C03-008-project.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@
}
]
},
"regen:rating": {
"@type": "regen:BeZeroCarbon",
"schema:name": "BeZero Carbon",
"schema:ratingValue": "BB",
"schema:url": "https://bezerocarbon.com/listings/?filter=INNER+MONGOLIA+CHAO%E2%80%99ER+IMPROVED+FOREST+MANAGEMENT+PROJECT"
},
"regen:ratings": [
{
"schema:name": "BeZero Carbon",
"schema:ratingValue": "BB",
"schema:url": "https://bezerocarbon.com/listings/?filter=INNER+MONGOLIA+CHAO%E2%80%99ER+IMPROVED+FOREST+MANAGEMENT+PROJECT"
}
],
"schema:location": {
"@context": {
"type": "@type",
Expand Down
13 changes: 7 additions & 6 deletions ops/C03/project-metadata/C03-009-project.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@
}
]
},
"regen:rating": {
"@type": "regen:BeZeroCarbon",
"schema:name": "BeZero Carbon",
"schema:ratingValue": "BB",
"schema:url": "https://bezerocarbon.com/listings/?filter=1577"
},
"regen:ratings": [
{
"schema:name": "BeZero Carbon",
"schema:ratingValue": "BB",
"schema:url": "https://bezerocarbon.com/listings/?filter=1577"
}
],
"schema:location": {
"@context": {
"type": "@type",
Expand Down
Loading