1
|
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="riversAsGML32" xmlns:gml="http://www.opengis.net/gml/3.2" targetNamespace="riversAsGML32" elementFormDefault="qualified" version="1.0">
|
3
|
<xsd:import namespace="http://www.opengis.net/gml/3.2" schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>
|
4
|
<xsd:element name="rivers" type="tns:riversType" substitutionGroup="tns:AbstractFeature"/>
|
5
|
<xsd:element name="FeatureCollection" type="tns:FeatureCollectionType" substitutionGroup="gml:AbstractGML"/>
|
6
|
<xsd:element name="AbstractFeature" type="tns:AbstractFeatureType" substitutionGroup="gml:AbstractFeature"/>
|
7
|
<xsd:complexType name="FeatureCollectionType">
|
8
|
<xsd:complexContent>
|
9
|
<xsd:extension base="gml:AbstractFeatureType">
|
10
|
<xsd:sequence>
|
11
|
<xsd:element name="featureMember" minOccurs="0" maxOccurs="unbounded">
|
12
|
<xsd:complexType>
|
13
|
<xsd:complexContent>
|
14
|
<xsd:extension base="gml:AbstractFeatureMemberType">
|
15
|
<xsd:sequence>
|
16
|
<xsd:element ref="gml:AbstractFeature"/>
|
17
|
</xsd:sequence>
|
18
|
</xsd:extension>
|
19
|
</xsd:complexContent>
|
20
|
</xsd:complexType>
|
21
|
</xsd:element>
|
22
|
</xsd:sequence>
|
23
|
</xsd:extension>
|
24
|
</xsd:complexContent>
|
25
|
</xsd:complexType>
|
26
|
<xsd:complexType name="AbstractFeatureType" abstract="true">
|
27
|
<xsd:complexContent>
|
28
|
<xsd:extension base="gml:AbstractFeatureType"/>
|
29
|
</xsd:complexContent>
|
30
|
</xsd:complexType>
|
31
|
<xsd:complexType name="riversPropertyType">
|
32
|
<xsd:sequence>
|
33
|
<xsd:element ref="tns:rivers" minOccurs="0"/>
|
34
|
</xsd:sequence>
|
35
|
<xsd:attributeGroup ref="gml:AssociationAttributeGroup"/>
|
36
|
<xsd:attributeGroup ref="gml:OwnershipAttributeGroup"/>
|
37
|
</xsd:complexType>
|
38
|
<xsd:complexType name="riversType">
|
39
|
<xsd:complexContent>
|
40
|
<xsd:extension base="tns:AbstractFeatureType">
|
41
|
<xsd:sequence>
|
42
|
<xsd:element name="geometry" type="gml:GeometryPropertyType"/>
|
43
|
<xsd:element name="NAME" minOccurs="0" type="xsd:string"/>
|
44
|
<xsd:element name="SYSTEM" minOccurs="0" type="xsd:string"/>
|
45
|
</xsd:sequence>
|
46
|
</xsd:extension>
|
47
|
</xsd:complexContent>
|
48
|
</xsd:complexType>
|
49
|
<xsd:complexType name="AbstractFeaturePropertyType">
|
50
|
<xsd:sequence>
|
51
|
<xsd:element ref="tns:AbstractFeature" minOccurs="0"/>
|
52
|
</xsd:sequence>
|
53
|
<xsd:attributeGroup ref="gml:AssociationAttributeGroup"/>
|
54
|
<xsd:attributeGroup ref="gml:OwnershipAttributeGroup"/>
|
55
|
</xsd:complexType>
|
56
|
</xsd:schema>
|