inveniosoftware / datacite

Python API wrapper for the DataCite API.
https://datacite.readthedocs.io
Other
28 stars 32 forks source link

Support for DataCite schema 4.4 #69

Closed mhl10 closed 9 months ago

mhl10 commented 3 years ago

Dear Invenio team (and welcome @mfenner to InvenioRDM!):

First, thanks for making this tool publicly available. I was wondering if you had any plans in the near future to add support for the DataCite schema 4.4? We (arXiv) are planning on registering DOIs with DataCite within the next few months and some of the changes from 4.4 would be useful (like the preprint value in the resourceTypeGeneral property).

In case there are no immediate plans for an update, I'll likely fork and raise a PR at some point.

Cheers, Martin Lessmeister arXiv

tmorrell commented 3 years ago

We've been waiting on DataCite to complete their implementation of 4.4 (https://portal.productboard.com/71qotggkmbccdwzokuudjcsb/c/64-metadata-schema-release-4-4-phase-2?utm_medium=social&utm_source=portal_share). They currently have only implemented some fields in json. It would be confusing to release a partial implementation of 4.4 and then have to change it later. DataCite has also discussed formalizing their jsonschema as well, but I don't know if that is going to happen.

Adding new terms like preprint should be straightforward, and should work whether you use the MDS or REST API. Feel free to make a PR and we can include it when 4.4 is finalized.

mfenner commented 3 years ago

To second what Tom said, you don't have to wait for the full 4.4 implementation by DataCite to use the new resourceTypeGeneral, they are supported by DataCite since end of March. See these examples: https://commons.datacite.org/doi.org?query=*&resource-type=preprint. There is some work to do in invenioRDM, but that should be straightforward. The most complex thing to implement in 4.4 is probably relatedItem, references without a DOI or other PID. if you need that I would wait for the full DataCite implementation.

tmorrell commented 9 months ago

We're going to skip 4.4 and go right to 4.5 https://github.com/inveniosoftware/datacite/issues/81, unless someone has a particular need for 4.4 support.