CDLUC3 / ezid

CDLUC3 ezid
MIT License
10 stars 4 forks source link

[MAINTENANCE] Update EZID to Prevent DataCite DOI Registration with Schema Versions Older than 4.0 #768

Open adambuttrick opened 1 month ago

adambuttrick commented 1 month ago

Current state/issue

Desired state/solution

  1. As of January 2025, DataCite will require that DOIs be registered and updated with schema version 4.0 or newer. We should therefore update EZID's DataCite configuration to prevent registration and updating of DOIs with schema versions older than 4.0. This involves the following changes:

    For creating new DOIs:

    • API: Reject and report an error when receiving 2.x or 3.x schema records
    • API: Accept and create 4.x schema records as normal

    For updating existing DOIs:

    • API: Reject and report an error when receiving 2.x or 3.x schema records
    • API: Allow updates to 4.x schema records.

Related issues

adambuttrick commented 1 month ago

Per team discussion on 2024/10/15, we inherit errors from DataCite API responses such that when the old schema versions are deprecated on their side, we would pass along to the user. In terms of changing the current logic where we auto-convert to 4.5, we would need to investigate if or how this is shared between the UI and API and adjust accordingly.