<!--
		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="StudentSectionEnrollmentType">
    <xs:sequence>
      <xs:element name="StudentPersonalRefId" minOccurs="0" type="IdRefType" />
      <xs:element name="SectionInfoRefId" minOccurs="0" type="IdRefType" />
      <xs:element name="SchoolYear" minOccurs="0" nillable="true" type="SchoolYearType" />
      <xs:element name="EntryDate" minOccurs="0" nillable="true" type="xs:date" />
      <xs:element name="ExitDate" minOccurs="0" nillable="true" type="xs:date" />
      <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="StudentSectionEnrollment" type="StudentSectionEnrollmentType">
    <xs:unique name="StudentSectionEnrollmentKey1">
      <xs:selector xpath="./StudentSectionEnrollment" />
      <xs:field xpath="@RefId" />
    </xs:unique>
  </xs:element>

  <xs:complexType name="StudentSectionEnrollmentCollectionType">
    <xs:sequence>
      <xs:element name="StudentSectionEnrollment" type="StudentSectionEnrollmentType" minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="StudentSectionEnrollments" type="StudentSectionEnrollmentCollectionType" />

</xs:schema>