<!--
		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="StudentPersonalType">
    <xs:annotation>
      <xs:documentation>This object contains all the personal information related to the student.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="AlertMessages" minOccurs="0" nillable="true">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="AlertMessage" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>This is an alert message that is associated with the student.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:simpleContent>
                  <xs:extension base="xs:string">
                    <xs:attribute name="Type" use="required">
                      <xs:annotation>
                        <xs:documentation>This attribute specifies what type of alert message this is.</xs:documentation>
                      </xs:annotation>
                      <xs:simpleType>
                        <xs:restriction base="xs:token">
                          <xs:enumeration value="Legal" />
                          <xs:enumeration value="Discipline" />
                          <xs:enumeration value="Educational" />
                          <xs:enumeration value="Other" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:attribute>
                  </xs:extension>
                </xs:simpleContent>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="MedicalAlertMessages" minOccurs="0" nillable="true">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="MedicalAlertMessage" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Medical alert associated with the student.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:simpleContent>
                  <xs:extension base="xs:string">
                    <xs:attribute name="Severity" use="required">
                      <xs:annotation>
                        <xs:documentation>The level of severity of this medical alert.</xs:documentation>
                      </xs:annotation>
                      <xs:simpleType>
                        <xs:restriction base="xs:token">
                          <xs:enumeration value="Low" />
                          <xs:enumeration value="Moderate" />
                          <xs:enumeration value="High" />
                          <xs:enumeration value="Severe" />
                          <xs:enumeration value="Unknown" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:attribute>
                  </xs:extension>
                </xs:simpleContent>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element ref="sif:LocalId" minOccurs="0" />
      <xs:element name="StateProvinceId" minOccurs="0" nillable="true" type="sif:StateProvinceIdType">
        <xs:annotation>
          <xs:documentation>The state-assigned identifier for this student.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ElectronicIdList" minOccurs="0" nillable="true" type="sif:ElectronicIdListType">
        <xs:annotation>
          <xs:documentation>Electronic identifier(s) associated with this entity.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OtherIdList" minOccurs="0" nillable="true">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="OtherId" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Lists an "other" identifier associated with the student.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:simpleContent>
                  <xs:extension base="xs:normalizedString">
                    <xs:attribute name="Type" use="required" type="xs:normalizedString">
                      <xs:annotation>
                        <xs:documentation>Code that defines the type of this other ID.</xs:documentation>
                      </xs:annotation>
                    </xs:attribute>
                  </xs:extension>
                </xs:simpleContent>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element ref="sif:PersonInfo" minOccurs="0" />
      <xs:element name="ProjectedGraduationYear" minOccurs="0" nillable="true" type="sif:ProjectedGraduationYearType">
        <xs:annotation>
          <xs:documentation>Currently projected graduation year.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OnTimeGraduationYear" minOccurs="0" nillable="true" type="sif:OnTimeGraduationYearType">
        <xs:annotation>
          <xs:documentation>First projected graduation year, usually determined when student is accepted into 9th grade.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GraduationDate" minOccurs="0" nillable="true" type="sif:GraduationDateType">
        <xs:annotation>
          <xs:documentation>
      Date student officially graduated from secondary education.
    </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MostRecent" minOccurs="0" nillable="true">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="SchoolLocalId" minOccurs="0" nillable="true" type="sif:LocalIdType">
              <xs:annotation>
                <xs:documentation>Local identifier representing the school in which the student is or was most recently enrolled in the district.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="HomeroomLocalId" minOccurs="0" nillable="true" type="sif:LocalIdType">
              <xs:annotation>
                <xs:documentation>
        Local identifier representing the current or most recent homeroom in which the student is or was most recently assigned in the district.  Use the value from RoomInfo/HomeroomNumber if supported.  If not supported, use the value from RoomInfo/RoomNumber.  If neither is supported, use the most appropriate value from the agent’s application.
      </xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="YearLevel" minOccurs="0" nillable="true" type="sif:YearLevelType">
              <xs:annotation>
                <xs:documentation>The current or most recent grade level of the student in the district.</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="AcceptableUsePolicy" minOccurs="0" nillable="true" type="sif:AUCodeSetsYesOrNoCategoryType">
        <xs:annotation>
          <xs:documentation>Does the student have a current signed Acceptable Use Policy document for system access?</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GiftedTalented" minOccurs="0" nillable="true" type="sif:AUCodeSetsYesOrNoCategoryType" />
      <xs:element name="EconomicDisadvantage" minOccurs="0" nillable="true" type="sif:AUCodeSetsYesOrNoCategoryType">
        <xs:annotation>
          <xs:documentation>Does the student meet the State criteria for classification as having an economic disadvantage?</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ESL" minOccurs="0" nillable="true" type="sif:AUCodeSetsYesOrNoCategoryType">
        <xs:annotation>
          <xs:documentation>Does the student meet ‘English as a Second Language Criteria’?</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="YoungCarersRole" minOccurs="0" nillable="true" type="sif:AUCodeSetsYesOrNoCategoryType">
        <xs:annotation>
          <xs:documentation>Is the student a carer of other family members?</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Disability" minOccurs="0" nillable="true" type="sif:AUCodeSetsYesOrNoCategoryType">
        <xs:annotation>
          <xs:documentation>Does the student have funding for disability?</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IntegrationAide" minOccurs="0" nillable="true" type="sif:AUCodeSetsYesOrNoCategoryType">
        <xs:annotation>
          <xs:documentation>Does the Student require an Integration Aide?</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PrePrimaryEducation" minOccurs="0" nillable="true" type="xs:normalizedString">
        <xs:annotation>
          <xs:documentation>Care prior to kinder enrolment (eg. Family day care/home/extended care etc).</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="FirstAUSchoolEnrollment" minOccurs="0" nillable="true" type="xs:date">
        <xs:annotation>
          <xs:documentation>Date of the first enrolment in an Australian School</xs:documentation>
        </xs:annotation>
      </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_ExtendedElementsKey21">
          <xs:selector xpath="./sif:SIF_ExtendedElement" />
          <xs:field xpath="@Name" />
        </xs:unique>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="RefId" use="required" type="sif:RefIdType">
      <xs:annotation>
        <xs:documentation>The GUID of the student.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>

  <xs:element name="StudentPersonal" type="sif:StudentPersonalType">
    <xs:unique name="StudentPersonalKey1">
      <xs:selector xpath="." />
      <xs:field xpath="@RefId" />
    </xs:unique>
  </xs:element>

</xs:schema>