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

    
84
				<xs:element name="websiteurl" type="xs:string"/>
85
				<xs:element name="keywords" type="xs:string"/>
86
				<xs:element name="duration" type="xs:string"/>
87

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

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

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

    
140
	<xs:complexType name="fundingParentType">
141
		<xs:choice minOccurs="0">
142
			<xs:element name="funding_level_1" type="fundingType"/>
143
			<xs:element name="funding_level_0" type="fundingType"/>
144
		</xs:choice>
145
	</xs:complexType>
146

    
147
	<xs:complexType name="funderType">
148
		<xs:all>
149
			<xs:element name="id" type="xs:string"/>
150
			<xs:element name="shortname" type="xs:string"/>
151
			<xs:element name="name" type="xs:string"/>
152
			<xs:element name="jurisdiction" type="xs:string"/>
153
		</xs:all>
154
	</xs:complexType>
155
</xs:schema>
(6-6/7)