<?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:annotation>
    <xs:documentation>Created at Mon Jan 11 12:00:00 GMT 2010</xs:documentation>
  </xs:annotation>
  
  <xs:complexType name="ComponentInfo">
    <xs:attribute name="name" type="xs:string"/>
    <xs:attribute name="description" type="xs:string"/>
  </xs:complexType>
  
  <xs:complexType name="IntUnit">
    <xs:attribute name="value" type="xs:integer"/>
    <xs:attribute name="unit" type="xs:string"/>
  </xs:complexType>

  <xs:complexType name="DoubleUnit">
    <xs:attribute name="value" type="xs:double"/>
    <xs:attribute name="unit" type="xs:string"/>
  </xs:complexType>
  
  <xs:complexType name="Sample">
    <xs:attribute name="x" type="xs:double"/>
    <xs:attribute name="y" type="xs:double"/>
  </xs:complexType>

  <xs:complexType name="Graph">
    <xs:sequence>
      <xs:element name="sample" type="Sample" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="name" type="xs:string" use="required"/>
    <xs:attribute name="unitX" type="xs:string" use="required"/>
    <xs:attribute name="unitY" type="xs:string" use="required"/>
    <xs:attribute name="option" type="xs:string"/>
    <xs:attribute name="dataType" type="xs:string"/>
  </xs:complexType>
  
 
</xs:schema>
