Subversion Repositories eFlore/Applications.coel

Rev

Rev 1415 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1195 jpm 1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- ==================================================================== -->
3
<!-- Introduction                                                         -->
4
<!-- ==================================================================== -->
5
<!-- Schema for a type library for darwin and extension data types.       -->
6
<!-- History:                                                             -->
7
<!--   version 0.5 2007-02-14 John Wieczorek                              -->
8
<!-- Status:                                                              -->
9
<!--   Ready for testing.                                                 -->
10
<!--   Should be placed in a tdwg shared data types library.              -->
11
<!--   See http://wiki.tdwg.org for current status of this standard       -->
12
 
13
<!-- ==================================================================== -->
14
<!-- Schema                                                               -->
15
<!-- ==================================================================== -->
16
<xs:schema
17
	xmlns:xs="http://www.w3.org/2001/XMLSchema"
18
	elementFormDefault="unqualified" version="0.5">
19
 
20
	<!-- ============================================================== -->
21
	<!-- Types                                                          -->
22
	<!-- ============================================================== -->
23
	<xs:simpleType name="positiveDouble">
24
	  <xs:restriction base="xs:double">
25
	    <xs:minExclusive value="0"/>
26
	  </xs:restriction>
27
	</xs:simpleType>
28
 
29
	<xs:simpleType name="dayOfYearDataType">
30
	  <xs:restriction base="xs:integer">
31
	    <xs:minInclusive value="1"/>
32
	    <xs:maxInclusive value="366"/>
33
	  </xs:restriction>
34
	</xs:simpleType>
35
 
36
	<xs:simpleType name="decimalLatitudeDataType">
37
	  <xs:restriction base="xs:double">
38
 
39
	    <xs:minInclusive value="-90"/>
40
	    <xs:maxInclusive value="90"/>
41
	  </xs:restriction>
42
	</xs:simpleType>
43
 
44
	<xs:simpleType name="decimalLongitudeDataType">
45
	  <xs:restriction base="xs:double">
46
	    <xs:minInclusive value="-180"/>
47
	    <xs:maxInclusive value="180"/>
48
 
49
	  </xs:restriction>
50
	</xs:simpleType>
51
 
52
	<xs:simpleType name="spatialFitDataType">
53
	  <xs:union>
54
	    <xs:simpleType>
55
	      <xs:restriction base="xs:double">
56
		<xs:minInclusive value="0"/>
57
		<xs:maxInclusive value="0"/>
58
 
59
	      </xs:restriction>
60
	    </xs:simpleType>
61
	    <xs:simpleType>
62
	      <xs:restriction base="xs:double">
63
		<xs:minInclusive value="1"/>
64
	      </xs:restriction>
65
	    </xs:simpleType>
66
	    <xs:simpleType>
67
	      <xs:restriction base="xs:NMTOKEN">
68
 
69
		<xs:enumeration value="undefined"/>
70
	      </xs:restriction>
71
	    </xs:simpleType>
72
	  </xs:union>
73
	</xs:simpleType>
74
 
75
        <xs:simpleType name="DateTimeISO">
76
          <xs:annotation>
77
            <xs:documentation xml:lang="en">
78
 
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>