Project

General

Profile

« Previous | Next » 

Revision 58637

implemented changes described in changeset for 1.0

View differences:

oaf-result-1.0.xsd
2 2
	xmlns="http://namespace.openaire.eu/oaf" targetNamespace="http://namespace.openaire.eu/oaf">
3 3

  
4 4
	<xs:annotation>
5
		<xs:documentation>This schema describes elements and properties of the OpenAIRE Result
6
			entity:
7
			https://issue.openaire.research-infrastructures.eu/projects/openaire2020-wiki/wiki/Core_entity_result
8
			that includes Publication and Dataset entities. </xs:documentation>
5
		<xs:documentation>This schema describes elements and properties of the OpenAIRE Result entity. For an overview of the model, please check the OpenAIRE Research Graph Data Model at https://doi.org/10.5281/zenodo.2643199</xs:documentation>
9 6
	</xs:annotation>
10 7

  
11 8
	<xs:include schemaLocation="oaf-common-1.0.xsd"/>
......
13 10
	<xs:element name="result">
14 11
		<xs:complexType>
15 12
			<xs:choice maxOccurs="unbounded">
16
				<xs:element name="title" type="xs:string">
17
					<xs:annotation>
18
						<xs:documentation> Title of this research result. <p>Different types of
19
								titles are allowed: see http://api.openaire.eu/vocabularies/dnet:dataCite_title</p>
20
						</xs:documentation>
21
					</xs:annotation>
13
				<xs:element name="creator">
14
					<xs:complexType>
15
						<xs:simpleContent>
16
							<xs:extension base="xs:string">
17
								<xs:attribute name="name" type="xs:string"/>
18
								<xs:attribute name="surname" type="xs:string"/>
19
								<xs:attribute name="ORCID" type="xs:string"/>
20
								<xs:attribute name="rank" type="xs:int"/>
21
							</xs:extension>
22
						</xs:simpleContent>
23
					</xs:complexType>
22 24
				</xs:element>
23
				<xs:element name="dateofacceptance" type="xs:string"/>
24
				<xs:element name="publisher" type="xs:string"/>
25
				<xs:element name="description" type="xs:string"/>
26
				<xs:element name="pid" type="typedElementType">
25
				<xs:element name="resulttype" type="qualifierType">
27 26
					<xs:annotation>
28
						<xs:documentation> Persistent identifier. <p>For allowed pid systems check:
29
								http://api.openaire.eu/vocabularies/dnet:pid_types </p>
27
						<xs:documentation> Tells if this record is about a publication or a dataset.
28
							<p>For allowed values check:
29
								http://api.openaire.eu/vocabularies/dnet:result_typologies </p>
30 30
						</xs:documentation>
31 31
					</xs:annotation>
32 32
				</xs:element>
33
				<xs:element name="language" type="controlledElementType">
33
				<xs:element name="language" type="qualifierType"/>
34
				<xs:element name="country" type="dataInfoType"/>
35
				<xs:element name="subject" type="structuredPropertyElementType"/>
36
				<xs:element name="title" type="structuredPropertyElementType">
34 37
					<xs:annotation>
35
						<xs:documentation> Language in ISO 639-2.</xs:documentation>
36
					</xs:annotation>
37
				</xs:element>
38
				<xs:element name="relevantdate" type="xs:string"/>
39
				<xs:element name="subject" type="typedElementType"/>
40
				<xs:element name="resulttype" type="xs:string">
41
					<xs:annotation>
42
						<xs:documentation> Tells if this record is about a publication or a dataset.
43
								<p>For allowed values check:
44
								http://api.openaire.eu/vocabularies/dnet:result_typologies </p>
38
						<xs:documentation> Title of this research result. <p>Different types of
39
								titles are allowed: see http://api.openaire.eu/vocabularies/dnet:dataCite_title</p>
45 40
						</xs:documentation>
46 41
					</xs:annotation>
47 42
				</xs:element>
48

  
49
				<xs:element name="journal" type="journalType"/>
50

  
43
				<xs:element name="relevantdate" type="structuredPropertyElementType"/>
44
				<xs:element name="description" type="xs:string"/>	
45
				<xs:element name="dateofacceptance" type="xs:string"/>
46
				<xs:element name="publisher" type="xs:string"/>	
47
				<xs:element name="embargoenddate" type="xs:string"/>
51 48
				<xs:element name="source" type="xs:string">
52 49
					<xs:annotation>
53 50
						<xs:documentation>The semantics of this field is inherited from dc:source in
54 51
							Dublin Core. </xs:documentation>
55 52
					</xs:annotation>
56 53
				</xs:element>
57
				<xs:element name="country" type="controlledElementType"/>
58

  
59
				<xs:element name="embargoenddate" type="xs:string"/>
60
				<xs:element name="resourcetype" type="xs:string">
54
				<xs:element name="format" type="xs:string"/>
55
				<xs:element name="contributor" type="xs:string"/>
56
				<xs:element name="resourcetype" type="qualifierType">
61 57
					<xs:annotation>
62 58
						<xs:documentation> This field is valid only if resulttype is "dataset". It
63 59
							expresses the nature of the dataset. <p>For allowed values check:
......
65 61
						</xs:documentation>
66 62
					</xs:annotation>
67 63
				</xs:element>
64
				<xs:element name="coverage" type="xs:string"/>
65
				<xs:element name="bestaccessright" type="qualifierType">
66
					<xs:annotation>
67
						<xs:documentation> The best access right available for this result among the
68
							available licenses of its children elements. <p>For allowed values
69
								check: http://api.openaire.eu/vocabularies/dnet:access_modes </p>
70
						</xs:documentation>
71
					</xs:annotation>
72
				</xs:element>
73
				<xs:element name="journal" type="journalType"/>	
74
				<xs:element name="pid" type="structuredPropertyElementType">
75
					<xs:annotation>
76
						<xs:documentation> Persistent identifier. <p>For allowed pid systems check:
77
								http://api.openaire.eu/vocabularies/dnet:pid_types </p>
78
						</xs:documentation>
79
					</xs:annotation>
80
				</xs:element>
68 81
				<xs:element name="device" type="xs:string">
69 82
					<xs:annotation>
70 83
						<xs:documentation> This field is valid only if resulttype is "dataset". It
......
78 91
							contains information about the size of the dataset. </xs:documentation>
79 92
					</xs:annotation>
80 93
				</xs:element>
81
				<xs:element name="format" type="xs:string">
82
					<xs:annotation>
83
						<xs:documentation> This field is valid only if resulttype is "dataset". It
84
							contains information about the format of the dataset.
85
						</xs:documentation>
86
					</xs:annotation>
87
				</xs:element>
88 94
				<xs:element name="version" type="xs:string">
89 95
					<xs:annotation>
90 96
						<xs:documentation> This field is valid only if resulttype is "dataset". It
......
113 119
							result has been collected from (e.g., "OpenDOAR"). </xs:documentation>
114 120
					</xs:annotation>
115 121
				</xs:element>
116
				<xs:element name="bestlicense" type="controlledElementType">
122
				<xs:element name="context" type="contextType">
117 123
					<xs:annotation>
118
						<xs:documentation> The best license available for this result among the
119
							available licenses of its children elements. <p>For allowed values
120
								check: http://api.openaire.eu/vocabularies/dnet:access_modes </p>
121
						</xs:documentation>
124
						<xs:documentation>Research community, initiative, infrastructure or funding agency related to this result.</xs:documentation>
122 125
					</xs:annotation>
123 126
				</xs:element>
124
				<xs:element name="community" type="communityType">
125
					<xs:annotation>
126
						<xs:documentation>Research community related to this entity.</xs:documentation>
127
					</xs:annotation>
128
				</xs:element>
129
				<!--<xs:element name="datainfo" type="datainfoType"/> -->
130 127
				<xs:element name="rels" type="relsType">
131 128
					<xs:annotation>
132 129
						<xs:documentation>Relationships to other entities. </xs:documentation>
133 130
					</xs:annotation>
134 131
				</xs:element>
135 132
				<xs:element name="instances" type="instancesType" minOccurs="1" maxOccurs="1"/>
136

  
137 133
				<xs:element name="citations" type="citationsType" maxOccurs="1" minOccurs="0"/>
138 134
			</xs:choice>
139 135
		</xs:complexType>
......
161 157
	</xs:complexType>
162 158

  
163 159
	<xs:complexType name="journalType">
164
		<xs:annotation>
165
			<xs:documentation>Journal where the publication has been published. Attributes refer to
166
				electronic, printed and linking (ISSN-L) ISSN. This field is applicable when
167
				resulttype is "publication". </xs:documentation>
168
		</xs:annotation>
169 160
		<xs:simpleContent>
170 161
			<xs:extension base="xs:string">
171 162
				<xs:attribute name="eissn" use="optional"/>
172 163
				<xs:attribute name="issn" use="optional"/>
173 164
				<xs:attribute name="lissn" use="optional"/>
165
				<xs:attribute name="ep" use="optional"/>
166
				<xs:attribute name="iss" use="optional"/>
167
				<xs:attribute name="sp" use="optional"/>
168
				<xs:attribute name="vol" use="optional"/>			
174 169
			</xs:extension>
175 170
		</xs:simpleContent>
176 171
	</xs:complexType>
177

  
178
	<!-- <oaf:context id="egi" label="EGI" type="community">
179
            <oaf:category id="egi::virtual" label="EGI virtual organizations">
180
                <oaf:concept id="egi::virtual::2" label="alice"/>
181
            </oaf:category>
182
        </oaf:context>
183
         <oaf:community id="{@id}" label="{@label}">
184
            <xsl:apply-templates/>
185
        </oaf:community>
186
	-->
187
	<xs:complexType name="communityType">
188
		<xs:complexContent>
189
			<xs:extension base="labeledIdElementType">
190
				<xs:sequence maxOccurs="unbounded">
191
					<xs:element name="category" type="categoryType"/>
192
				</xs:sequence>
193
			</xs:extension>
194
		</xs:complexContent>
195
	</xs:complexType>
196

  
197
	<xs:complexType name="categoryType">
198
		<xs:complexContent>
199
			<xs:extension base="labeledIdElementType">
200
				<xs:sequence minOccurs="0" maxOccurs="unbounded">
201
					<xs:element name="concept" type="conceptType"/>
202
				</xs:sequence>
203
			</xs:extension>
204
		</xs:complexContent>
205
	</xs:complexType>
206

  
207
	<xs:complexType name="conceptType">
208
		<xs:complexContent>
209
			<xs:extension base="labeledIdElementType">
210
				<xs:sequence maxOccurs="unbounded" minOccurs="0">
211
					<xs:element name="concept" type="conceptType"/>
212
				</xs:sequence>
213
			</xs:extension>
214
		</xs:complexContent>
215
	</xs:complexType>
216

  
217 172
	<xs:complexType name="instancesType">
218 173
		<xs:sequence>
219 174
			<xs:element name="instance" type="instanceType" minOccurs="1" maxOccurs="unbounded">
......
229 184

  
230 185
	<xs:complexType name="instanceType">
231 186
		<xs:choice maxOccurs="unbounded">
232
			<xs:element name="licence" type="controlledElementType">
187
			<xs:element name="license" type="fieldType">
233 188
				<xs:annotation>
234 189
					<xs:documentation> License to access this actual manifestation of the
235
						publication or dataset. <p>For allowed values check:
236
							http://api.openaire.eu/vocabularies/dnet:access_modes </p>
237
						<p>When several instances are available for the same publication, the opener
238
							license is selected as the bestlicese field in element result. </p>
190
						result. Typically it is a URL. OpenAIRE does not yet attempt any harmonization and reflect the original values that are available in the collected metadata records. 
239 191
					</xs:documentation>
240 192
				</xs:annotation>
241 193
			</xs:element>
242
			<xs:element name="instancetype" type="xs:string">
194
			<xs:element name="accessright" type="qualifierType"/>
195
			<xs:element name="instancetype" type="qualifierType">
243 196
				<xs:annotation>
244 197
					<xs:documentation> Type of the instance, for example: article, thesis, etc.
245 198
							<p>For allowed values check: http://api.openaire.eu/vocabularies/dnet:publication_resource
......
247 200
					</xs:documentation>
248 201
				</xs:annotation>
249 202
			</xs:element>
203
			<xs:element name="collectedfrom" type="namedIdElementType" maxOccurs="1">
204
				<xs:annotation>
205
					<xs:documentation>Datasource from which OpenAIRE collected the description of this instance.</xs:documentation>
206
				</xs:annotation>
207
			</xs:element>
250 208
			<xs:element name="hostedby" type="namedIdElementType" maxOccurs="1">
251 209
				<xs:annotation>
252 210
					<xs:documentation>Datasource hosting this file. </xs:documentation>
......
254 212
			</xs:element>
255 213
			<xs:element name="webresource" type="webresourceType" minOccurs="1"
256 214
				maxOccurs="unbounded"/>
215
			<xs:element name="distributionlocation" type="xs:string" minOccurs="0"/>
216
			<xs:element name="dateofacceptance" type="xs:string" minOccurs="0"/>
217
			<xs:element name="processingchargeamount" type="fieldType">
218
				<xs:annotation>
219
					<xs:documentation> Article/Book Processing Charge </xs:documentation>
220
				</xs:annotation>
221
			</xs:element>
222
			<xs:element name="processingchargecurrency" type="fieldType">
223
				<xs:annotation>
224
					<xs:documentation>Currency for the value in processingchargeamount </xs:documentation>
225
				</xs:annotation>
226
			</xs:element>
227
			<xs:element name="refereed" type="fieldType">
228
				<xs:annotation>
229
					<xs:documentation>Peer-review status</xs:documentation>
230
				</xs:annotation>
231
			</xs:element>
257 232
		</xs:choice>
258 233
		<xs:attribute name="id" use="required"/>
259 234
	</xs:complexType>

Also available in: Unified diff