<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" targetNamespace="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.2.0" finalDefault="" blockDefault="" attributeFormDefault="unqualified">
    <annotation>
        <appinfo source="urn:opengis:specification:gml:schema-xsd:grids:v3.2.0">grids.xsd</appinfo>
        <documentation>see GML 19.2</documentation>
    </annotation>
    <include schemaLocation="geometryBasic0d1d.xsd"/>
    <element name="Grid" type="gml:GridType" substitutionGroup="gml:AbstractImplicitGeometry" nillable="false" abstract="false"/>
    <element name="AbstractImplicitGeometry" type="gml:AbstractGeometryType" abstract="true" substitutionGroup="gml:AbstractGeometry" nillable="false"/>
    <complexType name="GridType" mixed="false" abstract="false">
        <complexContent>
            <extension base="gml:AbstractGeometryType">
                <sequence minOccurs="1" maxOccurs="1">
                    <element name="limits" type="gml:GridLimitsType" minOccurs="1" maxOccurs="1" nillable="false"/>
                    <element name="axisName" type="string" maxOccurs="unbounded" minOccurs="1" nillable="false"/>
                </sequence>
                <attribute name="dimension" type="positiveInteger" use="required"/>
            </extension>
        </complexContent>
    </complexType>
    <complexType name="GridLimitsType" mixed="false" abstract="false">
        <sequence minOccurs="1" maxOccurs="1">
            <element name="GridEnvelope" type="gml:GridEnvelopeType" minOccurs="1" maxOccurs="1" nillable="false"/>
        </sequence>
    </complexType>
    <complexType name="GridEnvelopeType" mixed="false" abstract="false">
        <sequence minOccurs="1" maxOccurs="1">
            <element name="low" type="gml:integerList" minOccurs="1" maxOccurs="1" nillable="false"/>
            <element name="high" type="gml:integerList" minOccurs="1" maxOccurs="1" nillable="false"/>
        </sequence>
    </complexType>
    <element name="RectifiedGrid" type="gml:RectifiedGridType" substitutionGroup="gml:Grid" nillable="false" abstract="false"/>
    <complexType name="RectifiedGridType" mixed="false" abstract="false">
        <complexContent>
            <extension base="gml:GridType">
                <sequence minOccurs="1" maxOccurs="1">
                    <element name="origin" type="gml:PointPropertyType" minOccurs="1" maxOccurs="1" nillable="false"/>
                    <element name="offsetVector" type="gml:VectorType" maxOccurs="unbounded" minOccurs="1" nillable="false"/>
                </sequence>
            </extension>
        </complexContent>
    </complexType>
</schema>