<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
           xmlns:fft="http://www.flextronics.com/flexflow/testinterface/getunitinfo"
           targetNamespace="http://www.flextronics.com/flexflow/testinterface/getunitinfo"
           version="1.2"
           elementFormDefault="qualified">

  <xs:simpleType name="TypeType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="char"/> 
      <xs:enumeration value="int"/> 
    </xs:restriction>
  </xs:simpleType>
                  
  <xs:element name="UNITINFO" type="fft:UnitinfoType"/>
  
  <xs:complexType name="UnitinfoType">
  <xs:sequence>
  <xs:element name="GROUP" type="fft:GroupType" minOccurs="0" maxOccurs="unbounded" />
  </xs:sequence>
  </xs:complexType>

  <xs:complexType name="GroupType">
  <xs:sequence>
  <xs:element name="UNITDATA" type="fft:UnitdataType" minOccurs="0" maxOccurs="unbounded" />
  </xs:sequence>
  <xs:attribute name="name" type="xs:string" use="required"/>
  </xs:complexType>

  <xs:complexType name="UnitdataType">
  <xs:sequence>
  <xs:element name="NAME" type="fft:NameType" minOccurs="1" maxOccurs="1" />
  <xs:element name="VALUE" type="xs:string" minOccurs="1" maxOccurs="1" />
  </xs:sequence>
  </xs:complexType>

  <xs:complexType name="NameType">
  <xs:attribute name="type" type="fft:TypeType" use="optional"/>
  </xs:complexType>  
</xs:schema>
