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

    
4
	<xs:annotation>
5
		<xs:documentation>This schema describes elements and properties of OpenAIRE project entity: https://issue.openaire.research-infrastructures.eu/projects/openaire2020-wiki/wiki/Core_entity_project</xs:documentation>
6
	</xs:annotation>
7

    
8
	<xs:include schemaLocation="oaf-common-1.0.xsd"/>
9

    
10
	<xs:element name="project">
11
		<xs:complexType>
12
			<xs:choice maxOccurs="unbounded">
13
				<xs:element name="code" type="xs:string">
14
					<xs:annotation>
15
						<xs:documentation>Project code as assigned by the project's funder.</xs:documentation>
16
					</xs:annotation>
17
				</xs:element>
18
				<xs:element name="title" type="xs:string"/>
19
				<xs:element name="acronym" type="xs:string"/>
20
				<xs:element name="callidentifier" type="xs:string">
21
					<xs:annotation>
22
						<xs:documentation> Identifier of the call for proposal.</xs:documentation>
23
					</xs:annotation>
24
				</xs:element>
25
				<xs:element name="contactfullname" type="xs:string"/>
26
				<xs:element name="contactfax" type="xs:string"/>
27
				<xs:element name="contactphone" type="xs:string"/>
28
				<xs:element name="contactemail" type="xs:string"/>
29
				<xs:element name="contracttype" type="qualifierType"/>
30
				<xs:element name="keywords" type="xs:string"/>
31
				<xs:element name="websiteurl" type="xs:string"/>
32
				<xs:element name="startdate" type="xs:string"/>
33
				<xs:element name="enddate" type="xs:string"/>
34
				<xs:element name="duration" type="xs:string"/>
35
				<xs:element name="ecsc39" type="boolOrEmptyType">
36
					<xs:annotation>
37
						<xs:documentation>True if the project has the special clause 39. Available
38
							only for EC FP7 funded projects. </xs:documentation>
39
					</xs:annotation>
40
				</xs:element>
41
				<xs:element name="oamandatepublications" type="xs:boolean">
42
					<xs:annotation>
43
						<xs:documentation>True if the project's funding mandates the availability of project's publications in Open Access.</xs:documentation>
44
					</xs:annotation>
45
				</xs:element>
46
				<xs:element name="ecarticle29_3" type="boolOrEmptyType">
47
					<xs:annotation>
48
						<xs:documentation>True if the project is under the EC Open Data Pilot. Available only for EC H2020 funded projects. </xs:documentation>
49
					</xs:annotation>
50
				</xs:element>
51
				<xs:element name="subjects" type="qualifierType"/>
52
					
53
				<xs:element name="fundingtree" type="fundingTreeType"/>
54
				<xs:element name="originalId" type="xs:string"/>
55
				<xs:element name="collectedfrom" type="namedIdElementType">
56
					<xs:annotation>
57
						<xs:documentation>Identifier and name of the datasource from which this
58
							project has been collected from. </xs:documentation>
59
					</xs:annotation>
60
				</xs:element>
61
				<xs:element name="pid" type="qualifierType"/>
62
				<xs:element name="rels" type="relsType">
63
					<xs:annotation>
64
						<xs:documentation>Relationships to other entities. </xs:documentation>
65
					</xs:annotation>
66
				</xs:element>
67
			</xs:choice>
68
		</xs:complexType>
69
	</xs:element>
70

    
71
	<!-- to be removed, and replaced by ContextType -->
72
	<xs:complexType name="fundingTreeType">
73
		<xs:sequence>
74
			<xs:element name="funder" type="funderType"/>
75
			<xs:choice maxOccurs="unbounded">
76
				<!-- Three-tier funding hierarchies -->
77
				<xs:element name="funding_level_2" type="fundingType"/>
78
				<!-- Two-tier funding hierarchies -->
79
				<xs:element name="funding_level_1" type="fundingType"/>
80
				<!-- No funding hierarchy -->
81
				<xs:element name="funding_level_0" type="fundingType"/>
82
			</xs:choice>
83
		</xs:sequence>
84
	</xs:complexType>
85

    
86
	<xs:complexType name="fundingType">
87
		<xs:all>
88
			<xs:element name="id" type="xs:string"/>
89
			<xs:element name="description" type="xs:string"/>
90
			<xs:element name="name" type="xs:string"/>
91
			<xs:element name="class" type="xs:string"/>
92
			<xs:element name="parent" type="fundingParentType"/>
93
		</xs:all>
94
	</xs:complexType>
95

    
96
	<xs:complexType name="fundingParentType">
97
		<xs:choice minOccurs="0">
98
			<xs:element name="funding_level_1" type="fundingType"/>
99
			<xs:element name="funding_level_0" type="fundingType"/>
100
		</xs:choice>
101
	</xs:complexType>
102

    
103
	<xs:complexType name="funderType">
104
		<xs:all>
105
			<xs:element name="id" type="xs:string"/>
106
			<xs:element name="shortname" type="xs:string"/>
107
			<xs:element name="name" type="xs:string"/>
108
			<xs:element name="jurisdiction" type="xs:string"/>
109
		</xs:all>
110
	</xs:complexType>
111
</xs:schema>
(7-7/8)