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

Improve id/DOI documentation #1078

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Rafnuss
Copy link

@Rafnuss Rafnuss commented Jan 10, 2025


Refine the documentation to specify the DOI format for id

@roll roll requested a review from peterdesmet January 27, 2025 09:16
@roll roll changed the title doc update suggestion Improve id/DOI documentation Jan 27, 2025
@roll
Copy link
Member

roll commented Jan 27, 2025

Thanks @Rafnuss!

@peterdesmet WDYT? Is it not breaking?

@roll roll added the docs label Jan 27, 2025
Copy link
Member

@peterdesmet peterdesmet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is none-breaking and a good suggestion.

@roll I suggested two changes:

  • Can you accept these?
  • For the second change, I didn't know at how many characters the text should wrap.

@@ -16,13 +16,13 @@ name:
id:
title: ID
description: A property reserved for globally unique identifiers. Examples of
identifiers that are unique include UUIDs and DOIs.
identifiers that are unique include UUIDs and DOI links.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
identifiers that are unique include UUIDs and DOI links.
identifiers that are unique include UUIDs and DOIs.

Reverting this one, it is fine to just call it DOIs here.

context: A common usage pattern for Data Packages is as a packaging format within
the bounds of a system or platform. In these cases, a unique identifier for
a package is desired for common data handling workflows, such as updating an
existing package. While at the level of the specification, global uniqueness
cannot be validated, consumers using the `id` property `MUST` ensure identifiers
are globally unique.
are globally unique. When using a DOI, specify the full DOI link.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
are globally unique. When using a DOI, specify the full DOI link.
are globally unique. When providing a DOI, it is `RECOMMENDED` to provide the full URL (e.g. `https://doi.org/10.5281/zenodo.10053903`).

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

Successfully merging this pull request may close these issues.

3 participants