<!--
		SIF Implementation Specification (Australia) 1.1 (December 23, 2010) Infrastructure Version: 2.4-16
	-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://www.sifinfo.org/au/infrastructure/2.x" xmlns:sif="http://www.sifinfo.org/au/infrastructure/2.x" elementFormDefault="qualified">
  <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="imports/xml/xml.xsd" />
  <xs:complexType name="CalendarDateType">
    <xs:sequence>
      <xs:element name="SchoolInfoRefId" minOccurs="0" type="sif:IdRefType" />
      <xs:element ref="sif:SchoolYear" minOccurs="0" />
      <xs:element name="CalendarDateType" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Code" minOccurs="0" type="sif:AUCodeSetsCalendarEventType" />
            <xs:element name="OtherCodeList" minOccurs="0" nillable="true" type="sif:OtherCodeListType" />
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="CalendarDateNumber" minOccurs="0" nillable="true" type="xs:unsignedInt" />
      <xs:element name="StudentAttendance" minOccurs="0" nillable="true">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="CountsTowardAttendance" minOccurs="0">
              <xs:simpleType>
                <xs:restriction base="xs:token">
                  <xs:enumeration value="Yes" />
                  <xs:enumeration value="No" />
                </xs:restriction>
              </xs:simpleType>
            </xs:element>
            <xs:element name="AttendanceValue" minOccurs="0">
              <xs:simpleType>
                <xs:restriction base="xs:decimal">
                  <xs:minInclusive value="0" xmlns:xs="http://www.w3.org/2001/XMLSchema" />
                  <xs:maxInclusive value="1" xmlns:xs="http://www.w3.org/2001/XMLSchema" />
                  <xs:fractionDigits value="1" xmlns:xs="http://www.w3.org/2001/XMLSchema" />
                </xs:restriction>
              </xs:simpleType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="TeacherAttendance" minOccurs="0" nillable="true">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="CountsTowardAttendance" minOccurs="0">
              <xs:simpleType>
                <xs:restriction base="xs:token">
                  <xs:enumeration value="Yes" />
                  <xs:enumeration value="No" />
                </xs:restriction>
              </xs:simpleType>
            </xs:element>
            <xs:element name="AttendanceValue" minOccurs="0">
              <xs:simpleType>
                <xs:restriction base="xs:decimal">
                  <xs:minInclusive value="0" xmlns:xs="http://www.w3.org/2001/XMLSchema" />
                  <xs:maxInclusive value="1" xmlns:xs="http://www.w3.org/2001/XMLSchema" />
                  <xs:fractionDigits value="1" xmlns:xs="http://www.w3.org/2001/XMLSchema" />
                </xs:restriction>
              </xs:simpleType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="AdministratorAttendance" minOccurs="0" nillable="true">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="CountsTowardAttendance" minOccurs="0">
              <xs:simpleType>
                <xs:restriction base="xs:token">
                  <xs:enumeration value="Yes" />
                  <xs:enumeration value="No" />
                </xs:restriction>
              </xs:simpleType>
            </xs:element>
            <xs:element name="AttendanceValue" minOccurs="0">
              <xs:simpleType>
                <xs:restriction base="xs:decimal">
                  <xs:minInclusive value="0" xmlns:xs="http://www.w3.org/2001/XMLSchema" />
                  <xs:maxInclusive value="1" xmlns:xs="http://www.w3.org/2001/XMLSchema" />
                  <xs:fractionDigits value="1" xmlns:xs="http://www.w3.org/2001/XMLSchema" />
                </xs:restriction>
              </xs:simpleType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="SIF_Metadata" minOccurs="0" nillable="true" type="sif:SIF_MetadataType" />
      <xs:element name="SIF_ExtendedElements" minOccurs="0" nillable="true" type="sif:SIF_ExtendedElementsType">
        <xs:unique name="SIF_ExtendedElementsKey26">
          <xs:selector xpath="./sif:SIF_ExtendedElement" />
          <xs:field xpath="@Name" />
        </xs:unique>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="Date" use="required" type="xs:date" />
    <xs:attribute name="CalendarSummaryRefId" use="required" type="sif:IdRefType" />
  </xs:complexType>

  <xs:element name="CalendarDate" type="sif:CalendarDateType">
    <xs:unique name="CalendarDateKey1">
      <xs:selector xpath="." />
      <xs:field xpath="@Date" />
      <xs:field xpath="@CalendarSummaryRefId" />
    </xs:unique>
  </xs:element>

</xs:schema>