| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<xs:schema targetNamespace="http://cities.maptools.org/" |
| 3 |
xmlns:cities="http://cities.maptools.org/" |
| 4 |
xmlns:xs="http://www.w3.org/2001/XMLSchema" |
| 5 |
xmlns:gml="http://www.opengis.net/gml" |
| 6 |
elementFormDefault="qualified" version="1.0"> |
| 7 |
<xs:import namespace="http://www.opengis.net/gml" |
| 8 |
schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd"/> |
| 9 |
<xs:element name="FeatureCollection" type="cities:FeatureCollectionType" substitutionGroup="gml:_FeatureCollection"/> |
| 10 |
<xs:complexType name="FeatureCollectionType"> |
| 11 |
<xs:complexContent> |
| 12 |
<xs:extension base="gml:AbstractFeatureCollectionType"> |
| 13 |
<xs:attribute name="lockId" type="xs:string" use="optional"/> |
| 14 |
<xs:attribute name="scope" type="xs:string" use="optional"/> |
| 15 |
</xs:extension> |
| 16 |
</xs:complexContent> |
| 17 |
</xs:complexType> |
| 18 |
<xs:element name="City" type="cities:City_Type" substitutionGroup="gml:_Feature"/> |
| 19 |
<xs:complexType name="City_Type"> |
| 20 |
<xs:complexContent> |
| 21 |
<xs:extension base="gml:AbstractFeatureType"> |
| 22 |
<xs:sequence> |
| 23 |
<xs:element name="name" nillable="false" minOccurs="1" maxOccurs="1"> |
| 24 |
<xs:simpleType> |
| 25 |
<xs:restriction base="xs:string"> |
| 26 |
<xs:maxLength value="42"/> |
| 27 |
</xs:restriction> |
| 28 |
</xs:simpleType> |
| 29 |
</xs:element> |
| 30 |
<xs:element name="geometry" type="gml:PointPropertyType" nillable="false" minOccurs="1" maxOccurs="1"/> |
| 31 |
</xs:sequence> |
| 32 |
</xs:extension> |
| 33 |
</xs:complexContent> |
| 34 |
</xs:complexType> |
| 35 |
</xs:schema> |