<!--
		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="NAPEventStudentLinkType">
    <xs:sequence>
      <xs:element name="StudentPersonalRefId" minOccurs="0" nillable="true" type="IdRefType" />
      <xs:element name="PlatformStudentIdentifier" type="LocalIdType" />
      <xs:element name="SchoolInfoRefId" minOccurs="0" nillable="true" type="IdRefType" />
      <xs:element name="SchoolACARAId" type="LocalIdType" />
      <xs:element name="NAPTestRefId" minOccurs="0" nillable="true" type="IdRefType" />
      <xs:element name="NAPTestLocalId" type="LocalIdType" />
      <xs:element name="SchoolSector" type="AUCodeSetsSchoolSectorCodeType" />
      <xs:element name="System" minOccurs="0" nillable="true" type="AUCodeSetsSchoolSystemType" />
      <xs:element name="SchoolGeolocation" minOccurs="0" nillable="true" type="AUCodeSetsSchoolLocationType" />
      <xs:element name="ReportingSchoolName" minOccurs="0" nillable="true" type="xs:normalizedString" />
      <xs:element name="NAPJurisdiction" minOccurs="0" nillable="true" type="AUCodeSetsNAPJurisdictionType" />
      <xs:element name="ParticipationCode" type="AUCodeSetsNAPParticipationCodeType" />
      <xs:element name="ParticipationText" type="xs:normalizedString" />
      <xs:element name="Device" minOccurs="0" nillable="true" type="xs:token" />
      <xs:element name="Date" minOccurs="0" nillable="true" type="xs:date" />
      <xs:element name="StartTime" minOccurs="0" nillable="true" type="xs:time" />
      <xs:element name="LapsedTimeTest" minOccurs="0" nillable="true" type="xs:duration" />
      <xs:element name="ExemptionReason" minOccurs="0" nillable="true" type="xs:normalizedString" />
      <xs:element name="PersonalDetailsChanged" minOccurs="0" nillable="true" type="xs:boolean" />
      <xs:element name="PSIOtherIdMatch" minOccurs="0" nillable="true" type="xs:boolean" />
      <xs:element name="PossibleDuplicate" minOccurs="0" nillable="true" type="xs:boolean" />
      <xs:element name="DOBRange" minOccurs="0" nillable="true" type="xs:boolean" />
      <xs:element name="TestDisruptionList" minOccurs="0" nillable="true" type="TestDisruptionListType" />
      <xs:element name="Adjustment" minOccurs="0" nillable="true" type="AdjustmentContainerType" />
      <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="RefId" use="required" type="RefIdType" />
  </xs:complexType>

  <xs:element name="NAPEventStudentLink" type="NAPEventStudentLinkType">
    <xs:key name="NAPEventStudentLinkKey1">
      <xs:selector xpath="./NAPEventStudentLink" />
      <xs:field xpath="@RefId" />
    </xs:key>
  </xs:element>

  <xs:complexType name="NAPEventStudentLinkCollectionType">
    <xs:sequence>
      <xs:element name="NAPEventStudentLink" type="NAPEventStudentLinkType" minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="NAPEventStudentLinks" type="NAPEventStudentLinkCollectionType" />

</xs:schema>