Project

General

Profile

1 53323 alessia.ba
<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 entities of type organization: https://issue.openaire.research-infrastructures.eu/projects/openaire2020-wiki/wiki/Core_entity_organization</xs:documentation>
6
	</xs:annotation>
7
8
	<xs:include schemaLocation="oaf-common-1.0.xsd"/>
9
10
	<xs:element name="organization">
11
		<xs:complexType>
12
			<xs:choice maxOccurs="unbounded">
13
				<xs:element name="legalname" type="xs:string"/>
14
				<xs:element name="legalshortname" type="xs:string"/>
15
				<xs:element name="logourl" type="xs:string"/>
16
				<xs:element name="originalId" type="xs:string"/>
17
				<xs:element name="websiteurl" type="xs:string"/>
18 58637 alessia.ba
				<xs:element name="country" type="qualifierType">
19 53323 alessia.ba
					<xs:annotation>
20
						<xs:documentation>Countries in ISO 3166-1 alpha-2. </xs:documentation>
21
					</xs:annotation>
22
				</xs:element>
23
24
				<xs:element name="collectedfrom" type="namedIdElementType">
25
					<xs:annotation>
26
						<xs:documentation>Identifier and name of the datasource from which this
27
							organization has been collected from. </xs:documentation>
28
					</xs:annotation>
29
				</xs:element>
30 58637 alessia.ba
				<xs:element name="pid" type="structuredPropertyElementType"/>
31 53323 alessia.ba
				<xs:element name="rels" type="relsType">
32
					<xs:annotation>
33
						<xs:documentation>Relationships to other entities. </xs:documentation>
34
					</xs:annotation>
35
				</xs:element>
36
				<!-- If we decide not to show deduplicated org, then we have to remove this field -->
37
				<!-- <xs:element name="duplicates" type="mergedOrgs"/> -->
38
			</xs:choice>
39
		</xs:complexType>
40
	</xs:element>
41
</xs:schema>