Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Below is a mapping of the DOI key-value pairs in the metadatametadata key values and where they are sourced from.

Key

Source

Value

Comments

id

Datacite

Returned from datacite when the draft is created

doi

Datacite

Returned from datacite when the draft is created

url

config + ICAT

A base url is set which the DP ID is added to

types

Script

Based on values here

creators

affiliation

Investigation.investigationUsers.user

affiliation.name

Investigation.investigationUsers.user.affiliation

affiliation.affiliationIdentifier

ror.org

Returned through the ROR API

affiliation.affiliationIdentifierScheme

Script

Hardcoded to ROR

titles

publisher

Script

Hardcoded to “Diamond Light Source”

dates.date

Script

Generated at the time of minting

dates.dateType

Script

Based on values here

publicationYear

Script

Generated at the time of minting

descriptions

Investigation.summary

schemaVersion

Datacite

Returned from datacite when the draft is created

providerId

Datacite

Returned from datacite when the draft is created

clientId

Datacite

Returned from datacite when the draft is created

Below is an example set of metadata of a DOI created through the script.

...