Blame view

src/main/resources/xsd/record_2.0/peer-review-2.0.xsd 9.57 KB
e7f9a87b3   Paulo Graça   v2.0 Orcid model
1
  <?xml version="1.0" encoding="UTF-8"?> 
4c94a2889   Paulo Graça   PG: Initial Setup...
2
3
  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  	xmlns:sch="http://purl.oclc.org/dsdl/schematron" elementFormDefault="qualified"
67fec7b77   André Gonçalves   Sprint 10 + API 2...
4
5
6
7
  	targetNamespace="http://www.orcid.org/ns/peer-review" 
  	xmlns:common="http://www.orcid.org/ns/common" 
  	xmlns:work="http://www.orcid.org/ns/work"
  	
4c94a2889   Paulo Graça   PG: Initial Setup...
8
  	xmlns:peer-review="http://www.orcid.org/ns/peer-review">
67fec7b77   André Gonçalves   Sprint 10 + API 2...
9
  	<xs:annotation> 
4c94a2889   Paulo Graça   PG: Initial Setup...
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
  		<xs:documentation>
  			=============================================================================
  
  			ORCID (R) Open Source
  			http://orcid.org
  
  			Copyright (c) 2012-2014 ORCID,
  			Inc.
  			Licensed under an MIT-Style License (MIT)
  			http://orcid.org/open-source-license
  
  			This copyright and license
  			information (including a link to the full
  			license)
  			shall be included in
  			its entirety in all copies or substantial portion of
  			the software.
  
  			=============================================================================
  			The schema describes the message format used for ORCID API requests
  			and responses.
  			The top level element is orcid-message.
  		</xs:documentation>
  		<xs:appinfo>
  			<sch:title>Schematron validation</sch:title>
  			<sch:ns prefix="orcid" uri="http://www.orcid.org/ns/orcid" />
  		</xs:appinfo>
  	</xs:annotation>
  
      <xs:import namespace="http://www.orcid.org/ns/common"
e7f9a87b3   Paulo Graça   v2.0 Orcid model
40
          schemaLocation="../common_2.0/common-2.0.xsd" />	
4c94a2889   Paulo Graça   PG: Initial Setup...
41
  	<xs:import namespace="http://www.orcid.org/ns/work"
e7f9a87b3   Paulo Graça   v2.0 Orcid model
42
  		schemaLocation="work-2.0.xsd" />
4c94a2889   Paulo Graça   PG: Initial Setup...
43
44
45
46
  
  	<xs:element name="peer-review">
  		<xs:complexType>
  			<xs:complexContent>
67fec7b77   André Gonçalves   Sprint 10 + API 2...
47
  				<xs:extension base="common:element-summary">
4c94a2889   Paulo Graça   PG: Initial Setup...
48
49
50
51
52
53
54
55
  					<xs:sequence>
  						<xs:element name="reviewer-role" type="peer-review:role" minOccurs="1" maxOccurs="1">
  							<xs:annotation>
  								<xs:documentation>The role played by a person in their
  									contribution to a review.
  								</xs:documentation>
  							</xs:annotation>
  						</xs:element>
67fec7b77   André Gonçalves   Sprint 10 + API 2...
56
  						<xs:element name="review-identifiers" type="common:external-ids"
4c94a2889   Paulo Graça   PG: Initial Setup...
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
  							minOccurs="1">
  							<xs:annotation>
  								<xs:documentation>Unique identifier(s) of the review. <i>This identifier refers to the review itself, NOT to the item that was reviewed.</i> At least one identifier is required. In the case where there is no persistent unique identifier for the review, the source providing the data should generate a locally-sourced unique identifier for the review (e.g., type "organization-defined-type"). This field will be checked when adding new reviews to prevent double counting of review activity.
  								</xs:documentation>
  							</xs:annotation>
  						</xs:element>
  						<xs:element name="review-url" type="common:url" minOccurs="0">
  							<xs:annotation>
  								<xs:documentation>A link to a representation of the review on the web. <i>This URL refers to the review itself, NOT to the item that was reviewed.</i>
  								</xs:documentation>
  							</xs:annotation>
  						</xs:element>
  						<xs:element name="review-type" type="peer-review:type"
  							minOccurs="1" maxOccurs="1">
  							<xs:annotation>
  								<xs:documentation>The kind of review applied to the subject type
  									reviewed
  								</xs:documentation>
  							</xs:annotation>
  						</xs:element>
  						<xs:element name="review-completion-date" type="common:fuzzy-date"
  							minOccurs="1" maxOccurs="1">
  							<xs:annotation>
  								<xs:documentation>The date on which the review was completed. Allowable values: yyyy; yyyy-mm; yyyy-mm-dd, formatted using the ORCID fuzzy date format.
  								</xs:documentation>
  							</xs:annotation>
  						</xs:element>
  						<xs:element name="review-group-id" type="common:group-id" minOccurs="1" maxOccurs="1">
  							<xs:annotation>
  								<xs:documentation>Identifier for the group that this review should be a part of for aggregation purposes
  								</xs:documentation>
  							</xs:annotation>
  						</xs:element>						
67fec7b77   André Gonçalves   Sprint 10 + API 2...
90
  						<xs:element name="subject-external-identifier" type="common:external-id"
4c94a2889   Paulo Graça   PG: Initial Setup...
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
  							minOccurs="0">
  							<xs:annotation>
  								<xs:documentation>The unique identifier of the subject being
  								reviewed.
  								</xs:documentation>
  							</xs:annotation>
  						</xs:element>						
  						<xs:element name="subject-container-name" type="work:journal-title"
  							minOccurs="0" maxOccurs="1">
  							<xs:annotation>
  								<xs:documentation>The name of the journal, conference, grant review panel, or other applicable object of which the review subject was a part.
  								</xs:documentation>
  							</xs:annotation>
  						</xs:element>
  						<xs:element name="subject-type" type="work:work-type" minOccurs="0" maxOccurs="1">
  							<xs:annotation>
  								<xs:documentation>The type of object that the review subject is (for example, a journal article, grant, etc).
  								</xs:documentation>
  							</xs:annotation>
  						</xs:element>
  						<xs:element name="subject-name" type="work:work-title"
  							minOccurs="0" maxOccurs="1">
  							<xs:annotation>
  								<xs:documentation>The name/title of the subject object that was reviewed.
  								</xs:documentation>
  							</xs:annotation>
  						</xs:element>
  						<xs:element name="subject-url" type="common:url" minOccurs="0" maxOccurs="1">
  							<xs:annotation>
  								<xs:documentation>The URL of the subject object that was reviewed.
  								</xs:documentation>
  							</xs:annotation>
  						</xs:element>
  						<!-- orcid orgs doesn't match specification -->
  						<xs:element name="convening-organization" type="common:organization"
  							minOccurs="1" maxOccurs="1">
  							<xs:annotation>
  								<xs:documentation>Information about the organization convening the review (journal publisher, conference organizer, funding agency, etc). Whenever possible, this organization is identified by a unique identifier like the Ringgold ID or FundRef ID.
  								</xs:documentation>
  							</xs:annotation>
  						</xs:element>																																	
  					</xs:sequence>
  				</xs:extension>
  			</xs:complexContent>
  		</xs:complexType>
  	</xs:element>
6c41472c8   Paulo Graça   Test bulk integra...
137
  	<xs:element name="peer-review-summary">
4c94a2889   Paulo Graça   PG: Initial Setup...
138
139
  		<xs:complexType>
  			<xs:complexContent>
67fec7b77   André Gonçalves   Sprint 10 + API 2...
140
  				<xs:extension base="common:element-summary">
4c94a2889   Paulo Graça   PG: Initial Setup...
141
142
  					<xs:sequence>						
  						<!-- orcid orgs doesn't match specification -->
67fec7b77   André Gonçalves   Sprint 10 + API 2...
143
  						<xs:element ref="common:external-ids"
4c94a2889   Paulo Graça   PG: Initial Setup...
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
  							minOccurs="0">
  							<xs:annotation>
  								<xs:documentation>The unique generated identifier of the review.
  								</xs:documentation>
  							</xs:annotation>
  						</xs:element>						
  						<xs:element name="completion-date" type="common:fuzzy-date"
  							minOccurs="1" maxOccurs="1">
  							<xs:annotation>
  								<xs:documentation>The date on which the review was completed. Allowable values: yyyy; yyyy-mm; yyyy-mm-dd, formatted using the ORCID fuzzy date format.
  								</xs:documentation>
  							</xs:annotation>
  						</xs:element>
  						<xs:element name="review-group-id" type="common:group-id" minOccurs="1" maxOccurs="1">
  							<xs:annotation>
  								<xs:documentation>Identifier for the group that this review should be a part of for aggregation purposes
  								</xs:documentation>
  							</xs:annotation>
  						</xs:element>
  						<xs:element name="convening-organization" type="common:organization"
  							minOccurs="1" maxOccurs="1">
  							<xs:annotation>
  								<xs:documentation>Information about the organization convening the review (journal publisher, conference organizer, funding agency, etc). Whenever possible, this organization is identified by a unique identifier like the Ringgold ID or FundRef ID.
  								</xs:documentation>
  							</xs:annotation>
  						</xs:element>	
  					</xs:sequence>
  				</xs:extension>
  			</xs:complexContent>
  		</xs:complexType>
  	</xs:element>
  
  	<xs:simpleType name="role">
  		<xs:annotation>
  			<xs:documentation>The role performed reviewer
  			</xs:documentation>
  		</xs:annotation>
  		<xs:restriction base="xs:string">
  			<xs:enumeration value="reviewer">
  				<xs:annotation>
  					<xs:documentation>
  						A person who formally assess or examines an
  						output with a view to
  						commenting and evaluating it.
  					</xs:documentation>
  				</xs:annotation>
  			</xs:enumeration>
  			<xs:enumeration value="editor">
  				<xs:annotation>
  					<xs:documentation>A person who coordinates reviews and/or is
  						responsible for decision making on the content of a publication.
  					</xs:documentation>
  				</xs:annotation>
  			</xs:enumeration>
  			<xs:enumeration value="member">
  				<xs:annotation>
  					<xs:documentation>A person participating in a process, committee or
  						activity.
  					</xs:documentation>
  				</xs:annotation>
  			</xs:enumeration>
  			<xs:enumeration value="chair">
  				<xs:annotation>
  					<xs:documentation>A person who coordinates reviews and/or is
  						responsible for decision making on the content of a conference.
  					</xs:documentation>
  				</xs:annotation>
  			</xs:enumeration>
  			<xs:enumeration value="organizer">
  				<xs:annotation>
  					<xs:documentation>A person who makes arrangements or preparations
  						for an event or activity.
  					</xs:documentation>
  				</xs:annotation>
  			</xs:enumeration>
  		</xs:restriction>
  	</xs:simpleType>
  
  	<xs:simpleType name="type">
  		<xs:annotation>
  			<xs:documentation>The role performed reviewer
  			</xs:documentation>
  		</xs:annotation>
  		<xs:restriction base="xs:string">
  			<xs:enumeration value="review">
  				<xs:annotation>
  					<xs:documentation>An expert assessment of a scholarly output that
  						contributes to a decision regarding on the object of the review.
  					</xs:documentation>
  				</xs:annotation>
  			</xs:enumeration>
  			<xs:enumeration value="evaluation">
  				<xs:annotation>
  					<xs:documentation>
  						A post­peer review, expert evaluation of a
  						scholarly output.
  					</xs:documentation>
  				</xs:annotation>
  			</xs:enumeration>
  		</xs:restriction>
  	</xs:simpleType>	
  </xs:schema>