Docmaps-Project / docmaps

Extensible protocol for document history metadata exchange, to enable trustworthy, rapid, open science, by and for preprint science communities.
MIT License
15 stars 1 forks source link

[ts-sdk, protocol] Specify and use JSON-LD keywords for common Document Types #56

Closed ships closed 1 year ago

ships commented 1 year ago

currently, the only direct link to a fabio:Work subtype is https://github.com/Docmaps-Project/docmaps/blob/main/docmaps-context.jsonld#L106 review-article. We are aware of at least these common uses by EMBO and others: https://github.com/source-data/render-rev/blob/main/src/docmaps.js#L58

We should introduce a few of these as known keywords so that ts-sdk can remain JSON-LD compatible without requiring use of IRIs for these common types. Furthermore functionality could be added to do logical operations based on these types.