Skip to content

Commit

Permalink
Darwin Core Draft standard version 1.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
tucotuco committed Nov 12, 2014
1 parent a776ace commit c17a5b5
Show file tree
Hide file tree
Showing 9 changed files with 1,183 additions and 0 deletions.
68 changes: 68 additions & 0 deletions index_legacy_rddl.html
Original file line number Diff line number Diff line change
@@ -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 changes: 83 additions & 0 deletions tdwg_basetypes.xsd
Original file line number Diff line number Diff line change
@@ -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>
Loading

0 comments on commit c17a5b5

Please sign in to comment.