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.3.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. Available
39
							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 project's publications in Open Access.</xs:documentation>
45
					</xs:annotation>
46
				</xs:element>
47
				<xs:element name="contracttype" type="optionalClassedSchemedElement">
48
					<xs:annotation>
49
						<xs:documentation> Type of the contract. <p> Allowed values depend on the
50
								actual funder. Currently supported funders and corresponding
51
								contract types are: <table>
52
									<tr>
53
										<th>Funder</th>
54
										<th>Funder id</th>
55
										<th>Contract types</th>
56
									</tr>
57
									<tr>
58
										<td>FP7</td>
59
										<td>corda_______::FP7</td>
60
										<td>http://api.openaire.eu/vocabularies/ec:FP7contractTypes</td>
61
									</tr>
62
									<tr>
63
										<td>Wellcome Trust</td>
64
										<td>wt::WT</td>
65
										<td>http://api.openaire.eu/vocabularies/wt:contractTypes</td>
66
									</tr>
67
								</table>
68
							</p>
69
						</xs:documentation>
70
					</xs:annotation>
71
				</xs:element>
72
				<xs:element name="subjects" type="optionalClassedSchemedElement">
73
					<xs:annotation>
74
						<xs:documentation>EC H2020 subjects.</xs:documentation>
75
					</xs:annotation>
76
				</xs:element>
77
				<xs:element name="fundingtree" type="fundingTreeType"/>
78

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

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

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

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

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

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