metacat icon indicating copy to clipboard operation
metacat copied to clipboard

DataCite will deprecate Schema 3 January 1, 2025

Open taojing2002 opened this issue 1 year ago • 1 comments

Matt just raised the issue that DataCite will deprecate Schema 3 on January 1, 2025. Here is the link:

https://datacite.org/blog/deprecating-schema-3/

I took a quick look at ezid and found a recent datacite object from knb and its namespace declaration looks we are using Schema 4:

resource xmlns="http://datacite.org/schema/kernel-4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4/metadata.xsd

This means our current code are generating schema 4 documents, which is good.

However, we need to go through ezid to see if we have some documents with old schemas. If we do, we need to convert them.

@rushirajnenuji confirmed there is no an EZID api call that lets us inspect the schema type of all of our records without downloading and parsing them all. But he said:

Rushiraj
  [2:40 PM](https://dataoneorg.slack.com/archives/C03FLUSJPM5/p1706568005463989)
Hi Matt, Jing - there is no direct way through the API but I'll try to generate a report for sb-nceas  user and share with the team.

taojing2002 avatar Jan 29 '24 23:01 taojing2002

Relevant EZID ticket

Querying datacite to get schema 3 versions for ADC prefix 10.18739 as follow:

curl --location 'https://api.datacite.org/dois?prefix=10.18739&schema-version=3'

meta object from their JSON response to the above query:

        "providers": [
            {
                "id": "njqd",
                "title": "UC Santa Barbara",
                "count": 2178
            }
        ],
        "clients": [
            {
                "id": "cdl.ucsb",
                "title": "UC Santa Barbara",
                "count": 2178
            }
        ],
        "affiliations": [],
        "prefixes": [
            {
                "id": "10.18739",
                "title": "10.18739",
                "count": 2178
            }
        ],
        "certificates": [],
        "licenses": [],
        "schemaVersions": [
            {
                "id": "3",
                "title": "Schema 3",
                "count": 2178
            }
        ],

source: DataCite Queries and Filters

Note: I'll also furnish a report for sb-nceas identifiers with MDS v3 from EZID Database for completeness.

rushirajnenuji avatar Feb 01 '24 23:02 rushirajnenuji