<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.saurabh-mittal.com/CoupledDevs" 
elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.saurabh-mittal.com/CoupledDevs">





    <complexType name="CouplingType">
    	<sequence>
    		<element ref="tns:SrcModel"></element>
    		<element ref="tns:outport"></element>
    		<element ref="tns:DestModel"></element>
    		<element ref="tns:inport"></element>
    	</sequence>
    </complexType>
    
    <element name="SrcModel" type="string"></element>

    <element name="outport" type="string"></element>

    <element name="DestModel" type="string"></element>

    <element name="inport" type="string"></element>

    <element name="Couplings" type="tns:CouplingsType"></element>

    <complexType name="CouplingsType">
    	<sequence>
    		<element ref="tns:Coupling" minOccurs="1"
    			maxOccurs="unbounded">
    		</element>
    	</sequence>
    </complexType>

    <element name="Coupling" type="tns:CouplingType"></element>

    <complexType name="DigraphType">
    	<sequence>
    		<element name="Models" type="tns:ModelsType" maxOccurs="1"
    			minOccurs="1">
    		</element>
    		<element ref="tns:Couplings" maxOccurs="1" minOccurs="1"></element>
    	</sequence>
    	<attribute name="name" type="string"></attribute>
    	<attribute name="host" type="string"></attribute>
    </complexType>

    <complexType name="ModelsType">
    	<sequence>
    		<element name="Model" type="tns:ModelType" maxOccurs="unbounded" minOccurs="1"></element>
    	</sequence>
    </complexType>


    <element name="Digraph" type="tns:DigraphType"></element>

    <element name="Models" type="tns:ModelsType"></element>

    <element name="Model" type="tns:ModelType"></element>
    


    <complexType name="ModelType">
    	<sequence>
    		<element name="devs" type="string"></element>
    	</sequence>
    </complexType>
</schema>
