Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataCite will deprecate Schema 3 January 1, 2025 #1787

Open
taojing2002 opened this issue Jan 29, 2024 · 1 comment
Open

DataCite will deprecate Schema 3 January 1, 2025 #1787

taojing2002 opened this issue Jan 29, 2024 · 1 comment

Comments

@taojing2002
Copy link
Contributor

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.
@rushirajnenuji
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants