Project

General

Profile

1
<?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="timeinfo" type="timeinfoType">
5
		<xs:annotation>
6
			<xs:documentation>Information about the date and time of an event.</xs:documentation>
7
			<xs:appinfo>
8
				<xs:attribute name="mdname" fixed="Time Period Information"/>
9
				<xs:attribute name="use" fixed="Mandatory"/>
10
				<xs:attribute name="other-validation-rules" fixed="checkOr([sngdate,mdattim,rngdates])"/>
11
			</xs:appinfo>
12
		</xs:annotation>
13
	</xs:element>
14
	<xs:complexType name="timeinfoType">
15
		<xs:choice>
16
			<xs:element ref="sngdate"/>
17
			<xs:element ref="mdattim"/>
18
			<xs:element ref="rngdates"/>
19
		</xs:choice>
20
	</xs:complexType>
21
	<xs:element name="sngdate" type="sngdateType">
22
		<xs:annotation>
23
			<xs:documentation>Means of encoding a single date and time.</xs:documentation>
24
			<xs:appinfo>
25
				<xs:attribute name="mdname" fixed="Single Date/Time"/>
26
				<xs:attribute name="use" fixed="Mandatory"/>
27
			</xs:appinfo>
28
		</xs:annotation>
29
	</xs:element>
30
	<xs:complexType name="sngdateType">
31
		<xs:choice>
32
			<xs:sequence>
33
				<xs:element ref="caldate"/>
34
				<xs:element ref="time" minOccurs="0"/>
35
			</xs:sequence>
36
			<xs:element ref="geolage"/>
37
		</xs:choice>
38
	</xs:complexType>
39
	<xs:element name="caldate" type="caldateType">
40
		<xs:annotation>
41
			<xs:documentation>The year (and optionally month, or month and day).</xs:documentation>
42
			<xs:appinfo>
43
				<xs:attribute name="mdname" fixed="Calendar Date"/>
44
				<xs:attribute name="use" fixed="Mandatory"/>
45
				<xs:attribute name="string-input-format" fixed="YYYY|YYYYMM|YYYYMMDD|bcYYYY|bcYYYYMM|bcYYYYMMDD|ccYYYYY...|cdYYYYY..."/>
46
			</xs:appinfo>
47
		</xs:annotation>
48
	</xs:element>
49
	<xs:simpleType name="caldateType">
50
		<xs:union memberTypes="FGDCdate">
51
			<xs:simpleType>
52
				<xs:restriction base="xs:token">
53
					<xs:enumeration value="Unknown"/>
54
				</xs:restriction>
55
			</xs:simpleType>
56
		</xs:union>
57
	</xs:simpleType>
58
	<xs:element name="time" type="timeType">
59
		<xs:annotation>
60
			<xs:documentation>The hour (and optionally minute, or minute and second) of the day.</xs:documentation>
61
			<xs:appinfo>
62
				<xs:attribute name="mdname" fixed="Time of Day"/>
63
				<xs:attribute name="use" fixed="Optional"/>
64
				<xs:attribute name="string-input-format" fixed="HH|HHMM|HHMMSS|HHMMSSSS|HHMMSSSSZ|HHMMSSSSshhmm|Values must follow the 24-hour timekeeping system"/>
65
			</xs:appinfo>
66
		</xs:annotation>
67
	</xs:element>
68
	<xs:simpleType name="timeType">
69
		<xs:union memberTypes="FGDCtime">
70
			<xs:simpleType>
71
				<xs:restriction base="xs:token">
72
					<xs:enumeration value="Unknown"/>
73
				</xs:restriction>
74
			</xs:simpleType>
75
		</xs:union>
76
	</xs:simpleType>
77
	<xs:element name="mdattim" type="mdattimType">
78
		<xs:annotation>
79
			<xs:documentation>Means of encoding multiple individual dates and times.</xs:documentation>
80
			<xs:appinfo>
81
				<xs:attribute name="mdname" fixed="Multiple Dates/Times"/>
82
				<xs:attribute name="use" fixed="Mandatory"/>
83
			</xs:appinfo>
84
		</xs:annotation>
85
	</xs:element>
86
	<xs:complexType name="mdattimType">
87
		<xs:sequence>
88
			<xs:element ref="sngdate" minOccurs="2" maxOccurs="unbounded"/>
89
		</xs:sequence>
90
	</xs:complexType>
91
	<xs:element name="rngdates" type="rngdatesType">
92
		<xs:annotation>
93
			<xs:documentation>Means of encoding a range of dates and times.</xs:documentation>
94
			<xs:appinfo>
95
				<xs:attribute name="mdname" fixed="Range of Dates/Times"/>
96
				<xs:attribute name="use" fixed="Mandatory"/>
97
				<xs:attribute name="other-validation-rules" fixed="checkChron([begdate,enddate])"/>
98
			</xs:appinfo>
99
		</xs:annotation>
100
	</xs:element>
101
	<xs:complexType name="rngdatesType">
102
		<xs:choice>
103
			<xs:sequence>
104
				<xs:element ref="begdate"/>
105
				<xs:element ref="begtime" minOccurs="0"/>
106
				<xs:element ref="enddate"/>
107
				<xs:element ref="endtime" minOccurs="0"/>
108
			</xs:sequence>
109
			<xs:sequence>
110
				<xs:element ref="beggeol"/>
111
				<xs:element ref="endgeol"/>
112
			</xs:sequence>
113
		</xs:choice>
114
	</xs:complexType>
115
	<xs:element name="begdate" type="begdateType">
116
		<xs:annotation>
117
			<xs:documentation>The first year (and optionally month, or month and day) of the event.</xs:documentation>
118
			<xs:appinfo>
119
				<xs:attribute name="mdname" fixed="Beginning Date"/>
120
				<xs:attribute name="use" fixed="Mandatory"/>
121
				<xs:attribute name="string-input-format" fixed="YYYY|YYYYMM|YYYYMMDD|bcYYYY|bcYYYYMM|bcYYYYMMDD|ccYYYYY...|cdYYYYY...|Beginning Date &lt; Ending Date"/>
122
			</xs:appinfo>
123
		</xs:annotation>
124
	</xs:element>
125
	<xs:simpleType name="begdateType">
126
		<xs:union memberTypes="FGDCdate">
127
			<xs:simpleType>
128
				<xs:restriction base="xs:token">
129
					<xs:enumeration value="Unknown"/>
130
				</xs:restriction>
131
			</xs:simpleType>
132
		</xs:union>
133
	</xs:simpleType>
134
	<xs:element name="begtime" type="begtimeType">
135
		<xs:annotation>
136
			<xs:documentation>The first hour (and optionally minute, or minute and second) of the day for the event.</xs:documentation>
137
			<xs:appinfo>
138
				<xs:attribute name="mdname" fixed="Beginning Time"/>
139
				<xs:attribute name="use" fixed="Optional"/>
140
				<xs:attribute name="string-input-format" fixed="HH|HHMM|HHMMSS|HHMMSSSS|HHMMSSSSZ|HHMMSSSSshhmm|Values must follow the 24-hour timekeeping system"/>
141
			</xs:appinfo>
142
		</xs:annotation>
143
	</xs:element>
144
	<xs:simpleType name="begtimeType">
145
		<xs:union memberTypes="FGDCtime">
146
			<xs:simpleType>
147
				<xs:restriction base="xs:token">
148
					<xs:enumeration value="Unknown"/>
149
				</xs:restriction>
150
			</xs:simpleType>
151
		</xs:union>
152
	</xs:simpleType>
153
	<xs:element name="enddate" type="enddateType">
154
		<xs:annotation>
155
			<xs:documentation>The last year (and optionally month, or month and day) for the event.</xs:documentation>
156
			<xs:appinfo>
157
				<xs:attribute name="mdname" fixed="Ending Date"/>
158
				<xs:attribute name="use" fixed="Mandatory"/>
159
				<xs:attribute name="string-input-format" fixed="YYYY|YYYYMM|YYYYMMDD|bcYYYY|bcYYYYMM|bcYYYYMMDD|ccYYYYY...|cdYYYYY..."/>
160
			</xs:appinfo>
161
		</xs:annotation>
162
	</xs:element>
163
	<xs:simpleType name="enddateType">
164
		<xs:union memberTypes="FGDCdate">
165
			<xs:simpleType>
166
				<xs:restriction base="xs:token">
167
					<xs:enumeration value="Unknown"/>
168
					<xs:enumeration value="Present"/>
169
				</xs:restriction>
170
			</xs:simpleType>
171
		</xs:union>
172
	</xs:simpleType>
173
	<xs:element name="endtime" type="endtimeType">
174
		<xs:annotation>
175
			<xs:documentation>The last hour (and optionally minute, or minute and  second) of the day for the event.</xs:documentation>
176
			<xs:appinfo>
177
				<xs:attribute name="mdname" fixed="Ending Time"/>
178
				<xs:attribute name="use" fixed="Optional"/>
179
				<xs:attribute name="string-input-format" fixed="HH|HHMM|HHMMSS|HHMMSSSS|HHMMSSSSZ|HHMMSSSSshhmm|Values must follow the 24-hour timekeeping system"/>
180
			</xs:appinfo>
181
		</xs:annotation>
182
	</xs:element>
183
	<xs:simpleType name="endtimeType">
184
		<xs:union memberTypes="FGDCtime">
185
			<xs:simpleType>
186
				<xs:restriction base="xs:token">
187
					<xs:enumeration value="Unknown"/>
188
				</xs:restriction>
189
			</xs:simpleType>
190
		</xs:union>
191
	</xs:simpleType>
192
	<xs:element name="geolage" type="T_geolage">
193
		<xs:annotation>
194
			<xs:documentation>A name, code, or date describing an event or period in geologic time, expressed either as an absolute date calculated using a named dating method, or as a relative date that is drawn from stratigraphy or biostratigraphy.</xs:documentation>
195
			<xs:appinfo>
196
				<xs:attribute name="mdname" fixed="Geologic Age"/>
197
				<xs:attribute name="use" fixed="Mandatory"/>
198
			</xs:appinfo>
199
		</xs:annotation>
200
	</xs:element>
201
	<xs:complexType name="T_geolage">
202
		<xs:sequence>
203
			<xs:element ref="geolscal"/>
204
			<xs:element ref="geolest"/>
205
			<xs:element ref="geolun" minOccurs="0"/>
206
			<xs:element ref="geolexpl" minOccurs="0"/>
207
			<xs:element ref="geolcit" minOccurs="0" maxOccurs="unbounded"/>
208
		</xs:sequence>
209
	</xs:complexType>
210
	<xs:element name="geolscal" type="geolscalType">
211
		<xs:annotation>
212
			<xs:documentation>Name of a recognized geologic time scale.  This includes 'Absolute' as the name of the time scale for measuring geologic dates before the present and names of geologic dating systems that are arrangements of symbols or names in order of relative geologic time.</xs:documentation>
213
			<xs:appinfo>
214
				<xs:attribute name="mdname" fixed="Geologic Time Scale"/>
215
				<xs:attribute name="use" fixed="Mandatory"/>
216
			</xs:appinfo>
217
		</xs:annotation>
218
	</xs:element>
219
	<xs:simpleType name="geolscalType">
220
		<xs:union memberTypes="FGDCstring">
221
			<xs:simpleType>
222
				<xs:restriction base="xs:token">
223
					<xs:enumeration value="Absolute"/>
224
					<xs:enumeration value="Geomagnetic Polarity Time Scale"/>
225
					<xs:enumeration value="International Geological Time Scale"/>
226
					<xs:enumeration value="Oxygen-Isotope"/>
227
				</xs:restriction>
228
			</xs:simpleType>
229
		</xs:union>
230
	</xs:simpleType>
231
	<xs:element name="geolest" type="geolestType">
232
		<xs:annotation>
233
			<xs:documentation>Either an absolute geologic date or a relative geologic age name describing an event or period in geologic time based on the Geologic Time Scale.</xs:documentation>
234
			<xs:appinfo>
235
				<xs:attribute name="mdname" fixed="Geologic Age Estimate"/>
236
				<xs:attribute name="use" fixed="Mandatory"/>
237
			</xs:appinfo>
238
		</xs:annotation>
239
	</xs:element>
240
	<xs:simpleType name="geolestType">
241
		<xs:restriction base="FGDCstring"/>
242
	</xs:simpleType>
243
	<xs:element name="geolun" type="geolunType">
244
		<xs:annotation>
245
			<xs:documentation>The error estimate for the geologic time.  This should include the units of measure, a description of what the error estimate represents and how it was calculated.</xs:documentation>
246
			<xs:appinfo>
247
				<xs:attribute name="mdname" fixed="Geologic Age Uncertainty"/>
248
				<xs:attribute name="use" fixed="Mandatory-if-applicable"/>
249
			</xs:appinfo>
250
		</xs:annotation>
251
	</xs:element>
252
	<xs:simpleType name="geolunType">
253
		<xs:restriction base="FGDCstring"/>
254
	</xs:simpleType>
255
	<xs:element name="geolexpl" type="geolexplType">
256
		<xs:annotation>
257
			<xs:documentation>The name and/or description of the method used to calculate the Geologic Age Estimate.  Detailed information about the method may be provided through references contained in the Geologic Citation.</xs:documentation>
258
			<xs:appinfo>
259
				<xs:attribute name="mdname" fixed="Geologic Age Explanation"/>
260
				<xs:attribute name="use" fixed="Mandatory-if-applicable"/>
261
			</xs:appinfo>
262
		</xs:annotation>
263
	</xs:element>
264
	<xs:simpleType name="geolexplType">
265
		<xs:restriction base="FGDCstring"/>
266
	</xs:simpleType>
267
	<xs:element name="geolcit" type="T_geolcit">
268
		<xs:annotation>
269
			<xs:documentation>Citation for works providing detailed information about any element of the Geologic Age.  For example, a publication describing the methodology used for carbon dating or describing the basic geologic time scale in more detail could be cited here.</xs:documentation>
270
			<xs:appinfo>
271
				<xs:attribute name="mdname" fixed="Geologic Citation"/>
272
				<xs:attribute name="use" fixed="Optional"/>
273
			</xs:appinfo>
274
		</xs:annotation>
275
	</xs:element>
276
	<xs:complexType name="T_geolcit">
277
		<xs:sequence>
278
			<xs:element ref="citeinfo"/>
279
		</xs:sequence>
280
	</xs:complexType>
281
	<xs:element name="beggeol" type="T_beggeol">
282
		<xs:annotation>
283
			<xs:documentation>A name, code, or date for the beginning of an event or period in geologic time.</xs:documentation>
284
			<xs:appinfo>
285
				<xs:attribute name="mdname" fixed="Beginning Geologic Age"/>
286
				<xs:attribute name="use" fixed="Mandatory"/>
287
			</xs:appinfo>
288
		</xs:annotation>
289
	</xs:element>
290
	<xs:complexType name="T_beggeol">
291
		<xs:sequence>
292
			<xs:element ref="geolage"/>
293
		</xs:sequence>
294
	</xs:complexType>
295
	<xs:element name="endgeol" type="T_endgeol">
296
		<xs:annotation>
297
			<xs:documentation>A name, code, or date for the end of an event or period in geologic dates relevant to a data set.</xs:documentation>
298
			<xs:appinfo>
299
				<xs:attribute name="mdname" fixed="Ending Geologic Age"/>
300
				<xs:attribute name="use" fixed="Mandatory"/>
301
			</xs:appinfo>
302
		</xs:annotation>
303
	</xs:element>
304
	<xs:complexType name="T_endgeol">
305
		<xs:sequence>
306
			<xs:element ref="geolage"/>
307
		</xs:sequence>
308
	</xs:complexType>
309
</xs:schema>
(10-10/11)