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="contracttype" type="controlledElementType"/>
26
				<xs:element name="keywords" type="xs:string"/>
27
				<xs:element name="websiteurl" type="xs:string"/>
28
				<xs:element name="startdate" type="xs:string"/>
29
				<xs:element name="enddate" type="xs:string"/>
30
				<xs:element name="duration" type="xs:string"/>
31
				<xs:element name="ecsc39" type="boolOrEmptyType">
32
					<xs:annotation>
33
						<xs:documentation>True if the project has the special clause 39. Available
34
							only for EC FP7 funded projects. </xs:documentation>
35
					</xs:annotation>
36
				</xs:element>
37
				<xs:element name="oamandatepublications" type="xs:boolean">
38
					<xs:annotation>
39
						<xs:documentation>True if the project's funding mandates the availability of project's publications in Open Access.</xs:documentation>
40
					</xs:annotation>
41
				</xs:element>
42
				<xs:element name="ecarticle29_3" type="boolOrEmptyType">
43
					<xs:annotation>
44
						<xs:documentation>True if the project is under the EC Open Data Pilot. Available only for EC H2020 funded projects. </xs:documentation>
45
					</xs:annotation>
46
				</xs:element>
47
				<xs:element name="subjects" type="typedElementType"/>
48
					
49
				<xs:element name="fundingtree" type="fundingTreeType"/>
50
				<xs:element name="originalId" type="xs:string"/>
51
				<xs:element name="collectedfrom" type="namedIdElementType">
52
					<xs:annotation>
53
						<xs:documentation>Identifier and name of the datasource from which this
54
							project has been collected from. </xs:documentation>
55
					</xs:annotation>
56
				</xs:element>
57
				<xs:element name="pid" type="typedElementType"/>
58
				<xs:element name="rels" type="relsType">
59
					<xs:annotation>
60
						<xs:documentation>Relationships to other entities. </xs:documentation>
61
					</xs:annotation>
62
				</xs:element>
63
			</xs:choice>
64
		</xs:complexType>
65
	</xs:element>
66

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

    
82
	<xs:complexType name="fundingType">
83
		<xs:all>
84
			<xs:element name="id" type="xs:string"/>
85
			<xs:element name="description" type="xs:string"/>
86
			<xs:element name="name" type="xs:string"/>
87
			<xs:element name="class" type="xs:string"/>
88
			<xs:element name="parent" type="fundingParentType"/>
89
		</xs:all>
90
	</xs:complexType>
91

    
92
	<xs:complexType name="fundingParentType">
93
		<xs:choice minOccurs="0">
94
			<xs:element name="funding_level_1" type="fundingType"/>
95
			<xs:element name="funding_level_0" type="fundingType"/>
96
		</xs:choice>
97
	</xs:complexType>
98

    
99
	<xs:complexType name="funderType">
100
		<xs:all>
101
			<xs:element name="id" type="xs:string"/>
102
			<xs:element name="shortname" type="xs:string"/>
103
			<xs:element name="name" type="xs:string"/>
104
			<xs:element name="jurisdiction" type="xs:string"/>
105
		</xs:all>
106
	</xs:complexType>
107
</xs:schema>
(8-8/9)