1 |
28030
|
alessia.ba
|
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified"
|
3 |
|
|
xmlns="http://namespace.openaire.eu/oaf" targetNamespace="http://namespace.openaire.eu/oaf">
|
4 |
|
|
|
5 |
|
|
<xs:annotation>
|
6 |
|
|
<xs:documentation>This schema defines common types that can be re-used.</xs:documentation>
|
7 |
|
|
</xs:annotation>
|
8 |
|
|
|
9 |
|
|
<xs:complexType mixed="true" name="classedSchemedElement">
|
10 |
|
|
<xs:attributeGroup ref="classSchemeAttrGroup"/>
|
11 |
|
|
</xs:complexType>
|
12 |
|
|
|
13 |
|
|
<xs:attributeGroup name="classSchemeAttrGroup">
|
14 |
|
|
<xs:attribute name="classid" use="required" type="xs:string">
|
15 |
|
|
<xs:annotation>
|
16 |
|
|
<xs:documentation>Identifier of the value in classname with respect to the controlled
|
17 |
|
|
vocabulary with id = schemeid.</xs:documentation>
|
18 |
|
|
</xs:annotation>
|
19 |
|
|
</xs:attribute>
|
20 |
|
|
<xs:attribute name="classname" use="required" type="xs:string">
|
21 |
|
|
<xs:annotation>
|
22 |
|
|
<xs:documentation>A value from the controlled vocabulary identified by
|
23 |
|
|
schemeid.</xs:documentation>
|
24 |
|
|
</xs:annotation>
|
25 |
|
|
</xs:attribute>
|
26 |
|
|
<xs:attribute name="schemeid" use="required" type="xs:string">
|
27 |
|
|
<xs:annotation>
|
28 |
|
|
<xs:documentation>Identifier of the controlled vocabulary with name
|
29 |
|
|
schemename.</xs:documentation>
|
30 |
|
|
</xs:annotation>
|
31 |
|
|
</xs:attribute>
|
32 |
|
|
<xs:attribute name="schemename" use="required" type="xs:string">
|
33 |
|
|
<xs:annotation>
|
34 |
|
|
<xs:documentation>Name of the controlled vocabulary.</xs:documentation>
|
35 |
|
|
</xs:annotation>
|
36 |
|
|
</xs:attribute>
|
37 |
|
|
</xs:attributeGroup>
|
38 |
|
|
|
39 |
|
|
<xs:complexType mixed="true" name="optionalClassedSchemedElement">
|
40 |
|
|
<xs:attributeGroup ref="optionalClassSchemeAttrGroup"/>
|
41 |
|
|
</xs:complexType>
|
42 |
|
|
|
43 |
|
|
<xs:attributeGroup name="optionalClassSchemeAttrGroup">
|
44 |
|
|
<xs:attribute name="classid" use="optional" type="xs:string">
|
45 |
|
|
<xs:annotation>
|
46 |
|
|
<xs:documentation>Identifier of the value in classname with respect to the controlled
|
47 |
|
|
vocabulary with id = schemeid.</xs:documentation>
|
48 |
|
|
</xs:annotation>
|
49 |
|
|
</xs:attribute>
|
50 |
|
|
<xs:attribute name="classname" use="optional" type="xs:string">
|
51 |
|
|
<xs:annotation>
|
52 |
|
|
<xs:documentation>A value from the controlled vocabulary identified by
|
53 |
|
|
schemeid.</xs:documentation>
|
54 |
|
|
</xs:annotation>
|
55 |
|
|
</xs:attribute>
|
56 |
|
|
<xs:attribute name="schemeid" use="optional" type="xs:string">
|
57 |
|
|
<xs:annotation>
|
58 |
|
|
<xs:documentation>Identifier of the controlled vocabulary with name
|
59 |
|
|
schemename.</xs:documentation>
|
60 |
|
|
</xs:annotation>
|
61 |
|
|
</xs:attribute>
|
62 |
|
|
<xs:attribute name="schemename" use="optional" type="xs:string">
|
63 |
|
|
<xs:annotation>
|
64 |
|
|
<xs:documentation>Name of the controlled vocabulary.</xs:documentation>
|
65 |
|
|
</xs:annotation>
|
66 |
|
|
</xs:attribute>
|
67 |
|
|
</xs:attributeGroup>
|
68 |
|
|
|
69 |
|
|
<xs:complexType name="namedIdElement">
|
70 |
|
|
<xs:attribute name="id" use="required"/>
|
71 |
|
|
<xs:attribute name="name" use="required"/>
|
72 |
|
|
</xs:complexType>
|
73 |
|
|
|
74 |
|
|
<xs:complexType name="labeledIdElement">
|
75 |
|
|
<xs:attribute name="id" use="required"/>
|
76 |
|
|
<xs:attribute name="label" use="required"/>
|
77 |
|
|
</xs:complexType>
|
78 |
|
|
|
79 |
|
|
<xs:complexType name="datainfoType">
|
80 |
|
|
<xs:annotation>
|
81 |
|
|
<xs:documentation>Information about the provenance of this record.</xs:documentation>
|
82 |
|
|
</xs:annotation>
|
83 |
|
|
<xs:choice maxOccurs="unbounded">
|
84 |
|
|
<xs:element name="inferred" type="xs:boolean">
|
85 |
|
|
<xs:annotation>
|
86 |
|
|
<xs:documentation>True if this information has been inferred by the automatic inference
|
87 |
|
|
algorithms run by OpenAIRE.</xs:documentation>
|
88 |
|
|
</xs:annotation>
|
89 |
|
|
</xs:element>
|
90 |
|
|
<xs:element name="deletedbyinference" type="xs:boolean">
|
91 |
|
|
<xs:annotation>
|
92 |
|
|
<xs:documentation>True if this information has been deleted by the automatic inference
|
93 |
|
|
algorithms run by OpenAIRE.</xs:documentation>
|
94 |
|
|
</xs:annotation>
|
95 |
|
|
</xs:element>
|
96 |
|
|
<xs:element name="trust" type="xs:string">
|
97 |
|
|
<xs:annotation>
|
98 |
|
|
<xs:documentation>Value of trust of this information. Typically a value in the range
|
99 |
|
|
[0,1]. More the value, more trustwirthy is the infromation.</xs:documentation>
|
100 |
|
|
</xs:annotation>
|
101 |
|
|
</xs:element>
|
102 |
|
|
<xs:element name="inferenceprovenance" type="xs:string"/>
|
103 |
|
|
<xs:element name="provenanceaction" type="classedSchemedElement"/>
|
104 |
|
|
</xs:choice>
|
105 |
|
|
</xs:complexType>
|
106 |
|
|
|
107 |
|
|
<xs:complexType name="relsType">
|
108 |
|
|
<xs:annotation>
|
109 |
|
|
<xs:documentation>Relationships to other entities.</xs:documentation>
|
110 |
|
|
</xs:annotation>
|
111 |
|
|
<xs:sequence maxOccurs="unbounded" minOccurs="0">
|
112 |
|
|
<xs:element name="rel" type="relType" minOccurs="0"/>
|
113 |
|
|
</xs:sequence>
|
114 |
|
|
</xs:complexType>
|
115 |
|
|
|
116 |
|
|
<xs:complexType name="relType">
|
117 |
|
|
<xs:annotation>
|
118 |
|
|
<xs:documentation>A relationship to another entity</xs:documentation>
|
119 |
|
|
</xs:annotation>
|
120 |
|
|
<xs:choice maxOccurs="unbounded">
|
121 |
|
|
<xs:element name="to" type="relToType"/>
|
122 |
|
|
<xs:element name="ranking" type="xs:integer" minOccurs="0"/>
|
123 |
|
|
<xs:element name="fullname" type="xs:string" minOccurs="0"/>
|
124 |
|
|
<xs:element name="title" type="optionalClassedSchemedElement" minOccurs="0"/>
|
125 |
|
|
<xs:element name="dateofacceptance" type="xs:string" minOccurs="0"/>
|
126 |
|
|
<xs:element name="publisher" type="xs:string" minOccurs="0"/>
|
127 |
|
|
<xs:element name="resulttype" type="classedSchemedElement" minOccurs="0">
|
128 |
|
|
<xs:annotation>
|
129 |
|
|
<xs:documentation>Type of the related result. Valid only if the related entity is a
|
130 |
|
|
result. Allowed values: dataset, publication.</xs:documentation>
|
131 |
|
|
</xs:annotation>
|
132 |
|
|
</xs:element>
|
133 |
|
|
|
134 |
|
|
<!-- elements for organisations, some are also valid for datsources and projects -->
|
135 |
|
|
<xs:element name="officialname" type="xs:string" minOccurs="0"/>
|
136 |
|
|
<xs:element name="participantnumber" type="xs:string" minOccurs="0"/>
|
137 |
|
|
<xs:element name="websiteurl" type="xs:string" minOccurs="0"/>
|
138 |
|
|
<xs:element name="code" type="xs:string" minOccurs="0"/>
|
139 |
|
|
<xs:element name="acronym" type="xs:string" minOccurs="0"/>
|
140 |
|
|
<xs:element name="contracttype" type="optionalClassedSchemedElement" minOccurs="0">
|
141 |
|
|
<xs:annotation>
|
142 |
|
|
<xs:documentation>Type of the contract. Allowed values: Article 171 of the Treaty,
|
143 |
|
|
CIP-Eco-Innovation - CIP-Thematic Network, Collaborative project, Combination of CP
|
144 |
|
|
& CSA, Coordination and support action, Network of Excellence, Research for the
|
145 |
|
|
benefit of specific groups, Support for frontier research (ERC), Support for training
|
146 |
|
|
and career development of researchers (Marie Curie) </xs:documentation>
|
147 |
|
|
</xs:annotation>
|
148 |
|
|
</xs:element>
|
149 |
|
|
<xs:element name="funding" type="fundingFlatType" minOccurs="0"/>
|
150 |
|
|
<!-- elements for datasources -->
|
151 |
|
|
<xs:element name="legalname" type="xs:string" minOccurs="0"/>
|
152 |
|
|
<xs:element name="datasourcetype" type="optionalClassedSchemedElement" minOccurs="0">
|
153 |
|
|
<xs:annotation>
|
154 |
|
|
<xs:documentation>Type of datasource. Allowed values are: aggregator::datarepository,
|
155 |
|
|
aggregator::pubsrepository::institutional, aggregator::pubsrepository::journals,
|
156 |
|
|
aggregator::pubsrepository::unknown, crissystem, datarepository::unknown,
|
157 |
|
|
entityregistry, infospace, pubsrepository::institutional, pubsrepository::journal,
|
158 |
|
|
pubsrepository::mock, pubsrepository::thematic, pubsrepository::unknown, scholarly
|
159 |
|
|
commnication infrastructure, websource </xs:documentation>
|
160 |
|
|
</xs:annotation>
|
161 |
|
|
</xs:element>
|
162 |
|
|
<xs:element name="datasourcetypeui" type="optionalClassedSchemedElement" minOccurs="0"/>
|
163 |
|
|
<xs:element name="legalshortname" type="xs:string" minOccurs="0"/>
|
164 |
|
|
<xs:element name="country" type="optionalClassedSchemedElement" minOccurs="0">
|
165 |
|
|
<xs:annotation>
|
166 |
|
|
<xs:documentation> The classid attribute contains the ISO 3166-1 alpha-2 code of the
|
167 |
|
|
country. The classname attribute contains the english name of the country.
|
168 |
|
|
</xs:documentation>
|
169 |
|
|
</xs:annotation>
|
170 |
|
|
</xs:element>
|
171 |
|
|
<!-- elements for projects -->
|
172 |
|
|
<xs:element name="fax" type="xs:string" minOccurs="0"/>
|
173 |
|
|
<xs:element name="email" type="xs:string" minOccurs="0"/>
|
174 |
|
|
<xs:element name="phone" type="xs:string" minOccurs="0"/>
|
175 |
|
|
</xs:choice>
|
176 |
|
|
<xs:attribute name="inferenceprovenance"/>
|
177 |
|
|
<xs:attribute name="inferred" use="required" type="xs:boolean"/>
|
178 |
|
|
<xs:attribute name="provenanceaction" type="xs:string"/>
|
179 |
|
|
<xs:attribute name="trust" type="xs:string">
|
180 |
|
|
<xs:annotation>
|
181 |
|
|
<xs:documentation>Value of trust of this information. Typically a value in the range [0,1].
|
182 |
|
|
More the value, more trustwirthy is the infromation.</xs:documentation>
|
183 |
|
|
</xs:annotation>
|
184 |
|
|
</xs:attribute>
|
185 |
|
|
</xs:complexType>
|
186 |
|
|
|
187 |
|
|
<xs:complexType name="relToType">
|
188 |
|
|
<xs:annotation>
|
189 |
|
|
<xs:documentation>Type of the related entity.</xs:documentation>
|
190 |
|
|
</xs:annotation>
|
191 |
|
|
<xs:simpleContent>
|
192 |
|
|
<xs:extension base="xs:string">
|
193 |
|
|
<xs:attribute name="class" use="required" type="xs:string"><xs:annotation>
|
194 |
|
|
<xs:documentation>The semantics of the relationship between this entity and the entity whose id is in the value of this element.</xs:documentation>
|
195 |
|
|
</xs:annotation></xs:attribute>
|
196 |
|
|
<xs:attribute name="scheme" use="required" type="xs:string"/>
|
197 |
|
|
<xs:attribute name="type" use="required" type="xs:string">
|
198 |
|
|
<xs:annotation>
|
199 |
|
|
<xs:documentation>The type of the related entity: project, organisation, datasource,
|
200 |
|
|
result, person.</xs:documentation>
|
201 |
|
|
</xs:annotation>
|
202 |
|
|
</xs:attribute>
|
203 |
|
|
</xs:extension>
|
204 |
|
|
</xs:simpleContent>
|
205 |
|
|
</xs:complexType>
|
206 |
|
|
|
207 |
|
|
<xs:complexType name="fundingFlatType">
|
208 |
|
|
<xs:sequence>
|
209 |
|
|
<xs:element name="funding_level_0" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
|
210 |
|
|
<xs:element name="funding_level_1" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
|
211 |
|
|
<xs:element name="funding_level_2" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
|
212 |
|
|
</xs:sequence>
|
213 |
|
|
</xs:complexType>
|
214 |
|
|
|
215 |
|
|
<xs:complexType name="externalreferenceType">
|
216 |
|
|
<xs:sequence>
|
217 |
|
|
<xs:element name="sitename" type="xs:string"/>
|
218 |
|
|
<xs:element name="label" type="xs:string"/>
|
219 |
|
|
<xs:element name="qualifier" type="optionalClassedSchemedElement"/>
|
220 |
|
|
<xs:element name="refidentifier" type="xs:string"/>
|
221 |
|
|
</xs:sequence>
|
222 |
|
|
</xs:complexType>
|
223 |
|
|
|
224 |
|
|
</xs:schema>
|