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

    
9
  <xs:include schemaLocation="oaf-common-0.1.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. In case of EC funded project, it contains the grant
17
              agreement identifier.</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:element name="ecsc39" type="xs:boolean">
26
          <xs:annotation>
27
            <xs:documentation>True if the project has the special clause 39.</xs:documentation>
28
          </xs:annotation>
29
        </xs:element>
30
        <xs:element name="contracttype" type="optionalClassedSchemedElement"/>
31

    
32
        <xs:element name="fundingtree" type="fundingTreeType">
33
          <xs:annotation>
34
            <xs:documentation>The funding tree contains information about the funding of this
35
              project. For EC funded projects the tree has the following form: Scientific Area --
36
              Funding Stream -- Funder. For UK funded projects the tree has the following form:
37
              Funder -- Funding Stream. </xs:documentation>
38
          </xs:annotation>
39
        </xs:element>
40
        <xs:element name="websiteurl" type="xs:string"/>
41
        <xs:element name="keywords" type="xs:string"/>
42
        <xs:element name="duration" type="xs:string"/>
43

    
44
        <xs:element name="originalId" type="xs:string"/>
45
        <xs:element name="collectedfrom" type="namedIdElement">
46
          <xs:annotation>
47
            <xs:documentation>Identifier and name of the datasource from which this project has been
48
              collected from.</xs:documentation>
49
          </xs:annotation>
50
        </xs:element>
51
        <xs:element name="pid" type="xs:string"/>
52
        <xs:element name="datainfo" type="datainfoType"/>
53
        <xs:element name="rels" type="relsType">
54
          <xs:annotation>
55
            <xs:documentation>Relationships to other entities.</xs:documentation>
56
          </xs:annotation>
57
        </xs:element>
58
        <xs:element name="children">
59
          <xs:complexType mixed="true"/>
60
        </xs:element>
61
      </xs:choice>
62
    </xs:complexType>
63
  </xs:element>
64

    
65
  <!-- to be removed, and replaced by ContextType -->
66
  <xs:complexType name="fundingTreeType">
67
    <xs:choice maxOccurs="unbounded">
68
      <xs:element name="funding_level_2" type="fundingType" minOccurs="0" maxOccurs="unbounded">
69
        <xs:annotation>
70
          <xs:documentation>Leaf of the funding tree for FP7 projects. This element does not exist
71
            for WT funded projects.</xs:documentation>
72
        </xs:annotation>
73
      </xs:element>
74
      <!-- WT hierarchy starts from funding_level_1, not 2 -->
75
      <xs:element name="funding_level_1" type="fundingType" minOccurs="0" maxOccurs="unbounded">
76
        <xs:annotation>
77
          <xs:documentation>Leaf of the funding tree for WT projects.</xs:documentation>
78
        </xs:annotation>
79
      </xs:element>
80
    </xs:choice>
81
  </xs:complexType>
82

    
83
  <xs:complexType name="fundingType">
84
    <xs:sequence>
85
      <xs:element name="id" type="xs:string"/>
86
      <xs:element name="description" type="xs:string"/>
87
      <xs:element name="name" type="xs:string"/>
88
      <xs:element name="parent" type="fundingParentType">
89
        <xs:annotation>
90
          <xs:documentation>Parent funding. If the current funding is a Scientific Area, then the
91
            parent is a Funding Stream. If the current funding is a Funding Stream, then the parent
92
            is the Funder. </xs:documentation>
93
        </xs:annotation>
94
      </xs:element>
95
      <xs:element name="class" type="xs:string"/>
96
    </xs:sequence>
97
  </xs:complexType>
98

    
99
  <xs:complexType name="fundingParentType">
100
    <xs:choice minOccurs="0">
101
      <xs:element name="funding_level_1" type="fundingType"/>
102
      <xs:element name="funding_level_0" type="fundingType"/>
103
    </xs:choice>
104
  </xs:complexType>
105

    
106
</xs:schema>
(7-7/8)