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 project </xs:documentation>
7
	</xs:annotation>
8

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

    
11
	<xs:element name="project">
12
		<xs:complexType>
13
			<xs:choice maxOccurs="unbounded">
14
				<xs:element name="code" type="xs:string">
15
					<xs:annotation>
16
						<xs:documentation>Project code. Typically the grant agreement identifier.
17
						</xs:documentation>
18
					</xs:annotation>
19
				</xs:element>
20
				<xs:element name="acronym" type="xs:string"/>
21
				<xs:element name="title" type="xs:string"/>
22
				<xs:element name="startdate" type="xs:string"/>
23
				<xs:element name="enddate" type="xs:string"/>
24
				<xs:element name="callidentifier" type="xs:string">
25
					<xs:annotation>
26
						<xs:documentation> Identifier of the call for proposal. Available only for
27
							EC funded projects. </xs:documentation>
28
					</xs:annotation>
29
				</xs:element>
30
				<xs:element name="ecsc39" type="boolOrEmptyType">
31
					<xs:annotation>
32
						<xs:documentation>True if the project has the special clause 39. Available
33
							only for EC FP7 funded projects. </xs:documentation>
34
					</xs:annotation>
35
				</xs:element>
36
				<xs:element name="ecarticle29_3" type="boolOrEmptyType">
37
					<xs:annotation>
38
						<xs:documentation>True if the project is under the EC Open Data Pilot.
39
							Available only for EC H2020 funded projects. </xs:documentation>
40
					</xs:annotation>
41
				</xs:element>
42
				<xs:element name="oamandatepublications" type="xs:boolean">
43
					<xs:annotation>
44
						<xs:documentation>True if the project's funding mandates the availability of
45
							project's publications in Open Access.</xs:documentation>
46
					</xs:annotation>
47
				</xs:element>
48
				<xs:element name="contracttype" type="optionalClassedSchemedElement">
49
					<xs:annotation>
50
						<xs:documentation> Type of the contract. <p> Allowed values depend on the
51
								actual funder. Currently supported funders and corresponding
52
								contract types are: <table>
53
									<tr>
54
										<th>Funder</th>
55
										<th>Funder id</th>
56
										<th>Contract types</th>
57
									</tr>
58
									<tr>
59
										<td>FP7</td>
60
										<td>corda_______::FP7</td>
61
										<td>$vocabulariesURL$/ec:FP7contractTypes</td>
62
									</tr>
63
									<tr>
64
										<td>Wellcome Trust</td>
65
										<td>wt::WT</td>
66
										<td>$vocabulariesURL$/wt:contractTypes</td>
67
									</tr>
68
								</table>
69
							</p>
70
						</xs:documentation>
71
					</xs:annotation>
72
				</xs:element>
73
				<xs:element name="subjects" type="optionalClassedSchemedElement">
74
					<xs:annotation>
75
						<xs:documentation>EC H2020 subjects.</xs:documentation>
76
					</xs:annotation>
77
				</xs:element>
78
				<xs:element name="fundingtree" type="fundingTreeType"/>
79

    
80
				<xs:element name="websiteurl" type="xs:string"/>
81
				<xs:element name="keywords" type="xs:string"/>
82
				<xs:element name="duration" type="xs:string"/>
83

    
84
				<xs:element name="originalId" type="xs:string"/>
85
				<xs:element name="collectedfrom" type="namedIdElement">
86
					<xs:annotation>
87
						<xs:documentation>Identifier and name of the datasource from which this
88
							project has been collected from. </xs:documentation>
89
					</xs:annotation>
90
				</xs:element>
91
				<xs:element name="pid" type="optionalClassedSchemedElement"/>
92
				<xs:element name="datainfo" type="datainfoType"/>
93
				<xs:element name="rels" type="relsType">
94
					<xs:annotation>
95
						<xs:documentation>Relationships to other entities. </xs:documentation>
96
					</xs:annotation>
97
				</xs:element>
98
				<xs:element name="children">
99
					<xs:complexType mixed="true"/>
100
				</xs:element>
101
			</xs:choice>
102
		</xs:complexType>
103
	</xs:element>
104

    
105
	<!-- to be removed, and replaced by ContextType -->
106
	<xs:complexType name="fundingTreeType">
107
		<xs:sequence>
108
			<xs:element name="funder" type="funderType"/>
109
			<xs:choice maxOccurs="unbounded" minOccurs="0">
110
				<!-- Three-tier funding hierarchies -->
111
				<xs:element name="funding_level_2" type="fundingType"/>
112
				<!-- Two-tier funding hierarchies -->
113
				<xs:element name="funding_level_1" type="fundingType"/>
114
				<!-- No funding hierarchy -->
115
				<xs:element name="funding_level_0" type="fundingType"/>
116
			</xs:choice>
117
		</xs:sequence>
118
	</xs:complexType>
119

    
120
	<xs:complexType name="fundingType">
121
		<xs:all>
122
			<xs:element name="id" type="xs:string"/>
123
			<xs:element name="description" type="xs:string"/>
124
			<xs:element name="name" type="xs:string"/>
125
			<xs:element name="class" type="xs:string" minOccurs="0"/>
126
			<xs:element name="parent" type="fundingParentType">
127
				<xs:annotation>
128
					<xs:documentation>Parent funding. If the current funding is a Scientific Area,
129
						then the parent is a Funding Stream. If the current funding is a Funding
130
						Stream, then the parent is the Funder. </xs:documentation>
131
				</xs:annotation>
132
			</xs:element>
133
		</xs:all>
134
	</xs:complexType>
135

    
136
	<xs:complexType name="fundingParentType">
137
		<xs:choice minOccurs="0">
138
			<xs:element name="funding_level_1" type="fundingType"/>
139
			<xs:element name="funding_level_0" type="fundingType"/>
140
		</xs:choice>
141
	</xs:complexType>
142

    
143
	<xs:complexType name="funderType">
144
		<xs:all>
145
			<xs:element name="id" type="xs:string"/>
146
			<xs:element name="shortname" type="xs:string"/>
147
			<xs:element name="name" type="xs:string"/>
148
			<xs:element name="jurisdiction" type="xs:string"/>
149
		</xs:all>
150
	</xs:complexType>
151
</xs:schema>
(8-8/9)