Skip to content

Commit

Permalink
pkp#3261 Add reviewRounds and reviewAssignments xsd declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
defstat committed May 20, 2018
1 parent 611cebc commit be551c2
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions plugins/importexport/native/pkp-native.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -231,13 +231,46 @@
<element ref="pkp:authors" minOccurs="1" maxOccurs="1" />
<element ref="pkp:submission_file" minOccurs="0" maxOccurs="unbounded" />
<element ref="pkp:representation" minOccurs="0" maxOccurs="unbounded" />
<element ref="pkp:reviewRounds" minOccurs="0" maxOccurs="1" />
</sequence>
<attribute name="locale" type="string" use="optional" />
<attribute name="language" type="string" use="optional" />
<attribute name="date_submitted" type="date" use="optional" />
<attribute name="date_published" type="date" use="optional" />
</complexType>

<complexType name="reviewRound">
<sequence>
<element ref="pkp:reviewAssignments" maxOccurs="1" />
</sequence>
<attribute name="stage_id" type="int" />
<attribute name="round" type="int" />
<attribute name="status" type="int" />
</complexType>

<complexType name="reviewAssignment">
<attribute name="date_assigned" type="date" use="optional" />
<attribute name="date_notified" type="date" use="optional" />
<attribute name="date_completed" type="date" use="optional" />
<attribute name="date_confirmed" type="date" use="optional" />
<attribute name="date_acknowledged" type="date" use="optional" />
<attribute name="date_due" type="date" use="optional" />
<attribute name="date_response_due" type="date" use="optional" />
<attribute name="last_modified" type="date" use="optional" />
<attribute name="date_rated" type="date" use="optional" />
<attribute name="date_reminded" type="date" use="optional" />
<attribute name="reminder_was_automatic" type="int" use="optional" />
<attribute name="declined" type="int" use="optional" />
<attribute name="unconsidered" type="int" use="optional" />
<attribute name="recommendation" type="int" use="optional" />

<attribute name="competing_interests" type="string" use="optional" />
<attribute name="quality" type="int" use="optional" />
<attribute name="round" type="int" use="optional" />
<attribute name="review_method" type="int" use="optional" />
<attribute name="reviewer" type="string" />
</complexType>

<!-- ************
- * Elements *
- ************ -->
Expand Down Expand Up @@ -334,5 +367,20 @@
<attribute name="locale" type="string" />
</complexType>
</element>

<element name="reviewRounds">
<complexType>
<sequence>
<element name="reviewRound" type="pkp:reviewRound" minOccurs="0" maxOccurs="unbounded" />
</sequence>
</complexType>
</element>

<element name="reviewAssignments">
<complexType>
<sequence>
<element name="reviewAssignment" type="pkp:reviewAssignment" minOccurs="0" maxOccurs="unbounded" />
</sequence>
</complexType>
</element>
</schema>

0 comments on commit be551c2

Please sign in to comment.