biothings / discovery-app

The Data Discovery Engine project by the CD2H Data working-group
http://discovery.biothings.io
Apache License 2.0
4 stars 9 forks source link

Enable 'clone and modify' a class #187

Open gtsueng opened 1 year ago

gtsueng commented 1 year ago

Is your feature request related to a problem? Please describe. Currently, to update a bioschema class, we 'extend' from the class to be updated (A). The extended class (B) will inherit properties and validation rules from A, but the parent of B will equal A. This means that the user must manually edit the parent class of B to the parent class of A. Hence, updating a bioschemas class requires editing the JSON-LD file, even in the cases where updates to be made are marginality or descriptions which require NO knowledge or understanding of JSON-LD.

Describe the solution you'd like Have a 'clone and modify' option which is exactly the same as the 'extend' process. The only difference is on the backend where the cloned/modified schema will have the same parent class as the class it's being clone/modified from. Include in the FAQ what the difference between the two functions would be.

Not sure what's the best name for this function should be:

Describe alternatives you've considered We tried to provide simple instructions for how to update just the parent class part of a JSON-LD file but this activity was deemed too technical for non-technical bioschemas community members

Additional context Add any other context or screenshots about the feature request here.