124 |
jpm |
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
2 |
<!-- ===================================================================== -->
|
|
|
3 |
<!-- Introduction -->
|
|
|
4 |
<!-- ===================================================================== -->
|
|
|
5 |
<!-- Darwin Core XML schema -->
|
|
|
6 |
<!-- History: -->
|
|
|
7 |
<!-- version 0.7 2007-04-23 R. De Giovanni: Changed namespace -->
|
|
|
8 |
<!-- version 0.6 2007-04-17 R. De Giovanni: Added qualification for -->
|
|
|
9 |
<!-- types included from tdwg_basetypes.xsd -->
|
|
|
10 |
<!-- version 0.5 2007-02-14 J. Wieczorek, R. De Giovanni, J. de la Torre -->
|
|
|
11 |
<!-- Status: -->
|
|
|
12 |
<!-- Ready for testing -->
|
|
|
13 |
<!-- See http://wiki.tdwg.org for current status of this standard. -->
|
|
|
14 |
<!-- ===================================================================== -->
|
|
|
15 |
<!-- Schema -->
|
|
|
16 |
<!-- ===================================================================== -->
|
|
|
17 |
<xs:schema targetNamespace="http://rs.tdwg.org/dwc/dwcore/" xmlns:dwe="http://rs.tdwg.org/dwc/dwelement" xmlns:dwc="http://rs.tdwg.org/dwc/dwcore/" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="0.7">
|
|
|
18 |
|
|
|
19 |
<!-- ============================================================== -->
|
|
|
20 |
<!-- Documentation -->
|
|
|
21 |
<!-- ============================================================== -->
|
|
|
22 |
<xs:annotation>
|
|
|
23 |
<xs:documentation> Protocol independent XML Schema for Darwin Core. For element
|
|
|
24 |
documentation, see
|
|
|
25 |
http://wiki.tdwg.org/twiki/bin/view/DarwinCore/DarwinCoreDraftStandard.
|
|
|
26 |
</xs:documentation>
|
|
|
27 |
</xs:annotation>
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
<!-- ============================================================== -->
|
|
|
31 |
<!-- Includes -->
|
|
|
32 |
<!-- ============================================================== -->
|
|
|
33 |
<!-- include - inclusions must be top-level elements (children of -->
|
|
|
34 |
<!-- the xs:schema element. Inclusion is restricted to the -->
|
|
|
35 |
<!-- definition of a single namespace. -->
|
|
|
36 |
<!-- ============================================================== -->
|
|
|
37 |
<xs:include schemaLocation="http://rs.tdwg.org/dwc/tdwg_basetypes.xsd"/>
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
<!-- ============================================================== -->
|
|
|
41 |
<!-- Imports -->
|
|
|
42 |
<!-- ============================================================== -->
|
|
|
43 |
<!-- import - must be used to import definitions from other -->
|
|
|
44 |
<!-- namespaces. -->
|
|
|
45 |
<!-- ============================================================== -->
|
|
|
46 |
<xs:import namespace="http://rs.tdwg.org/dwc/dwelement" schemaLocation="http://rs.tdwg.org/dwc/tdwg_dw_element.xsd"/>
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
<!-- ============================================================== -->
|
|
|
50 |
<!-- Elements -->
|
|
|
51 |
<!-- ============================================================== -->
|
|
|
52 |
<xs:element name="GlobalUniqueIdentifier" type="xs:string" substitutionGroup="dwe:dwElement" nillable="false">
|
|
|
53 |
<xs:annotation>
|
|
|
54 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/GlobalUniqueIdentifier" xml:lang="en"/>
|
|
|
55 |
</xs:annotation>
|
|
|
56 |
</xs:element>
|
|
|
57 |
<xs:element name="DateLastModified" type="xs:dateTime" substitutionGroup="dwe:dwElement" nillable="false">
|
|
|
58 |
<xs:annotation>
|
|
|
59 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/DateLastModified" xml:lang="en"/>
|
|
|
60 |
</xs:annotation>
|
|
|
61 |
</xs:element>
|
|
|
62 |
<xs:element name="BasisOfRecord" type="xs:string" substitutionGroup="dwe:dwElement" nillable="false">
|
|
|
63 |
<xs:annotation>
|
|
|
64 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/BasisOfRecord" xml:lang="en"/>
|
|
|
65 |
</xs:annotation>
|
|
|
66 |
</xs:element>
|
|
|
67 |
<xs:element name="InstitutionCode" type="xs:string" substitutionGroup="dwe:dwElement" nillable="false">
|
|
|
68 |
<xs:annotation>
|
|
|
69 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/InstitutionCode" xml:lang="en"/>
|
|
|
70 |
</xs:annotation>
|
|
|
71 |
</xs:element>
|
|
|
72 |
<xs:element name="CollectionCode" type="xs:string" substitutionGroup="dwe:dwElement" nillable="false">
|
|
|
73 |
<xs:annotation>
|
|
|
74 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/CollectionCode" xml:lang="en"/>
|
|
|
75 |
</xs:annotation>
|
|
|
76 |
</xs:element>
|
|
|
77 |
<xs:element name="CatalogNumber" type="xs:string" substitutionGroup="dwe:dwElement" nillable="false">
|
|
|
78 |
<xs:annotation>
|
|
|
79 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/CatalogNumber" xml:lang="en"/>
|
|
|
80 |
</xs:annotation>
|
|
|
81 |
</xs:element>
|
|
|
82 |
<xs:element name="InformationWithheld" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
83 |
<xs:annotation>
|
|
|
84 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/InformationWithheld" xml:lang="en"/>
|
|
|
85 |
</xs:annotation>
|
|
|
86 |
</xs:element>
|
|
|
87 |
<xs:element name="Remarks" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
88 |
<xs:annotation>
|
|
|
89 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Remarks" xml:lang="en"/>
|
|
|
90 |
</xs:annotation>
|
|
|
91 |
</xs:element>
|
|
|
92 |
<xs:element name="ScientificName" type="xs:string" substitutionGroup="dwe:dwElement" nillable="false">
|
|
|
93 |
<xs:annotation>
|
|
|
94 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/ScientificName" xml:lang="en"/>
|
|
|
95 |
</xs:annotation>
|
|
|
96 |
</xs:element>
|
|
|
97 |
<xs:element name="HigherTaxon" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
98 |
<xs:annotation>
|
|
|
99 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/HigherTaxon" xml:lang="en"/>
|
|
|
100 |
</xs:annotation>
|
|
|
101 |
</xs:element>
|
|
|
102 |
<xs:element name="Kingdom" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
103 |
<xs:annotation>
|
|
|
104 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Kingdom" xml:lang="en"/>
|
|
|
105 |
</xs:annotation>
|
|
|
106 |
</xs:element>
|
|
|
107 |
<xs:element name="Phylum" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
108 |
<xs:annotation>
|
|
|
109 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Phylum" xml:lang="en"/>
|
|
|
110 |
</xs:annotation>
|
|
|
111 |
</xs:element>
|
|
|
112 |
<xs:element name="Class" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
113 |
<xs:annotation>
|
|
|
114 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Class" xml:lang="en"/>
|
|
|
115 |
</xs:annotation>
|
|
|
116 |
</xs:element>
|
|
|
117 |
<xs:element name="Order" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
118 |
<xs:annotation>
|
|
|
119 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Order" xml:lang="en"/>
|
|
|
120 |
</xs:annotation>
|
|
|
121 |
</xs:element>
|
|
|
122 |
<xs:element name="Family" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
123 |
<xs:annotation>
|
|
|
124 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Family" xml:lang="en"/>
|
|
|
125 |
</xs:annotation>
|
|
|
126 |
</xs:element>
|
|
|
127 |
<xs:element name="Genus" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
128 |
<xs:annotation>
|
|
|
129 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Genus" xml:lang="en"/>
|
|
|
130 |
</xs:annotation>
|
|
|
131 |
</xs:element>
|
|
|
132 |
<xs:element name="SpecificEpithet" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
133 |
<xs:annotation>
|
|
|
134 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/SpecificEpithet" xml:lang="en"/>
|
|
|
135 |
</xs:annotation>
|
|
|
136 |
</xs:element>
|
|
|
137 |
<xs:element name="InfraspecificRank" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
138 |
<xs:annotation>
|
|
|
139 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/InfraspecificRank" xml:lang="en"/>
|
|
|
140 |
</xs:annotation>
|
|
|
141 |
</xs:element>
|
|
|
142 |
<xs:element name="InfraspecificEpithet" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
143 |
<xs:annotation>
|
|
|
144 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/InfraspecificEpithet" xml:lang="en"/>
|
|
|
145 |
</xs:annotation>
|
|
|
146 |
</xs:element>
|
|
|
147 |
<xs:element name="AuthorYearOfScientificName" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
148 |
<xs:annotation>
|
|
|
149 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/AuthorYearOfScientificName" xml:lang="en"/>
|
|
|
150 |
</xs:annotation>
|
|
|
151 |
</xs:element>
|
|
|
152 |
<xs:element name="NomenclaturalCode" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
153 |
<xs:annotation>
|
|
|
154 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/NomenclaturalCode" xml:lang="en"/>
|
|
|
155 |
</xs:annotation>
|
|
|
156 |
</xs:element>
|
|
|
157 |
<xs:element name="IdentificationQualifier" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
158 |
<xs:annotation>
|
|
|
159 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/IdentificationQualifier" xml:lang="en"/>
|
|
|
160 |
</xs:annotation>
|
|
|
161 |
</xs:element>
|
|
|
162 |
<xs:element name="HigherGeography" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
163 |
<xs:annotation>
|
|
|
164 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/HigherGeography" xml:lang="en"/>
|
|
|
165 |
</xs:annotation>
|
|
|
166 |
</xs:element>
|
|
|
167 |
<xs:element name="Continent" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
168 |
<xs:annotation>
|
|
|
169 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Continent" xml:lang="en"/>
|
|
|
170 |
</xs:annotation>
|
|
|
171 |
</xs:element>
|
|
|
172 |
<xs:element name="WaterBody" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
173 |
<xs:annotation>
|
|
|
174 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/WaterBody" xml:lang="en"/>
|
|
|
175 |
</xs:annotation>
|
|
|
176 |
</xs:element>
|
|
|
177 |
<xs:element name="IslandGroup" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
178 |
<xs:annotation>
|
|
|
179 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/IslandGroup" xml:lang="en"/>
|
|
|
180 |
</xs:annotation>
|
|
|
181 |
</xs:element>
|
|
|
182 |
<xs:element name="Island" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
183 |
<xs:annotation>
|
|
|
184 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Island" xml:lang="en"/>
|
|
|
185 |
</xs:annotation>
|
|
|
186 |
</xs:element>
|
|
|
187 |
<xs:element name="Country" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
188 |
<xs:annotation>
|
|
|
189 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Country" xml:lang="en"/>
|
|
|
190 |
</xs:annotation>
|
|
|
191 |
</xs:element>
|
|
|
192 |
<xs:element name="StateProvince" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
193 |
<xs:annotation>
|
|
|
194 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/StateProvince" xml:lang="en"/>
|
|
|
195 |
</xs:annotation>
|
|
|
196 |
</xs:element>
|
|
|
197 |
<xs:element name="County" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
198 |
<xs:annotation>
|
|
|
199 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/County" xml:lang="en"/>
|
|
|
200 |
</xs:annotation>
|
|
|
201 |
</xs:element>
|
|
|
202 |
<xs:element name="Locality" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
203 |
<xs:annotation>
|
|
|
204 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Locality" xml:lang="en"/>
|
|
|
205 |
</xs:annotation>
|
|
|
206 |
</xs:element>
|
|
|
207 |
<xs:element name="MinimumElevationInMeters" type="xs:double" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
208 |
<xs:annotation>
|
|
|
209 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/MinimumElevationInMeters" xml:lang="en"/>
|
|
|
210 |
</xs:annotation>
|
|
|
211 |
</xs:element>
|
|
|
212 |
<xs:element name="MaximumElevationInMeters" type="xs:double" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
213 |
<xs:annotation>
|
|
|
214 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/MaximumElevationInMeters" xml:lang="en"/>
|
|
|
215 |
</xs:annotation>
|
|
|
216 |
</xs:element>
|
|
|
217 |
<xs:element name="MinimumDepthInMeters" type="xs:double" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
218 |
<xs:annotation>
|
|
|
219 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/MinimumDepthInMeters" xml:lang="en"/>
|
|
|
220 |
</xs:annotation>
|
|
|
221 |
</xs:element>
|
|
|
222 |
<xs:element name="MaximumDepthInMeters" type="xs:double" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
223 |
<xs:annotation>
|
|
|
224 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/MaximumDepthInMeters" xml:lang="en"/>
|
|
|
225 |
</xs:annotation>
|
|
|
226 |
</xs:element>
|
|
|
227 |
<xs:element name="CollectingMethod" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
228 |
<xs:annotation>
|
|
|
229 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/CollectingMethod" xml:lang="en"/>
|
|
|
230 |
</xs:annotation>
|
|
|
231 |
</xs:element>
|
|
|
232 |
<xs:element name="ValidDistributionFlag" type="xs:boolean" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
233 |
<xs:annotation>
|
|
|
234 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/ValidDistributionFlag" xml:lang="en"/>
|
|
|
235 |
</xs:annotation>
|
|
|
236 |
</xs:element>
|
|
|
237 |
<xs:element name="EarliestDateCollected" type="dwc:DateTimeISO" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
238 |
<xs:annotation>
|
|
|
239 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/EarliestDateCollected" xml:lang="en"/>
|
|
|
240 |
</xs:annotation>
|
|
|
241 |
</xs:element>
|
|
|
242 |
<xs:element name="LatestDateCollected" type="dwc:DateTimeISO" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
243 |
<xs:annotation>
|
|
|
244 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/LatestDateCollected" xml:lang="en"/>
|
|
|
245 |
</xs:annotation>
|
|
|
246 |
</xs:element>
|
|
|
247 |
<xs:element name="DayOfYear" type="dwc:dayOfYearDataType" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
248 |
<xs:annotation>
|
|
|
249 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/DayOfYear" xml:lang="en"/>
|
|
|
250 |
</xs:annotation>
|
|
|
251 |
</xs:element>
|
|
|
252 |
<xs:element name="Collector" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
253 |
<xs:annotation>
|
|
|
254 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Collector" xml:lang="en"/>
|
|
|
255 |
</xs:annotation>
|
|
|
256 |
</xs:element>
|
|
|
257 |
<xs:element name="Sex" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
258 |
<xs:annotation>
|
|
|
259 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Sex" xml:lang="en"/>
|
|
|
260 |
</xs:annotation>
|
|
|
261 |
</xs:element>
|
|
|
262 |
<xs:element name="LifeStage" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
263 |
<xs:annotation>
|
|
|
264 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/LifeStage" xml:lang="en"/>
|
|
|
265 |
</xs:annotation>
|
|
|
266 |
</xs:element>
|
|
|
267 |
<xs:element name="Attributes" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
268 |
<xs:annotation>
|
|
|
269 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Attributes" xml:lang="en"/>
|
|
|
270 |
</xs:annotation>
|
|
|
271 |
</xs:element>
|
|
|
272 |
<xs:element name="ImageURL" type="xs:anyURI" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
273 |
<xs:annotation>
|
|
|
274 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/ImageURL" xml:lang="en"/>
|
|
|
275 |
</xs:annotation>
|
|
|
276 |
</xs:element>
|
|
|
277 |
<xs:element name="RelatedInformation" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
|
|
|
278 |
<xs:annotation>
|
|
|
279 |
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/RelatedInformation" xml:lang="en"/>
|
|
|
280 |
</xs:annotation>
|
|
|
281 |
</xs:element>
|
|
|
282 |
|
|
|
283 |
</xs:schema>
|