caltechlibrary / irdmtools

A Go and Python package for working with InvenioRDM repositories.
https://caltechlibrary.github.io/irdmtools
Other
1 stars 1 forks source link

Add relatedItem support #77

Open tmorrell opened 1 month ago

tmorrell commented 1 month ago

Not sure whether we want to implement this in doi2rdm or irdm_harvester. We don't really need to implement this until microPublication has their implementation in production.

DataCite now has relatedItem metadata, which includes information about journals.

If relatedItems is present

If relatedItemType == Journal

Then

relatedItem.titles.title -> custom_fields.journal:journal.title relatedItem.volume -> custom_fields.journal:journal.volume relatedItem.issue -> custom_fields.journal:journal.issue relatedItem.firstPage and relatedItem.lastPage or relatedItem.number -> custom_fields.journal:journal.pages relatedItem.publisher -> metadata.publisher if relatedIten.relatedItemIdentifier.relatedItemIdentifierType == ISSN, then relatedItem.relatedItemIdentifier.relatedItemIdentifier -> custom_fields.journal:journal.issn

tmorrell commented 2 weeks ago

Example record https://api.datacite.org/dois/10.17912/micropub.biology.001246