<!--
		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="TimeTableCellType">
    <xs:sequence>
      <xs:element name="TimeTableRefId" minOccurs="0" type="IdRefType" />
      <xs:element name="TimeTableSubjectRefId" minOccurs="0" nillable="true" type="IdRefType" />
      <xs:element name="TeachingGroupRefId" minOccurs="0" type="IdRefType" />
      <xs:element name="RoomInfoRefId" minOccurs="0" nillable="true" type="IdRefType" />
      <xs:element name="StaffPersonalRefId" minOccurs="0" nillable="true" type="IdRefType" />
      <xs:element name="TimeTableLocalId" minOccurs="0" nillable="true" type="LocalIdType" />
      <xs:element name="SubjectLocalId" minOccurs="0" nillable="true" type="LocalIdType" />
      <xs:element name="TeachingGroupLocalId" minOccurs="0" nillable="true" type="LocalIdType" />
      <xs:element name="RoomNumber" minOccurs="0" nillable="true" type="HomeroomNumberType" />
      <xs:element name="StaffLocalId" minOccurs="0" nillable="true" type="LocalIdType" />
      <xs:element name="DayId" minOccurs="0" type="LocalIdType" />
      <xs:element name="PeriodId" minOccurs="0" type="LocalIdType" />
      <xs:element name="CellType" minOccurs="0" type="xs:normalizedString" />
      <xs:element name="SchoolInfoRefId" minOccurs="0" nillable="true" type="IdRefType" />
      <xs:element name="SchoolLocalId" minOccurs="0" nillable="true" type="LocalIdType" />
      <xs:element name="TeacherList" minOccurs="0" nillable="true" type="ScheduledTeacherListType" />
      <xs:element name="RoomList" minOccurs="0" nillable="true" type="RoomListType" />
      <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="TimeTableCell" type="TimeTableCellType">
    <xs:unique name="TimeTableCellKey1">
      <xs:selector xpath="./TimeTableCell" />
      <xs:field xpath="@RefId" />
    </xs:unique>
  </xs:element>

  <xs:complexType name="TimeTableCellCollectionType">
    <xs:sequence>
      <xs:element name="TimeTableCell" type="TimeTableCellType" minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="TimeTableCells" type="TimeTableCellCollectionType" />

</xs:schema>