This document is licensed under a Creative Commons Attribution 4.0 License .
This document describes a workflow for the [[Hyrax]] repository system intended for use with the OTM Gateway API. This workflow is designed to enable active selection and management of content within a distributed digital preservation (DDP) system, in satisfaction of the One to Many User Stories.
This document is an appendix to a specification, created as part of the One to Many grant, funded by the Andrew W. Mellon Foundation.
New to Submitted.Preserved.Preserved to Submitted.
{ "workflows": [
{
"name": "otm_preservation_deposit",
"label": "One to Many Mediated Deposit with Preservation",
"description": "",
"actions": [
{
"name": "submit",
"from_states": [],
"transition_to": "submitted",
"notifications": [
{
"notification_type": "email",
"name": "Hyrax::Workflow::AvailableForPreservation",
"to": ["curating"]
}
],
"methods": [
"Hyrax::Workflow::GrantReadToDepositor",
"Hyrax::Workflow::DeactivateObject"
]
},
{
"name": "preserve",
"from_states": [{"names": ["submitted", "preserved"], "roles": ["curating"]}],
"transition_to": "preserved",
"notifications": [
{
"notification_type": "email",
"name": "Hyrax::Workflow::PreservationRequested",
"to": ["curating", "admin"]
}
],
"methods": [
"Hyrax::Workflow::DepositToOtmGateway"
]
},
{
"name": "purge",
"from_states": [{"names": ["preserved"], "roles": ["curating"]}],
"transition_to": "submitted",
"notifications": [
{
"notification_type": "email",
"name": "Hyrax::Workflow::PurgeRequested",
"to": ["curating", "admin"]
}
],
"methods": [
"Hyrax::Workflow::PurgeFromOtmGateway"
]
},
{
"name": "update_preserved_content",
"from_states": [{"names": ["preserved"], "roles": ["curating"]}],
"notifications": [
{
"notification_type": "email",
"name": "Hyrax::Workflow::PreservedContentChanged",
"to": ["curating"]
}
]
},
{
"name": "comment",
"from_states": [
{ "names": ["submitted"], "roles": ["curating", "admin", "auditing"] },
{ "names": ["preserved"], "roles": ["curating", "admin", "auditing] }
]
}
]
}
]
}