Newer
Older
Preface:
All dates are ISO-8601 strings, as JATS allows for this.
All groups of users are modelled with Teams
journalTitle: String! // JATS uses <journal-title> element
created: String // non-semantic, date
updated: String // non-semantic, date
owners: [ID] // ?? // non-semantic
meta: JournalMetadata {
publisherName: String // JATS uses <publisher-name> element
issn: String // JATS uses <issn> element
}
// Article (Fragment)
id: ID!
journalId: ID! // Link to Journal
originaSubmissionDate: String // date, JATS uses a date element where date-type is unrestricted
versions: [ID!] // Link to Versions
files: [String] // JATS uses the ext-link element for external files
meta: ArticleMetadata {
title: String // JATS uses the <title> element
abstract: String // JATS uses the <abstract> element
contributors: [Contributor] { // JATS uses the <contrib> element
stringName: String // JATS uses the <string-name> element
givenNames: String // JATS uses the <givenNames> element
surname: String // JATS uses the <surname> element
// middleName: String DELETED (JATS recommends using <given-names> elements instead)
aff: String // JATS uses the <aff> element
}
authorNote: String
publicationDate: String // date
}
content: String
files: [String]
userId: Id // Link to the editor's user
// Reviewer
reviewerId: ID! // Link to Reviewer
content: String
files: [String]
recommendation: Recommendation
submitted: String
recommendation: String // ( accept | revise | etc. )
userId: ID! // Link to Reviewer
comment: Comment {
content: String
public: Boolean
}