Darwin Core Draft standard version 1.4.

This commit is contained in:
tucotuco 2014-11-12 22:09:13 +01:00
parent a776ace98b
commit c17a5b57db
9 changed files with 1183 additions and 0 deletions

68
index_legacy_rddl.html Normal file
View File

@ -0,0 +1,68 @@
<!-- <!DOCTYPE html PUBLIC "-//XML-DEV//DTD XHTML RDDL 1.0//EN" "http://www.rddl.org/rddl-xhtml.dtd">-->
<!-- Note: DOCTYPE is commented out in the RDDL example RDDL itself; perhaps otherwise some html clients cause problems. -->
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:rddl="http://www.rddl.org/"
xml:base="http://rs.tdwg.org/dwc"
xml:lang="en-US">
<head>
<title>Resource Directory (RDDL) for Darwin Core (DwC)</title>
<link href="http://www.rddl.org/xrd.css" type="text/css" rel="stylesheet"/>
</head>
<body>
<h1>Resource Directory (RDDL) for Darwin Core (DwC)</h1>
<div id="overview">
<h2>Overview</h2>
<p>The Darwin Core root namespace (<code>http://rs.tdwg.org/dwc/</code>) is currently used only for the latest version. Versions copies are also kept in version namespaces in the event that one would like to bind to a specific version.</p>
</div>
<h2>Resources</h2>
<div id="resources" class="resource">
<ul class="compact">
<rddl:resource
xlink:type="simple"
id="DwC"
xlink:role="http://www.rddl.org/"
xlink:arcrole="http://www.rddl.org/purposes#directory"
xlink:href="http://rs.tdwg.org/dwc"
xlink:title="RDDL Subdirectory: http://rs.tdwg.org/dwc">
<li><a href="http://rs.tdwg.org/dwc">RDDL Subdirectory: http://rs.tdwg.org/dwc</a></li>
</rddl:resource>
</ul>
<ul class="compact">
<a href="http://rs.tdwg.org/dwc/tdwg_dw_record.xsd">Generic Darwin Record Application Schema</a>
<ul class="compact">
<a href="http://rs.tdwg.org/dwc/tdwg_dw_core.xsd">Darwin Core Schema</a>
</ul>
<ul class="compact">
<a href="http://rs.tdwg.org/dwc/tdwg_dw_geospatial.xsd">Darwin Geospatial Extension Schema</a>
</ul>
<ul class="compact">
<a href="http://rs.tdwg.org/dwc/tdwg_dw_curatorial.xsd">Darwin Curatorial Extension Schema</a>
</ul>
<ul class="compact">
<a href="http://rs.tdwg.org/dwc/tdwg_dw_element.xsd">Darwin Element Definition Schema</a>
</ul>
</ul>
<ul class="compact">
<a href="http://rs.tdwg.org/dwc/tdwg_dw_record_tapir.xsd">Darwin Record Application Schema for TAPIR</a>
</ul>
<ul class="compact">
<a href="http://rs.tdwg.org/dwc/tdwg_basetypes.xsd">Base Type Definition Schema</a>
</ul>
<ul class="compact">
<a href="http://rs.tdwg.org/dwc/tdwg_gml.xsd">TDWG Simple GML Profile</a>
</ul>
</div>
<div id="footer">
<p>Copyright (c) 2006-2007 Taxonomic Databases Working Group. Author: John Wieczorek</p>
</div>
</body>
</html>

83
tdwg_basetypes.xsd Normal file
View File

@ -0,0 +1,83 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- ==================================================================== -->
<!-- Introduction -->
<!-- ==================================================================== -->
<!-- Schema for a type library for darwin and extension data types. -->
<!-- History: -->
<!-- version 0.5 2007-02-14 John Wieczorek -->
<!-- Status: -->
<!-- Ready for testing. -->
<!-- Should be placed in a tdwg shared data types library. -->
<!-- See http://wiki.tdwg.org for current status of this standard -->
<!-- ==================================================================== -->
<!-- Schema -->
<!-- ==================================================================== -->
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="unqualified" version="0.5">
<!-- ============================================================== -->
<!-- Types -->
<!-- ============================================================== -->
<xs:simpleType name="positiveDouble">
<xs:restriction base="xs:double">
<xs:minExclusive value="0"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="dayOfYearDataType">
<xs:restriction base="xs:integer">
<xs:minInclusive value="1"/>
<xs:maxInclusive value="366"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="decimalLatitudeDataType">
<xs:restriction base="xs:double">
<xs:minInclusive value="-90"/>
<xs:maxInclusive value="90"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="decimalLongitudeDataType">
<xs:restriction base="xs:double">
<xs:minInclusive value="-180"/>
<xs:maxInclusive value="180"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="spatialFitDataType">
<xs:union>
<xs:simpleType>
<xs:restriction base="xs:double">
<xs:minInclusive value="0"/>
<xs:maxInclusive value="0"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base="xs:double">
<xs:minInclusive value="1"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="undefined"/>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
<xs:simpleType name="DateTimeISO">
<xs:annotation>
<xs:documentation xml:lang="en">
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.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<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])">
</xs:pattern>
</xs:restriction>
</xs:simpleType>
</xs:schema>

390
tdwg_dw_core.xsd Normal file
View File

@ -0,0 +1,390 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- ===================================================================== -->
<!-- Introduction -->
<!-- ===================================================================== -->
<!-- Darwin Core XML schema -->
<!-- History: -->
<!-- version 0.7 2007-04-23 R. De Giovanni: Changed namespace -->
<!-- version 0.6 2007-04-17 R. De Giovanni: Added qualification for -->
<!-- types included from tdwg_basetypes.xsd -->
<!-- version 0.5 2007-02-14 J. Wieczorek, R. De Giovanni, J. de la Torre -->
<!-- Status: -->
<!-- Ready for testing -->
<!-- See http://wiki.tdwg.org for current status of this standard. -->
<!-- ===================================================================== -->
<!-- Schema -->
<!-- ===================================================================== -->
<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">
<!-- ============================================================== -->
<!-- Documentation -->
<!-- ============================================================== -->
<xs:annotation>
<xs:documentation> Protocol independent XML Schema for Darwin Core. For element
documentation, see
http://wiki.tdwg.org/twiki/bin/view/DarwinCore/DarwinCoreDraftStandard.
</xs:documentation>
</xs:annotation>
<!-- ============================================================== -->
<!-- Includes -->
<!-- ============================================================== -->
<!-- include - inclusions must be top-level elements (children of -->
<!-- the xs:schema element. Inclusion is restricted to the -->
<!-- definition of a single namespace. -->
<!-- ============================================================== -->
<xs:include schemaLocation="http://rs.tdwg.org/dwc/tdwg_basetypes.xsd"/>
<!-- ============================================================== -->
<!-- Imports -->
<!-- ============================================================== -->
<!-- import - must be used to import definitions from other -->
<!-- namespaces. -->
<!-- ============================================================== -->
<xs:import namespace="http://rs.tdwg.org/dwc/dwelement"
schemaLocation="http://rs.tdwg.org/dwc/tdwg_dw_element.xsd"/>
<!-- ============================================================== -->
<!-- Elements -->
<!-- ============================================================== -->
<xs:element name="GlobalUniqueIdentifier" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="false">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/GlobalUniqueIdentifier"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="DateLastModified" type="xs:dateTime" substitutionGroup="dwe:dwElement"
nillable="false">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/DateLastModified"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="BasisOfRecord" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="false">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/BasisOfRecord"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="InstitutionCode" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="false">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/InstitutionCode"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="CollectionCode" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="false">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/CollectionCode" xml:lang="en"
/>
</xs:annotation>
</xs:element>
<xs:element name="CatalogNumber" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="false">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/CatalogNumber"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="InformationWithheld" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/InformationWithheld"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="Remarks" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Remarks"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="ScientificName" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="false">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/ScientificName" xml:lang="en"
/>
</xs:annotation>
</xs:element>
<xs:element name="HigherTaxon" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/HigherTaxon"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="Kingdom" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Kingdom"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="Phylum" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Phylum"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="Class" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Class"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="Order" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Order"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="Family" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Family"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="Genus" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Genus"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="SpecificEpithet" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/SpecificEpithet"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="InfraspecificRank" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/InfraspecificRank"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="InfraspecificEpithet" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/InfraspecificEpithet"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="AuthorYearOfScientificName" type="xs:string"
substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/AuthorYearOfScientificName"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="NomenclaturalCode" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/NomenclaturalCode"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="IdentificationQualifier" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/IdentificationQualifier"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="HigherGeography" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/HigherGeography"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="Continent" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Continent"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="WaterBody" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/WaterBody"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="IslandGroup" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/IslandGroup"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="Island" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Island"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="Country" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Country"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="StateProvince" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/StateProvince"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="County" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/County"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="Locality" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Locality"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="MinimumElevationInMeters" type="xs:double" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/MinimumElevationInMeters"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="MaximumElevationInMeters" type="xs:double" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/MaximumElevationInMeters"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="MinimumDepthInMeters" type="xs:double" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/MinimumDepthInMeters"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="MaximumDepthInMeters" type="xs:double" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/MaximumDepthInMeters"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="CollectingMethod" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/CollectingMethod"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="ValidDistributionFlag" type="xs:boolean" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/ValidDistributionFlag"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="EarliestDateCollected" type="dwc:DateTimeISO" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/EarliestDateCollected"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="LatestDateCollected" type="dwc:DateTimeISO" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/LatestDateCollected"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="DayOfYear" type="dwc:dayOfYearDataType" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/DayOfYear"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="Collector" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Collector"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="Sex" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Sex"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="LifeStage" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/LifeStage"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="Attributes" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Attributes"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="ImageURL" type="xs:anyURI" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/ImageURL"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="RelatedInformation" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/RelatedInformation"
xml:lang="en"/>
</xs:annotation>
</xs:element>
</xs:schema>

124
tdwg_dw_curatorial.xsd Normal file
View File

@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- ==================================================================== -->
<!-- Introduction -->
<!-- ==================================================================== -->
<!-- Curatorial extension to the Darwin Core. -->
<!-- History: -->
<!-- version 0.6 2007-04-23 R. De Giovanni: Changed namespace -->
<!-- version 0.5 2007-02-14 John Wieczorek -->
<!-- Status: -->
<!-- Ready for testing. -->
<!-- See http://wiki.tdwg.org for current status of this standard. -->
<!-- ==================================================================== -->
<!-- Schema -->
<!-- ==================================================================== -->
<xs:schema
targetNamespace="http://rs.tdwg.org/dwc/curatorial/"
xmlns:dwe="http://rs.tdwg.org/dwc/dwelement"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" version="0.6">
<!-- ============================================================== -->
<!-- Documentation -->
<!-- ============================================================== -->
<xs:annotation>
<xs:documentation>
Protocol-independent XML Schema for a curatorial extension to the
Darwin Core. For element documentation, see
http://wiki.tdwg.org/twiki/bin/view/DarwinCore/CuratorialExtension.
</xs:documentation>
</xs:annotation>
<!-- ============================================================== -->
<!-- Imports -->
<!-- ============================================================== -->
<!-- import - must be used to import definitions from other -->
<!-- namespaces. -->
<!-- ============================================================== -->
<xs:import namespace="http://rs.tdwg.org/dwc/dwelement" schemaLocation="http://rs.tdwg.org/dwc/tdwg_dw_element.xsd"/>
<!-- ============================================================== -->
<!-- Elements -->
<!-- ============================================================== -->
<xs:element name="CatalogNumberNumeric" type="xs:double" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/CatalogNumberNumeric" xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="IdentifiedBy" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/IdentifiedBy" xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="DateIdentified" type="xs:dateTime" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/DateIdentified" xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="CollectorNumber" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/CollectorNumber" xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="FieldNumber" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/FieldNumber" xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="FieldNotes" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/FieldNotes" xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="VerbatimCollectingDate" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/VerbatimCollectingDate" xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="VerbatimElevation" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/VerbatimElevation" xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="VerbatimDepth" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/VerbatimDepth" xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="Preparations" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Preparations" xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="TypeStatus" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/TypeStatus" xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="GenBankNumber" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/GenBankNumber" xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="OtherCatalogNumbers" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/OtherCatalogNumbers" xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="RelatedCatalogedItems" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/RelatedCatalogedItems" xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="Disposition" type="xs:string" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/Disposition" xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="IndividualCount" type="xs:nonNegativeInteger" substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/IndividualCount" xml:lang="en"/>
</xs:annotation>
</xs:element>
</xs:schema>

30
tdwg_dw_element.xsd Normal file
View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- ==================================================================== -->
<!-- Introduction -->
<!-- ==================================================================== -->
<!-- Schema to declare an abstract data element for use in substitution -->
<!-- groups so that arbitrary lists of elements so derived can be used to -->
<!-- compose a record. For example, see DarwinRecord.xsd -->
<!-- History: -->
<!-- version 0.5 2007-02-14 Renato De Giovanni, John Wieczorek -->
<!-- Status: -->
<!-- Ready for testing. -->
<!-- See http://wiki.tdwg.org for current status of this standard -->
<!-- ==================================================================== -->
<!-- Schema -->
<!-- ==================================================================== -->
<xs:schema
targetNamespace="http://rs.tdwg.org/dwc/dwelement"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" version="0.5">
<!-- ============================================================== -->
<!-- Elements -->
<!-- ============================================================== -->
<xs:element name="dwElement" abstract="true"/>
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/DarwinElement" xml:lang="en"/>
</xs:annotation>
</xs:schema>

177
tdwg_dw_geospatial.xsd Normal file
View File

@ -0,0 +1,177 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- ==================================================================== -->
<!-- Introduction -->
<!-- ==================================================================== -->
<!-- History: -->
<!-- version 0.7 2007-04-23 R. De Giovanni: Changed namespace -->
<!-- version 0.6 2007-04-17 R. De Giovanni: Added qualification for -->
<!-- types included from tdwg_basetypes.xsd -->
<!-- version 0.5 2007-02-14 John Wieczorek, Javier de la Torre -->
<!-- Status: -->
<!-- Ready for testing. -->
<!-- See http://wiki.tdwg.org for current status of this standard -->
<!-- ==================================================================== -->
<!-- Schema -->
<!-- ==================================================================== -->
<xs:schema targetNamespace="http://rs.tdwg.org/dwc/geospatial/"
xmlns:dwe="http://rs.tdwg.org/dwc/dwelement"
xmlns:dwg="http://rs.tdwg.org/dwc/geospatial/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" version="0.7">
<!-- ============================================================== -->
<!-- Documentation -->
<!-- ============================================================== -->
<xs:annotation>
<xs:documentation> Protocol-independent XML Schema for a geospatial extension to the Darwin
Core. Synchronized with protocol-dependent content models using same version number. For
element documentation, see
http://wiki.tdwg.org/twiki/bin/view/DarwinCore/GeospatialExtension. </xs:documentation>
</xs:annotation>
<!-- ============================================================== -->
<!-- Includes -->
<!-- ============================================================== -->
<!-- include - inclusions must be top-level elements (children of -->
<!-- the xs:schema element. Inclusion is restricted to the -->
<!-- definition of a single namespace. -->
<!-- ============================================================== -->
<xs:include schemaLocation="http://rs.tdwg.org/dwc/tdwg_basetypes.xsd"/>
<!-- ============================================================== -->
<!-- Imports -->
<!-- ============================================================== -->
<!-- import - must be used to import definitions from other -->
<!-- namespaces. -->
<!-- ============================================================== -->
<xs:import namespace="http://rs.tdwg.org/dwc/dwelement"
schemaLocation="http://rs.tdwg.org/dwc/tdwg_dw_element.xsd"/>
<!-- ============================================================== -->
<!-- Elements -->
<!-- ============================================================== -->
<xs:element name="DecimalLatitude" type="dwg:decimalLatitudeDataType"
substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/DecimalLatitude"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="DecimalLongitude" type="dwg:decimalLongitudeDataType"
substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/DecimalLongitude"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="GeodeticDatum" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/GeodeticDatum"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="CoordinateUncertaintyInMeters" type="xs:positiveInteger"
substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/CoordinateUncertaintyInMeters"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="PointRadiusSpatialFit" type="dwg:spatialFitDataType"
substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/PointRadiusSpatialFit"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="FootprintWKT" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/FootprintWKT"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="FootprintSpatialFit" type="dwg:spatialFitDataType"
substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/FootprintSpatialFit"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="VerbatimCoordinates" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/VerbatimCoordinates"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="VerbatimLatitude" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/VerbatimLatitude"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="VerbatimLongitude" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/VerbatimLongitude"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="VerbatimCoordinateSystem" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/VerbatimCoordinateSystem"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="GeoreferenceProtocol" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/GeoreferenceProtocol"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="GeoreferenceSources" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/GeoreferenceSources"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="GeoreferenceVerificationStatus" type="xs:string"
substitutionGroup="dwe:dwElement" nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/GeoreferenceVerificationStatus"
xml:lang="en"/>
</xs:annotation>
</xs:element>
<xs:element name="GeoreferenceRemarks" type="xs:string" substitutionGroup="dwe:dwElement"
nillable="true">
<xs:annotation>
<xs:documentation
source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/GeoreferenceRemarks"
xml:lang="en"/>
</xs:annotation>
</xs:element>
</xs:schema>

87
tdwg_dw_record.xsd Normal file
View File

@ -0,0 +1,87 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- ==================================================================== -->
<!-- Introduction -->
<!-- ==================================================================== -->
<!-- Darwin application schema incorporating core and standard extensions -->
<!-- into a record using the dwElement substitutionGroup. GML feature -->
<!-- support also provided through the DarwinFeature. -->
<!-- History: -->
<!-- version 0.5 2007-02-14 Renato De Giovanni, John Wieczorek -->
<!-- Status: -->
<!-- Ready for testing. -->
<!-- See http://wiki.tdwg.org for current status of this standard -->
<!-- ==================================================================== -->
<!-- Schema -->
<!-- ==================================================================== -->
<xsd:schema
targetNamespace="http://rs.tdwg.org/dwc/dwrecord"
xmlns:tdwggml="http://rs.tdwg.org/dwc/tdwggml"
xmlns:dwe="http://rs.tdwg.org/dwc/dwelement"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" version="0.5">
<!-- ============================================================== -->
<!-- Documentation -->
<!-- ============================================================== -->
<xsd:annotation>
<xsd:documentation>
Darwin application schema containing Darwin Core and extension
elements into a DarwinRecord or a DarwinFeature, which is a
gmlAbstractFeatureType.
</xsd:documentation>
</xsd:annotation>
<!-- ============================================================== -->
<!-- Imports -->
<!-- ============================================================== -->
<!-- import - must be used to import definitions from other -->
<!-- namespaces. -->
<!-- ============================================================== -->
<xsd:import namespace="http://rs.tdwg.org/dwc/dwelement" schemaLocation="http://rs.tdwg.org/dwc/tdwg_dw_element.xsd"/>
<xsd:import namespace="http://rs.tdwg.org/dwc/tdwggml" schemaLocation="http://rs.tdwg.org/dwc/tdwg_gml.xsd" />
<!-- ============================================================== -->
<!-- Elements -->
<!-- ============================================================== -->
<xsd:element name="DarwinRecordSet">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="DarwinRecord" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="DarwinRecord">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dwe:dwElement" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="DarwinFeature" type="DarwinFeatureType" substitutionGroup="gml:_Feature"/>
<!-- ============================================================== -->
<!-- Types -->
<!-- ============================================================== -->
<xsd:complexType name="DarwinRecordType">
<xsd:sequence>
<xsd:element ref="dwe:dwElement" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="DarwinFeatureType">
<xsd:complexContent>
<xsd:extension base="tdwggml:OccurrenceFeatureType">
<xsd:sequence>
<xsd:element name="darwinRecord" type="DarwinRecordType" nillable="false" minOccurs="1" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:schema>

105
tdwg_dw_record_tapir.xsd Normal file
View File

@ -0,0 +1,105 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://rs.tdwg.org/dwc/dwrecord"
xmlns:dwcore="http://rs.tdwg.org/dwc/dwcore/"
xmlns:dwgeo="http://rs.tdwg.org/dwc/geospatial/"
xmlns:dwcur="http://rs.tdwg.org/dwc/curatorial/"
elementFormDefault="qualified"
version="0.5">
<xs:import namespace="http://rs.tdwg.org/dwc/dwcore/" schemaLocation="http://rs.tdwg.org/dwc/tdwg_dw_core.xsd"/>
<xs:import namespace="http://rs.tdwg.org/dwc/geospatial/" schemaLocation="http://rs.tdwg.org/dwc/tdwg_dw_geospatial.xsd"/>
<xs:import namespace="http://rs.tdwg.org/dwc/curatorial/" schemaLocation="http://rs.tdwg.org/dwc/tdwg_dw_curatorial.xsd"/>
<xs:element name="DarwinRecordSet">
<xs:complexType>
<xs:sequence>
<xs:element name="DarwinRecord" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element ref="dwcore:GlobalUniqueIdentifier" />
<xs:element ref="dwcore:DateLastModified" />
<xs:element ref="dwcore:BasisOfRecord" />
<xs:element ref="dwcore:InstitutionCode" />
<xs:element ref="dwcore:CollectionCode" />
<xs:element ref="dwcore:CatalogNumber" />
<xs:element ref="dwcore:InformationWithheld" minOccurs="0" />
<xs:element ref="dwcore:Remarks" minOccurs="0" />
<xs:element ref="dwcore:ScientificName"/>
<xs:element ref="dwcore:HigherTaxon" minOccurs="0" />
<xs:element ref="dwcore:Kingdom" minOccurs="0" />
<xs:element ref="dwcore:Phylum" minOccurs="0" />
<xs:element ref="dwcore:Class" minOccurs="0" />
<xs:element ref="dwcore:Order" minOccurs="0" />
<xs:element ref="dwcore:Family" minOccurs="0" />
<xs:element ref="dwcore:Genus" minOccurs="0" />
<xs:element ref="dwcore:SpecificEpithet" minOccurs="0" />
<xs:element ref="dwcore:InfraspecificRank" minOccurs="0" />
<xs:element ref="dwcore:InfraspecificEpithet" minOccurs="0" />
<xs:element ref="dwcore:AuthorYearOfScientificName" minOccurs="0" />
<xs:element ref="dwcore:NomenclaturalCode" minOccurs="0" />
<xs:element ref="dwcore:IdentificationQualifier" minOccurs="0" />
<xs:element ref="dwcore:HigherGeography" minOccurs="0" />
<xs:element ref="dwcore:Continent" minOccurs="0" />
<xs:element ref="dwcore:WaterBody" minOccurs="0" />
<xs:element ref="dwcore:IslandGroup" minOccurs="0" />
<xs:element ref="dwcore:Island" minOccurs="0" />
<xs:element ref="dwcore:Country" minOccurs="0" />
<xs:element ref="dwcore:StateProvince" minOccurs="0" />
<xs:element ref="dwcore:County" minOccurs="0" />
<xs:element ref="dwcore:Locality" minOccurs="0" />
<xs:element ref="dwcore:MinimumElevationInMeters" minOccurs="0" />
<xs:element ref="dwcore:MaximumElevationInMeters" minOccurs="0" />
<xs:element ref="dwcore:MinimumDepthInMeters" minOccurs="0" />
<xs:element ref="dwcore:MaximumDepthInMeters" minOccurs="0" />
<xs:element ref="dwcore:CollectingMethod" minOccurs="0" />
<xs:element ref="dwcore:ValidDistributionFlag" minOccurs="0" />
<xs:element ref="dwcore:EarliestDateCollected" minOccurs="0" />
<xs:element ref="dwcore:LatestDateCollected" minOccurs="0" />
<xs:element ref="dwcore:DayOfYear" minOccurs="0" />
<xs:element ref="dwcore:Collector" minOccurs="0" />
<xs:element ref="dwcore:Sex" minOccurs="0" />
<xs:element ref="dwcore:LifeStage" minOccurs="0" />
<xs:element ref="dwcore:Attributes" minOccurs="0" />
<xs:element ref="dwcore:ImageURL" minOccurs="0" />
<xs:element ref="dwcore:RelatedInformation" minOccurs="0" />
<xs:element ref="dwgeo:DecimalLatitude" minOccurs="0" />
<xs:element ref="dwgeo:DecimalLongitude" minOccurs="0" />
<xs:element ref="dwgeo:GeodeticDatum" minOccurs="0" />
<xs:element ref="dwgeo:CoordinateUncertaintyInMeters" minOccurs="0" />
<xs:element ref="dwgeo:PointRadiusSpatialFit" minOccurs="0" />
<xs:element ref="dwgeo:FootprintWKT" minOccurs="0" />
<xs:element ref="dwgeo:FootprintSpatialFit" minOccurs="0" />
<xs:element ref="dwgeo:VerbatimCoordinates" minOccurs="0" />
<xs:element ref="dwgeo:VerbatimLatitude" minOccurs="0" />
<xs:element ref="dwgeo:VerbatimLongitude" minOccurs="0" />
<xs:element ref="dwgeo:VerbatimCoordinateSystem" minOccurs="0" />
<xs:element ref="dwgeo:GeoreferenceProtocol" minOccurs="0" />
<xs:element ref="dwgeo:GeoreferenceSources" minOccurs="0" />
<xs:element ref="dwgeo:GeoreferenceVerificationStatus" minOccurs="0" />
<xs:element ref="dwgeo:GeoreferenceRemarks" minOccurs="0" />
<xs:element ref="dwcur:CatalogNumberNumeric" minOccurs="0" />
<xs:element ref="dwcur:IdentifiedBy" minOccurs="0" />
<xs:element ref="dwcur:DateIdentified" minOccurs="0" />
<xs:element ref="dwcur:CollectorNumber" minOccurs="0" />
<xs:element ref="dwcur:FieldNumber" minOccurs="0" />
<xs:element ref="dwcur:FieldNotes" minOccurs="0" />
<xs:element ref="dwcur:VerbatimCollectingDate" minOccurs="0" />
<xs:element ref="dwcur:VerbatimElevation" minOccurs="0" />
<xs:element ref="dwcur:VerbatimDepth" minOccurs="0" />
<xs:element ref="dwcur:Preparations" minOccurs="0" />
<xs:element ref="dwcur:TypeStatus" minOccurs="0" />
<xs:element ref="dwcur:GenBankNumber" minOccurs="0" />
<xs:element ref="dwcur:OtherCatalogNumbers" minOccurs="0" />
<xs:element ref="dwcur:RelatedCatalogedItems" minOccurs="0" />
<xs:element ref="dwcur:Disposition" minOccurs="0" />
<xs:element ref="dwcur:IndividualCount" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

119
tdwg_gml.xsd Normal file
View File

@ -0,0 +1,119 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- ==================================================================== -->
<!-- Introduction -->
<!-- ==================================================================== -->
<!-- TDWG Simple GML Profile -->
<!-- The following schema document contains only those element -->
<!-- declarations from GML that are required to validate a GML -->
<!-- application schema that complies with this profile. -->
<!-- GML application schemas can ensure compliance with this profile by -->
<!-- importing this schema document rather than schema documents from the -->
<!-- standard GML 3.1.1 distribution. -->
<!-- History: -->
<!-- version 0.5 2007-02-14 P. Dibner, J. Wieczorek, J. de la Torre -->
<!-- Status: -->
<!-- Ready for testing. -->
<!-- CircleByCenterPoint doesn't currently validate importing only -->
<!-- gml:geometryPrimitives, geometryAggregates, feature. Fix this and -->
<!-- remove full gml import. -->
<!-- See http://wiki.tdwg.org for current status of this standard. -->
<!-- ==================================================================== -->
<!-- Schema -->
<!-- JRW: As a profile, this namespace should substitute for gml -->
<!-- ==================================================================== -->
<xs:schema
targetNamespace="http://rs.tdwg.org/dwc/tdwggml"
xmlns="http://rs.tdwg.org/dwc/tdwggml"
xmlns:tdwggml="http://rs.tdwg.org/dwc/tdwggml"
xmlns:gml="http://www.opengis.net/gml"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
version="0.5">
<!-- ============================================================== -->
<!-- Includes -->
<!-- ============================================================== -->
<xs:include schemaLocation="http://rs.tdwg.org/dwc/tdwg_basetypes.xsd"/>
<!-- ============================================================== -->
<!-- Imports -->
<!-- ============================================================== -->
<!-- <xs:import namespace="http://www.opengis.net/gml"
schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/gml.xsd"/>
-->
<!-- JRW: Import only the minimal subset of gml required to support tdwg spatial vocabulary. -->
<xs:import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/feature.xsd"/>
<xs:import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/geometryPrimitives.xsd"/>
<xs:import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/geometryAggregates.xsd"/>
<!-- ============================================================== -->
<!-- Elements -->
<!-- ============================================================== -->
<!-- Collection Location Geometric Properties -->
<!-- In the examples below, dimension is assumed to be 2 and the coordinate reference system is assumed to be understood. However, other choices can be made per the GML specification. -->
<xs:element name="LocationPointRadius" type="pointRadiusType" substitutionGroup="gml:_Feature"
nillable="true"/>
<xs:element name="LocationFootprint" type="footprintType" substitutionGroup="gml:_Feature"
nillable="true"/>
<xs:element name="OccurrenceFeature" type="OccurrenceFeatureType"/>
<!-- ============================================================== -->
<!-- Types -->
<!-- ============================================================== -->
<xs:complexType name="pointRadiusType">
<!-- The point-radius feature type is meant to be able to capture the point-radius
representation of a place as described in Wieczorek et al. (IJGIS 18:8 pp745-767).
This representation uses a point for the centroid of the geometry describing the
place within which an event is thought to have occurred, and a distance from that
point to the furthest point describing that underlying geometry. -->
<xs:complexContent>
<xs:extension base="gml:AbstractFeatureType">
<xs:sequence>
<xs:element name="PointRadius" type="gml:CircleByCenterPointType" minOccurs="0"
maxOccurs="1"/>
<xs:element name="PointRadiusSpatialFit" type="spatialFitDataType" minOccurs="0"
maxOccurs="1"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="footprintType">
<!-- The footprint feature type allows the location to be represented by points, lines,
polygons, curves, or a collection of any of these geometry types. -->
<xs:complexContent>
<xs:extension base="gml:AbstractFeatureType">
<xs:sequence>
<xs:element name="FootprintGeometry" type="gml:MultiGeometryPropertyType"
minOccurs="0" maxOccurs="1"/>
<!-- The footprint geometry holds the collection of encoded geometry objects used
to describe the location. This footprint may be different from the original
spatial representation of the location. For example, the data provider may
represent point locations as the one-degree grid cell in which the point lies. -->
<xs:element name="FootprintSpatialFit" type="spatialFitDataType" minOccurs="0"
maxOccurs="1"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- OccurrenceLocationType -->
<xs:complexType name="OccurrenceFeatureType">
<xs:complexContent>
<xs:extension base="gml:AbstractFeatureType">
<xs:sequence>
<xs:element ref="LocationPointRadius" minOccurs="0"/>
<xs:element ref="LocationFootprint" minOccurs="0"/>
<!-- NB: any GML element substitutable for gml:_Geometry can be added to this list or in an extension. -->
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>