BioSchemas / specifications

Issue tracker, technical wiki, and example markup
https://bioschemas.org
54 stars 52 forks source link

Display optional requirements for profiles on website #642

Closed gtsueng closed 1 year ago

gtsueng commented 1 year ago

The bioschemas profile page template currently cannot handle the display of optional requirements, even though there is a way to express them in JSON-LD/JSON Schema. The Molecular Entity profile was updated to express these optional requirements, but it cannot be automatically generated to the website since no base template for such a thing exists.

This manifestation of this disconnect can be observed in issue: https://github.com/BioSchemas/specifications/issues/639

Where the JSON-LD file for MolecularEntity version 0.6 has the optional requirement anyOf but it does not display property on the website.

One potential way to display it would be as seen here: image

What do you think? Is there a clearer way to convey the information? @bedroesb would it be possible to add something like this to the current profile page template?