<?xml version="1.0" encoding="UTF-8"?>
<!--
Version : 1.1.0

The schema for ScheduleSolver solutions.
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="Schedule">
    <xs:complexType>
      <xs:sequence> 
        <xs:element name="ProblemFile" type="xs:string" minOccurs="0"/> <!-- Can be relative to the solution or an absolute file path  -->
        <xs:element name="Employee" minOccurs="0" maxOccurs="unbounded" type="Employee"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>    
    
  <xs:complexType name="Employee">
    <xs:sequence>
      <xs:element name="Shift" minOccurs="0" maxOccurs="unbounded">
        <xs:complexType>
          <xs:attribute name="ID"      type="xs:string"/>
          <xs:attribute name="shiftID" type="xs:string" use="optional"/>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="ID" type="xs:string" use="required"/>
  </xs:complexType>
   
</xs:schema>