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="metainfo" type="metainfoType">
5
		<xs:annotation>
6
			<xs:documentation>Information on the currentness of the metadata information, and the responsible party.</xs:documentation>
7
			<xs:appinfo>
8
				<xs:attribute name="mdname" fixed="Metadata Reference Information"/>
9
				<xs:attribute name="use" fixed="Mandatory"/>
10
				<xs:attribute name="other-validation-rules" fixed="checkChron([metd,metrd]);checkChron([metrd,metfrd])"/>
11
			</xs:appinfo>
12
		</xs:annotation>
13
	</xs:element>
14
	<xs:complexType name="metainfoType">
15
		<xs:sequence>
16
			<xs:element ref="metd"/>
17
			<xs:element ref="metrd" minOccurs="0"/>
18
			<xs:element ref="metfrd" minOccurs="0"/>
19
			<xs:element ref="metc"/>
20
			<xs:element ref="metstdn"/>
21
			<xs:element ref="metstdv"/>
22
			<xs:element ref="mettc" minOccurs="0"/>
23
			<xs:element ref="metac" minOccurs="0"/>
24
			<xs:element ref="metuc" minOccurs="0"/>
25
			<xs:element ref="metsi" minOccurs="0"/>
26
			<xs:element ref="metextns" minOccurs="0" maxOccurs="unbounded"/>
27
		</xs:sequence>
28
	</xs:complexType>
29
	<xs:element name="metd" type="metdType">
30
		<xs:annotation>
31
			<xs:documentation>The date that the metadata were created or last updated.</xs:documentation>
32
			<xs:appinfo>
33
				<xs:attribute name="mdname" fixed="Metadata Date"/>
34
				<xs:attribute name="use" fixed="Mandatory"/>
35
				<xs:attribute name="string-input-format" fixed="YYYY|YYYYMM|YYYYMMDD|bcYYYY|bcYYYYMM|bcYYYYMMDD|ccYYYYY...|cdYYYYY..."/>
36
			</xs:appinfo>
37
		</xs:annotation>
38
	</xs:element>
39
	<xs:simpleType name="metdType">
40
		<xs:restriction base="FGDCdate"/>
41
	</xs:simpleType>
42
	<xs:element name="metrd" type="metrdType">
43
		<xs:annotation>
44
			<xs:documentation>The date of the latest review of the metadata entry.</xs:documentation>
45
			<xs:appinfo>
46
				<xs:attribute name="mdname" fixed="Metadata Review Date"/>
47
				<xs:attribute name="use" fixed="Optional"/>
48
				<xs:attribute name="string-input-format" fixed="YYYY|YYYYMM|YYYYMMDD|bcYYYY|bcYYYYMM|bcYYYYMMDD|ccYYYYY...|cdYYYYY...|Metadata Review Date later than Metadata Date"/>
49
			</xs:appinfo>
50
		</xs:annotation>
51
	</xs:element>
52
	<xs:simpleType name="metrdType">
53
		<xs:restriction base="FGDCdate"/>
54
	</xs:simpleType>
55
	<xs:element name="metfrd" type="metfrdType">
56
		<xs:annotation>
57
			<xs:documentation>The date by which the metadata entry should be reviewed.</xs:documentation>
58
			<xs:appinfo>
59
				<xs:attribute name="mdname" fixed="Metadata Future Review Date"/>
60
				<xs:attribute name="use" fixed="Optional"/>
61
				<xs:attribute name="string-input-format" fixed="YYYY|YYYYMM|YYYYMMDD|bcYYYY|bcYYYYMM|bcYYYYMMDD|ccYYYYY...|cdYYYYY...|Metadata Future Review Date later than Metadata Review Date"/>
62
			</xs:appinfo>
63
		</xs:annotation>
64
	</xs:element>
65
	<xs:simpleType name="metfrdType">
66
		<xs:restriction base="FGDCdate"/>
67
	</xs:simpleType>
68
	<xs:element name="metc" type="metcType">
69
		<xs:annotation>
70
			<xs:documentation>The party responsible for the metadata information.</xs:documentation>
71
			<xs:appinfo>
72
				<xs:attribute name="mdname" fixed="Metadata Contact"/>
73
				<xs:attribute name="use" fixed="Mandatory"/>
74
			</xs:appinfo>
75
		</xs:annotation>
76
	</xs:element>
77
	<xs:complexType name="metcType">
78
		<xs:sequence>
79
			<xs:element ref="cntinfo"/>
80
		</xs:sequence>
81
	</xs:complexType>
82
	<xs:element name="metstdn" type="metstdnType">
83
		<xs:annotation>
84
			<xs:documentation>The name of the metadata standard used to document the data set.</xs:documentation>
85
			<xs:appinfo>
86
				<xs:attribute name="mdname" fixed="Metadata Standard Name"/>
87
				<xs:attribute name="use" fixed="Mandatory"/>
88
			</xs:appinfo>
89
		</xs:annotation>
90
	</xs:element>
91
	<xs:simpleType name="metstdnType">
92
		<xs:union memberTypes="FGDCstring">
93
			<xs:simpleType>
94
				<xs:restriction base="xs:token">
95
					<xs:enumeration value="FGDC Content Standard for Digital Geospatial Metadata"/>
96
					<xs:enumeration value="Content Standard for National Biological Information Infrastructure Metadata"/>
97
					<xs:enumeration value="FGDC Biological Data Profile of the Content Standard for Digital Geospatial Metadata"/>
98
				</xs:restriction>
99
			</xs:simpleType>
100
		</xs:union>
101
	</xs:simpleType>
102
	<xs:element name="metstdv" type="metstdvType">
103
		<xs:annotation>
104
			<xs:documentation>Identification of the version of the metadata standard used to document the data set.</xs:documentation>
105
			<xs:appinfo>
106
				<xs:attribute name="mdname" fixed="Metadata Standard Version"/>
107
				<xs:attribute name="use" fixed="Mandatory"/>
108
			</xs:appinfo>
109
		</xs:annotation>
110
	</xs:element>
111
	<xs:simpleType name="metstdvType">
112
		<xs:restriction base="FGDCstring"/>
113
	</xs:simpleType>
114
	<xs:element name="mettc" type="mettcType">
115
		<xs:annotation>
116
			<xs:documentation>Form used to convey time of day information in the metadata entry.  Used if time of day information is included in the metadata for a data set.</xs:documentation>
117
			<xs:appinfo>
118
				<xs:attribute name="mdname" fixed="Metadata Time Convention"/>
119
				<xs:attribute name="use" fixed="Mandatory-if-applicable"/>
120
			</xs:appinfo>
121
		</xs:annotation>
122
	</xs:element>
123
	<xs:simpleType name="mettcType">
124
		<xs:restriction base="xs:token">
125
			<xs:enumeration value="local time"/>
126
			<xs:enumeration value="local time with time differential factor"/>
127
			<xs:enumeration value="universal time"/>
128
		</xs:restriction>
129
	</xs:simpleType>
130
	<xs:element name="metac" type="metacType">
131
		<xs:annotation>
132
			<xs:documentation>Restrictions and legal prerequisites for accessing the metadata.  These include any access constraints applied to assure the protection of privacy or intellectual property, and any special restrictions or limitations on obtaining the metadata.</xs:documentation>
133
			<xs:appinfo>
134
				<xs:attribute name="mdname" fixed="Metadata Access Constraints"/>
135
				<xs:attribute name="use" fixed="Optional"/>
136
			</xs:appinfo>
137
		</xs:annotation>
138
	</xs:element>
139
	<xs:simpleType name="metacType">
140
		<xs:restriction base="FGDCstring"/>
141
	</xs:simpleType>
142
	<xs:element name="metuc" type="metucType">
143
		<xs:annotation>
144
			<xs:documentation>Restrictions and legal prerequisites for using the metadata after access is granted.  These include any metadata use constraints applied to assure the protection of privacy or intellectual property, and any special restrictions or limitations on using the metadata.</xs:documentation>
145
			<xs:appinfo>
146
				<xs:attribute name="mdname" fixed="Metadata Use Constraints"/>
147
				<xs:attribute name="use" fixed="Optional"/>
148
			</xs:appinfo>
149
		</xs:annotation>
150
	</xs:element>
151
	<xs:simpleType name="metucType">
152
		<xs:restriction base="FGDCstring"/>
153
	</xs:simpleType>
154
	<xs:element name="metsi" type="metsiType">
155
		<xs:annotation>
156
			<xs:documentation>Handling restrictions imposed on the metadata because of national security,  privacy, or other concerns.</xs:documentation>
157
			<xs:appinfo>
158
				<xs:attribute name="mdname" fixed="Metadata Security Information"/>
159
				<xs:attribute name="use" fixed="Optional"/>
160
			</xs:appinfo>
161
		</xs:annotation>
162
	</xs:element>
163
	<xs:complexType name="metsiType">
164
		<xs:sequence>
165
			<xs:element ref="metscs"/>
166
			<xs:element ref="metsc"/>
167
			<xs:element ref="metshd"/>
168
		</xs:sequence>
169
	</xs:complexType>
170
	<xs:element name="metscs" type="FGDCstring">
171
		<xs:annotation>
172
			<xs:documentation>Name of the classification system for the metadata.</xs:documentation>
173
			<xs:appinfo>
174
				<xs:attribute name="mdname" fixed="Metadata Security Classification System"/>
175
				<xs:attribute name="use" fixed="Mandatory"/>
176
			</xs:appinfo>
177
		</xs:annotation>
178
	</xs:element>
179
	<xs:element name="metsc" type="metscType">
180
		<xs:annotation>
181
			<xs:documentation>Name of the handling restrictions on the metadata.</xs:documentation>
182
			<xs:appinfo>
183
				<xs:attribute name="mdname" fixed="Metadata Security Classification"/>
184
				<xs:attribute name="use" fixed="Mandatory"/>
185
			</xs:appinfo>
186
		</xs:annotation>
187
	</xs:element>
188
	<xs:simpleType name="metscType">
189
		<xs:union memberTypes="FGDCstring">
190
			<xs:simpleType>
191
				<xs:restriction base="xs:token">
192
					<xs:enumeration value="Confidential"/>
193
					<xs:enumeration value="Restricted"/>
194
					<xs:enumeration value="Secret"/>
195
					<xs:enumeration value="Sensitive"/>
196
					<xs:enumeration value="Top Secret"/>
197
					<xs:enumeration value="Unclassified"/>
198
				</xs:restriction>
199
			</xs:simpleType>
200
		</xs:union>
201
	</xs:simpleType>
202
	<xs:element name="metshd" type="metshdType">
203
		<xs:annotation>
204
			<xs:documentation>"Additional information about the restrictions on handling the metadata.</xs:documentation>
205
			<xs:appinfo>
206
				<xs:attribute name="mdname" fixed="Metadata Security Handling Description"/>
207
				<xs:attribute name="use" fixed="Mandatory"/>
208
			</xs:appinfo>
209
		</xs:annotation>
210
	</xs:element>
211
	<xs:simpleType name="metshdType">
212
		<xs:restriction base="FGDCstring"/>
213
	</xs:simpleType>
214
	<xs:element name="metextns" type="metextnsType">
215
		<xs:annotation>
216
			<xs:documentation>A reference to extended elements to the standard which may be defined by a metadata producer or a user community.  Extended elements are elements outside the Standard, but needed by the metadata producer.  If extended elements are created, they must follow the guidelines in Appendix D, Guidelines for Creating Extended Elements to the Content Standard for Digital Geospatial Metadata.</xs:documentation>
217
			<xs:appinfo>
218
				<xs:attribute name="mdname" fixed="Metadata Extensions"/>
219
				<xs:attribute name="use" fixed="Mandatory-if-applicable"/>
220
				<xs:attribute name="other-validation-rules" fixed="checkProperties([onlink,metprof])"/>
221
			</xs:appinfo>
222
		</xs:annotation>
223
	</xs:element>
224
	<xs:complexType name="metextnsType">
225
		<xs:sequence>
226
			<xs:element name="onlink" minOccurs="0" maxOccurs="unbounded">
227
				<xs:simpleType>
228
					<xs:restriction base="FGDCstring"/>
229
				</xs:simpleType>
230
			</xs:element>
231
			<xs:element ref="metprof" minOccurs="0"/>
232
		</xs:sequence>
233
	</xs:complexType>
234
	<xs:element name="metprof" type="metprofType">
235
		<xs:annotation>
236
			<xs:documentation>The name given to a document that describes the application of the Standard to a specific user community.</xs:documentation>
237
			<xs:appinfo>
238
				<xs:attribute name="mdname" fixed="Profile Name"/>
239
				<xs:attribute name="use" fixed="Mandatory-if-applicable"/>
240
			</xs:appinfo>
241
		</xs:annotation>
242
	</xs:element>
243
	<xs:simpleType name="metprofType">
244
		<xs:restriction base="FGDCstring"/>
245
	</xs:simpleType>
246
</xs:schema>
(8-8/11)