A Submission can have multiple Deposits, each to a different Repository. This model describes a single deposit to a Repository and captures its current status.
| Field | Type | Description |
|---|---|---|
| id* | String | Unique Deposit URI |
| status* | Enum (see list below) | Status of deposit |
| repository* | Repository | Repository being deposited to |
| assignedId | String | ID assigned by repository |
| accessUrl | String | URL to access the item in the repository, could allow Users to see the final result |
| requested | Boolean | True if deposit was requested by user rather than required by a policy |
| createdBy* | User | User who created record in PASS |
| created* | DateTime | Date the record was created |
| lastModified* | DateTime | Date the record was last modified |
*required
autogenerated fields are in bold and are readonly
These are the possible statuses for a Deposit
| Value | Description |
|---|---|
| prepared | Deposits that have been created, sitting in our system, waiting to be sent off |
| deposited | Deposits that have left the queue and sent off to their target repository |
| ... | Others to be determined by use cases, possibly "received", "awaiting approval" etc. |