Investigation to DataPublication
Why:
A New Data publication must be inserted for every new DOI created.
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:
The
DataPublication
will need to be created first.Then the
DataPublicationUser
andDataPublicationDate
created with the ref to theDataPublication
.Then the
DataPublication
updated with theDataPublicationUser
&DataPublicationDate
* Denotes a Relationship
DataPublication field | Populated with | Notes |
---|---|---|
Need to create a new one |
| |
Need to create a new one | This field is mandatory
| |
Investigation.facility | This field is mandatory
| |
Need to create a new one |
| |
Need to create a new one |
| |
none | ||
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: |
subject | none |
Add Comment