IQSS / IQSS/dataverse

Suggestion: enable metadata fields to require uniqueness

Open
#11,233 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

DCM2025 hackathon Feature: API Feature: Indexing Feature: Metadata Size: 30 Type: Suggestion
Dominant language
Java
Stars
1.1k
Forks
564
Avg merge
2d 2h
Merged PRs (30d)
29

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing Dataverse's existing metadata schema validation and server-side field validation described in the issue. Define how a schema would express uniqueness and how cross-field checks should behave for repeated ORCiD values. Done means the API and server-side validation consistently reject duplicates when uniqueness is enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.