<!--
		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="AssessmentRegistrationType">
    <xs:annotation>
      <xs:documentation>This object represents the assignment of a specific assessment to be taken by a student.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="StudentPersonalRefId" type="sif:IdRefType">
        <xs:annotation>
          <xs:documentation>The student associated with the registration.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AssessmentAdministrationRefId" type="sif:IdRefType">
        <xs:annotation>
          <xs:documentation>The assessment administration associated with the registration.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CreationDateTime" type="xs:dateTime">
        <xs:annotation>
          <xs:documentation>Date/time assignment is made.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StudentSpecialConditions" minOccurs="0" nillable="true">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="StudentSpecialCondition" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>
        A description of the special condition.  Student special conditions are different
        from special conditions of the test.
      </xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:simpleContent>
                  <xs:extension base="xs:normalizedString">
                    <xs:attribute name="Code" use="required" type="xs:token">
                      <xs:annotation>
                        <xs:documentation>A code indicating the type of special condition.</xs:documentation>
                      </xs:annotation>
                    </xs:attribute>
                  </xs:extension>
                </xs:simpleContent>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="StudentYearLevel" minOccurs="0" nillable="true" type="sif:YearLevelType">
        <xs:annotation>
          <xs:documentation>Year level of the student at the time of testing.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AssessmentYearLevel" minOccurs="0" nillable="true" type="sif:YearLevelType">
        <xs:annotation>
          <xs:documentation>The Year or level at which the student is to be tested. This element should be omitted unless the student is being tested out-of-level.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AssessmentStudentSnapshot" minOccurs="0" nillable="true">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Sex" minOccurs="0" nillable="true" type="sif:AUCodeSetsSexCodeType">
              <xs:annotation>
                <xs:documentation>Person's gender.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="BirthDate" minOccurs="0" nillable="true" type="sif:BirthDateType">
              <xs:annotation>
                <xs:documentation>The person's date of birth.</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="LEAInfoRefId" minOccurs="0" nillable="true" type="sif:IdRefType">
        <xs:annotation>
          <xs:documentation>Optional reference to a district associated with the registration.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SchoolInfoRefId" minOccurs="0" nillable="true" type="sif:IdRefType">
        <xs:annotation>
          <xs:documentation>Optional reference to a school associated with the registration.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StaffPersonalRefId" minOccurs="0" nillable="true" type="sif:IdRefType">
        <xs:annotation>
          <xs:documentation>Optional reference to a staff person associated with the registration.</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:key name="SIF_ExtendedElementsKey17">
          <xs:selector xpath="./sif:SIF_ExtendedElement" />
          <xs:field xpath="@Name" />
        </xs:key>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="RefId" use="required" type="sif:RefIdType">
      <xs:annotation>
        <xs:documentation>The GUID that uniquely identifies an instance of the object.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>

  <xs:element name="AssessmentRegistration" type="sif:AssessmentRegistrationType">
    <xs:key name="AssessmentRegistrationKey1">
      <xs:selector xpath="." />
      <xs:field xpath="@RefId" />
    </xs:key>
  </xs:element>

</xs:schema>