Repository navigation
add datasetType OutputManagementPlan - #12880
cesarpferreira wants to merge 8 commits into
Conversation
| case DatasetType.DATASET_TYPE_DATASET -> "Dataset"; | ||
| case DatasetType.DATASET_TYPE_SOFTWARE -> "Software"; | ||
| case DatasetType.DATASET_TYPE_WORKFLOW -> "Workflow"; | ||
| case DatasetType.DATASET_TYPE_OUTPUTMANAGEMENTPLAN -> "OutputManagementPlan"; |
There was a problem hiding this comment.
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
left a comment
There was a problem hiding this comment.
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"; |
There was a problem hiding this comment.
This will be all lower case in the search facet. Here's some related discussion: IQSS/dataverse-frontend#809 (comment)
There was a problem hiding this comment.
I changed the value to camel case, it is a bit easier to read than full lower case.
There was a problem hiding this comment.
No objection I updated the docs to match.
| * - review | ||
| - <resourceType resourceTypeGeneral="Other">Review</resourceType> | ||
| * - outputManagementPlan | ||
| - <resourceType resourceTypeGeneral="OutputManagementPlan">Data Management Plan</resourceType> |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
I followed the example in the schema documentation.
There was a problem hiding this comment.
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.
* 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>
…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 PR adds compatibility with resourceType
OutputManagementPlanin DataCite by using datasetTypeoutputmanagementplan.Preview docs at https://dataverse-guide--12880.org.readthedocs.build/en/12880/user/dataset-management.html#output-management-plan-datasets