Skip to content

Fix CERN DOI prefix metadata check#749

Open
TahaKhan998 wants to merge 1 commit intoCERNDocumentServer:masterfrom
TahaKhan998:fix/cern-doi-metadata-check
Open

Fix CERN DOI prefix metadata check#749
TahaKhan998 wants to merge 1 commit intoCERNDocumentServer:masterfrom
TahaKhan998:fix/cern-doi-metadata-check

Conversation

@TahaKhan998
Copy link
Copy Markdown

Closes #725

Related pr: inveniosoftware/invenio-rdm-records#2289

This PR adds a metadata check rule to enforce that records published by CERN use the configured DataCite DOI prefix when a DOI is provided.

Details

The rule applies when:

  • metadata.publisher == "CERN"
  • pids.doi.identifier is not empty

The rule then checks that the DOI starts with DATACITE_PREFIX.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default publisher: CERN

1 participant