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="unqualified">
3

    
4
	<xs:annotation>
5
		<xs:documentation>This schema describes elements and properties of OpenAIRE+ entities of
6
			type organisation </xs:documentation>
7
	</xs:annotation>
8

    
9
	<xs:include schemaLocation="oaf-common-0.4.xsd"/>
10

    
11
	<xs:element name="organization">
12
		<xs:complexType>
13
			<xs:choice maxOccurs="unbounded">
14
				<xs:element name="legalname" type="xs:string"/>
15
				<xs:element name="legalshortname" type="xs:string"/>
16
				<xs:element name="logourl" type="xs:string"/>
17
				<xs:element name="originalId" type="xs:string"/>
18
				<xs:element name="websiteurl" type="xs:string"/>
19
				<xs:element name="country" type="optionalClassedSchemedElement">
20
					<xs:annotation>
21
						<xs:documentation> Countries in ISO 3166-1 alpha-2. <p>For allowed values
22
								check: http://api.openaire.eu/vocabularies/dnet:countries </p>
23
						</xs:documentation>
24
					</xs:annotation>
25
				</xs:element>
26
				<xs:element name="ecenterprise" type="xs:string">
27
					<xs:annotation>
28
						<xs:documentation>Tells if this organisation is an enteprise. Value comes
29
							from CORDA (Enterprise) </xs:documentation>
30
					</xs:annotation>
31
				</xs:element>
32
				<xs:element name="echighereducation" type="xs:string">
33
					<xs:annotation>
34
						<xs:documentation>Tells if this organisation is in the higher education.
35
							Value comes from CORDA (HigherEducation). </xs:documentation>
36
					</xs:annotation>
37
				</xs:element>
38
				<!-- We might want to remove this field since it seems to be a duplicate 
39
					of ecinternationalorganizationeurinterests -->
40
				<xs:element name="ecinternationalorganization" type="xs:string">
41
					<xs:annotation>
42
						<xs:documentation>Tells if this organisation is international. Value comes
43
							from CORDA (InternationalOrgEurInterest). </xs:documentation>
44
					</xs:annotation>
45
				</xs:element>
46
				<xs:element name="ecinternationalorganizationeurinterests" type="xs:string">
47
					<xs:annotation>
48
						<xs:documentation>Value comes from CORDA (InternationalOrgEurInterest).
49
						</xs:documentation>
50
					</xs:annotation>
51
				</xs:element>
52
				<xs:element name="eclegalbody" type="xs:string">
53
					<xs:annotation>
54
						<xs:documentation>Tells if this organisation is a legal body. Value comes
55
							from CORDA (PublicBody). </xs:documentation>
56
					</xs:annotation>
57
				</xs:element>
58
				<xs:element name="eclegalperson" type="xs:string">
59
					<xs:annotation>
60
						<xs:documentation>Tells if this organisation is a legal person. Value comes
61
							from CORDA (LegalPerson). </xs:documentation>
62
					</xs:annotation>
63
				</xs:element>
64
				<xs:element name="ecnonprofit" type="xs:string">
65
					<xs:annotation>
66
						<xs:documentation>Tells if this organisation is non-profit. Value comes from
67
							CORDA (NonProfit). </xs:documentation>
68
					</xs:annotation>
69
				</xs:element>
70
				<xs:element name="ecnutscode" type="xs:string">
71
					<xs:annotation>
72
						<xs:documentation>Value comes from CORDA. </xs:documentation>
73
					</xs:annotation>
74
				</xs:element>
75
				<xs:element name="ecresearchorganization" type="xs:string">
76
					<xs:annotation>
77
						<xs:documentation>Tells if this organisation is a research organisation.
78
							Value comes from CORDA (ResearchOrganisation). </xs:documentation>
79
					</xs:annotation>
80
				</xs:element>
81
				<xs:element name="ecsmevalidated" type="xs:string">
82
					<xs:annotation>
83
						<xs:documentation>Value comes from CORDA (SMEValidated). </xs:documentation>
84
					</xs:annotation>
85
				</xs:element>
86
				<xs:element name="collectedfrom" type="namedIdElement">
87
					<xs:annotation>
88
						<xs:documentation>Identifier and name of the datasource from which this
89
							organization has been collected from. </xs:documentation>
90
					</xs:annotation>
91
				</xs:element>
92
				<xs:element name="pid" type="optionalClassedSchemedElement"/>
93
				<xs:element name="datainfo" type="datainfoType"/>
94
				<xs:element name="rels" type="relsType">
95
					<xs:annotation>
96
						<xs:documentation>Relationships to other entities. </xs:documentation>
97
					</xs:annotation>
98
				</xs:element>
99
				<xs:element name="children" type="childrenOrg"/>
100
			</xs:choice>
101
		</xs:complexType>
102
	</xs:element>
103

    
104
	<xs:complexType name="childrenOrg">
105
		<xs:sequence>
106
			<xs:element name="organization" minOccurs="0" maxOccurs="unbounded">
107
				<xs:complexType>
108
					<xs:choice maxOccurs="unbounded">
109
						<xs:element name="legalshortname" type="xs:string" minOccurs="0"
110
							maxOccurs="1"/>
111
						<xs:element name="legalname" type="xs:string" minOccurs="1" maxOccurs="1"/>
112
						<xs:element name="websiteurl" type="xs:string" minOccurs="0" maxOccurs="1"/>
113
						<xs:element name="country" type="classedSchemedElement">
114
							<xs:annotation>
115
								<xs:documentation> Tells if this record is about a publication or a
116
									dataset. <p>For allowed values check:
117
										http://api.openaire.eu/vocabularies/dnet:result_typologies </p>
118
								</xs:documentation>
119
							</xs:annotation>
120
						</xs:element>
121
					</xs:choice>
122
					<xs:attribute name="objidentifier" use="required"/>
123
				</xs:complexType>
124
			</xs:element>
125
		</xs:sequence>
126
	</xs:complexType>
127
</xs:schema>
(6-6/9)