1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified"
|
3
|
xmlns:dri="http://www.driver-repository.eu/namespace/dri" xmlns="http://namespace.openaire.eu/oaf"
|
4
|
targetNamespace="http://namespace.openaire.eu/oaf">
|
5
|
|
6
|
<xs:annotation>
|
7
|
<xs:documentation>This schema describes the OpenAIRE+ entities.</xs:documentation>
|
8
|
</xs:annotation>
|
9
|
|
10
|
<xs:include schemaLocation="oaf-result-0.2.xsd"/>
|
11
|
<xs:include schemaLocation="oaf-person-0.2.xsd"/>
|
12
|
<xs:include schemaLocation="oaf-org-0.2.xsd"/>
|
13
|
<xs:include schemaLocation="oaf-datasource-0.2.xsd"/>
|
14
|
<xs:include schemaLocation="oaf-project-0.2.xsd"/>
|
15
|
|
16
|
<xs:element name="entity">
|
17
|
<xs:complexType>
|
18
|
<xs:sequence>
|
19
|
<xs:choice>
|
20
|
<xs:element ref="result">
|
21
|
<xs:annotation>
|
22
|
<xs:documentation>Entity of type result are publications and
|
23
|
datasets</xs:documentation>
|
24
|
</xs:annotation>
|
25
|
</xs:element>
|
26
|
<xs:element ref="person"/>
|
27
|
<xs:element ref="organization"/>
|
28
|
<xs:element ref="datasource"/>
|
29
|
<xs:element ref="project"/>
|
30
|
</xs:choice>
|
31
|
<xs:element name="extraInfo" type="extraInfoType" maxOccurs="unbounded" minOccurs="0">
|
32
|
<xs:annotation>
|
33
|
<xs:documentation>Content-agnostic container for extra information about the current
|
34
|
entity. Examples are information about statistics and citations. The values inside
|
35
|
this field can be any well-formed XML. </xs:documentation>
|
36
|
</xs:annotation>
|
37
|
</xs:element>
|
38
|
</xs:sequence>
|
39
|
</xs:complexType>
|
40
|
</xs:element>
|
41
|
|
42
|
</xs:schema>
|