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
6
			OpenAIRE+ entities of type
7
			person
8
		</xs:documentation>
9
	</xs:annotation>
10

    
11
	<xs:include schemaLocation="oaf-common-0.2.xsd" />
12

    
13
	<xs:element name="person">
14
		<xs:complexType>
15
			<xs:choice maxOccurs="unbounded">
16
				<xs:element name="firstname" type="inferenceExtendedStringType" />
17
				<xs:element name="secondnames" type="inferenceExtendedStringType" />
18
				<xs:element name="fullname" type="inferenceExtendedStringType" />
19
				<xs:element name="fax" type="inferenceExtendedStringType" />
20
				<xs:element name="email" type="inferenceExtendedStringType" />
21
				<xs:element name="phone" type="inferenceExtendedStringType" />
22
				<xs:element name="nationality" type="optionalClassedSchemedElement">
23
					<xs:annotation>
24
						<xs:documentation>
25
							Countries in ISO 3166-1 alpha-2.
26
							<p>For allowed values check:
27
								https://services.openaire.eu/provision/mvc/vocabularies/dnet:countries
28
							</p>
29
						</xs:documentation>
30
					</xs:annotation>
31

    
32
				</xs:element>
33
				<xs:element name="originalId" type="inferenceExtendedStringType"
34
					maxOccurs="unbounded" />
35
				<xs:element name="collectedfrom" type="namedIdElement"
36
					maxOccurs="unbounded">
37
					<xs:annotation>
38
						<xs:documentation>Identifier and name of the datasource from which
39
							this person has been
40
							collected from.
41
						</xs:documentation>
42
					</xs:annotation>
43
				</xs:element>
44
				<xs:element name="pid" type="optionalClassedSchemedElement" />
45
				<xs:element name="datainfo" type="datainfoType"/>
46
				<xs:element name="rels" type="relsType">
47
					<xs:annotation>
48
						<xs:documentation>Relationships to other entities.
49
						</xs:documentation>
50
					</xs:annotation>
51
				</xs:element>
52
				<xs:element name="children">
53
					<xs:complexType mixed="true" />
54
				</xs:element>
55
			</xs:choice>
56
		</xs:complexType>
57
	</xs:element>
58
</xs:schema>
(6-6/9)