Closed blushi closed 2 years ago
Please add your planning poker estimate with ZenHub @wgwz
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.
i just saw this comment after posting that last message, whoops. https://github.com/regen-network/regen-registry-standards/pull/16/files#r867876007
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
sh:group
fields so that we can do form validation against those groups, see how it's done in the existing https://github.com/regen-network/regen-registry-standards/blob/08bfd50154f4359dac9c71dda44bb806f121e811/shacl/projects/project-page.ttl This way, from the front-end, we can do validation against this graph and "filter" by group so we only validate the data that belongs to the given group (see full flow on figma)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).For Admin Use