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

Suggestion: enable metadata fields to require uniqueness #11233

Open
poikilotherm opened this issue Feb 10, 2025 · 1 comment
Open

Suggestion: enable metadata fields to require uniqueness #11233

poikilotherm opened this issue Feb 10, 2025 · 1 comment
Labels
DCM2025 hackathon proposed for community meeting hackathon Feature: API Feature: Indexing Feature: Metadata Size: 30 A percentage of a sprint. 21 hours. (formerly size:33) Type: Suggestion an idea

Comments

@poikilotherm
Copy link
Contributor

Overview of the Suggestion
We would like Dataverse software to check for uniqueness of metadata fields.

What kind of user is the suggestion intended for?
API User, Curator, Depositor

What inspired this idea?
We had a few datasets where folks reused the same ORCiD für multiple authors by accident.

What existing behavior do you want changed?
As this is something that needs to be checked on the server side, it seems like an extension of the metadata schema spec is necessary in addition to a specialized validator.

Any brand new behavior do you want to add to Dataverse?
It's not really brand new, as we already do validations on fields. The new behaviour is enabling cross-field checks. For now this is only about uniqueness, but there are probably more options.

Any open or closed issues related to this suggestion?
I couldn't find anything, but that might just be me looking for the wrong keywords during the search.

Are you thinking about creating a pull request for this issue?
Yes, we will put this on our agenda for now. But obviously we'd like to hear what others have to say first.

@poikilotherm poikilotherm added DCM2025 hackathon proposed for community meeting hackathon Feature: API Feature: Indexing Feature: Metadata Size: 30 A percentage of a sprint. 21 hours. (formerly size:33) Type: Suggestion an idea labels Feb 10, 2025
@pdurbin
Copy link
Member

pdurbin commented Feb 10, 2025

Makes sense. When looking at #11118 @sekmiller and I chatted a bit about how there is no validation for ORCIDs. Dataverse wants you to enter just the unique identifier and provides a link to your ORCID. If you enter the full ORCID URL as the identifier, Dataverse will not complain but doesn't make it linkable. In b9d0146 I added a note to the guides about how to enter ORCIDs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DCM2025 hackathon proposed for community meeting hackathon Feature: API Feature: Indexing Feature: Metadata Size: 30 A percentage of a sprint. 21 hours. (formerly size:33) Type: Suggestion an idea
Projects
Status: Proposals
Development

No branches or pull requests

2 participants