Project

General

Profile

1
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://namespace.openaire.eu/oaf"
2
	targetNamespace="http://namespace.openaire.eu/oaf" elementFormDefault="qualified">
3

    
4
	<xs:annotation>
5
		<xs:documentation>This schema describes elements and properties of OpenAIRE datasources: https://issue.openaire.research-infrastructures.eu/projects/openaire2020-wiki/wiki/Core_entity_datasource</xs:documentation>
6
	</xs:annotation>
7

    
8
	<xs:include schemaLocation="oaf-common-1.0.xsd" />
9

    
10
	<xs:element name="datasource">
11
		<xs:complexType>
12
			<xs:choice maxOccurs="unbounded">
13
				<xs:element name="namespaceprefix" type="xs:string" />
14
				<xs:element name="officialname" type="xs:string" />
15
				<xs:element name="englishname" type="xs:string" />
16
				<xs:element name="websiteurl" type="xs:string" />
17
				<xs:element name="logourl" type="xs:string" />
18
				<xs:element name="contactemail" type="xs:string" />
19
				<xs:element name="datasourcetype" type="qualifierType">
20
					<xs:annotation>
21
						<xs:documentation>For allowed values check terms in:http://api.openaire.eu/vocabularies/dnet:datasource_typologies</xs:documentation>
22
					</xs:annotation>
23
				</xs:element>
24
				<xs:element name="openairecompatibility" type="qualifierType">
25
					<xs:annotation>
26
						<xs:documentation>
27
							Level of compatibility of this datasource with regards to the
28
							guidelines.
29
							<p>For allowed values check:
30
								http://api.openaire.eu/vocabularies/dnet:datasourceCompatibilityLevel
31
							</p>
32
						</xs:documentation>
33
					</xs:annotation>
34
				</xs:element>
35
				<xs:element name="dateofvalidation" type="xs:string">
36
					<xs:annotation>
37
						<xs:documentation>When this datasource has been validated by the
38
							OpenAire
39
							Validator.
40
						</xs:documentation>
41
					</xs:annotation>
42
				</xs:element>
43
				<xs:element name="latitude" type="xs:string"  />
44
				<xs:element name="longitude" type="xs:string"  />
45
				<xs:element name="description" type="xs:string" />
46
				<xs:element name="subjects" type="structuredPropertyElementType">
47
					<xs:annotation>
48
						<xs:documentation>
49
							Subjects and keywords.
50
							<p>For allowed values check:
51
								http://api.openaire.eu/vocabularies/dnet:result_subjects
52
							</p>
53
						</xs:documentation>
54
					</xs:annotation>
55
				</xs:element>
56
				<xs:element name="originalId" type="xs:string" />
57
				<xs:element name="collectedfrom" type="namedIdElementType">
58
					<xs:annotation>
59
						<xs:documentation>Identifier and name of the datasource from which
60
							this datasource has
61
							been collected from.
62
						</xs:documentation>
63
					</xs:annotation>
64
				</xs:element>
65
				<xs:element name="pid" type="structuredPropertyElementType" />
66
				<xs:element name="rels" type="relsType">
67
					<xs:annotation>
68
						<xs:documentation>Relationships to other entities.
69
						</xs:documentation>
70
					</xs:annotation>
71
				</xs:element>
72
				
73
			</xs:choice>
74
		</xs:complexType>
75
	</xs:element>
76
</xs:schema>
(5-5/9)