Project

General

Profile

1 10131 jones
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- edited with XMLSpy v2008 sp1 (http://www.altova.com) by Systems Administrator (NCDDC) -->
3
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" blockDefault="#all">
4
	<xs:element name="cntinfo" type="cntinfoType">
5
		<xs:annotation>
6
			<xs:documentation>Contact information for an individual or organization that is knowledgeable about the data set.</xs:documentation>
7
			<xs:appinfo>
8
				<xs:attribute name="mdname" fixed="Contact Information"/>
9
				<xs:attribute name="use" fixed="Mandatory"/>
10
				<xs:attribute name="other-validation-rules" fixed="checkOr([cntperp,cntorgp])"/>
11
			</xs:appinfo>
12
		</xs:annotation>
13
	</xs:element>
14
	<xs:complexType name="cntinfoType">
15
		<xs:sequence>
16
			<xs:choice>
17
				<xs:element ref="cntperp"/>
18
				<xs:element ref="cntorgp"/>
19
			</xs:choice>
20
			<xs:element ref="cntpos" minOccurs="0"/>
21
			<xs:element ref="cntaddr" maxOccurs="unbounded"/>
22
			<xs:element ref="cntvoice" maxOccurs="unbounded"/>
23
			<xs:element ref="cnttdd" minOccurs="0" maxOccurs="unbounded"/>
24
			<xs:element ref="cntfax" minOccurs="0" maxOccurs="unbounded"/>
25
			<xs:element ref="cntemail" minOccurs="0" maxOccurs="unbounded"/>
26
			<xs:element ref="hours" minOccurs="0"/>
27
			<xs:element ref="cntinst" minOccurs="0"/>
28
		</xs:sequence>
29
	</xs:complexType>
30
	<xs:element name="cntperp" type="cntperpType">
31
		<xs:annotation>
32
			<xs:documentation>The person, and the affiliation of the person, associated with the data set. Used in cases where the association of the person to the data set is more significant than the association of the organization to the data set.</xs:documentation>
33
			<xs:appinfo>
34
				<xs:attribute name="mdname" fixed="Contact Person Primary"/>
35
				<xs:attribute name="use" fixed="Mandatory"/>
36
			</xs:appinfo>
37
		</xs:annotation>
38
	</xs:element>
39
	<xs:complexType name="cntperpType">
40
		<xs:sequence>
41
			<xs:element ref="cntper"/>
42
			<xs:element ref="cntorg" minOccurs="0"/>
43
		</xs:sequence>
44
	</xs:complexType>
45
	<xs:element name="cntper" type="cntperType">
46
		<xs:annotation>
47
			<xs:documentation>The name of the individual to which the contact type applies.</xs:documentation>
48
			<xs:appinfo>
49
				<xs:attribute name="mdname" fixed="Contact Person"/>
50
				<xs:attribute name="use" fixed="Optional"/>
51
				<xs:attribute name="other-conditionalities" fixed="['Contact Person Primary']:Mandatory"/>
52
			</xs:appinfo>
53
		</xs:annotation>
54
	</xs:element>
55
	<xs:simpleType name="cntperType">
56
		<xs:restriction base="FGDCstring"/>
57
	</xs:simpleType>
58
	<xs:element name="cntorg" type="cntorgType">
59
		<xs:annotation>
60
			<xs:documentation>The name of the organization to which the contact type applies.</xs:documentation>
61
			<xs:appinfo>
62
				<xs:attribute name="mdname" fixed="Contact Organization"/>
63
				<xs:attribute name="use" fixed="Optional"/>
64
				<xs:attribute name="other-conditionalities" fixed="['Contact Organization Primary']:Mandatory"/>
65
			</xs:appinfo>
66
		</xs:annotation>
67
	</xs:element>
68
	<xs:simpleType name="cntorgType">
69
		<xs:restriction base="FGDCstring"/>
70
	</xs:simpleType>
71
	<xs:element name="cntorgp" type="cntorgpType">
72
		<xs:annotation>
73
			<xs:documentation>The organization, and the member of the organization, associated with the data set.  Used in cases where the association of the organization to the data set is more significant than the association of the person to the data set.</xs:documentation>
74
			<xs:appinfo>
75
				<xs:attribute name="mdname" fixed="Contact Organization Primary"/>
76
				<xs:attribute name="use" fixed="Mandatory"/>
77
			</xs:appinfo>
78
		</xs:annotation>
79
	</xs:element>
80
	<xs:complexType name="cntorgpType">
81
		<xs:sequence>
82
			<xs:element ref="cntorg"/>
83
			<xs:element ref="cntper" minOccurs="0"/>
84
		</xs:sequence>
85
	</xs:complexType>
86
	<xs:element name="cntpos" type="cntposType">
87
		<xs:annotation>
88
			<xs:documentation>The title of individual.</xs:documentation>
89
			<xs:appinfo>
90
				<xs:attribute name="mdname" fixed="Contact Position"/>
91
				<xs:attribute name="use" fixed="Optional"/>
92
			</xs:appinfo>
93
		</xs:annotation>
94
	</xs:element>
95
	<xs:simpleType name="cntposType">
96
		<xs:restriction base="FGDCstring"/>
97
	</xs:simpleType>
98
	<xs:element name="cntaddr" type="cntaddrType">
99
		<xs:annotation>
100
			<xs:documentation>The address for the organization or individual.</xs:documentation>
101
			<xs:appinfo>
102
				<xs:attribute name="mdname" fixed="Contact Address"/>
103
				<xs:attribute name="use" fixed="Mandatory"/>
104
			</xs:appinfo>
105
		</xs:annotation>
106
	</xs:element>
107
	<xs:complexType name="cntaddrType">
108
		<xs:sequence>
109
			<xs:element ref="addrtype"/>
110
			<xs:element ref="address" minOccurs="0" maxOccurs="unbounded"/>
111
			<xs:element ref="city"/>
112
			<xs:element ref="state"/>
113
			<xs:element ref="postal"/>
114
			<xs:element ref="country" minOccurs="0"/>
115
		</xs:sequence>
116
	</xs:complexType>
117
	<xs:element name="addrtype" type="addrtypeType">
118
		<xs:annotation>
119
			<xs:documentation>The information provided by the address.</xs:documentation>
120
			<xs:appinfo>
121
				<xs:attribute name="mdname" fixed="Address Type"/>
122
				<xs:attribute name="use" fixed="Mandatory"/>
123
			</xs:appinfo>
124
		</xs:annotation>
125
	</xs:element>
126
	<xs:simpleType name="addrtypeType">
127
		<xs:union memberTypes="FGDCstring">
128
			<xs:simpleType>
129
				<xs:restriction base="xs:token">
130
					<xs:enumeration value="mailing"/>
131
					<xs:enumeration value="physical"/>
132
					<xs:enumeration value="mailing and physical"/>
133
				</xs:restriction>
134
			</xs:simpleType>
135
		</xs:union>
136
	</xs:simpleType>
137
	<xs:element name="address" type="addressType">
138
		<xs:annotation>
139
			<xs:documentation>An address line for the address.</xs:documentation>
140
			<xs:appinfo>
141
				<xs:attribute name="mdname" fixed="Address"/>
142
				<xs:attribute name="use" fixed="Mandatory-if-applicable"/>
143
			</xs:appinfo>
144
		</xs:annotation>
145
	</xs:element>
146
	<xs:simpleType name="addressType">
147
		<xs:restriction base="FGDCstring"/>
148
	</xs:simpleType>
149
	<xs:element name="city" type="cityType">
150
		<xs:annotation>
151
			<xs:documentation>"The city of the address.</xs:documentation>
152
			<xs:appinfo>
153
				<xs:attribute name="mdname" fixed="City"/>
154
				<xs:attribute name="use" fixed="Mandatory"/>
155
			</xs:appinfo>
156
		</xs:annotation>
157
	</xs:element>
158
	<xs:simpleType name="cityType">
159
		<xs:restriction base="FGDCstring"/>
160
	</xs:simpleType>
161
	<xs:element name="state" type="stateType">
162
		<xs:annotation>
163
			<xs:documentation>The state or province of the address.</xs:documentation>
164
			<xs:appinfo>
165
				<xs:attribute name="mdname" fixed="State or Province"/>
166
				<xs:attribute name="use" fixed="Mandatory"/>
167
			</xs:appinfo>
168
		</xs:annotation>
169
	</xs:element>
170
	<xs:simpleType name="stateType">
171
		<xs:restriction base="FGDCstring"/>
172
	</xs:simpleType>
173
	<xs:element name="postal" type="postalType">
174
		<xs:annotation>
175
			<xs:documentation>The ZIP or other postal code of the address.</xs:documentation>
176
			<xs:appinfo>
177
				<xs:attribute name="mdname" fixed="Postal Code"/>
178
				<xs:attribute name="use" fixed="Mandatory"/>
179
			</xs:appinfo>
180
		</xs:annotation>
181
	</xs:element>
182
	<xs:simpleType name="postalType">
183
		<xs:restriction base="FGDCstring"/>
184
	</xs:simpleType>
185
	<xs:element name="country" type="countryType">
186
		<xs:annotation>
187
			<xs:documentation>The country of the address.</xs:documentation>
188
			<xs:appinfo>
189
				<xs:attribute name="mdname" fixed="Country"/>
190
				<xs:attribute name="use" fixed="Optional"/>
191
			</xs:appinfo>
192
		</xs:annotation>
193
	</xs:element>
194
	<xs:simpleType name="countryType">
195
		<xs:restriction base="FGDCstring"/>
196
	</xs:simpleType>
197
	<xs:element name="cntvoice" type="cntvoiceType">
198
		<xs:annotation>
199
			<xs:documentation>The telephone number by which individuals can speak to the organization or individual</xs:documentation>
200
			<xs:appinfo>
201
				<xs:attribute name="mdname" fixed="Contact Voice Telephone"/>
202
				<xs:attribute name="use" fixed="Mandatory"/>
203
			</xs:appinfo>
204
		</xs:annotation>
205
	</xs:element>
206
	<xs:simpleType name="cntvoiceType">
207
		<xs:restriction base="FGDCstring"/>
208
	</xs:simpleType>
209
	<xs:element name="cnttdd" type="cnttddType">
210
		<xs:annotation>
211
			<xs:documentation>The telephone number by which hearing-impaired individuals can contact the organization or individual.</xs:documentation>
212
			<xs:appinfo>
213
				<xs:attribute name="mdname" fixed="Contact TTD/TTY Telephone"/>
214
				<xs:attribute name="use" fixed="Optional"/>
215
			</xs:appinfo>
216
		</xs:annotation>
217
	</xs:element>
218
	<xs:simpleType name="cnttddType">
219
		<xs:restriction base="FGDCstring"/>
220
	</xs:simpleType>
221
	<xs:element name="cntfax" type="cntfaxType">
222
		<xs:annotation>
223
			<xs:documentation>The telephone number of a facsimile machine of the organization or individual.</xs:documentation>
224
			<xs:appinfo>
225
				<xs:attribute name="mdname" fixed="Contact Facsimile Telephone"/>
226
				<xs:attribute name="use" fixed="Optional"/>
227
			</xs:appinfo>
228
		</xs:annotation>
229
	</xs:element>
230
	<xs:simpleType name="cntfaxType">
231
		<xs:restriction base="FGDCstring"/>
232
	</xs:simpleType>
233
	<xs:element name="cntemail" type="cntemailType">
234
		<xs:annotation>
235
			<xs:documentation>The address of the electronic mailbox of the organization or individual.</xs:documentation>
236
			<xs:appinfo>
237
				<xs:attribute name="mdname" fixed="Contact Electronic Mail Address"/>
238
				<xs:attribute name="use" fixed="Optional"/>
239
			</xs:appinfo>
240
		</xs:annotation>
241
	</xs:element>
242
	<xs:simpleType name="cntemailType">
243
		<xs:restriction base="FGDCstring"/>
244
	</xs:simpleType>
245
	<xs:element name="hours" type="hoursType">
246
		<xs:annotation>
247
			<xs:documentation>Time period when individuals can speak to the organization or individual.</xs:documentation>
248
			<xs:appinfo>
249
				<xs:attribute name="mdname" fixed="Hours of Service"/>
250
				<xs:attribute name="use" fixed="Optional"/>
251
			</xs:appinfo>
252
		</xs:annotation>
253
	</xs:element>
254
	<xs:simpleType name="hoursType">
255
		<xs:restriction base="FGDCstring"/>
256
	</xs:simpleType>
257
	<xs:element name="cntinst" type="cntinstType">
258
		<xs:annotation>
259
			<xs:documentation>Supplemental instructions on how or when to contact the individual or organization.</xs:documentation>
260
			<xs:appinfo>
261
				<xs:attribute name="mdname" fixed="Contact Instructions"/>
262
				<xs:attribute name="use" fixed="Optional"/>
263
			</xs:appinfo>
264
		</xs:annotation>
265
	</xs:element>
266
	<xs:simpleType name="cntinstType">
267
		<xs:restriction base="FGDCstring"/>
268
	</xs:simpleType>
269
</xs:schema>