<!--
		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="LearningStandardItemType">
    <xs:annotation>
      <xs:appinfo>
        <sifChar />
        <privacyRating>Low</privacyRating>
      </xs:appinfo>
      <xs:documentation>
      This object contains information related to curriculum standards statements "standards" or "benchmarks" or the like
      within the document. Each LearningStandardItem reflects an individual standard statement and may occur
      at several levels within a hierarchially structured document.
    </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Resources" minOccurs="0" nillable="true" type="LResourcesType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>Low</privacyRating>
          </xs:appinfo>
          <xs:documentation>Container for related resources.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StandardSettingBody" minOccurs="0" nillable="true" type="StandardsSettingBodyType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>Low</privacyRating>
          </xs:appinfo>
          <xs:documentation>The name of the state or organization that authored and manages updates to the curriculum document (i.e., ACARA, NSW DET).</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StandardHierarchyLevel" type="StandardHierarchyLevelType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>M</sifChar>
            <privacyRating>Low</privacyRating>
          </xs:appinfo>
          <xs:documentation>Description of hierarchical level within standards tree.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PredecessorItems" minOccurs="0" nillable="true" type="LearningStandardsType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>Low</privacyRating>
          </xs:appinfo>
          <xs:documentation>GUID assigned to the LearningStandardItem directly above it in the hierarchy tree. This is a repeatable element because a single granular item may relate to multiple parent levels of the hierarchy.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StatementCodes" minOccurs="0" nillable="true" type="StatementCodesType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>Low</privacyRating>
          </xs:appinfo>
          <xs:documentation />
        </xs:annotation>
      </xs:element>
      <xs:element name="Statements" minOccurs="0" nillable="true" type="StatementsType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>Low</privacyRating>
          </xs:appinfo>
          <xs:documentation />
        </xs:annotation>
      </xs:element>
      <xs:element name="YearLevels" type="YearLevelsType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>M</sifChar>
            <privacyRating>Low</privacyRating>
          </xs:appinfo>
          <xs:documentation />
        </xs:annotation>
      </xs:element>
      <xs:element name="ACStrandSubjectArea" minOccurs="0" nillable="true" type="ACStrandSubjectAreaType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>Low</privacyRating>
          </xs:appinfo>
          <xs:documentation />
        </xs:annotation>
      </xs:element>
      <xs:element name="StandardIdentifier" minOccurs="0" nillable="true" type="StandardIdentifierType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>Low</privacyRating>
          </xs:appinfo>
          <xs:documentation>This element describes the unique identifier for each LearningStandard.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="LearningStandardDocumentRefId" type="IdRefType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>M</sifChar>
            <privacyRating>Low</privacyRating>
          </xs:appinfo>
          <xs:documentation>The RefId of the item's parent LearningStandardDocument.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RelatedLearningStandardItems" minOccurs="0" nillable="true" type="RelatedLearningStandardItemRefIdListType">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>Low</privacyRating>
          </xs:appinfo>
          <xs:documentation>Container for external relationships.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Level4" minOccurs="0" nillable="true" type="xs:normalizedString">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>Low</privacyRating>
          </xs:appinfo>
          <xs:documentation>This is the second to most granular level of the learning or performance standard associated with the grade level.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Level5" minOccurs="0" nillable="true" type="xs:normalizedString">
        <xs:annotation>
          <xs:appinfo>
            <sifChar>O</sifChar>
            <privacyRating>Low</privacyRating>
          </xs:appinfo>
          <xs:documentation>This is the most granular level of the learning or performance standard associated with the grade level.</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>Low</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>Low</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>Low</privacyRating>
        </xs:appinfo>
        <xs:documentation>GUID assigned to each statement at each level within the document hierarchy</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>

  <xs:element name="LearningStandardItem" type="LearningStandardItemType">
    <xs:key name="LearningStandardItemKey1">
      <xs:selector xpath="./LearningStandardItem" />
      <xs:field xpath="@RefId" />
    </xs:key>
  </xs:element>

  <xs:complexType name="LearningStandardItemCollectionType">
    <xs:sequence>
      <xs:element name="LearningStandardItem" type="LearningStandardItemType" minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="LearningStandardItems" type="LearningStandardItemCollectionType" />

</xs:schema>