regen-network / rnd-dev-team

RND Dev Team issue management (DEPRECATED)
0 stars 0 forks source link

Update VCS project metadata SHACL graph with `sh:group`s and add support for querying such graph per credit class #909

Closed blushi closed 2 years ago

blushi commented 2 years ago

Is your feature request related to a problem? Please describe. As part of the simplified Create Project Page flow, we're adding new forms for metadata related to new projects (VCS projects in particular). We need to be able to validate those forms using the SHACL graph for VCS project metadata https://github.com/regen-network/regen-registry-standards/blob/08bfd50154f4359dac9c71dda44bb806f121e811/shacl/projects/C01-verified-carbon-standard-project.ttl

Describe the solution you'd like

For Admin Use

blushi commented 2 years ago

Please add your planning poker estimate with ZenHub @wgwz

wgwz commented 2 years ago

hey @blushi, i'm curious to hear your thoughts on this part of the issue description:

We also need to think of some way to store this SHACL graph in the db so we can query it from the front-end for a given credit class. We already have a dedicated table schacl_graph to store such graphs where we already store the SHACL graph for validating generic project pages. What we need additionally is some way to retrieve the project page SHACL graph that corresponds to a certain credit class (since the metadata we need mostly depends on the credit class).

have you thought any more about how you think we could handle this? i see how this is a little tricky with the current setup.

wgwz commented 2 years ago

i just saw this comment after posting that last message, whoops. https://github.com/regen-network/regen-registry-standards/pull/16/files#r867876007