<!--
		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="StudentPersonalType">
    <xs:annotation>
      <xs:appinfo>
        <sifChar />
        <privacyRating>Extreme</privacyRating>
      </xs:appinfo>
      <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" type="AlertMessagesType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>Extreme</privacyRating>
          </xs:appinfo>
          <xs:documentation />
        </xs:annotation>
      </xs:element>
      <xs:element name="MedicalAlertMessages" minOccurs="0" nillable="true" type="MedicalAlertMessagesType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>Extreme</privacyRating>
          </xs:appinfo>
          <xs:documentation />
        </xs:annotation>
      </xs:element>
      <xs:element name="LocalId" type="LocalIdType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>M</sifChar>
            <privacyRating>Medium</privacyRating>
          </xs:appinfo>
          <xs:documentation>The locally-assigned identifier for this student.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StateProvinceId" minOccurs="0" nillable="true" type="StateProvinceIdType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>High</privacyRating>
          </xs:appinfo>
          <xs:documentation>The state-assigned identifier for this student.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ElectronicIdList" minOccurs="0" nillable="true" type="ElectronicIdListType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>Medium</privacyRating>
          </xs:appinfo>
          <xs:documentation>Electronic identifier(s) associated with this entity.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OtherIdList" minOccurs="0" nillable="true" type="OtherIdListType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>Medium</privacyRating>
          </xs:appinfo>
          <xs:documentation>Lists all "other" identifiers associated with the student.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PersonInfo" type="PersonInfoType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>M</sifChar>
            <privacyRating>High</privacyRating>
          </xs:appinfo>
          <xs:documentation>Personal Information </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ProjectedGraduationYear" minOccurs="0" nillable="true" type="ProjectedGraduationYearType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>Low</privacyRating>
          </xs:appinfo>
          <xs:documentation>Currently projected graduation year.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OnTimeGraduationYear" minOccurs="0" nillable="true" type="OnTimeGraduationYearType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>Low</privacyRating>
          </xs:appinfo>
          <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="GraduationDateType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>Low</privacyRating>
          </xs:appinfo>
          <xs:documentation>
      Date student officially graduated from secondary education.
    </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MostRecent" minOccurs="0" nillable="true" type="StudentMostRecentContainerType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>Medium</privacyRating>
          </xs:appinfo>
          <xs:documentation>
        Container for elements reflecting the most recent enrollment of a student.  If the student is
        currently enrolled in the district, the elements contain current information.
      </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AcceptableUsePolicy" minOccurs="0" nillable="true" type="AUCodeSetsYesOrNoCategoryType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>Low</privacyRating>
          </xs:appinfo>
          <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="AUCodeSetsYesOrNoCategoryType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>High</privacyRating>
          </xs:appinfo>
          <xs:documentation>Is the student in Gifted/Talented programs?</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="EconomicDisadvantage" minOccurs="0" nillable="true" type="AUCodeSetsYesOrNoCategoryType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>High</privacyRating>
          </xs:appinfo>
          <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="AUCodeSetsYesOrNoCategoryType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>High</privacyRating>
          </xs:appinfo>
          <xs:documentation>Does the student meet 'English as a Second Language Criteria'?</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ESLDateAssessed" minOccurs="0" nillable="true" type="xs:date">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>Medium</privacyRating>
          </xs:appinfo>
          <xs:documentation>Date ESL eligibility was assessed. Having access to the date the last ESL assessment took place enables a school or the department to initiate a new assessment if required.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="YoungCarersRole" minOccurs="0" nillable="true" type="AUCodeSetsYesOrNoCategoryType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>High</privacyRating>
          </xs:appinfo>
          <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="AUCodeSetsYesOrNoCategoryType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>High</privacyRating>
          </xs:appinfo>
          <xs:documentation>Does the student have funding for disability?</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IntegrationAide" minOccurs="0" nillable="true" type="AUCodeSetsYesOrNoCategoryType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>High</privacyRating>
          </xs:appinfo>
          <xs:documentation>Does the Student require an Integration Aide?</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="EducationSupport" minOccurs="0" nillable="true" type="AUCodeSetsYesOrNoCategoryType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>High</privacyRating>
          </xs:appinfo>
          <xs:documentation>Is the student in receipt of education support?</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="HomeSchooledStudent" minOccurs="0" nillable="true" type="AUCodeSetsYesOrNoCategoryType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>Medium</privacyRating>
          </xs:appinfo>
          <xs:documentation>Student is not attending any school registered in the Australian School List. Mandatory if true.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Sensitive" minOccurs="0" nillable="true" type="AUCodeSetsYesOrNoCategoryType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>High</privacyRating>
          </xs:appinfo>
          <xs:documentation>For local use by jurisdictions where a court order, custody order or other restriction or risk exists and the student's record needs to be treated sensitively as restrictions on use apply.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OfflineDelivery" minOccurs="0" nillable="true" type="AUCodeSetsYesOrNoCategoryType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>Low</privacyRating>
          </xs:appinfo>
          <xs:documentation>Note that the student is unable to sit an assessment via an online delivery mode.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PrePrimaryEducation" minOccurs="0" nillable="true" type="xs:normalizedString">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>High</privacyRating>
          </xs:appinfo>
          <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:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>Low</privacyRating>
          </xs:appinfo>
          <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_MetadataType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>Extreme</privacyRating>
          </xs:appinfo>
          <xs:documentation />
        </xs:annotation>
      </xs:element>
      <xs:element name="SIF_ExtendedElements" minOccurs="0" nillable="true" type="SIF_ExtendedElementsType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>Extreme</privacyRating>
          </xs:appinfo>
          <xs:documentation />
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="RefId" use="required" type="RefIdType">
      <xs:annotation>
        <xs:appinfo>
          <sifChar>M</sifChar>
          <privacyRating>Medium</privacyRating>
        </xs:appinfo>
        <xs:documentation>The GUID of the student.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>

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

  <xs:complexType name="StudentPersonalCollectionType">
    <xs:sequence>
      <xs:element name="StudentPersonal" type="StudentPersonalType" minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="StudentPersonals" type="StudentPersonalCollectionType" />

</xs:schema>