Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doi registration of attachments via cockpit #3138

Open
AndyDaniel1 opened this issue Oct 4, 2022 · 3 comments
Open

doi registration of attachments via cockpit #3138

AndyDaniel1 opened this issue Oct 4, 2022 · 3 comments

Comments

@AndyDaniel1
Copy link
Member

AndyDaniel1 commented Oct 4, 2022

We should evaluate whether there is a viable way to register a doi for attachments via the cockpit using the da|ra API.

@AndyDaniel1
Copy link
Member Author

AndyDaniel1 commented Oct 13, 2022

The documentation for the da|ra registration can be found here: https://github.com/dzhw/metadatamanagement/wiki/Metadata-and-DOI-registration-at-dara

There should be a way to register doi in the cockpit interface for the attachments. This interface should contain (at least) all mandatory attributes of the da|ra metadata scheme. The mentioned restrictions introduced by the VerbundFDB can be ignored for registering attachments.

We should start with the data and method report, which is a predefined attachement type.

The ressource type should be text.

The ressource id should be defined as follows:
DZHW:[stuid]-dmr
The doi should be defined as follows (note: this is the version of the attachment not of the datapackage):
https://doi.org/10.21249/DZHW:[stuid]-dmr:[version]

Example for sid2021: https://doi.org/10.21249/DZHW:sid2021-dmr:1.0.0

Defining the landing page is the trickiest part of the whole story, because attachments are not objects in their own right, but files in a file system. The paths in the file system are defined by the data package ID (stuid) and the version of the data package the files are attached to (e.g. https://metadata.fdz.dzhw.eu/public/files/data-packages/stu-gra2005$-2.0.0/attachments/gra2005_MethodReport_de.pdf). When a new version of a data package is released, the files are copied even if no changes have been made to them (e.g. https://metadata.fdz.dzhw.eu/public/files/data-packages/stu-gra2005$-2.0.1/attachments/gra2005_MethodReport_de.pdf). In this case the landing page of the doi should remain the one that is (now) stored in the shadow copy and the file in the new version should get the existing doi not a new one. The new URL could be mentioned in the da|ra attributes as a second but not the main landing page. In this case we have to implement a way to easily transfer the unchanged attachments to the new version of the datapackage.

#3285 An optimal solution for this problem would be to implement attachments as objects with their own detail pages (conceptually, attachments would become overarching objects, as publications and concepts already are). These objects would have a 1:n relationship to data packages, since a single attachment/document could be assigned to many data packages. From my perspective this is a tidy but not a simple solution as we have to deal with legacy problems.

@AndyDaniel1 AndyDaniel1 added prio:1 and removed prio:2 labels Oct 13, 2022
@AndyDaniel1
Copy link
Member Author

This issue is related to #3137

@AndyDaniel1 AndyDaniel1 added CM2223 and removed CM2223 labels Aug 29, 2023
@AndyDaniel1
Copy link
Member Author

Postpone until #3240 is solved

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

No branches or pull requests

1 participant