IQSS / IQSS/dataverse

In OpenAIRE/oai_datacite export, include "Custom terms specific to this dataset" and link to custom licenses in `rights` property

Open
#12,329 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

GREI 2 GREI 3 GREI 4 Size: 3
Dominant language
Java
Stars
1.1k
Forks
564
Avg merge
2d 2h
Merged PRs (30d)
29

Description

Overview of the Feature Request

When the user adds custom dataset terms to their dataset, the OpenAIRE/oai_datacite export should include a rights property with "Custom terms specific to this dataset" and in the rightsUri property include the link to custom license, as the DataCite/Datacite export does.

Currently, the OpenAIRE/oai_datacite export does not include anything about users' custom dataset terms.

This issue is part of a larger effort to align both metadata exports, described in https://github.com/IQSS/dataverse/issues/11916 and https://github.com/IQSS/dataverse/issues/12281.

What kind of user is the feature intended for?

API User, Superuser, and Sysadmin

What inspired the request?

This is part of a larger effort to align the OpenAIRE/oai_datacite and DataCite/Datacite metadata exports. There is more context at https://github.com/IQSS/dataverse/issues/11916 and https://github.com/IQSS/dataverse/issues/12281.

What existing behavior do you want changed?

Currently, when the user chooses "Custom Dataset Terms" from the "License/Data Use Agreement" and enters information in the fields that appear in the Dataset Terms panel...

Image

... the OpenAIRE/oai_datacite export does not include anything about the custom dataset terms.

The DataCite/Datacite export includes a rights property with "Custom terms specific to this dataset" and a link to the license in the rightsURI property.

The OpenAIRE/oai_datacite export should be changed to do what the DataCite/Datacite export does.

For example:

<rightsList>
  <rights 
    rightsURI="https://demo.dataverse.org/api/datasets/:persistentId/versions/1.1/customlicense?persistentId=doi:10.70122/FK2/ZBY9AL">Custom terms specific to this dataset</rights>
</rightsList>

Any open or closed issues related to this feature request?

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 comparing the OpenAIRE/oai_datacite exporter with the DataCite/Datacite exporter, which already includes custom dataset terms and the custom license link. Trace how the custom license URL is represented, then update the OpenAIRE output so rights contains "Custom terms specific to this dataset" and rightsURI contains that link; verify the generated XML against the example.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.