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
6
			OpenAIRE+ entities of type
7
			project
8
		</xs:documentation>
9
	</xs:annotation>
10

    
11
	<xs:include schemaLocation="oaf-common-0.2.xsd" />
12

    
13
	<xs:element name="project">
14
		<xs:complexType>
15
			<xs:choice maxOccurs="unbounded">
16
				<xs:element name="code" type="inferenceExtendedStringType">
17
					<xs:annotation>
18
						<xs:documentation>Project code. Typically the grant
19
							agreement
20
							identifier.
21
						</xs:documentation>
22
					</xs:annotation>
23
				</xs:element>
24
				<xs:element name="acronym" type="inferenceExtendedStringType" />
25
				<xs:element name="title" type="inferenceExtendedStringType" />
26
				<xs:element name="startdate" type="inferenceExtendedStringType" />
27
				<xs:element name="enddate" type="inferenceExtendedStringType" />
28
				<xs:element name="callidentifier" type="inferenceExtendedStringType">
29
					<xs:annotation>
30
						<xs:documentation>
31
							Identifier of the call for proposal. Available
32
							only for EC funded projects.
33
						</xs:documentation>
34
					</xs:annotation>
35
				</xs:element>
36
				<xs:element name="ecsc39" type="inferenceExtendedBooleanType">
37
					<xs:annotation>
38
						<xs:documentation>True if the project has the special clause 39.
39
							Available only for EC funded projects.
40
						</xs:documentation>
41
					</xs:annotation>
42
				</xs:element>
43
				<xs:element name="contracttype" type="optionalClassedSchemedElement">
44
					<xs:annotation>
45
						<xs:documentation>
46
							Type of the contract.
47
							<p>
48
								Allowed values depend on the actual funder. Currently supported
49
								funders and corresponding contract types are:
50
								<table>
51
									<tr>
52
										<th>Funder</th>
53
										<th>Funder id</th>
54
										<th>Contract types</th>
55
									</tr>
56
									<tr>
57
										<td>FP7</td>
58
										<td>corda_______::FP7</td>
59
										<td>https://services.openaire.eu/provision/mvc/vocabularies/ec:FP7contractTypes</td>
60
									</tr>
61
									<tr>
62
										<td>Wellcome Trust</td>
63
										<td>wt::WT</td>
64
										<td>https://services.openaire.eu/provision/mvc/vocabularies/wt:contractTypes</td>
65
									</tr>
66
								</table>
67
							</p>
68
						</xs:documentation>
69
					</xs:annotation>
70
				</xs:element>
71

    
72
				<xs:element name="fundingtree" type="fundingTreeType">
73
					<xs:annotation>
74
						<xs:documentation>
75
							The funding tree contains information about the funding of this
76
							project. For EC funded projects the tree has the following form:
77
							<ul>
78
								<li>Scientific Area</li>
79
								<ul>
80
									<li>Funding Stream</li>
81
									<ul>
82
										<li>Funder</li>
83
									</ul>
84
								</ul>
85
							</ul>
86
							For UK funded projects the tree has the following form:
87
							<ul>
88
								<li>Funding Stream</li>
89
								<ul>
90
									<li>Funder</li>
91
								</ul>
92
							</ul>
93
						</xs:documentation>
94
					</xs:annotation>
95
				</xs:element>
96
				<xs:element name="websiteurl" type="inferenceExtendedStringType" />
97
				<xs:element name="keywords" type="inferenceExtendedStringType" />
98
				<xs:element name="duration" type="inferenceExtendedStringType" />
99

    
100
				<xs:element name="originalId" type="inferenceExtendedStringType" />
101
				<xs:element name="collectedfrom" type="namedIdElement">
102
					<xs:annotation>
103
						<xs:documentation>Identifier and name of the datasource from which
104
							this project has been
105
							collected from.
106
						</xs:documentation>
107
					</xs:annotation>
108
				</xs:element>
109
				<xs:element name="pid" type="optionalClassedSchemedElement" />
110
				<xs:element name="datainfo" type="datainfoType"/>
111
				<xs:element name="rels" type="relsType">
112
					<xs:annotation>
113
						<xs:documentation>Relationships to other entities.
114
						</xs:documentation>
115
					</xs:annotation>
116
				</xs:element>
117
				<xs:element name="children">
118
					<xs:complexType mixed="true" />
119
				</xs:element>
120
			</xs:choice>
121
		</xs:complexType>
122
	</xs:element>
123

    
124
	<!-- to be removed, and replaced by ContextType -->
125
	<xs:complexType name="fundingTreeType">
126
		<xs:choice maxOccurs="unbounded">
127
			<xs:element name="funding_level_2" type="fundingType"
128
				minOccurs="0" maxOccurs="unbounded">
129
				<xs:annotation>
130
					<xs:documentation>Leaf of the funding tree for FP7 projects. This
131
						element does not exist
132
						for WT funded projects.
133
					</xs:documentation>
134
				</xs:annotation>
135
			</xs:element>
136
			<!-- WT hierarchy starts from funding_level_1, not 2 -->
137
			<xs:element name="funding_level_1" type="fundingType"
138
				minOccurs="0" maxOccurs="unbounded">
139
				<xs:annotation>
140
					<xs:documentation>Leaf of the funding tree for WT projects.
141
					</xs:documentation>
142
				</xs:annotation>
143
			</xs:element>
144
		</xs:choice>
145
	</xs:complexType>
146

    
147
	<xs:complexType name="fundingType">
148
		<xs:sequence>
149
			<xs:element name="id" type="xs:string" />
150
			<xs:element name="description" type="xs:string" />
151
			<xs:element name="name" type="xs:string" />
152
			<xs:element name="parent" type="fundingParentType">
153
				<xs:annotation>
154
					<xs:documentation>Parent funding. If the current funding is a
155
						Scientific Area, then the
156
						parent is a Funding Stream. If the
157
						current funding is a Funding Stream,
158
						then the parent
159
						is the Funder.
160
					</xs:documentation>
161
				</xs:annotation>
162
			</xs:element>
163
			<xs:element name="class" type="xs:string" />
164
		</xs:sequence>
165
	</xs:complexType>
166

    
167
	<xs:complexType name="fundingParentType">
168
		<xs:choice minOccurs="0">
169
			<xs:element name="funding_level_1" type="fundingType" />
170
			<xs:element name="funding_level_0" type="fundingType" />
171
		</xs:choice>
172
	</xs:complexType>
173

    
174
</xs:schema>
(7-7/9)