Blame view

src/main/resources/xsd/record_2.0/history-2.0.xsd 6.43 KB
6c41472c8   Paulo Gra├ža   Test bulk integra...
1
2
3
4
5
6
7
8
9
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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
90
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
137
138
139
140
141
142
143
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
  <?xml version="1.0" encoding="UTF-8"?>
  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  	xmlns:sch="http://purl.oclc.org/dsdl/schematron" elementFormDefault="qualified"
  	targetNamespace="http://www.orcid.org/ns/history" xmlns:history="http://www.orcid.org/ns/history"
  	xmlns:common="http://www.orcid.org/ns/common">
  	<xs:annotation>
  		<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"
  		schemaLocation="../common_2.0/common-2.0.xsd" />
  	
  	<xs:element name="history">
  		<xs:complexType>
  			<xs:annotation>
  				<xs:documentation>A simple history of the researcher or
  					contributor's
  					ORCID Record. The visibility attribute (private, limited or public)
  					can be set at record creation, and indicates who can see this
  					section of information.
  				</xs:documentation>
  			</xs:annotation>
  			<xs:sequence>
  				<xs:element name="creation-method" type="history:creation-method"
  					minOccurs="0" maxOccurs="1">
  					<xs:annotation>
  						<xs:documentation>The method used to create the ORCID Record
  							* API
  							method - Institution created the record on behalf of the
  							individual
  							* Direct method - Individual registered directly at
  							orcid.org
  							* Member-referrred method - Individual registered as
  							part
  							of a workflow such as submitting a manuscript or applying
  							for a
  							grant
  						</xs:documentation>
  					</xs:annotation>
  				</xs:element>
  				<xs:element name="completion-date" type="history:completion-date"
  					minOccurs="0" maxOccurs="1" />
  				<xs:element name="submission-date" type="history:submission-date"
  					minOccurs="0" maxOccurs="1" />
  				<xs:element ref="common:last-modified-date"
  					minOccurs="0" maxOccurs="1" />
  				<xs:element name="claimed" type="history:claimed" minOccurs="0"
  					maxOccurs="1" />
  				<xs:element ref="common:source" minOccurs="0" maxOccurs="1" />
  				<xs:element name="deactivation-date" type="history:deactivation-date"
  					minOccurs="0" maxOccurs="1" />
  				<xs:element name="verified-email" type="xs:boolean"
  					minOccurs="1" maxOccurs="1">
  					<xs:annotation>
  						<xs:documentation>True if the user has a verified email
  						</xs:documentation>
  					</xs:annotation>
  				</xs:element>
  				<xs:element name="verified-primary-email" type="xs:boolean"
  					minOccurs="1" maxOccurs="1">
  					<xs:annotation>
  						<xs:documentation>True if the user's current primary email is
  							verified
  						</xs:documentation>
  					</xs:annotation>
  				</xs:element>
  			</xs:sequence>
  			<xs:attribute name="visibility" type="common:visibility" />
  		</xs:complexType>
  	</xs:element>
  	
  	<xs:complexType name="completion-date">
  		<xs:annotation>
  			<xs:documentation>The date and time when the ORCID Record set up was
  				completed.
  			</xs:documentation>
  		</xs:annotation>
  		<xs:simpleContent>
  			<xs:extension base="xs:dateTime" />
  		</xs:simpleContent>
  	</xs:complexType>
  	
  	<xs:complexType name="submission-date">
  		<xs:annotation>
  			<xs:documentation>The date time when the ORCID Record and iD was
  				first created.
  			</xs:documentation>
  		</xs:annotation>
  		<xs:simpleContent>
  			<xs:extension base="xs:dateTime" />
  		</xs:simpleContent>
  	</xs:complexType>
  	
  	<xs:complexType name="claimed">
  		<xs:annotation>
  			<xs:documentation>True if the researcher or contributor has added a
  				password
  				to assume ownership of their ORCID Record after bulk
  				creation
  				by their institution.
  			</xs:documentation>
  		</xs:annotation>
  		<xs:simpleContent>
  			<xs:extension base="xs:boolean" />
  		</xs:simpleContent>
  	</xs:complexType>
  	
  	<xs:complexType name="deactivation-date">
  		<xs:annotation>
  			<xs:documentation>The date and time when the ORCID Record was
  				deactivated. (If the account is active, this field will be NULL.)
  			</xs:documentation>
  		</xs:annotation>
  		<xs:simpleContent>
  			<xs:extension base="xs:dateTime" />
  		</xs:simpleContent>
  	</xs:complexType>
  	
  	<xs:complexType mixed="true" name="source-reference">
  		<xs:annotation>
  			<xs:documentation>(UNUSED) The identifier or other reference
  				information for the researcher or contributor in the source client
  				application (Member Organization's) system.
  			</xs:documentation>
  		</xs:annotation>
  	</xs:complexType>
  	
  	<xs:complexType name="source-date">
  		<xs:annotation>
  			<xs:documentation>The date time that the source client application
  				(Member organization system) or individual user created/attempted to
  				create the item.
  			</xs:documentation>
  		</xs:annotation>
  		<xs:simpleContent>
  			<xs:extension base="xs:dateTime" />
  		</xs:simpleContent>
  	</xs:complexType>
  	
  	<xs:simpleType name="creation-method">
  		<xs:annotation>
  			<xs:documentation>Indicates how the ORCID record and iD were created.
  			</xs:documentation>
  		</xs:annotation>
  		<xs:restriction base="common:non-empty-string">
  			<xs:enumeration value="API">
  				<xs:annotation>
  					<xs:documentation>The ORCID Record was created using the ORCID
  						Member API.
  					</xs:documentation>
  				</xs:annotation>
  			</xs:enumeration>
  			<xs:enumeration value="Direct">
  				<xs:annotation>
  					<xs:documentation>The user registered on the /register page.
  					</xs:documentation>
  				</xs:annotation>
  			</xs:enumeration>
  			<xs:enumeration value="Member-referred">
  				<xs:annotation>
  					<xs:documentation>The registered on the /oauth/signin.
  					</xs:documentation>
  				</xs:annotation>
  			</xs:enumeration>
  			<xs:enumeration value="website">
  				<xs:annotation>
  					<xs:documentation>DEPRECATED use Direct or Member-referred
  						instead.
  						The method used to create the ORCID Record (Website or
  						API).
  					</xs:documentation>
  				</xs:annotation>
  			</xs:enumeration>
  		</xs:restriction>
  	</xs:simpleType>
  
  </xs:schema>