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 person entity: https://issue.openaire.research-infrastructures.eu/projects/openaire2020-wiki/wiki/Core_entity_person</xs:documentation>
|
6
|
</xs:annotation>
|
7
|
|
8
|
<xs:include schemaLocation="oaf-common-1.0.xsd"/>
|
9
|
|
10
|
<xs:element name="person">
|
11
|
<xs:complexType>
|
12
|
<xs:choice maxOccurs="unbounded">
|
13
|
<xs:element name="firstname" type="xs:string"/>
|
14
|
<xs:element name="secondnames" type="xs:string"/>
|
15
|
<xs:element name="fullname" type="xs:string"/>
|
16
|
<xs:element name="nationality" type="controlledElementType">
|
17
|
<xs:annotation>
|
18
|
<xs:documentation> Countries in ISO 3166-1 alpha-2. <p>For allowed values
|
19
|
check: http://api.openaire.eu/vocabularies/dnet:countries </p>
|
20
|
</xs:documentation>
|
21
|
</xs:annotation>
|
22
|
</xs:element>
|
23
|
<xs:element name="originalId" type="xs:string" maxOccurs="unbounded"/>
|
24
|
<xs:element name="collectedfrom" type="namedIdElementType" maxOccurs="unbounded">
|
25
|
<xs:annotation>
|
26
|
<xs:documentation>Identifier and name of the datasource from which this
|
27
|
person has been collected from. </xs:documentation>
|
28
|
</xs:annotation>
|
29
|
</xs:element>
|
30
|
<xs:element name="pid" type="typedElementType"/>
|
31
|
<xs:element name="rels" type="relsType">
|
32
|
<xs:annotation>
|
33
|
<xs:documentation>Relationships to other entities.</xs:documentation>
|
34
|
</xs:annotation>
|
35
|
</xs:element>
|
36
|
</xs:choice>
|
37
|
</xs:complexType>
|
38
|
</xs:element>
|
39
|
</xs:schema>
|