-
Notifications
You must be signed in to change notification settings - Fork 1
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
Changes from 4 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
a2b5982
feat: add regen:ratings and regen:certifications and refactor project…
blushi 55c8668
feat!: update C03 project metadata
blushi 85d43ef
feat: add certifications to credit class metadata
blushi 86dc7c5
fix: context
blushi dc0a72e
fix: qudt/unit prefixes
blushi 59eed65
feat: add ICROA to C03 and update url
blushi 33c2c40
fix: clean up prefixes
blushi 1d2d994
chore: rm specific credit class jsonld templates
blushi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
{ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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": "" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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