Project

General

Profile

1 6 wheeler
<?xml version="1.0" encoding="UTF-8"?>
2
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:res="eml://ecoinformatics.org/resource-2.0.1" xmlns:doc="eml://ecoinformatics.org/documentation-2.0.1" xmlns="eml://ecoinformatics.org/party-2.0.1" targetNamespace="eml://ecoinformatics.org/party-2.0.1">
3
	<xs:import namespace="eml://ecoinformatics.org/documentation-2.0.1" schemaLocation="eml-documentation.xsd"/>
4
	<xs:import namespace="eml://ecoinformatics.org/resource-2.0.1" schemaLocation="eml-resource.xsd"/>
5
	<xs:annotation>
6
		<xs:documentation>
7
       '$RCSfile: eml-party.xsd,v $'
8
       Copyright: 1997-2002 Regents of the University of California,
9
                            University of New Mexico, and
10
                            Arizona State University
11
        Sponsors: National Center for Ecological Analysis and Synthesis and
12
                  Partnership for Interdisciplinary Studies of Coastal Oceans,
13
                     University of California Santa Barbara
14
                  Long-Term Ecological Research Network Office,
15
                     University of New Mexico
16
                  Center for Environmental Studies, Arizona State University
17
   Other funding: National Science Foundation (see README for details)
18
                  The David and Lucile Packard Foundation
19
     For Details: http://knb.ecoinformatics.org/
20
21
        '$Author: jones $'
22
          '$Date: 2003/11/06 20:15:21 $'
23
      '$Revision: 1.46 $'
24
25
    This program is free software; you can redistribute it and/or modify
26
    it under the terms of the GNU General Public License as published by
27
    the Free Software Foundation; either version 2 of the License, or
28
    (at your option) any later version.
29
30
    This program is distributed in the hope that it will be useful,
31
    but WITHOUT ANY WARRANTY; without even the implied warranty of
32
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
33
    GNU General Public License for more details.
34
35
    You should have received a copy of the GNU General Public License
36
    along with this program; if not, write to the Free Software
37
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
38
    </xs:documentation>
39
		<xs:appinfo>
40
		</xs:appinfo>
41
	</xs:annotation>
42
	<xs:complexType name="ResponsibleParty">
43
		<xs:annotation>
44
			<xs:appinfo>
45
				<doc:tooltip>Responsible party</doc:tooltip>
46
				<doc:summary>The individual, organization, or role associated with a
47
        resource.</doc:summary>
48
49
			</xs:appinfo>
50
		</xs:annotation>
51
		<xs:choice>
52
			<xs:sequence>
53
				<xs:choice maxOccurs="unbounded">
54
					<xs:element name="individualName" type="Person">
55
						<xs:annotation>
56
							<xs:appinfo>
57
								<doc:tooltip>Individual Name</doc:tooltip>
58
								<doc:summary>The full name of the person being
59
                described</doc:summary>
60
61
62
							</xs:appinfo>
63
						</xs:annotation>
64
					</xs:element>
65
					<xs:element name="organizationName" type="xs:string">
66
						<xs:annotation>
67
							<xs:appinfo>
68
								<doc:tooltip>Organization name</doc:tooltip>
69
								<doc:summary>The full name of the organization being
70
                described</doc:summary>
71
72
							</xs:appinfo>
73
						</xs:annotation>
74
					</xs:element>
75
					<xs:element name="positionName" type="xs:string">
76
						<xs:annotation>
77
							<xs:appinfo>
78
								<doc:tooltip>Position Name</doc:tooltip>
79
								<doc:summary>The name of the title or position associated with
80
                the resource.</doc:summary>
81
							</xs:appinfo>
82
						</xs:annotation>
83
					</xs:element>
84
				</xs:choice>
85
				<xs:element name="address" type="Address" minOccurs="0" maxOccurs="unbounded">
86
					<xs:annotation>
87
						<xs:appinfo>
88
							<doc:tooltip>Contact address</doc:tooltip>
89
							<doc:summary>The full address information for a given responsible
90
              party entry.</doc:summary>
91
						</xs:appinfo>
92
					</xs:annotation>
93
				</xs:element>
94
				<xs:element name="phone" minOccurs="0" maxOccurs="unbounded">
95
					<xs:annotation>
96
						<xs:appinfo>
97
							<doc:tooltip>Phone</doc:tooltip>
98
							<doc:summary>Information about the contact's
99
              telephone</doc:summary>						</xs:appinfo>
100
					</xs:annotation>
101
					<xs:complexType>
102
						<xs:simpleContent>
103
							<xs:extension base="xs:string">
104
								<xs:attribute name="phonetype" type="xs:string" use="optional" default="voice">
105
									<xs:annotation>
106
										<xs:appinfo>
107
											<doc:tooltip>Phone type</doc:tooltip>
108
											<doc:summary>The type of the phone to which this number
109
                      applies</doc:summary>
110
										</xs:appinfo>
111
									</xs:annotation>
112
								</xs:attribute>
113
							</xs:extension>
114
						</xs:simpleContent>
115
					</xs:complexType>
116
				</xs:element>
117
				<xs:element name="electronicMailAddress" type="xs:string" minOccurs="0" maxOccurs="unbounded">
118
					<xs:annotation>
119
						<xs:appinfo>
120
							<doc:tooltip>Email address</doc:tooltip>
121
							<doc:summary>The email address of the contact.</doc:summary>
122
							</xs:appinfo>
123
					</xs:annotation>
124
				</xs:element>
125
				<xs:element name="onlineUrl" type="xs:anyURI" minOccurs="0" maxOccurs="unbounded">
126
					<xs:annotation>
127
						<xs:appinfo>
128
							<doc:tooltip>Online Link</doc:tooltip>
129
							<doc:summary>A link to associated online information, usually a
130
              web site.</doc:summary>
131
							</xs:appinfo>
132
					</xs:annotation>
133
				</xs:element>
134
				<xs:element name="userId" type="xsd:string" minOccurs="0" maxOccurs="unbounded">
135
					<xs:annotation>
136
						<xs:appinfo>
137
							<doc:tooltip>User Identifier</doc:tooltip>
138
							<doc:summary>An identifier that links this party to a
139
              directory of personnel</doc:summary>
140
						</xs:appinfo>
141
					</xs:annotation>
142
					<xs:complexType>
143
						<xs:simpleContent>
144
							<xs:extension base="xs:string">
145
								<xs:attribute name="directory" type="xs:string" use="required">
146
									<xs:annotation>
147
										<xs:appinfo>
148
											<doc:tooltip>Directory</doc:tooltip>
149
											<doc:summary>The directory system within which the
150
                      directoryId can be retrieved.</doc:summary>
151
										</xs:appinfo>
152
									</xs:annotation>
153
								</xs:attribute>
154
							</xs:extension>
155
						</xs:simpleContent>
156
					</xs:complexType>
157
				</xs:element>
158
			</xs:sequence>
159
			<xs:group ref="res:ReferencesGroup"/>
160
		</xs:choice>
161
		<xs:attribute name="id" type="res:IDType" use="optional"/>
162
		<xs:attribute name="system" type="res:SystemType" use="optional"/>
163
		<xs:attribute name="scope" type="res:ScopeType" use="optional" default="document"/>
164
	</xs:complexType>
165
	<xs:complexType name="Person">
166
		<xs:annotation>
167
			<xs:appinfo>
168
				<doc:tooltip>Person</doc:tooltip>
169
				<doc:summary>The full name of the individual associated with the
170
        resource.</doc:summary>
171
			</xs:appinfo>
172
		</xs:annotation>
173
		<xs:sequence>
174
			<xs:element name="salutation" type="xs:string" minOccurs="0" maxOccurs="unbounded">
175
				<xs:annotation>
176
					<xs:appinfo>
177
						<doc:tooltip>Salutation</doc:tooltip>
178
						<doc:summary>The salutation used to address an
179
            individual</doc:summary>
180
					</xs:appinfo>
181
				</xs:annotation>
182
			</xs:element>
183
			<xs:element name="givenName" type="xs:string" minOccurs="0" maxOccurs="unbounded">
184
				<xs:annotation>
185
					<xs:appinfo>
186
						<doc:tooltip>Given name</doc:tooltip>
187
						<doc:summary>The given name of the individual.</doc:summary>
188
						</xs:appinfo>
189
				</xs:annotation>
190
			</xs:element>
191
			<xs:element name="surName" type="xs:string">
192
				<xs:annotation>
193
					<xs:appinfo>
194
						<doc:tooltip>Last name</doc:tooltip>
195
						<doc:summary>The last name of the individual.</doc:summary>
196
						</xs:appinfo>
197
				</xs:annotation>
198
			</xs:element>
199
		</xs:sequence>
200
	</xs:complexType>
201
	<xs:complexType name="Address">
202
		<xs:annotation>
203
			<xs:appinfo>
204
				<doc:tooltip>Address</doc:tooltip>
205
				<doc:summary>The full address of the resposible party.</doc:summary>
206
				</xs:appinfo>
207
		</xs:annotation>
208
		<xs:choice>
209
			<xs:sequence>
210
				<xs:element name="deliveryPoint" type="xs:string" minOccurs="0" maxOccurs="unbounded">
211
					<xs:annotation>
212
						<xs:appinfo>
213
							<doc:tooltip>Delivery point</doc:tooltip>
214
							<doc:summary>The location for postal deliveries.</doc:summary>
215
							</xs:appinfo>
216
					</xs:annotation>
217
				</xs:element>
218
				<xs:element name="city" type="xs:string" minOccurs="0">
219
					<xs:annotation>
220
						<xs:appinfo>
221
							<doc:tooltip>City</doc:tooltip>
222
							<doc:summary>The name of the city for the contact.</doc:summary>
223
							</xs:appinfo>
224
					</xs:annotation>
225
				</xs:element>
226
				<xs:element name="administrativeArea" type="xs:string" minOccurs="0">
227
					<xs:annotation>
228
						<xs:appinfo>
229
							<doc:tooltip>Administrative area</doc:tooltip>
230
							<doc:summary>The political area of a country.</doc:summary>
231
232
						</xs:appinfo>
233
					</xs:annotation>
234
				</xs:element>
235
				<xs:element name="postalCode" type="xs:string" minOccurs="0">
236
					<xs:annotation>
237
						<xs:appinfo>
238
							<doc:tooltip>Postal code</doc:tooltip>
239
							<doc:summary>The postal code used for routing to an
240
              address.</doc:summary>
241
							</xs:appinfo>
242
					</xs:annotation>
243
				</xs:element>
244
				<xs:element name="country" type="xs:string" minOccurs="0">
245
					<xs:annotation>
246
						<xs:appinfo>
247
							<doc:tooltip>Country</doc:tooltip>
248
							<doc:summary>The name of the country for the contact's
249
              address.</doc:summary>
250
							</xs:appinfo>
251
					</xs:annotation>
252
				</xs:element>
253
			</xs:sequence>
254
			<xs:group ref="res:ReferencesGroup"/>
255
		</xs:choice>
256
		<xs:attribute name="id" type="res:IDType" use="optional"/>
257
		<xs:attribute name="system" type="res:SystemType" use="optional"/>
258
		<xs:attribute name="scope" type="res:ScopeType" use="optional" default="document"/>
259
	</xs:complexType>
260
	<xs:element name="party" type="ResponsibleParty">
261
		<xs:annotation>
262
			<xs:appinfo>
263
				<doc:tooltip>Responsible party</doc:tooltip>
264
				<doc:summary>An individual, organization, or role.
265
        </doc:summary>
266
			</xs:appinfo>
267
		</xs:annotation>
268
	</xs:element>
269
	<xs:simpleType name="RoleType">
270
		<xs:annotation>
271
			<xs:appinfo>
272
				<doc:tooltip>Role</doc:tooltip>
273
				<doc:summary>The classification of the associated person or
274
        organization.</doc:summary>
275
				</xs:appinfo>
276
		</xs:annotation>
277
		<xs:union>
278
			<xs:simpleType>
279
				<xs:restriction base="xs:string">
280
					<xs:enumeration value="contentProvider"/>
281
					<xs:enumeration value="custodianSteward"/>
282
					<xs:enumeration value="owner"/>
283
					<xs:enumeration value="user"/>
284
					<xs:enumeration value="distributor"/>
285
					<xs:enumeration value="metadataProvider"/>
286
					<xs:enumeration value="originator"/>
287
					<xs:enumeration value="pointOfContact"/>
288
					<xs:enumeration value="principalInvestigator"/>
289
					<xs:enumeration value="processor"/>
290
					<xs:enumeration value="publisher"/>
291
					<xs:enumeration value="author"/>
292
					<xs:enumeration value="editor"/>
293
				</xs:restriction>
294
			</xs:simpleType>
295
			<xs:simpleType>
296
				<xs:restriction base="xs:string"/>
297
			</xs:simpleType>
298
		</xs:union>
299
	</xs:simpleType>
300
</xs:schema>