1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278
|
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1 2010-01-28">
<annotation>
<appinfo source="urn:opengis:specification:gml:schema-xsd:basicTypes:3.1.1">basicTypes.xsd</appinfo>
<documentation>
Generic simpleContent components for use in GML
GML is an OGC Standard.
Copyright (c) 2001,2005,2010 Open Geospatial Consortium, Inc. All Rights Reserved.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
</documentation>
</annotation>
<!-- =========================================================== -->
<simpleType name="NullEnumeration">
<annotation>
<documentation> Some common reasons for a null value:
innapplicable - the object does not have a value
missing - The correct value is not readily available to the sender of this data.
Furthermore, a correct value may not exist.
template - the value will be available later
unknown - The correct value is not known to, and not computable by, the sender of this data.
However, a correct value probably exists.
withheld - the value is not divulged
other:reason - as indicated by "reason" string
Specific communities may agree to assign more strict semantics when these terms are used in a particular context.
</documentation>
</annotation>
<union>
<simpleType>
<restriction base="string">
<enumeration value="inapplicable"/>
<enumeration value="missing"/>
<enumeration value="template"/>
<enumeration value="unknown"/>
<enumeration value="withheld"/>
</restriction>
</simpleType>
<simpleType>
<restriction base="string">
<pattern value="other:\w{2,}"/>
</restriction>
</simpleType>
</union>
</simpleType>
<!-- =========================================================== -->
<simpleType name="NullType">
<annotation>
<documentation>Utility type for null elements. The value may be selected from one of the enumerated tokens, or may be a URI in which case this should identify a resource which describes the reason for the null. </documentation>
</annotation>
<union memberTypes="gml:NullEnumeration anyURI"/>
</simpleType>
<!-- =========================================================== -->
<element name="Null" type="gml:NullType"/>
<!-- ===================================================== -->
<simpleType name="SignType">
<annotation>
<documentation>Utility type used in various places
- e.g. to indicate the direction of topological objects;
"+" for forwards, or "-" for backwards.</documentation>
</annotation>
<restriction base="string">
<enumeration value="-"/>
<enumeration value="+"/>
</restriction>
</simpleType>
<!-- =========================================================== -->
<simpleType name="booleanOrNull">
<annotation>
<documentation>Union of the XML Schema boolean type and the GML Nulltype. An element which uses this type may have content which is either a boolean {0,1,true,false} or a value from Nulltype</documentation>
</annotation>
<union memberTypes="gml:NullEnumeration boolean anyURI"/>
</simpleType>
<!-- =========================================================== -->
<simpleType name="booleanOrNullList">
<annotation>
<documentation>XML List based on the union type defined above. An element declared with this type contains a space-separated list of boolean values {0,1,true,false} with null values interspersed as needed</documentation>
</annotation>
<list itemType="gml:booleanOrNull"/>
</simpleType>
<!-- =========================================================== -->
<simpleType name="booleanList">
<annotation>
<documentation>XML List based on XML Schema boolean type. An element of this type contains a space-separated list of boolean values {0,1,true,false}</documentation>
</annotation>
<list itemType="boolean"/>
</simpleType>
<!-- =========================================================== -->
<simpleType name="stringOrNull">
<annotation>
<documentation>Union of the XML Schema string type and the GML Nulltype. An element which uses this type may have content which is either a string or a value from Nulltype. Note that a "string" may contain whitespace. </documentation>
</annotation>
<union memberTypes="gml:NullEnumeration string anyURI"/>
</simpleType>
<!-- =========================================================== -->
<simpleType name="NameOrNull">
<annotation>
<documentation>Union of the XML Schema Name type and the GML Nulltype. An element which uses this type may have content which is either a Name or a value from Nulltype. Note that a "Name" may not contain whitespace. </documentation>
</annotation>
<union memberTypes="gml:NullEnumeration Name anyURI"/>
</simpleType>
<!-- =========================================================== -->
<simpleType name="NameOrNullList">
<annotation>
<documentation>XML List based on the union type defined above. An element declared with this type contains a space-separated list of Name values with null values interspersed as needed</documentation>
</annotation>
<list itemType="gml:NameOrNull"/>
</simpleType>
<!-- =========================================================== -->
<simpleType name="NameList">
<annotation>
<documentation>XML List based on XML Schema Name type. An element of this type contains a space-separated list of Name values</documentation>
</annotation>
<list itemType="Name"/>
</simpleType>
<!-- =========================================================== -->
<simpleType name="doubleOrNull">
<annotation>
<documentation>Union of the XML Schema double type and the GML Nulltype. An element which uses this type may have content which is either a double or a value from Nulltype</documentation>
</annotation>
<union memberTypes="gml:NullEnumeration double anyURI"/>
</simpleType>
<!-- =========================================================== -->
<simpleType name="doubleOrNullList">
<annotation>
<documentation>XML List based on the union type defined above. An element declared with this type contains a space-separated list of double values with null values interspersed as needed</documentation>
</annotation>
<list itemType="gml:doubleOrNull"/>
</simpleType>
<!-- =========================================================== -->
<simpleType name="doubleList">
<annotation>
<documentation>XML List based on XML Schema double type. An element of this type contains a space-separated list of double values</documentation>
</annotation>
<list itemType="double"/>
</simpleType>
<!-- =========================================================== -->
<simpleType name="integerOrNull">
<annotation>
<documentation>Union of the XML Schema integer type and the GML Nulltype. An element which uses this type may have content which is either an integer or a value from Nulltype</documentation>
</annotation>
<union memberTypes="gml:NullEnumeration integer anyURI"/>
</simpleType>
<!-- =========================================================== -->
<simpleType name="integerOrNullList">
<annotation>
<documentation>XML List based on the union type defined above. An element declared with this type contains a space-separated list of integer values with null values interspersed as needed</documentation>
</annotation>
<list itemType="gml:integerOrNull"/>
</simpleType>
<!-- =========================================================== -->
<simpleType name="integerList">
<annotation>
<documentation>XML List based on XML Schema integer type. An element of this type contains a space-separated list of integer values</documentation>
</annotation>
<list itemType="integer"/>
</simpleType>
<!-- =========================================================== -->
<complexType name="CodeType">
<annotation>
<documentation>Name or code with an (optional) authority. Text token.
If the codeSpace attribute is present, then its value should identify a dictionary, thesaurus
or authority for the term, such as the organisation who assigned the value,
or the dictionary from which it is taken.
A text string with an optional codeSpace attribute. </documentation>
</annotation>
<simpleContent>
<extension base="string">
<attribute name="codeSpace" type="anyURI" use="optional"/>
</extension>
</simpleContent>
</complexType>
<!-- =========================================================== -->
<complexType name="CodeListType">
<annotation>
<documentation>List of values on a uniform nominal scale. List of text tokens.
In a list context a token should not include any spaces, so xsd:Name is used instead of xsd:string.
If a codeSpace attribute is present, then its value is a reference to
a Reference System for the value, a dictionary or code list.</documentation>
</annotation>
<simpleContent>
<extension base="gml:NameList">
<attribute name="codeSpace" type="anyURI" use="optional"/>
</extension>
</simpleContent>
</complexType>
<!-- =========================================================== -->
<complexType name="CodeOrNullListType">
<annotation>
<documentation>List of values on a uniform nominal scale. List of text tokens.
In a list context a token should not include any spaces, so xsd:Name is used instead of xsd:string.
A member of the list may be a typed null.
If a codeSpace attribute is present, then its value is a reference to
a Reference System for the value, a dictionary or code list.</documentation>
</annotation>
<simpleContent>
<extension base="gml:NameOrNullList">
<attribute name="codeSpace" type="anyURI" use="optional"/>
</extension>
</simpleContent>
</complexType>
<!-- =========================================================== -->
<complexType name="MeasureType">
<annotation>
<documentation>Number with a scale.
The value of uom (Units Of Measure) attribute is a reference to a Reference System for the amount, either a ratio or position scale. </documentation>
</annotation>
<simpleContent>
<extension base="double">
<attribute name="uom" type="anyURI" use="required"/>
</extension>
</simpleContent>
</complexType>
<!-- =========================================================== -->
<complexType name="MeasureListType">
<annotation>
<documentation>List of numbers with a uniform scale.
The value of uom (Units Of Measure) attribute is a reference to
a Reference System for the amount, either a ratio or position scale. </documentation>
</annotation>
<simpleContent>
<extension base="gml:doubleList">
<attribute name="uom" type="anyURI" use="required"/>
</extension>
</simpleContent>
</complexType>
<!-- =========================================================== -->
<complexType name="MeasureOrNullListType">
<annotation>
<documentation>List of numbers with a uniform scale.
A member of the list may be a typed null.
The value of uom (Units Of Measure) attribute is a reference to
a Reference System for the amount, either a ratio or position scale. </documentation>
</annotation>
<simpleContent>
<extension base="gml:doubleOrNullList">
<attribute name="uom" type="anyURI" use="required"/>
</extension>
</simpleContent>
</complexType>
<!-- =========================================================== -->
<complexType name="CoordinatesType">
<annotation>
<documentation>Tables or arrays of tuples.
May be used for text-encoding of values from a table.
Actually just a string, but allows the user to indicate which characters are used as separators.
The value of the 'cs' attribute is the separator for coordinate values,
and the value of the 'ts' attribute gives the tuple separator (a single space by default);
the default values may be changed to reflect local usage.
Defaults to CSV within a tuple, space between tuples.
However, any string content will be schema-valid. </documentation>
</annotation>
<simpleContent>
<extension base="string">
<attribute name="decimal" type="string" default="."/>
<attribute name="cs" type="string" default=","/>
<attribute name="ts" type="string" default=" "/>
</extension>
</simpleContent>
</complexType>
<!-- =========================================================== -->
<simpleType name="NCNameList">
<annotation>
<documentation>A set of values, representing a list of token with the lexical value space of NCName. The tokens are seperated by whitespace.</documentation>
</annotation>
<list itemType="NCName"/>
</simpleType>
<!-- ============================================================== -->
<simpleType name="QNameList">
<annotation>
<documentation>A set of values, representing a list of token with the lexical value space of QName. The tokens are seperated by whitespace.</documentation>
</annotation>
<list itemType="QName"/>
</simpleType>
<!-- ============================================================== -->
</schema>
|