Project

General

Profile

« Previous | Next » 

Revision 8615

Add the three Darwin Core schemas required by the Dryad Metadata Profile (via imports).

View differences:

lib/schema/dwc/tdwg_basetypes.xsd
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- ==================================================================== -->
3
<!-- Introduction                                                         -->
4
<!-- ==================================================================== -->
5
<!-- Schema for a type library for custom Darwin Core data types.         -->
6
<!-- History:                                                             -->
7
<!--   version 1.0 2009-08-24 John Wieczorek                              --> 
8
<!--   version 0.5 2007-02-14 John Wieczorek                              --> 
9
<!-- Status:                                                              -->
10
<!--   Ready for use.                                                      -->
11

  
12
<!-- ==================================================================== -->
13
<!-- Schema                                                               -->
14
<!-- ==================================================================== -->
15
<xs:schema 
16
	xmlns:xs="http://www.w3.org/2001/XMLSchema"
17
	elementFormDefault="unqualified" version="0.5">
18

  
19
	<!-- ============================================================== -->
20
	<!-- Types                                                          -->
21
	<!-- ============================================================== -->
22
	<xs:simpleType name="nonEmptyString">
23
		<xs:restriction base="xs:string">
24
			<xs:minLength value="1"/>
25
		</xs:restriction>
26
	</xs:simpleType>
27
	
28
	<xs:simpleType name="positiveDouble">
29
	  <xs:restriction base="xs:double">
30
	    <xs:minExclusive value="0"/>
31
	  </xs:restriction>
32
	</xs:simpleType>
33

  
34
	<xs:simpleType name="dayOfYearDataType">
35
	  <xs:restriction base="xs:integer">
36
	    <xs:minInclusive value="1"/>
37
	    <xs:maxInclusive value="366"/>
38
	  </xs:restriction>
39
	</xs:simpleType>
40

  
41
	<xs:simpleType name="decimalLatitudeDataType">
42
	  <xs:restriction base="xs:double">
43
	    <xs:minInclusive value="-90"/>
44
	    <xs:maxInclusive value="90"/>
45
	  </xs:restriction>
46
	</xs:simpleType>
47

  
48
	<xs:simpleType name="decimalLongitudeDataType">
49
	  <xs:restriction base="xs:double">
50
	    <xs:minInclusive value="-180"/>
51
	    <xs:maxInclusive value="180"/>
52
	  </xs:restriction>
53
	</xs:simpleType>
54

  
55
	<xs:simpleType name="spatialFitDataType">
56
	  <xs:union>
57
	    <xs:simpleType>
58
	      <xs:restriction base="xs:double">
59
		<xs:minInclusive value="0"/>
60
		<xs:maxInclusive value="0"/>
61
	      </xs:restriction>
62
	    </xs:simpleType>
63
	    <xs:simpleType>
64
	      <xs:restriction base="xs:double">
65
		<xs:minInclusive value="1"/>
66
	      </xs:restriction>
67
	    </xs:simpleType>
68
	    <xs:simpleType>
69
	      <xs:restriction base="xs:NMTOKEN">
70
		<xs:enumeration value="undefined"/>
71
	      </xs:restriction>
72
	    </xs:simpleType>
73
	  </xs:union>
74
	</xs:simpleType>
75

  
76
        <xs:simpleType name="dateTimeISO">
77
          <xs:annotation>
78
            <xs:documentation xml:lang="en">
79
              The date and time expressed in a way conforming to a subset of ISO 8601. Meant to be exactly the same as DateTimeISO defined in ABCD.
80
            </xs:documentation>
81
          </xs:annotation>
82
          <xs:restriction base="xs:string">
83
            <xs:pattern value="\d\d\d\d(\-(0[1-9]|1[012])(\-((0[1-9])|1\d|2\d|3[01])(T(0\d|1\d|2[0-3])(:[0-5]\d){0,2})?)?)?|\-\-(0[1-9]|1[012])(\-(0[1-9]|1\d|2\d|3[01]))?|\-\-\-(0[1-9]|1\d|2\d|3[01])">
84
            </xs:pattern>
85
          </xs:restriction>
86
       </xs:simpleType>
87

  
88
</xs:schema>
0 89

  
lib/schema/dwc/tdwg_dwctypes.xsd
1
<?xml version="1.0" encoding="UTF-8"?>
2
<xs:schema version="2013-10-22" xmlns:xs="http://www.w3.org/2001/XMLSchema"
3
    targetNamespace="http://rs.tdwg.org/dwc/dwctype/"
4
    xmlns:dwctype="http://rs.tdwg.org/dwc/dwctype/">
5
    <xs:annotation>
6
        <xs:documentation xml:lang="en">
7
            The basic Darwin Core type vocabulary schema defining simple types as enumerations for controlled vocabularies.
8
        </xs:documentation>
9
    </xs:annotation>
10

  
11
    <xs:simpleType name="TypeEnum">
12
        <xs:restriction base="xs:NMTOKEN">
13
            <!-- Dublin Core -->
14
            <!-- Darwin Core -->
15
            <xs:enumeration value="Occurrence"/>
16
            <xs:enumeration value="MaterialSample"/>
17
            <xs:enumeration value="Event"/>
18
            <xs:enumeration value="Location"/>
19
            <xs:enumeration value="Taxon"/>
20
            <xs:enumeration value="PreservedSpecimen"/>
21
            <xs:enumeration value="FossilSpecimen"/>
22
            <xs:enumeration value="LivingSpecimen"/>
23
            <xs:enumeration value="HumanObservation"/>
24
            <xs:enumeration value="MachineObservation"/>
25
            <xs:enumeration value="NomenclaturalChecklist"/>
26
        </xs:restriction>
27
    </xs:simpleType>
28

  
29
</xs:schema>
0 30

  
lib/schema/dwc/tdwg_dwcterms.xsd
1
<?xml version="1.0" encoding="UTF-8"?>
2
<xs:schema 
3
    version="2013-10-22"
4
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
5
    targetNamespace="http://rs.tdwg.org/dwc/terms/"
6
    xmlns:dcterms="http://purl.org/dc/terms/"
7
    xmlns:dcelem="http://purl.org/dc/elements/1.1/"
8
    xmlns:dwctype="http://rs.tdwg.org/dwc/dwctype/"
9
    xmlns:dwc="http://rs.tdwg.org/dwc/terms/">
10
    <xs:annotation>
11
        <xs:documentation xml:lang="en">
12
            The Generic Darwin Core schema defining all property terms as global elements.
13
            
14
            Domain classes are not defined here, but in a separate schema (tdwg_dwcclasses.xsd) with the same namespace.            
15
            There are two ways in which references to domains can be defined:
16
            a) through an abstract base term anyXXXTerm, which is derived from the type dwc:anyPropery and which all properties
17
               for that domain use as their substitution group. If you refer to dwc:anyXXXTerm in your schema, you will be able 
18
               to reference any of the terms, but it will be impossible to create a sequence of all terms occurring only once. 
19
            b) through a group of elements called XXXTerms, which reference properties exactly once as a sequence. 
20
               This group can be used to refer to all the domain properties only once. In order to make a property required, you 
21
               must create your own group referring to the individual dwc terms. 
22
               If you want to specify every term once at most and in any order, you will also have to refer to the individual dwc 
23
               term yourself - a limitation of the xs:all model.
24
        </xs:documentation>
25
    </xs:annotation>
26
    <!-- tdwg_basetypes.xsd defines custom data types such as dateTimeISO to allow dates or the forms YYYY and YYYY-MM. -->
27
    <xs:include schemaLocation="tdwg_basetypes.xsd"/>
28
    <xs:import namespace="http://purl.org/dc/terms/" schemaLocation="http://dublincore.org/schemas/xmls/qdc/2008/02/11/dcterms.xsd"/>
29
    <xs:import namespace="http://purl.org/dc/elements/1.1/" schemaLocation="http://dublincore.org/schemas/xmls/qdc/dc.xsd"/>
30
    <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
31
    <xs:import namespace="http://rs.tdwg.org/dwc/dwctype/" schemaLocation="tdwg_dwctypes.xsd"/>
32
    
33
    <!-- ANY DWC TERM -->
34
    <xs:element name="any" abstract="true"/>
35
    <!-- ANY DWC IDENTIFIER -->
36
    <xs:element name="anyIdentifier" abstract="true" substitutionGroup="dwc:any"/>
37
    <xs:group name="IdentifierTerms">
38
        <xs:annotation>
39
            <xs:documentation>Group of all Darwin Core identifier terms as a convenience to construct other schemas</xs:documentation>
40
        </xs:annotation>
41
        <xs:sequence>
42
            <xs:element ref="dwc:occurrenceID" minOccurs="0"/>
43
            <xs:element ref="dwc:materialSampleID" minOccurs="0"/>
44
            <xs:element ref="dwc:eventID" minOccurs="0"/>
45
            <xs:element ref="dwc:locationID" minOccurs="0"/>
46
            <xs:element ref="dwc:geologicalContextID" minOccurs="0"/>
47
            <xs:element ref="dwc:identificationID" minOccurs="0"/>
48
            <xs:element ref="dwc:taxonID" minOccurs="0"/>
49
            <xs:element ref="dwc:resourceRelationshipID" minOccurs="0"/>
50
            <xs:element ref="dwc:measurementID" minOccurs="0"/>
51
        </xs:sequence>
52
    </xs:group>    
53

  
54
    <!-- ANY DWC PROPERTY TERM -->
55
    <xs:element name="anyProperty" abstract="true" substitutionGroup="dwc:any"/> <!-- type="dwc:simpleProperty"  -->
56
    <!-- ANY DWC CLASS TERM -->
57
    <xs:element name="anyClass" abstract="true" substitutionGroup="dwc:any"/>
58
    
59
    <!-- 
60
        All TERMS listed BY domain
61
        Every domain has its own substitutionGroup
62
    -->
63

  
64
    <!-- RECORD-LEVEL domainless terms -->
65
    <xs:element name="anyRecordLevelTerm" abstract="true" substitutionGroup="dwc:anyProperty"/>
66
    <!-- domain properties -->
67
    <!-- the Dublin Core terms applicable for Darwin Core are defined in the dublin_core.xsd and use this substitution group -->
68
    <xs:element name="institutionID" substitutionGroup="dwc:anyRecordLevelTerm" type="xs:string"/>
69
    <xs:element name="collectionID" substitutionGroup="dwc:anyRecordLevelTerm" type="xs:string"/>
70
    <xs:element name="datasetID" substitutionGroup="dwc:anyRecordLevelTerm" type="xs:string"/>
71
    <xs:element name="institutionCode" substitutionGroup="dwc:anyRecordLevelTerm" type="xs:string"/>
72
    <xs:element name="collectionCode" substitutionGroup="dwc:anyRecordLevelTerm" type="xs:string"/>
73
    <xs:element name="datasetName" substitutionGroup="dwc:anyRecordLevelTerm" type="xs:string"/>
74
    <xs:element name="ownerInstitutionCode" substitutionGroup="dwc:anyRecordLevelTerm" type="xs:string"/>
75
    <xs:element name="basisOfRecord" substitutionGroup="dwc:anyRecordLevelTerm" type="xs:string"/>
76
    <xs:element name="informationWithheld" substitutionGroup="dwc:anyRecordLevelTerm" type="xs:string"/>
77
    <xs:element name="dataGeneralizations" substitutionGroup="dwc:anyRecordLevelTerm" type="xs:string"/>
78
    <xs:element name="dynamicProperties" substitutionGroup="dwc:anyRecordLevelTerm" type="xs:string"/>
79
    <xs:group name="RecordLevelTerms">
80
        <xs:sequence>
81
            <xs:element ref="dcterms:type" minOccurs="0"/>
82
            <xs:element ref="dcterms:modified" minOccurs="0"/>
83
            <xs:element ref="dcterms:language" minOccurs="0"/>
84
            <xs:element ref="dcterms:rights" minOccurs="0"/>
85
            <xs:element ref="dcterms:rightsHolder" minOccurs="0"/>
86
            <xs:element ref="dcterms:accessRights" minOccurs="0"/>
87
            <xs:element ref="dcterms:bibliographicCitation" minOccurs="0"/>
88
            <xs:element ref="dcterms:references" minOccurs="0"/>
89
            <xs:element ref="dwc:institutionID" minOccurs="0"/>
90
            <xs:element ref="dwc:collectionID" minOccurs="0"/>
91
            <xs:element ref="dwc:datasetID" minOccurs="0"/>
92
            <xs:element ref="dwc:institutionCode" minOccurs="0"/>
93
            <xs:element ref="dwc:collectionCode" minOccurs="0"/>
94
            <xs:element ref="dwc:datasetName" minOccurs="0"/>
95
            <xs:element ref="dwc:ownerInstitutionCode" minOccurs="0"/>
96
            <xs:element ref="dwc:basisOfRecord" minOccurs="0"/>
97
            <xs:element ref="dwc:informationWithheld" minOccurs="0"/>
98
            <xs:element ref="dwc:dataGeneralizations" minOccurs="0"/>
99
            <xs:element ref="dwc:dynamicProperties" minOccurs="0"/>
100
        </xs:sequence>
101
    </xs:group>
102

  
103
    <!-- OCCURRENCE domain -->
104
    <xs:element name="anyOccurrenceTerm" abstract="true" substitutionGroup="dwc:anyProperty"/>
105
    <xs:element name="occurrenceID" type="dwc:nonEmptyString" substitutionGroup="dwc:anyIdentifier"/>
106
    <!-- domain properties -->
107
    <xs:element name="catalogNumber" type="xs:string" substitutionGroup="dwc:anyOccurrenceTerm"/>
108
    <xs:element name="occurrenceRemarks" type="xs:string" substitutionGroup="dwc:anyOccurrenceTerm"/>
109
    <xs:element name="recordNumber" type="xs:string" substitutionGroup="dwc:anyOccurrenceTerm"/>
110
    <xs:element name="recordedBy" type="xs:string" substitutionGroup="dwc:anyOccurrenceTerm"/>
111
    <xs:element name="individualID" type="dwc:nonEmptyString" substitutionGroup="dwc:anyOccurrenceTerm"/>
112
    <xs:element name="individualCount" type="xs:positiveInteger" substitutionGroup="dwc:anyOccurrenceTerm"/>
113
    <xs:element name="sex" type="xs:string" substitutionGroup="dwc:anyOccurrenceTerm"/>
114
    <xs:element name="lifeStage" type="xs:string" substitutionGroup="dwc:anyOccurrenceTerm"/>
115
    <xs:element name="reproductiveCondition" type="xs:string" substitutionGroup="dwc:anyOccurrenceTerm"/>
116
    <xs:element name="behavior" type="xs:string" substitutionGroup="dwc:anyOccurrenceTerm"/>
117
    <xs:element name="establishmentMeans" type="xs:string" substitutionGroup="dwc:anyOccurrenceTerm"/>
118
    <xs:element name="occurrenceStatus" type="xs:string" substitutionGroup="dwc:anyOccurrenceTerm"/>
119
    <xs:element name="preparations" type="xs:string" substitutionGroup="dwc:anyOccurrenceTerm"/>
120
    <xs:element name="disposition" type="xs:string" substitutionGroup="dwc:anyOccurrenceTerm"/>
121
    <xs:element name="otherCatalogNumbers" type="xs:string" substitutionGroup="dwc:anyOccurrenceTerm"/>
122
    <xs:element name="previousIdentifications" type="xs:string" substitutionGroup="dwc:anyOccurrenceTerm"/>
123
    <xs:element name="associatedMedia" type="xs:string" substitutionGroup="dwc:anyOccurrenceTerm"/>
124
    <xs:element name="associatedReferences" type="xs:string" substitutionGroup="dwc:anyOccurrenceTerm"/>
125
    <xs:element name="associatedOccurrences" type="xs:string" substitutionGroup="dwc:anyOccurrenceTerm"/>
126
    <xs:element name="associatedSequences" type="xs:string" substitutionGroup="dwc:anyOccurrenceTerm"/>
127
    <xs:element name="associatedTaxa" type="xs:string" substitutionGroup="dwc:anyOccurrenceTerm"/>        
128
    <xs:group name="OccurrenceTerms">
129
        <xs:sequence>
130
            <xs:element ref="dwc:institutionCode" minOccurs="0"/>
131
            <xs:element ref="dwc:collectionCode" minOccurs="0"/>
132
            <xs:element ref="dwc:collectionID" minOccurs="0"/>
133
            <xs:element ref="dwc:catalogNumber" minOccurs="0"/>
134
            <xs:element ref="dwc:occurrenceRemarks" minOccurs="0"/>
135
            <xs:element ref="dwc:recordNumber" minOccurs="0"/>
136
            <xs:element ref="dwc:recordedBy" minOccurs="0"/>
137
            <xs:element ref="dwc:individualID" minOccurs="0"/>
138
            <xs:element ref="dwc:individualCount" minOccurs="0"/>
139
            <xs:element ref="dwc:sex" minOccurs="0"/>
140
            <xs:element ref="dwc:lifeStage" minOccurs="0"/>
141
            <xs:element ref="dwc:reproductiveCondition" minOccurs="0"/>
142
            <xs:element ref="dwc:behavior" minOccurs="0"/>
143
            <xs:element ref="dwc:establishmentMeans" minOccurs="0"/>
144
            <xs:element ref="dwc:occurrenceStatus" minOccurs="0"/>
145
            <xs:element ref="dwc:preparations" minOccurs="0"/>
146
            <xs:element ref="dwc:disposition" minOccurs="0"/>
147
            <xs:element ref="dwc:otherCatalogNumbers" minOccurs="0"/>
148
            <xs:element ref="dwc:previousIdentifications" minOccurs="0"/>
149
            <xs:element ref="dwc:associatedMedia" minOccurs="0"/>
150
            <xs:element ref="dwc:associatedReferences" minOccurs="0"/>
151
            <xs:element ref="dwc:associatedOccurrences" minOccurs="0"/>
152
            <xs:element ref="dwc:associatedSequences" minOccurs="0"/>
153
            <xs:element ref="dwc:associatedTaxa" minOccurs="0"/>
154
        </xs:sequence>
155
    </xs:group>
156

  
157
    <!-- MaterialSample domain -->
158
    <xs:element name="anyMaterialSampleTerm" abstract="true" substitutionGroup="dwc:anyProperty"/>
159
    <xs:element name="materialSampleID" type="dwc:nonEmptyString" substitutionGroup="dwc:anyIdentifier"/>
160
    <!-- domain properties -->
161

  
162
    <!-- EVENT domain -->
163
    <xs:element name="anyEventTerm" abstract="true" substitutionGroup="dwc:anyProperty"/>
164
    <xs:element name="eventID" type="dwc:nonEmptyString" substitutionGroup="dwc:anyIdentifier"/>
165
    <!-- domain properties -->
166
    <xs:element name="samplingProtocol" type="xs:string" substitutionGroup="dwc:anyEventTerm"/>
167
    <xs:element name="samplingEffort" type="xs:string" substitutionGroup="dwc:anyEventTerm"/>
168
    <xs:element name="eventDate" type="dwc:dateTimeISO" substitutionGroup="dwc:anyEventTerm"/>
169
    <xs:element name="eventTime" type="xs:time" substitutionGroup="dwc:anyEventTerm"/>
170
    <xs:element name="startDayOfYear" type="dwc:dayOfYearDataType" substitutionGroup="dwc:anyEventTerm"/>
171
    <xs:element name="endDayOfYear" type="dwc:dayOfYearDataType" substitutionGroup="dwc:anyEventTerm"/>
172
    <xs:element name="year" type="xs:gYear" substitutionGroup="dwc:anyEventTerm"/>
173
    <xs:element name="month" type="xs:gMonth" substitutionGroup="dwc:anyEventTerm"/>
174
    <xs:element name="day" type="xs:gDay" substitutionGroup="dwc:anyEventTerm"/>
175
    <xs:element name="verbatimEventDate" type="xs:string" substitutionGroup="dwc:anyEventTerm"/>
176
    <xs:element name="habitat" type="xs:string" substitutionGroup="dwc:anyEventTerm"/>
177
    <xs:element name="fieldNumber" type="xs:string" substitutionGroup="dwc:anyEventTerm"/>
178
    <xs:element name="fieldNotes" type="xs:string" substitutionGroup="dwc:anyEventTerm"/>
179
    <xs:element name="eventRemarks" type="xs:string" substitutionGroup="dwc:anyEventTerm"/>
180
    <xs:group name="EventTerms">
181
        <xs:sequence>
182
            <xs:element ref="dwc:samplingProtocol" minOccurs="0"/>
183
            <xs:element ref="dwc:samplingEffort" minOccurs="0"/>
184
            <xs:element ref="dwc:eventDate" minOccurs="0"/>
185
            <xs:element ref="dwc:eventTime" minOccurs="0"/>
186
            <xs:element ref="dwc:startDayOfYear" minOccurs="0"/>
187
            <xs:element ref="dwc:endDayOfYear" minOccurs="0"/>
188
            <xs:element ref="dwc:year" minOccurs="0"/>
189
            <xs:element ref="dwc:month" minOccurs="0"/>
190
            <xs:element ref="dwc:day" minOccurs="0"/>
191
            <xs:element ref="dwc:verbatimEventDate" minOccurs="0"/>
192
            <xs:element ref="dwc:habitat" minOccurs="0"/>
193
            <xs:element ref="dwc:fieldNumber" minOccurs="0"/>
194
            <xs:element ref="dwc:fieldNotes" minOccurs="0"/>
195
            <xs:element ref="dwc:eventRemarks" minOccurs="0"/>
196
        </xs:sequence>
197
    </xs:group>
198

  
199
    <!-- dcterms:LOCATION domain -->
200
    <xs:element name="anyLocationTerm" abstract="true" substitutionGroup="dwc:anyProperty"/>
201
    <xs:element name="locationID" type="dwc:nonEmptyString" substitutionGroup="dwc:anyIdentifier"/>
202
    <!-- domain properties -->
203
    <xs:element name="higherGeographyID" type="dwc:nonEmptyString" substitutionGroup="dwc:anyLocationTerm"/>
204
    <xs:element name="higherGeography" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
205
    <xs:element name="continent" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
206
    <xs:element name="waterbody" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
207
    <xs:element name="islandGroup" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
208
    <xs:element name="island" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
209
    <xs:element name="country" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
210
    <xs:element name="countryCode" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
211
    <xs:element name="stateProvince" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
212
    <xs:element name="county" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
213
    <xs:element name="municipality" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
214
    <xs:element name="locality" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
215
    <xs:element name="verbatimLocality" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
216
    <xs:element name="verbatimElevation" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
217
    <xs:element name="minimumElevationInMeters" type="xs:double" substitutionGroup="dwc:anyLocationTerm"/>
218
    <xs:element name="maximumElevationInMeters" type="xs:double" substitutionGroup="dwc:anyLocationTerm"/>
219
    <xs:element name="verbatimDepth" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
220
    <xs:element name="minimumDepthInMeters" type="xs:double" substitutionGroup="dwc:anyLocationTerm"/>
221
    <xs:element name="maximumDepthInMeters" type="xs:double" substitutionGroup="dwc:anyLocationTerm"/>
222
    <xs:element name="minimumDistanceAboveSurfaceInMeters" type="xs:double" substitutionGroup="dwc:anyLocationTerm"/>
223
    <xs:element name="maximumDistanceAboveSurfaceInMeters" type="xs:double" substitutionGroup="dwc:anyLocationTerm"/>
224
    <xs:element name="locationAccordingTo" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
225
    <xs:element name="locationRemarks" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
226
    <xs:element name="verbatimCoordinates" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
227
    <xs:element name="verbatimLatitude" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
228
    <xs:element name="verbatimLongitude" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
229
    <xs:element name="verbatimCoordinateSystem" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
230
    <xs:element name="verbatimSRS" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
231
    <xs:element name="decimalLatitude" type="dwc:decimalLatitudeDataType" substitutionGroup="dwc:anyLocationTerm"/>
232
    <xs:element name="decimalLongitude" type="dwc:decimalLongitudeDataType" substitutionGroup="dwc:anyLocationTerm"/>
233
    <xs:element name="geodeticDatum" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
234
    <xs:element name="coordinateUncertaintyInMeters" type="xs:double" substitutionGroup="dwc:anyLocationTerm"/>
235
    <xs:element name="coordinatePrecision" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
236
    <xs:element name="pointRadiusSpatialFit" type="dwc:spatialFitDataType" substitutionGroup="dwc:anyLocationTerm"/>
237
    <xs:element name="footprintWKT" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
238
    <xs:element name="footprintSRS" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
239
    <xs:element name="footprintSpatialFit" type="dwc:spatialFitDataType" substitutionGroup="dwc:anyLocationTerm"/>
240
    <xs:element name="georeferencedBy" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
241
    <xs:element name="georeferencedDate" type="dwc:dateTimeISO" substitutionGroup="dwc:anyLocationTerm"/>
242
    <xs:element name="georeferenceProtocol" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
243
    <xs:element name="georeferenceSources" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
244
    <xs:element name="georeferenceVerificationStatus" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
245
    <xs:element name="georeferenceRemarks" type="xs:string" substitutionGroup="dwc:anyLocationTerm"/>
246
    <xs:group name="LocationTerms">
247
        <xs:sequence>
248
            <xs:element ref="dwc:higherGeographyID" minOccurs="0"/>
249
            <xs:element ref="dwc:higherGeography" minOccurs="0"/>
250
            <xs:element ref="dwc:continent" minOccurs="0"/>
251
            <xs:element ref="dwc:waterbody" minOccurs="0"/>
252
            <xs:element ref="dwc:islandGroup" minOccurs="0"/>
253
            <xs:element ref="dwc:island" minOccurs="0"/>
254
            <xs:element ref="dwc:country" minOccurs="0"/>
255
            <xs:element ref="dwc:countryCode" minOccurs="0"/>
256
            <xs:element ref="dwc:stateProvince" minOccurs="0"/>
257
            <xs:element ref="dwc:county" minOccurs="0"/>
258
            <xs:element ref="dwc:municipality" minOccurs="0"/>
259
            <xs:element ref="dwc:locality" minOccurs="0"/>
260
            <xs:element ref="dwc:verbatimLocality" minOccurs="0"/>
261
            <xs:element ref="dwc:verbatimElevation" minOccurs="0"/>
262
            <xs:element ref="dwc:minimumElevationInMeters" minOccurs="0"/>
263
            <xs:element ref="dwc:maximumElevationInMeters" minOccurs="0"/>
264
            <xs:element ref="dwc:verbatimDepth" minOccurs="0"/>
265
            <xs:element ref="dwc:minimumDepthInMeters" minOccurs="0"/>
266
            <xs:element ref="dwc:maximumDepthInMeters" minOccurs="0"/>
267
            <xs:element ref="dwc:minimumDistanceAboveSurfaceInMeters" minOccurs="0"/>
268
            <xs:element ref="dwc:maximumDistanceAboveSurfaceInMeters" minOccurs="0"/>
269
            <xs:element ref="dwc:locationRemarks" minOccurs="0"/>
270
            <xs:element ref="dwc:verbatimCoordinates" minOccurs="0"/>
271
            <xs:element ref="dwc:verbatimLatitude" minOccurs="0"/>
272
            <xs:element ref="dwc:verbatimLongitude" minOccurs="0"/>
273
            <xs:element ref="dwc:verbatimCoordinateSystem" minOccurs="0"/>
274
            <xs:element ref="dwc:verbatimSRS" minOccurs="0"/>
275
            <xs:element ref="dwc:decimalLatitude" minOccurs="0"/>
276
            <xs:element ref="dwc:decimalLongitude" minOccurs="0"/>
277
            <xs:element ref="dwc:geodeticDatum" minOccurs="0"/>
278
            <xs:element ref="dwc:coordinateUncertaintyInMeters" minOccurs="0"/>
279
            <xs:element ref="dwc:coordinatePrecision" minOccurs="0"/>
280
            <xs:element ref="dwc:pointRadiusSpatialFit" minOccurs="0"/>
281
            <xs:element ref="dwc:footprintWKT" minOccurs="0"/>
282
            <xs:element ref="dwc:footprintSRS" minOccurs="0"/>
283
            <xs:element ref="dwc:footprintSpatialFit" minOccurs="0"/>
284
            <xs:element ref="dwc:georeferencedBy" minOccurs="0"/>
285
            <xs:element ref="dwc:georeferencedDate" minOccurs="0"/>
286
            <xs:element ref="dwc:georeferenceProtocol" minOccurs="0"/>
287
            <xs:element ref="dwc:georeferenceSources" minOccurs="0"/>
288
            <xs:element ref="dwc:georeferenceVerificationStatus" minOccurs="0"/>
289
            <xs:element ref="dwc:georeferenceRemarks" minOccurs="0"/>
290
        </xs:sequence>
291
    </xs:group>
292

  
293
    <!-- GEOLOGICALCONTEXT domain -->
294
    <xs:element name="anyGeologicalContextTerm" abstract="true" substitutionGroup="dwc:anyProperty"/>
295
    <xs:element name="geologicalContextID" type="dwc:nonEmptyString" substitutionGroup="dwc:anyIdentifier"/>
296
    <!-- domain properties -->
297
    <xs:element name="earliestEonOrLowestEonothem" type="xs:string" substitutionGroup="dwc:anyGeologicalContextTerm"/>
298
    <xs:element name="latestEonOrHighestEonothem" type="xs:string" substitutionGroup="dwc:anyGeologicalContextTerm"/>
299
    <xs:element name="earliestEraOrLowestErathem" type="xs:string" substitutionGroup="dwc:anyGeologicalContextTerm"/>
300
    <xs:element name="latestEraOrHighestErathem" type="xs:string" substitutionGroup="dwc:anyGeologicalContextTerm"/>
301
    <xs:element name="earliestPeriodOrLowestSystem" type="xs:string" substitutionGroup="dwc:anyGeologicalContextTerm"/>
302
    <xs:element name="latestPeriodOrHighestSystem" type="xs:string" substitutionGroup="dwc:anyGeologicalContextTerm"/>
303
    <xs:element name="earliestEpochOrLowestSeries" type="xs:string" substitutionGroup="dwc:anyGeologicalContextTerm"/>
304
    <xs:element name="latestEpochOrHighestSeries" type="xs:string" substitutionGroup="dwc:anyGeologicalContextTerm"/>
305
    <xs:element name="earliestAgeOrLowestStage" type="xs:string" substitutionGroup="dwc:anyGeologicalContextTerm"/>
306
    <xs:element name="latestAgeOrHighestStage" type="xs:string" substitutionGroup="dwc:anyGeologicalContextTerm"/>
307
    <xs:element name="lowestBiostratigraphicZone" type="xs:string" substitutionGroup="dwc:anyGeologicalContextTerm"/>
308
    <xs:element name="highestBiostratigraphicZone" type="xs:string" substitutionGroup="dwc:anyGeologicalContextTerm"/>
309
    <xs:element name="lithostratigraphicTerms" type="xs:string" substitutionGroup="dwc:anyGeologicalContextTerm"/>
310
    <xs:element name="group" type="xs:string" substitutionGroup="dwc:anyGeologicalContextTerm"/>
311
    <xs:element name="formation" type="xs:string" substitutionGroup="dwc:anyGeologicalContextTerm"/>
312
    <xs:element name="member" type="xs:string" substitutionGroup="dwc:anyGeologicalContextTerm"/>
313
    <xs:element name="bed" type="xs:string" substitutionGroup="dwc:anyGeologicalContextTerm"/>
314
    <xs:group name="GeologicalContextTerms">
315
        <xs:sequence>
316
            <xs:element ref="dwc:earliestEonOrLowestEonothem" minOccurs="0"/>
317
            <xs:element ref="dwc:latestEonOrHighestEonothem" minOccurs="0"/>
318
            <xs:element ref="dwc:earliestEraOrLowestErathem" minOccurs="0"/>
319
            <xs:element ref="dwc:latestEraOrHighestErathem" minOccurs="0"/>
320
            <xs:element ref="dwc:earliestPeriodOrLowestSystem" minOccurs="0"/>
321
            <xs:element ref="dwc:latestPeriodOrHighestSystem" minOccurs="0"/>
322
            <xs:element ref="dwc:earliestEpochOrLowestSeries" minOccurs="0"/>
323
            <xs:element ref="dwc:latestEpochOrHighestSeries" minOccurs="0"/>
324
            <xs:element ref="dwc:earliestAgeOrLowestStage" minOccurs="0"/>
325
            <xs:element ref="dwc:latestAgeOrHighestStage" minOccurs="0"/>
326
            <xs:element ref="dwc:lowestBiostratigraphicZone" minOccurs="0"/>
327
            <xs:element ref="dwc:highestBiostratigraphicZone" minOccurs="0"/>
328
            <xs:element ref="dwc:lithostratigraphicTerms" minOccurs="0"/>
329
            <xs:element ref="dwc:group" minOccurs="0"/>
330
            <xs:element ref="dwc:formation" minOccurs="0"/>
331
            <xs:element ref="dwc:member" minOccurs="0"/>
332
            <xs:element ref="dwc:bed" minOccurs="0"/>
333
        </xs:sequence>
334
    </xs:group>
335

  
336
    <!-- IDENTIFICATION domain -->
337
    <xs:element name="anyIdentificationTerm" abstract="true" substitutionGroup="dwc:anyProperty"/>
338
    <xs:element name="identificationID" type="dwc:nonEmptyString" substitutionGroup="dwc:anyIdentifier"/>
339
    <!-- domain properties -->
340
    <xs:element name="identifiedBy" type="xs:string" substitutionGroup="dwc:anyIdentificationTerm"/>
341
    <xs:element name="dateIdentified" type="dwc:dateTimeISO" substitutionGroup="dwc:anyIdentificationTerm"/>
342
    <xs:element name="identificationReferences" type="xs:string" substitutionGroup="dwc:anyIdentificationTerm"/>
343
    <xs:element name="identificationVerificationStatus" type="xs:string" substitutionGroup="dwc:anyIdentificationTerm"/>
344
    <xs:element name="identificationRemarks" type="xs:string" substitutionGroup="dwc:anyIdentificationTerm"/>
345
    <xs:element name="identificationQualifier" type="xs:string" substitutionGroup="dwc:anyIdentificationTerm"/>
346
    <xs:element name="typeStatus" type="xs:string" substitutionGroup="dwc:anyIdentificationTerm"/>
347
    <xs:group name="IdentificationTerms">
348
        <xs:sequence>
349
            <xs:element ref="dwc:identifiedBy" minOccurs="0"/>
350
            <xs:element ref="dwc:dateIdentified" minOccurs="0"/>
351
            <xs:element ref="dwc:identificationReferences" minOccurs="0"/>
352
            <xs:element ref="dwc:identificationVerificationStatus" minOccurs="0"/>
353
            <xs:element ref="dwc:identificationRemarks" minOccurs="0"/>
354
            <xs:element ref="dwc:identificationQualifier" minOccurs="0"/>
355
            <xs:element ref="dwc:typeStatus" minOccurs="0"/>
356
        </xs:sequence>
357
    </xs:group>
358

  
359
    <!-- TAXON domain -->
360
    <xs:element name="anyTaxonTerm" abstract="true" substitutionGroup="dwc:anyProperty"/>
361
    <xs:element name="taxonID" type="dwc:nonEmptyString" substitutionGroup="dwc:anyIdentifier"/>
362
    <!-- domain properties -->
363
    <xs:element name="scientificNameID" type="dwc:nonEmptyString" substitutionGroup="dwc:anyTaxonTerm"/>
364
    <xs:element name="acceptedNameUsageID" type="dwc:nonEmptyString" substitutionGroup="dwc:anyTaxonTerm"/>
365
    <xs:element name="parentNameUsageID" type="dwc:nonEmptyString" substitutionGroup="dwc:anyTaxonTerm"/>
366
    <xs:element name="originalNameUsageID" type="dwc:nonEmptyString" substitutionGroup="dwc:anyTaxonTerm"/>    
367
    <xs:element name="nameAccordingToID" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
368
    <xs:element name="namePublishedInID" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
369
    <xs:element name="taxonConceptID" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
370
    <xs:element name="scientificName" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
371
    <xs:element name="acceptedNameUsage" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
372
    <xs:element name="parentNameUsage" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
373
    <xs:element name="originalNameUsage" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
374
    <xs:element name="nameAccordingTo" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
375
    <xs:element name="namePublishedIn" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
376
    <xs:element name="namePublishedInYear" type="xs:gYear" substitutionGroup="dwc:anyTaxonTerm"/>
377
    <xs:element name="higherClassification" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
378
    <xs:element name="kingdom" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
379
    <xs:element name="phylum" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
380
    <xs:element name="class" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
381
    <xs:element name="order" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
382
    <xs:element name="family" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
383
    <xs:element name="genus" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
384
    <xs:element name="subgenus" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
385
    <xs:element name="specificEpithet" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
386
    <xs:element name="infraspecificEpithet" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
387
    <xs:element name="taxonRank" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
388
    <xs:element name="verbatimTaxonRank" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
389
    <xs:element name="scientificNameAuthorship" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
390
    <xs:element name="vernacularName" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
391
    <xs:element name="nomenclaturalCode" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
392
    <xs:element name="taxonomicStatus" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
393
    <xs:element name="nomenclaturalStatus" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
394
    <xs:element name="taxonRemarks" type="xs:string" substitutionGroup="dwc:anyTaxonTerm"/>
395
    <xs:group name="TaxonTerms">
396
        <xs:sequence>
397
            <xs:element ref="dwc:scientificNameID" minOccurs="0"/>
398
            <xs:element ref="dwc:acceptedNameUsageID" minOccurs="0"/>
399
            <xs:element ref="dwc:parentNameUsageID" minOccurs="0"/>
400
            <xs:element ref="dwc:originalNameUsageID" minOccurs="0"/>
401
            <xs:element ref="dwc:nameAccordingToID" minOccurs="0"/>
402
            <xs:element ref="dwc:namePublishedInID" minOccurs="0"/>
403
            <xs:element ref="dwc:taxonConceptID" minOccurs="0"/>
404
            <xs:element ref="dwc:scientificName" minOccurs="0"/>
405
            <xs:element ref="dwc:acceptedNameUsage" minOccurs="0"/>
406
            <xs:element ref="dwc:parentNameUsage" minOccurs="0"/>
407
            <xs:element ref="dwc:originalNameUsage" minOccurs="0"/>
408
            <xs:element ref="dwc:nameAccordingTo" minOccurs="0"/>
409
            <xs:element ref="dwc:namePublishedIn" minOccurs="0"/>
410
            <xs:element ref="dwc:namePublishedInYear" minOccurs="0"/>
411
            <xs:element ref="dwc:higherClassification" minOccurs="0"/>
412
            <xs:element ref="dwc:kingdom" minOccurs="0"/>
413
            <xs:element ref="dwc:phylum" minOccurs="0"/>
414
            <xs:element ref="dwc:class" minOccurs="0"/>
415
            <xs:element ref="dwc:order" minOccurs="0"/>
416
            <xs:element ref="dwc:family" minOccurs="0"/>
417
            <xs:element ref="dwc:genus" minOccurs="0"/>
418
            <xs:element ref="dwc:subgenus" minOccurs="0"/>
419
            <xs:element ref="dwc:specificEpithet" minOccurs="0"/>
420
            <xs:element ref="dwc:infraspecificEpithet" minOccurs="0"/>
421
            <xs:element ref="dwc:taxonRank" minOccurs="0"/>
422
            <xs:element ref="dwc:verbatimTaxonRank" minOccurs="0"/>
423
            <xs:element ref="dwc:scientificNameAuthorship" minOccurs="0"/>
424
            <xs:element ref="dwc:vernacularName" minOccurs="0"/>
425
            <xs:element ref="dwc:nomenclaturalCode" minOccurs="0"/>
426
            <xs:element ref="dwc:taxonomicStatus" minOccurs="0"/>
427
            <xs:element ref="dwc:nomenclaturalStatus" minOccurs="0"/>
428
            <xs:element ref="dwc:taxonRemarks" minOccurs="0"/>
429
        </xs:sequence>
430
    </xs:group>
431

  
432
    <!-- RESOURCERELATIONSHIP domain -->
433
    <xs:element name="anyResourceRelationshipTerm" abstract="true" substitutionGroup="dwc:anyProperty"/>
434
    <xs:element name="resourceRelationshipID" type="dwc:nonEmptyString" substitutionGroup="dwc:anyIdentifier"/>
435
    <!-- domain properties -->
436
    <xs:element name="resourceID" type="dwc:nonEmptyString" substitutionGroup="dwc:anyResourceRelationshipTerm"/>
437
    <xs:element name="relatedResourceID" type="dwc:nonEmptyString" substitutionGroup="dwc:anyResourceRelationshipTerm"/>
438
    <xs:element name="relationshipOfResource" type="xs:string" substitutionGroup="dwc:anyResourceRelationshipTerm"/>
439
    <xs:element name="relationshipAccordingTo" type="xs:string" substitutionGroup="dwc:anyResourceRelationshipTerm"/>
440
    <xs:element name="relationshipEstablishedDate" type="dwc:dateTimeISO" substitutionGroup="dwc:anyResourceRelationshipTerm"/>
441
    <xs:element name="relationshipRemarks" type="xs:string" substitutionGroup="dwc:anyResourceRelationshipTerm"/>
442
    <xs:group name="ResourceRelationshipTerms">
443
        <xs:sequence>
444
            <xs:element ref="dwc:resourceID" minOccurs="0"/>
445
            <xs:element ref="dwc:relatedResourceID" minOccurs="0"/>
446
            <xs:element ref="dwc:relationshipOfResource" minOccurs="0"/>
447
            <xs:element ref="dwc:relationshipAccordingTo" minOccurs="0"/>
448
            <xs:element ref="dwc:relationshipEstablishedDate" minOccurs="0"/>
449
            <xs:element ref="dwc:relationshipRemarks" minOccurs="0"/>
450
        </xs:sequence>
451
    </xs:group>
452

  
453
    <!-- MEASUREMENTORFACT domain -->
454
    <xs:element name="anyMeasurementTerm" abstract="true" substitutionGroup="dwc:anyProperty"/>
455
    <xs:element name="measurementID" type="dwc:nonEmptyString" substitutionGroup="dwc:anyIdentifier"/>
456
    <!-- domain properties -->
457
    <xs:element name="measurementType" type="xs:string" substitutionGroup="dwc:anyMeasurementTerm"/>
458
    <xs:element name="measurementValue" type="xs:string" substitutionGroup="dwc:anyMeasurementTerm"/>
459
    <xs:element name="measurementAccuracy" type="xs:string" substitutionGroup="dwc:anyMeasurementTerm"/>
460
    <xs:element name="measurementUnit" type="xs:string" substitutionGroup="dwc:anyMeasurementTerm"/>
461
    <xs:element name="measurementDeterminedDate" type="dwc:dateTimeISO" substitutionGroup="dwc:anyMeasurementTerm"/>
462
    <xs:element name="measurementDeterminedBy" type="xs:string" substitutionGroup="dwc:anyMeasurementTerm"/>
463
    <xs:element name="measurementMethod" type="xs:string" substitutionGroup="dwc:anyMeasurementTerm"/>
464
    <xs:element name="measurementRemarks" type="xs:string" substitutionGroup="dwc:anyMeasurementTerm"/>    
465
    <xs:group name="MeasurementTerms">
466
        <xs:sequence>
467
            <xs:element ref="dwc:measurementType" minOccurs="0"/>
468
            <xs:element ref="dwc:measurementValue" minOccurs="0"/>
469
            <xs:element ref="dwc:measurementAccuracy" minOccurs="0"/>
470
            <xs:element ref="dwc:measurementUnit" minOccurs="0"/>
471
            <xs:element ref="dwc:measurementDeterminedDate" minOccurs="0"/>
472
            <xs:element ref="dwc:measurementDeterminedBy" minOccurs="0"/>
473
            <xs:element ref="dwc:measurementMethod" minOccurs="0"/>
474
            <xs:element ref="dwc:measurementRemarks" minOccurs="0"/>
475
        </xs:sequence>
476
    </xs:group>
477
    
478
</xs:schema>
0 479

  

Also available in: Unified diff