isamplesorg / isamples_inabox

Provides functionality intermediate to a collection and central
0 stars 1 forks source link

Support for Local Context / Traditional Knowledge Label Identifiers #388

Open datadavev opened 4 weeks ago

datadavev commented 4 weeks ago

There is a need to present information such as traditional Knowledge Labels (https://localcontexts.org/labels/traditional-knowledge-labels/) that may be associated with specimen records.

These will generally be in the form of an identifier to a resource that provides more information about the specimen.

For TK labels, the identifier can be used to reference an icon and text that can be presented to end users, though the construct of that in a UI requires some specific knowledge about the type of identifier (i.e. need to provide more than just a link). Hence there is a need to store the TK identifier(s) associated with a specimen, and use that information in the UI to provide the appropriate rendering.

dannymandel commented 4 weeks ago

It looks like in GEOME, they live on the project (https://api.geome-db.org/v1/projects?include_public=true&admin=false)

e.g.

"localcontextsId":"71b32571-0176-4627-8e01-4d78818432a7"

This is going to require us to do some goofiness in our import process. We'll need to basically stuff some junk into the JSON that fakes it up like that ID was in the record instead of the project.