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 person</xs:documentation>
7
	</xs:annotation>
8

    
9
	<xs:include schemaLocation="oaf-common-0.4.xsd"/>
10

    
11
	<xs:element name="person">
12
		<xs:complexType>
13
			<xs:choice maxOccurs="unbounded">
14
				<xs:element name="firstname" type="xs:string"/>
15
				<xs:element name="secondnames" type="xs:string"/>
16
				<xs:element name="fullname" type="xs:string"/>
17
				<xs:element name="fax" type="xs:string"/>
18
				<xs:element name="email" type="xs:string"/>
19
				<xs:element name="phone" type="xs:string"/>
20
				<xs:element name="nationality" type="optionalClassedSchemedElement">
21
					<xs:annotation>
22
						<xs:documentation> Countries in ISO 3166-1 alpha-2. <p>For allowed values
23
								check: $vocabulariesURL$/dnet:countries </p>
24
						</xs:documentation>
25
					</xs:annotation>
26
				</xs:element>
27
				<xs:element name="originalId" type="xs:string" maxOccurs="unbounded"/>
28
				<xs:element name="collectedfrom" type="namedIdElement" maxOccurs="unbounded">
29
					<xs:annotation>
30
						<xs:documentation>Identifier and name of the datasource from which this
31
							person has been collected from. </xs:documentation>
32
					</xs:annotation>
33
				</xs:element>
34
				<xs:element name="pid" type="optionalClassedSchemedElement"/>
35
				<xs:element name="anchor" type="xs:boolean"/>
36
				<xs:element name="datainfo" type="datainfoType"/>
37
				<xs:element name="rels" type="relsType">
38
					<xs:annotation>
39
						<xs:documentation>Relationships to other entities.</xs:documentation>
40
					</xs:annotation>
41
				</xs:element>
42
				<xs:element name="children">
43
					<xs:complexType mixed="true"/>
44
				</xs:element>
45
			</xs:choice>
46
		</xs:complexType>
47
	</xs:element>
48
</xs:schema>
(7-7/9)