<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) Stichting Deltares 2018. All rights reserved.

This file is part of the DAM - UI.

The DAM - UI is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

All names, logos, and references to "Deltares" are registered trademarks of
Stichting Deltares and remain full property of Stichting Deltares at all times.
All rights reserved.
-->

<!-- Created with Liquid XML Studio 1.0.8.0 (http://www.liquid-technologies.com) -->
<xs:schema xmlns:ns4="http://deltares.nl/2008/DamMStabDocDefinition" xmlns:ns5="http://deltares.nl/2008/ImageDefinition" xmlns:ns1="http://deltares.nl/2008/ProfileDefinition" xmlns:ns2="http://deltares.nl/2008/FileIdentificationDefinition" xmlns:ns3="http://deltares.nl/2008/CPTipInterpretationParametersDefinition" xmlns:ns0="http://deltares.nl/2008/DamMStabDocDefinition" elementFormDefault="qualified" targetNamespace="http://deltares.nl/2008/DamMStabDocDefinition" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation=".\FileIdentificationDefinition.xsd" namespace="http://deltares.nl/2008/FileIdentificationDefinition" />
  <xs:import schemaLocation=".\DamMStabInputDefinition.xsd" namespace="http://deltares.nl/2008/DamMStabInputDefinition" />
  <xs:import schemaLocation=".\ProfileDefinition.xsd" namespace="http://deltares.nl/2008/ProfileDefinition" />
  <xs:element name="DamMStabDoc">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="1" maxOccurs="1" name="FileIdentification" type="ns2:FileIdentification" />
        <xs:element xmlns:q1="http://deltares.nl/2008/DamMStabInputDefinition" minOccurs="0" maxOccurs="1" name="DamMStabInput" type="q1:DamMStabInput" />
        <xs:element minOccurs="0" maxOccurs="1" name="Profile" type="ns1:Profile" />
        <xs:element minOccurs="0" maxOccurs="1" name="Geometry2DSectionInput">
          <xs:complexType>
            <xs:attribute name="XCoordinateSection" type="xs:double" use="required" />
            <xs:attribute name="SoilGeometry2DFilename" type="xs:string" use="required" />
          </xs:complexType>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="1" name="Geometry2DData">
          <xs:complexType>
            <xs:sequence>
              <xs:element minOccurs="0" maxOccurs="unbounded" name="Boundary">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element minOccurs="0" maxOccurs="unbounded" name="SurfacePoint">
                      <xs:complexType>
                        <xs:attribute name="XCoord" type="xs:double" use="required" />
                        <xs:attribute name="YCoord" type="xs:double" use="required" />
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                  <xs:attribute name="Soilname" type="xs:string" use="required" />
                  <xs:attribute name="BoundaryIndex" type="xs:integer" />
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>