<?xml version="1.0" encoding="utf-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified"> <xs:import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/gml.xsd"/> <xs:element name="mylayer" type="foo:mylayerType" substitutionGroup="gml:_Feature"/> <xs:complexType name="mylayerType"> <xs:complexContent> <xs:extension base="gml:AbstractFeatureType"> <xs:sequence> <xs:element minOccurs="0" name="Shape" type="gml:PointPropertyType"/> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> </xs:schema>