Skip to content

id without url? #1077

Answered by peterdesmet
Rafnuss asked this question in Q&A
Jan 10, 2025 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

The difference is that DataCite can indicate the identityType, while Data Package cannot:

<identifier identifierType="DOI">10.21384/foo</identifier>

Vs:

"id": "10.21384/foo"

So parsers of DataCite metadata know that the identifier is a DOI, while Data Package parsers don’t (and guessing is tricky). I therefore prefer the full resolved DOI, which is also the recommended format by CrossRef:

"id": "https://doi.org/10.21384/foo"

Now parsers can recognize this as a doi (and URl) and conversion to and from DataCite is easy.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Rafnuss
Comment options

@peterdesmet
Comment options

@Rafnuss
Comment options

Answer selected by Rafnuss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants