Skip to content

add datasetType OutputManagementPlan - #12880

Open
cesarpferreira wants to merge 8 commits into
IQSS:developfrom
cesarpferreira:12879-outputmanagementplan
Open

cesarpferreira wants to merge 8 commits into
IQSS:developfrom
cesarpferreira:12879-outputmanagementplan

Conversation

@cesarpferreira

@cesarpferreira cesarpferreira commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

This PR adds compatibility with resourceType OutputManagementPlan in DataCite by using datasetType outputmanagementplan.

Preview docs at https://dataverse-guide--12880.org.readthedocs.build/en/12880/user/dataset-management.html#output-management-plan-datasets

case DatasetType.DATASET_TYPE_DATASET -> "Dataset";
case DatasetType.DATASET_TYPE_SOFTWARE -> "Software";
case DatasetType.DATASET_TYPE_WORKFLOW -> "Workflow";
case DatasetType.DATASET_TYPE_OUTPUTMANAGEMENTPLAN -> "OutputManagementPlan";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I double-checked that OutputManagementPlan is part of the controlled vocabulary at https://datacite-metadata-schema.readthedocs.io/en/4.5/appendices/appendix-1/resourceTypeGeneral/

@pdurbin pdurbin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, looks great! Thanks for the pull request, @cesarpferreira! 🎉

I'm leaving you a few comments.

public static final String DATASET_TYPE_SOFTWARE = "software";
public static final String DATASET_TYPE_WORKFLOW = "workflow";
public static final String DATASET_TYPE_REVIEW = "review";
public static final String DATASET_TYPE_OUTPUTMANAGEMENTPLAN = "outputmanagementplan";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be all lower case in the search facet. Here's some related discussion: IQSS/dataverse-frontend#809 (comment)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed the value to camel case, it is a bit easier to read than full lower case.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No objection I updated the docs to match.

* - review
- <resourceType resourceTypeGeneral="Other">Review</resourceType>
* - outputManagementPlan
- <resourceType resourceTypeGeneral="OutputManagementPlan">Data Management Plan</resourceType>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any particular thinking behind having "Data Management Plan" in the XML like this?

<resourceType resourceTypeGeneral="OutputManagementPlan">Data Management Plan</resourceType>

Did you consider other terms or is this just the obvious one?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I followed the example in the schema documentation.

@pdurbin pdurbin Nov 9, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. I think this is fine for now but longer term, perhaps this can change from being hard-coded since it could be something other than a DMP.

@pdurbin pdurbin moved this to Ready for Triage in IQSS Dataverse Project Nov 6, 2026
alvarocanalgarcia added a commit to dialnet/dataverse that referenced this pull request Nov 16, 2026
* add datasetType OutputManagementPlan

* add release notes, update documentation, fix xml element

* fix rst file

* fix label for collection-attributes-api

* change datasetType name to camel case

* fix indent and backticks

* make case match

* add a test IQSS#12880

---------

Co-authored-by: cesar <cesar@lip.pt>
Co-authored-by: Philip Durbin <philip_durbin@harvard.edu>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
alvarocanalgarcia added a commit to dialnet/repository-deposit-dataverse that referenced this pull request Nov 16, 2026
…lan (#2)

Nuevo ajuste dataverse.datasetType (DEPOSIT_DATAVERSE_DATASET_TYPE, por defecto
outputManagementPlan) que se envia como "datasetType" al crear el dataset, para
que los planes no se cuenten como datasets y vayan a DataCite como
OutputManagementPlan (IQSS/dataverse#12880). Vacio = comportamiento anterior.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

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

Labels

None yet

Projects

Status: Ready for Triage

Development

Successfully merging this pull request may close these issues.

Feature Request: Add DataCite compatibility for resourceType OutputManagementPlan

2 participants