<?xml version="1.0" encoding="UTF-8"?>
<!--Delft FEWS (Copyright 2003 WL | Delft Hydraulics) -->
<schema targetNamespace="http://www.wldelft.nl/fews" xmlns:fews="http://www.wldelft.nl/fews" xmlns="http://www.w3.org/2001/XMLSchema"  elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
	<include schemaLocation="sharedTypes.xsd"/>
	<element name="flagConversions" type="fews:FlagConversionsComplexType">
		<annotation>
			<documentation>root</documentation>
		</annotation>
	</element>
	<complexType name="FlagConversionsComplexType">
		<annotation>
			<documentation>Collection of all flag conversions</documentation>
		</annotation>
		<sequence>
			<element name="flagConversion" type="fews:FlagConversionComplexType" minOccurs="0" maxOccurs="unbounded"/>
			<element name="defaultOuputFlag" type="fews:FlagComplexType" minOccurs="0"/>
			<element name="missingValueFlag" type="fews:FlagComplexType"/>
		</sequence>
	</complexType>
	<complexType name="FlagConversionComplexType">
		<annotation>
			<documentation>A single flag conversion</documentation>
		</annotation>
		<sequence>
			<element name="inputFlag" type="fews:StringFlagComplexType"/>
			<element name="outputFlag" type="fews:FlagComplexType"/>
		</sequence>
	</complexType>
	<complexType name="FlagComplexType">
		<annotation>
			<documentation>Value flag type</documentation>
		</annotation>
		<sequence>
			<element name="name" type="string" minOccurs="0">
				<annotation>
					<documentation>Name of flag</documentation>
				</annotation>
			</element>
			<element name="value" type="int">
				<annotation>
					<documentation>Value of flag</documentation>
				</annotation>
			</element>
			<element name="description" type="string" minOccurs="0">
				<annotation>
					<documentation>Description of flag</documentation>
				</annotation>
			</element>
		</sequence>
	</complexType>
    <complexType name="StringFlagComplexType">
        <annotation>
            <documentation>Value flag type</documentation>
        </annotation>
        <sequence>
            <element name="name" type="string" minOccurs="0">
                <annotation>
                    <documentation>Name of flag</documentation>
                </annotation>
            </element>
            <element name="value" type="string">
                <annotation>
                    <documentation>String Value of flag</documentation>
                </annotation>
            </element>
            <element name="description" type="string" minOccurs="0">
                <annotation>
                    <documentation>Description of flag</documentation>
                </annotation>
            </element>
        </sequence>
    </complexType>
</schema>
