<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

    <xsd:include schemaLocation="baseTypes.xsd" />

    <xsd:element name="tazs" type="tazsType"></xsd:element>

    <xsd:complexType name="tazsType">
        <xsd:sequence>
            <xsd:element name="taz" type="tazType" minOccurs="0" maxOccurs="unbounded"></xsd:element>
        </xsd:sequence>
    </xsd:complexType>

    <xsd:complexType name="tazType">
        <xsd:sequence>
            <xsd:element name="tazSource" type="tazSourceType" minOccurs="0" maxOccurs="unbounded"></xsd:element>
            <xsd:element name="tazSink" type="tazSinkType" minOccurs="0" maxOccurs="unbounded"></xsd:element>
        </xsd:sequence>
        <xsd:attribute name="id" type="xsd:string" use="required"/>
        <xsd:attribute name="shape" type="shapeType" use="optional"/>
    </xsd:complexType>

    <xsd:complexType name="tazSourceType">
        <xsd:attribute name="id" type="xsd:string" use="required"/>
        <xsd:attribute name="weight" type="xsd:float" use="required"/>
    </xsd:complexType>

    <xsd:complexType name="tazSinkType">
        <xsd:attribute name="id" type="xsd:string" use="required"/>
        <xsd:attribute name="weight" type="xsd:float" use="required"/>
    </xsd:complexType>

</xsd:schema>
