<!--
		SIF Implementation Specification (Australia) 3.4.3


		(April 5, 2018)
		
		Infrastructure Version: v3
	-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.sifassociation.org/datamodel/au/3.4" targetNamespace="http://www.sifassociation.org/datamodel/au/3.4" elementFormDefault="qualified" version="3.4.3">
  <xs:complexType name="StudentAttendanceSummaryType">
    <xs:sequence>
      <xs:element name="StudentPersonalRefId" type="IdRefType" />
      <xs:element name="SchoolInfoRefId" type="IdRefType" />
      <xs:element name="SchoolYear" type="SchoolYearType" />
      <xs:element name="StartDate" type="xs:date" />
      <xs:element name="EndDate" type="xs:date" />
      <xs:element name="StartDay" minOccurs="0" nillable="true" type="xs:unsignedInt" />
      <xs:element name="EndDay" minOccurs="0" nillable="true" type="xs:unsignedInt" />
      <xs:element name="FTE" minOccurs="0" nillable="true">
        <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="2" xmlns:xs="http://www.w3.org/2001/XMLSchema" />
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="DaysAttended" type="xs:decimal" />
      <xs:element name="ExcusedAbsences" type="xs:decimal" />
      <xs:element name="UnexcusedAbsences" type="xs:decimal" />
      <xs:element name="DaysTardy" minOccurs="0" nillable="true" type="xs:decimal" />
      <xs:element name="DaysInMembership" type="xs:decimal" />
      <xs:element name="SIF_Metadata" minOccurs="0" nillable="true" type="SIF_MetadataType" />
      <xs:element name="SIF_ExtendedElements" minOccurs="0" nillable="true" type="SIF_ExtendedElementsType" />
    </xs:sequence>
    <xs:attribute name="StudentAttendanceSummaryRefId" use="required" type="IdRefType" />
  </xs:complexType>

  <xs:element name="StudentAttendanceSummary" type="StudentAttendanceSummaryType">
    <xs:key name="StudentAttendanceSummaryKey1">
      <xs:selector xpath="./StudentAttendanceSummary" />
      <xs:field xpath="@StudentAttendanceSummaryRefId" />
    </xs:key>
  </xs:element>

  <xs:complexType name="StudentAttendanceSummaryCollectionType">
    <xs:sequence>
      <xs:element name="StudentAttendanceSummary" type="StudentAttendanceSummaryType" minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="StudentAttendanceSummarys" type="StudentAttendanceSummaryCollectionType" />

</xs:schema>