Versions Compared

Key

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

Why:

When:

  • It is assumed that this endpoint will be called as part of a script that automatically creates DataPublications and DOIs based on an embargo end date

What:

  • A lot of information needed to populate the DataPublication table is derived from the associated Investigation.

The DataPublicationUser and DataPublicationDate both take a DataPublication as a mandatory field. These fields, however, are not mandatory in the DataPublication .

This means:

  1. The DataPublication will need to be created first.

  2. Then the DataPublicationUser and DataPublicationDate created with the ref to the DataPublication.

  3. Then the DataPublication updated with the DataPublicationUser & DataPublicationDate

Info
* Denotes a Relationship

DataPublication field

Populated with

Notes

*DataPublicationUser

Need to create a new one

  • create one for each user in InvestigationUser in the investigation.

  • Search for the Afilliation, if none then create

  • fill in names from InvestigationUser

  • contributorType = Creator

*DataCollection

Need to create a new one

Panel
panelIconIdatlassian-warning
panelIcon:warning:
bgColor#FFEBE6

This field is mandatory

  • Copy across the dataCollectionInvestigations from investigation

  • leave doi

*Facility

Investigation.facility

Panel
panelIconIdatlassian-warning
panelIcon:warning:
bgColor#FFEBE6

This field is mandatory

  • Copy accross from Investigation

*DataPublicationType

Need to create a new one

  • Name: This can be created as a one-off, in ICAT manager as Investigation, then added.

  • description = "Data Publication for a whole Visit

  • Once this has been created, search for it and attach to DP

*DataPublicationDate

Need to create a new one

*DataPublicationFunding

none

*RelatedIdentifier

none

publicationDate

Investigation.releaseDate

createId

auto generated

createTime

auto generated

modTime

auto generated

title

Investigation.title

description

Investigation.summary

modId

auto generated

pid

DOI

not the long URL, just the DIO, for example: 10.5286/isis.e/isis.e.89943820

subject

none