<!--
		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="ActivityType">
    <xs:sequence>
      <xs:element name="Title" minOccurs="0" nillable="true" type="xs:normalizedString" />
      <xs:element name="Preamble" minOccurs="0" nillable="true" type="xs:string" />
      <xs:element name="TechnicalRequirements" minOccurs="0" nillable="true" type="TechnicalRequirementsType" />
      <xs:element name="SoftwareRequirementList" minOccurs="0" nillable="true" type="SoftwareRequirementListType" />
      <xs:element name="EssentialMaterials" minOccurs="0" nillable="true" type="EssentialMaterialsType" />
      <xs:element name="LearningObjectives" minOccurs="0" nillable="true" type="LearningObjectivesType" />
      <xs:element name="LearningStandards" minOccurs="0" nillable="true" type="LearningStandardsType" />
      <xs:element name="SubjectArea" minOccurs="0" nillable="true" type="SubjectAreaType" />
      <xs:element name="Prerequisites" minOccurs="0" nillable="true" type="PrerequisitesType" />
      <xs:element name="Students" minOccurs="0" nillable="true" type="StudentsType" />
      <xs:element name="SourceObjects" minOccurs="0" nillable="true" type="SourceObjectsType" />
      <xs:element name="Points" minOccurs="0" nillable="true" type="xs:unsignedInt" />
      <xs:element name="ActivityTime" type="ActivityTimeType" />
      <xs:element name="AssessmentRefId" minOccurs="0" nillable="true" type="IdRefType" />
      <xs:element name="MaxAttemptsAllowed" minOccurs="0" nillable="true" type="xs:unsignedInt" />
      <xs:element name="ActivityWeight" minOccurs="0" nillable="true" type="xs:decimal" />
      <xs:element name="Evaluation" minOccurs="0" nillable="true">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Description" minOccurs="0" nillable="true" type="xs:string" />
          </xs:sequence>
          <xs:attribute name="EvaluationType" use="required">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="Inline" />
                <xs:enumeration value="RefId" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="LearningResources" minOccurs="0" nillable="true" type="LearningResourcesType" />
      <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="Activity" type="ActivityType">
    <xs:key name="ActivityKey1">
      <xs:selector xpath="./Activity" />
      <xs:field xpath="@RefId" />
    </xs:key>
  </xs:element>

  <xs:complexType name="ActivityCollectionType">
    <xs:sequence>
      <xs:element name="Activity" type="ActivityType" minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Activitys" type="ActivityCollectionType" />

</xs:schema>