-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathpersonal-details-3.0.xsd
162 lines (150 loc) · 5.51 KB
/
personal-details-3.0.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:sch="http://purl.oclc.org/dsdl/schematron" elementFormDefault="qualified"
targetNamespace="http://www.orcid.org/ns/personal-details"
xmlns:other-name="http://www.orcid.org/ns/other-name" xmlns:common="http://www.orcid.org/ns/common"
xmlns:personal-details="http://www.orcid.org/ns/personal-details">
<xs:annotation>
<xs:documentation>
=============================================================================
ORCID (R) Open Source
http://orcid.org
Copyright (c) 2012-2018 ORCID,
Inc.
Licensed under an MIT-Style License (MIT)
http://orcid.org/open-source-license
This copyright and license
information (including a link to the full
license)
shall be included in
its entirety in all copies or substantial portion of
the software.
=============================================================================
The schema describes the message format used for ORCID API requests
and responses.
</xs:documentation>
<xs:appinfo>
<sch:title>Schematron validation</sch:title>
<sch:ns prefix="personal-details" uri="http://www.orcid.org/ns/personal-details" />
</xs:appinfo>
</xs:annotation>
<xs:import namespace="http://www.orcid.org/ns/common"
schemaLocation="../common_3.0/common-3.0.xsd" />
<xs:import namespace="http://www.orcid.org/ns/other-name"
schemaLocation="../record_3.0/other-name-3.0.xsd" />
<xs:element name="personal-details">
<xs:annotation>
<xs:documentation>Container for the biography and names of the researcher. These fields can only be edited by the researcher.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="common:last-modified-date" minOccurs="0" maxOccurs="1" />
<xs:element name="name" type="personal-details:name"
minOccurs="0" maxOccurs="1" />
<xs:element ref="other-name:other-names" minOccurs="0"
maxOccurs="1" />
<xs:element name="biography" type="personal-details:biography"
minOccurs="0" maxOccurs="1" />
</xs:sequence>
<xs:attribute name="path" type="common:element-path" use="optional" />
</xs:complexType>
</xs:element>
<xs:element name="name">
<xs:annotation>
<xs:documentation>Container for the researcher's first and last name.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="personal-details:name" />
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="credit-name">
<xs:annotation>
<xs:documentation>Container for the researcher's credit name.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="personal-details:credit-name" />
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="biography">
<xs:annotation>
<xs:documentation>Container for the researcher's biography.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="personal-details:biography" />
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:complexType name="name">
<xs:annotation>
<xs:documentation>Container for the researcher's first and last name.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element ref="common:created-date" minOccurs="0" maxOccurs="1" />
<xs:element ref="common:last-modified-date" minOccurs="0" maxOccurs="1" />
<xs:element name="given-names" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The given name(s) of the researcher or contributor.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="common:string-150" />
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="family-name" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The family (last) name of the researcher. This element is optional, because some cultures only use given names.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="common:string-150" />
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="credit-name" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The full name of the researcher as they prefer it to appear.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="personal-details:credit-name" />
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="visibility" type="common:visibility" use="optional"/>
<xs:attribute name="path" type="common:element-path" use="optional" />
</xs:complexType>
<xs:complexType name="biography">
<xs:annotation>
<xs:documentation>Description of the researcher's professional career.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element ref="common:created-date" minOccurs="0" maxOccurs="1" />
<xs:element ref="common:last-modified-date" minOccurs="0" maxOccurs="1" />
<xs:element minOccurs="1" name="content" type="common:non-empty-string">
</xs:element>
</xs:sequence>
<xs:attribute name="visibility" type="common:visibility" use="optional"/>
<xs:attribute name="path" type="common:element-path" use="optional" />
</xs:complexType>
<xs:complexType name="credit-name">
<xs:simpleContent>
<xs:extension base="common:credit-name" />
</xs:simpleContent>
</xs:complexType>
</xs:schema>