<!--
		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="StudentSnapshotType">
    <xs:sequence>
      <xs:element ref="sif:SchoolYear" minOccurs="0" />
      <xs:element ref="sif:Name" minOccurs="0" />
      <xs:element ref="sif:LocalId" minOccurs="0" />
      <xs:element name="StateProvinceId" minOccurs="0" nillable="true" type="sif:StateProvinceIdType" />
      <xs:element name="Sex" minOccurs="0" nillable="true" type="sif:AUCodeSetsSexCodeType" />
      <xs:element name="BirthDate" minOccurs="0" nillable="true" type="sif:BirthDateType" />
      <xs:element name="Age" minOccurs="0" nillable="true" type="xs:unsignedInt" />
      <xs:element name="ProjectedGraduationYear" minOccurs="0" nillable="true" type="sif:ProjectedGraduationYearType" />
      <xs:element name="OnTimeGraduationYear" minOccurs="0" nillable="true" type="sif:OnTimeGraduationYearType" />
      <xs:element name="StudentSubjectChoiceList" minOccurs="0" nillable="true">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="StudentSubjectChoice" minOccurs="0" maxOccurs="unbounded">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="PreferenceNumber" minOccurs="0" nillable="true" type="xs:unsignedInt" />
                  <xs:element name="SubjectLocalId" minOccurs="0" type="sif:LocalIdType" />
                  <xs:element name="StudyDescription" minOccurs="0" nillable="true" type="sif:SubjectAreaType" />
                  <xs:element name="OtherSchoolLocalId" minOccurs="0" nillable="true" type="sif:LocalIdType" />
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="HomeEnrollment" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="StudentSchoolEnrollmentRefId" minOccurs="0" nillable="true" type="sif:IdRefType" />
            <xs:element name="SchoolName" minOccurs="0" nillable="true" type="xs:normalizedString" />
            <xs:element name="SchoolInfoRefId" minOccurs="0" nillable="true" type="sif:IdRefType" />
            <xs:element name="LocalId" minOccurs="0" nillable="true" type="sif:LocalIdType" />
            <xs:element name="SchoolNo" minOccurs="0" nillable="true" type="sif:LocalIdType" />
            <xs:element name="YearLevel" minOccurs="0" nillable="true" type="sif:YearLevelType" />
            <xs:element name="Homeroom" minOccurs="0" nillable="true">
              <xs:complexType>
                <xs:simpleContent>
                  <xs:extension base="sif:IdRefTypeOrEmpty">
                    <xs:attribute name="SIF_RefObject" use="required">
                      <xs:simpleType>
                        <xs:restriction base="xs:token">
                          <xs:enumeration value="RoomInfo" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:attribute>
                  </xs:extension>
                </xs:simpleContent>
              </xs:complexType>
            </xs:element>
            <xs:element name="HomeroomNumber" minOccurs="0" nillable="true" type="sif:HomeroomNumberType" />
          </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_ExtendedElementsKey32">
          <xs:selector xpath="./sif:SIF_ExtendedElement" />
          <xs:field xpath="@Name" />
        </xs:unique>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="SnapDate" use="required" type="xs:date" />
    <xs:attribute name="StudentPersonalRefId" use="required" type="sif:IdRefType" />
  </xs:complexType>

  <xs:element name="StudentSnapshot" type="sif:StudentSnapshotType">
    <xs:unique name="StudentSnapshotKey1">
      <xs:selector xpath="." />
      <xs:field xpath="@SnapDate" />
      <xs:field xpath="@StudentPersonalRefId" />
    </xs:unique>
  </xs:element>

</xs:schema>