Commit 4cdc9b46 authored by Jure's avatar Jure
Browse files

Update use of UUIDs and model names in relationships

parent efc35a5b
......@@ -17,7 +17,7 @@
| | type | JATS | comment |
|---|---|---|---|
| journalTitle | String | `<journal-title>` | |
| manuscripts | [UUID] | | Usefulness unclear |
| manuscripts | [Manuscript] | | |
| meta | JournalMetadata | |
| └ meta.publisherName | String | `<publisher-name>` |
| └ meta.issn | String | `<issn>` | |
......@@ -26,8 +26,8 @@
| | type | JATS | comment |
|---|---|---|---|
| journalId | UUID | | Link to Journal |
| versions | [UUID] | | Link to Versions |
| journalId | Journal | | Link to Journal |
| versions | [ManuscriptVersion] | | Link to ManuscriptVersions |
## ManuscriptVersion
......@@ -79,7 +79,7 @@
| submissionDate | String | | date |
| content | String | | |
| files | [File] | | |
| userId | UUID | | Link to the editor's user |
| userId | User | | Link to the editor's user |
## ReviewerInvitation
......@@ -87,10 +87,10 @@
| | type | JATS | comment |
|---|---|---|---|
| invitationDate | String | | date |
| review | UUID | | Link to Review |
| review | Review | | Link to Review |
| accepted | Boolean | | |
| responseDate | String | | date |
| userId | UUID | | |
| userId | User | | |
| reminders | [String] | | dates |
......@@ -98,20 +98,20 @@
| | type | JATS | comment |
|---|---|---|---|
| versionId | UUID | | Link to Version |
| reviewerInvitationId | UUID | | Link to ReviewerInvitation |
| manuscriptVersionId | ManuscriptVersion | | Link to ManuscriptVersion |
| reviewerInvitationId | ReviewerInvitation | | Link to ReviewerInvitation |
| content | String | | |
| files | [File] | | |
| public | Boolean | | |
| submissionDate | String | | date |
| recommendationId | UUID | | Link to Recommendation |
| recommendationId | Recommendation | | Link to Recommendation |
## Recommendation
| | type | JATS | comment |
|---|---|---|---|
| recommendation | String | | accept or revise, etc. |
| userId | UUID | | Link to the user making the recommendation
| userId | User | | Link to the user making the recommendation
| recommendationType | String | | e.g. 'review', 'editor'|
| submissionDate | String | | date
| comments | [Comment] | | |
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment