<!--
		SIF Implementation Specification (New Zealand) 3.1
		(8 December, 2020
)
		
		Infrastructure Version: v3.1
	-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.sifassociation.org/datamodel/nz/3.1" targetNamespace="http://www.sifassociation.org/datamodel/nz/3.1" elementFormDefault="qualified" version="3.1 (rc 5)">
  <xs:simpleType name="NZCodeSetsYesOrNoCategoryType">
    <xs:annotation>
      <xs:documentation><p>A reusable code set for yes, and no.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="N">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">No</Label>
            <Label xml:lang="mi">Kāo</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Y">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Yes</Label>
            <Label xml:lang="mi">Āe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsYesNoNotRequiredType">
    <xs:annotation>
      <xs:documentation><p>A reusable code set for yes, no, and not required values.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="N">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">No</Label>
            <Label xml:lang="mi">Kāo</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="R">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Not required</Label>
            <Label xml:lang="mi">Kāre i hiahiatia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Y">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Yes</Label>
            <Label xml:lang="mi">Āe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsReferrableDataObjectsType">
    <xs:annotation>
      <xs:documentation><p>An enumeration of valid SIF DataObject names, to be included in Object References</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="Organisation">
        <xs:annotation>
          <xs:documentation>
				  A generic organisation that operates within the education sector; but doesn’t provide education services.
				</xs:documentation>
          <xs:appinfo>
            <Label>Organisation</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Provider">
        <xs:annotation>
          <xs:documentation>A recognised provider of education services such as ECE Service, School or TEI</xs:documentation>
          <xs:appinfo>
            <Label>Provider</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AcademicDepartment">
        <xs:annotation>
          <xs:documentation />
          <xs:appinfo>
            <Label>AcademicDepartment</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ProviderRelationship">
        <xs:annotation>
          <xs:documentation>A recognised relationship between two providers of education service.</xs:documentation>
          <xs:appinfo>
            <Label>ProviderRelationship</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ProviderCourse">
        <xs:annotation>
          <xs:documentation>A Provider defined course that Students enrol in, and may be assessed for,
					and achieve passes in.
				</xs:documentation>
          <xs:appinfo>
            <Label>ProviderCourse</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LearningStandard">
        <xs:annotation>
          <xs:documentation>A curriculum standard or the like published by a national body, 
					 professional association or other interested party. The LearningStandard describes a set of
					 learning that students are expected to undertake.
				</xs:documentation>
          <xs:appinfo>
            <Label>LearningStandard</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Credential">
        <xs:annotation>
          <xs:documentation>A qualification or other award granted by a national body,  professional association or
					other interested party.  The Credential describes an award that is made to the learner at the 
					successful completion of a particular learning programme. eg: NCEA Level 1;  University Entrance;
					NCEA Level 2 Chemistry;
				</xs:documentation>
          <xs:appinfo>
            <Label>Credential</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="StaffPersonal">
        <xs:annotation>
          <xs:documentation>All the personal, contact and demographic information relating to a staff member,
					who might be a teacher or other employee of a Provider.
				</xs:documentation>
          <xs:appinfo>
            <Label>StaffPersonal</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="StaffAssignment">
        <xs:annotation>
          <xs:documentation>Records assignment of a Staff member to a particular Role at a Provider or other
					EducationOrganisation.
				</xs:documentation>
          <xs:appinfo>
            <Label>StaffAssignment</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="StaffTeachingGroupAssignment">
        <xs:annotation>
          <xs:documentation />
          <xs:appinfo>
            <Label>StaffTeachingGroupAssignment</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="StudentPersonal">
        <xs:annotation>
          <xs:documentation>Contains all the personal information related to the student.</xs:documentation>
          <xs:appinfo>
            <Label>StudentPersonal</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="StudentContactPersonal">
        <xs:annotation>
          <xs:documentation>Contains all the personal information about a person who is a part of a Student's whānau.</xs:documentation>
          <xs:appinfo>
            <Label>StudentContactPersonal</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="StudentContactRelationship">
        <xs:annotation>
          <xs:documentation>A relationship between a person who is a part of a Student's whānau and that Student</xs:documentation>
          <xs:appinfo>
            <Label>StudentContactRelationship</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="StudentProviderEnrolment">
        <xs:annotation>
          <xs:documentation>A student’s association with an education provider for the purpose of receiving
					educational services.</xs:documentation>
          <xs:appinfo>
            <Label>StudentProviderEnrolment</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="StudentTeachingGroupEnrolment">
        <xs:annotation>
          <xs:documentation />
          <xs:appinfo>
            <Label>StudentTeachingGroupEnrolment</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TeachingGroup">
        <xs:annotation>
          <xs:documentation>Identifies a particular class or other group of students.</xs:documentation>
          <xs:appinfo>
            <Label>TeachingGroup</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="StudentAttendanceTimeList">
        <xs:annotation>
          <xs:documentation>Records detail about the attendance spans for a single student at a single provider
					during a single day.</xs:documentation>
          <xs:appinfo>
            <Label>StudentAttendanceTimeList</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="StudentAttendanceSummary">
        <xs:annotation>
          <xs:documentation>Provides a summary of a student's daily attendance and membership information for a given
					provider during the time period between the StartDate and EndDate, inclusive.</xs:documentation>
          <xs:appinfo>
            <Label>StudentAttendanceSummary</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AssessmentTask">
        <xs:annotation>
          <xs:documentation>Provides information about a particular assignment or other assessment task, to be
					undertaken by one or more Students at some time.  Defines the task separately from
					each student's attempting the task.</xs:documentation>
          <xs:appinfo>
            <Label>AssessmentTask</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="StudentAssessmentTaskRegistration">
        <xs:annotation>
          <xs:documentation>The student's registration for an assessment task they are intending to participate in.</xs:documentation>
          <xs:appinfo>
            <Label>StudentAssessmentTaskRegistration</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="StudentAssessmentTask">
        <xs:annotation>
          <xs:documentation>Record of a student's attempt at a particular assessment task.</xs:documentation>
          <xs:appinfo>
            <Label>StudentAssessmentTask</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="StudentAssessmentTaskResult">
        <xs:annotation>
          <xs:documentation>Records the result achieved by a single student at a particular assessment task.</xs:documentation>
          <xs:appinfo>
            <Label>StudentAssessmentTaskResult</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="StudentAttainment">
        <xs:annotation>
          <xs:documentation>Records a student gaining an Attainment e.g. NCEA Qualification, Learning Standard etc.</xs:documentation>
          <xs:appinfo>
            <Label>StudentAttainment</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WellbeingAlert">
        <xs:annotation>
          <xs:documentation>Alert indicating to teachers and systems that this student has a 'concern' that needs
					to be known for 'duty of care', which could be Medical, Legal or other.
				</xs:documentation>
          <xs:appinfo>
            <Label>WellbeingAlert</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WellbeingCharacteristic">
        <xs:annotation>
          <xs:documentation>Core Wellbeing Characteristic that is integral to the Student. This may be a Medical
					condition, special needs or a characteristic such as a known disability or any other 
					characteristic or condition that is student specific and impacts their learning.</xs:documentation>
          <xs:appinfo>
            <Label>WellbeingCharacteristic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WellbeingEvent">
        <xs:annotation>
          <xs:documentation>Record of an event happening that impacts on a school's duty of care to its students.
					The event records both positive and negative behaviours and is not just the recording
					of a discipline incident or an accident.</xs:documentation>
          <xs:appinfo>
            <Label>WellbeingEvent</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WellbeingResponse">
        <xs:annotation>
          <xs:documentation>A record of the outcome and follow ups generated by a WellbeingEvent.</xs:documentation>
          <xs:appinfo>
            <Label>WellbeingResponse</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WellbeingAppeal">
        <xs:annotation>
          <xs:documentation>Records detail of any appeal or request made by involved parties in regard to
					a negative/punitive Wellbeing Response that was the result of a student Wellbeing Event.</xs:documentation>
          <xs:appinfo>
            <Label>WellbeingAppeal</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Document">
        <xs:annotation>
          <xs:documentation />
          <xs:appinfo>
            <Label>Document</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="StudentVoice">
        <xs:annotation>
          <xs:documentation>Information about a student's interests and academic, career and social goals.</xs:documentation>
          <xs:appinfo>
            <Label>StudentVoice</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="StudentActivityParticipation">
        <xs:annotation>
          <xs:documentation>Provides information on a co-curricular or extra-curricular activity in which
					a student participates during a given school year.</xs:documentation>
          <xs:appinfo>
            <Label>StudentActivityParticipation</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="StudentLearningSupport">
        <xs:annotation>
          <xs:documentation>Contains information pertaining to a student's learning support.</xs:documentation>
          <xs:appinfo>
            <Label>StudentLearningSupport</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="StudentLearningSupportResponse">
        <xs:annotation>
          <xs:documentation>Contains information pertaining to a response to a student's learning support need(s).</xs:documentation>
          <xs:appinfo>
            <Label>StudentLearningSupportResponse</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="StudentCurriculumProgressReport">
        <xs:annotation>
          <xs:documentation>
					A curriculum progress and achievement reports provided for a
					student.  Used in technology centres the host provider, to
					report on student progress to their base school.
				</xs:documentation>
          <xs:appinfo>
            <Label>StudentCurriculumProgressReport</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="StudentPhysicalRestraint">
        <xs:annotation>
          <xs:documentation />
          <xs:appinfo>
            <Label>StudentPhysicalRestraint</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="StudentConsent">
        <xs:annotation>
          <xs:documentation />
          <xs:appinfo>
            <Label>StudentConsent</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Schedule">
        <xs:annotation>
          <xs:documentation />
          <xs:appinfo>
            <Label>Schedule</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BellSchedule">
        <xs:annotation>
          <xs:documentation />
          <xs:appinfo>
            <Label>BellSchedule</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ScheduleDate">
        <xs:annotation>
          <xs:documentation />
          <xs:appinfo>
            <Label>ScheduleDate</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SchedulePeriod">
        <xs:annotation>
          <xs:documentation />
          <xs:appinfo>
            <Label>SchedulePeriod</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ScheduleEvent">
        <xs:annotation>
          <xs:documentation />
          <xs:appinfo>
            <Label>ScheduleEvent</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ScheduleHoliday">
        <xs:annotation>
          <xs:documentation />
          <xs:appinfo>
            <Label>ScheduleHoliday</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ScheduleAcademicDay">
        <xs:annotation>
          <xs:documentation />
          <xs:appinfo>
            <Label>ScheduleAcademicDay</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ScheduleTerm">
        <xs:annotation>
          <xs:documentation />
          <xs:appinfo>
            <Label>ScheduleTerm</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TeachingGroupEvent">
        <xs:annotation>
          <xs:documentation />
          <xs:appinfo>
            <Label>TeachingGroupEvent</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsConsentGivenByType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the role of the person who gave consent on behalf of the student, e.g. Whānau, Student.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="NOT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Not provided</Label>
            <Label xml:lang="mi"> Kāre he whakaaetanga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="STU">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Student</Label>
            <Label xml:lang="mi">Ākonga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WHA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Whānau</Label>
            <Label xml:lang="mi">Whānau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsStudentConsentToType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting what the student is consenting or not consenting to.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="PHT">
        <xs:annotation>
          <xs:documentation>To use and share photographs of the student</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Share Photos</Label>
            <Label xml:lang="mi" />
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ART">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Share Art</Label>
            <Label xml:lang="mi" />
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WRI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Share Writing</Label>
            <Label xml:lang="mi" />
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MED">
        <xs:annotation>
          <xs:documentation>Seek medical treatment in an emergency when the caregiver cannot be contacted</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Medical Treatment</Label>
            <Label xml:lang="mi" />
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ADM">
        <xs:annotation>
          <xs:documentation>Administer Panadol</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Panadol</Label>
            <Label xml:lang="mi" />
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Learning Support Cluster Sharing</Label>
            <Label xml:lang="mi">Ratonga Tautoko Akoranga Tuari ā-Kahui</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSR">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Learning Support Receive Service</Label>
            <Label xml:lang="mi">Ratonga Tautoko Akoranga Kua Whiwhia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PAR">
        <xs:annotation>
          <xs:documentation>This value is for learning support.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Parental Consent To Share With Next ECE Or School</Label>
            <Label xml:lang="mi">Whakaaetanga Tuari ki te Kura Kōhungahunga, ki te Kura rānei</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TRI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Authority to release student's NZQA results to a tertiary institution</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsDeletedReasonType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the reason a record was deleted.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="LEA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Learner created in error</Label>
            <Label xml:lang="mi">I hē te tapiri a te Akonga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RES">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Response created in error</Label>
            <Label xml:lang="mi">I hē te tāpiri i te whakautu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SUP">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Support need created in error</Label>
            <Label xml:lang="mi">I hē te tāpiri i tēnei tautokotanga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsRelationshipToStudentType">
    <xs:annotation>
      <xs:documentation><p>A standardised method of describing the personal relationship between two persons.
			 Such a relationship arises from two persons belonging to the same family or closer 
			 community or as a consequence of sharing living arrangements.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="FAT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Father</Label>
            <Label xml:lang="mi">Pāpā</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="UNC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Uncle</Label>
            <Label xml:lang="mi">Matua Kēkē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LEG">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Legal Guardian</Label>
            <Label xml:lang="mi">Kaitiaki ā-ture</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="HOS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Host Parent</Label>
            <Label xml:lang="mi">Whānau Tiaki</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BRO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Brother</Label>
            <Label xml:lang="mi">Tungāne</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FRI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Family Friend</Label>
            <Label xml:lang="mi">Hoa o te whānau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SIS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sister</Label>
            <Label xml:lang="mi">Tuahine</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTH">
        <xs:annotation>
          <xs:documentation>Please Specify</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Other</Label>
            <Label xml:lang="mi">He mea kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MOT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Mother</Label>
            <Label xml:lang="mi">Māmā</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="GRM">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Grandmother</Label>
            <Label xml:lang="mi">Kuia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AUN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Aunt</Label>
            <Label xml:lang="mi">Whaea</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="STF">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Stepfather</Label>
            <Label xml:lang="mi">Pāpā Whakaangi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NOT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Not Provided</Label>
            <Label xml:lang="mi">Kāre i whakaratoa</Label>
            <endDate>2020-05-20</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="GRF">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Grandfather</Label>
            <Label xml:lang="mi">Koroua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="STM">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Stepmother</Label>
            <Label xml:lang="mi">Whaea Whakaangi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WHA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Whāngai Parent</Label>
            <Label xml:lang="mi">Matua Whāngai</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CAS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Case Worker</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EXT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Extended Family</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FOF">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Foster Father</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FOM">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Foster Mother</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FOS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Foster Parent</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="GDF">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Godfather</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="GDM">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Godmother</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="GDP">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Godparent</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="HOF">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Host Father</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="HOM">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Host Mother</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="INT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">International Liasion</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PAI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Paid Child Help</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PAP">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Parent's Partner</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PAR">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Parent</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="GRP">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Grandparent</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SIB">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sibling</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="STP">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Step-parent</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TRU">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Truancy Officer</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsStudentContactRelationshipStatusType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the status of the student contact's relationship.</p><p>Set to Active when: StartDate =&gt; today's date and EndDate is NULL 
				or EndDate &gt; than today's date.</p><p>Set to Inactive when: StartDate &lt; today's date or EndDate =&lt; today's date.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Active</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="I">
        <xs:annotation>
          <xs:appinfo>
            <Label>Inactive</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsNameUsageTypeType">
    <xs:annotation>
      <xs:documentation><p>A standardised method of describing the usage of a name by a person.
				 Where a person has more than one current name, the usage type indicates
				 which name may be used according to the purpose.</p><p>Code values are based on SIF Australia 3.4.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="PRF">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">The name by which an individual prefers to be known and addressed.</p>
            <p xmlns="http://sifassociation.org/SpecGen">Only usage type applicable for student name usage (other types
					 are not supported by NSI).</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Preferred Name</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FON">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">Included for future usage in NZ, especially for tertiary students.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Foreign Official Name</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PRV">
        <xs:annotation>
          <xs:appinfo>
            <Label>Previous name</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AKA">
        <xs:annotation>
          <xs:documentation>AKA or Alias</xs:documentation>
          <xs:appinfo>
            <Label>Also Known As</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BTH">
        <xs:annotation>
          <xs:appinfo>
            <Label>Name at Birth</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LGL">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">Legal Name or Official Name as defined by the organisation which collects it 
						(legal name is not defined in this standard)</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Legal Name</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsEmailTypeType">
    <xs:annotation>
      <xs:documentation><p>A standardised method of describing an electronic mail address used as contact method
				 by a party. Where a party has more than one email address, this may provide context
				 for deciding which email address to use.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="PRIM">
        <xs:annotation>
          <xs:documentation>Applicable to organisations, eg schools</xs:documentation>
          <xs:appinfo>
            <Label>Primary</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WORK">
        <xs:annotation>
          <xs:documentation>Only used for persons</xs:documentation>
          <xs:appinfo>
            <Label>Work</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PERS">
        <xs:annotation>
          <xs:documentation>Only used for persons</xs:documentation>
          <xs:appinfo>
            <Label>Personal</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ALT1">
        <xs:annotation>
          <xs:appinfo>
            <Label>Alternate 1</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ALT2">
        <xs:annotation>
          <xs:appinfo>
            <Label>Alternate 2</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ALT3">
        <xs:annotation>
          <xs:appinfo>
            <Label>Alternate 3</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ALT4">
        <xs:annotation>
          <xs:appinfo>
            <Label>Alternate 4</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsTelephoneNumberTypeType">
    <xs:annotation>
      <xs:documentation><p>A standardised method of describing a telecommunications device used as contact
				method by a party. Where a party has more than one phone number, this may provide
				context for deciding which number to use.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="MAI">
        <xs:annotation>
          <xs:appinfo>
            <Label>Main Telephone Number</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FAX">
        <xs:annotation>
          <xs:appinfo>
            <Label>Facsimile Number</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="HTE">
        <xs:annotation>
          <xs:documentation>Person usage only</xs:documentation>
          <xs:appinfo>
            <Label>Home Telephone Number</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="HMO">
        <xs:annotation>
          <xs:documentation>Person usage only</xs:documentation>
          <xs:appinfo>
            <Label>Home Mobile</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MOB">
        <xs:annotation>
          <xs:appinfo>
            <Label>Mobile</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WMO">
        <xs:annotation>
          <xs:appinfo>
            <Label>Work Mobile</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WTE">
        <xs:annotation>
          <xs:appinfo>
            <Label>Work Telephone Number</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsGenderType">
    <xs:annotation>
      <xs:documentation><p>A Person may identify as having a Gender (or Gender Identity). Biological sex and sexual
				orientation are related but different concepts.
			Sourced from <a href="http://aria.stats.govt.nz/aria/#ClassificationView:uri=http://stats.govt.nz/cms/ClassificationVersion/LfWjOFK1NqtZCv5i">Statistics NZ Standard for Gender Identity</a></p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="1">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Male</Label>
            <Label xml:lang="mi">Tāne</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="2">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Female</Label>
            <Label xml:lang="mi">Wahine</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="3">
        <xs:annotation>
          <xs:documentation>But not further defined</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Gender Diverse</Label>
            <Label xml:lang="mi">Ira tāngata kōwhiri kore</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="31">
        <xs:annotation>
          <xs:documentation>Can be rolled up to 3:Gender Diverse</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Transgender Male to Female</Label>
            <Label xml:lang="mi">Whakawahine</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="32">
        <xs:annotation>
          <xs:documentation>Can be rolled up to 3:Gender Diverse</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Transgender Female to Male</Label>
            <Label xml:lang="mi">Tangata ira tāne</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="9">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Not Willing to Disclose</Label>
            <Label xml:lang="mi">Kāre e taea te Whakaatu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsCitizenshipStatusType">
    <xs:annotation>
      <xs:documentation><p>The citizenship or residency status of a person,
			principally recorded in order to determine eligibility for
			education services hence limited to indicating New
			Zealand, Australian or Other residency.</p><p>Based on SIF Australia AUCodeSetsAustralianCitizenshipStatusType</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="AUCI">
        <xs:annotation>
          <xs:appinfo>
            <Label>Australian citizen</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZCI">
        <xs:annotation>
          <xs:appinfo>
            <Label>NZ citizen</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTOV">
        <xs:annotation>
          <xs:documentation>Indicates a residency other than NZ or Australia</xs:documentation>
          <xs:appinfo>
            <Label>Other overseas</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZRE">
        <xs:annotation>
          <xs:documentation>Includes Australian residents classified as NZ resident once arrived in NZ</xs:documentation>
          <xs:appinfo>
            <Label>NZ resident</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NOPR">
        <xs:annotation>
          <xs:appinfo>
            <Label>Not provided</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsVerificationSourceType">
    <xs:annotation>
      <xs:documentation><p>Records the source of the identity or eligibility verification, that has been made.
				Mostly it is merely a record of the kind of document that has been presented; but 
				occasionally it is down to Principal or Ministry discretion / approval.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="NZBIR">
        <xs:annotation>
          <xs:documentation>Applies if the child was born before 1 Jan 2006</xs:documentation>
          <xs:appinfo>
            <Label>NZ Birth Certificate</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZBCO">
        <xs:annotation>
          <xs:documentation>Applies if the child was born on or after 1 Jan 2006</xs:documentation>
          <xs:appinfo>
            <Label>NZ Birth Certificate (with confirmation of NZ Citizen by birth)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZPAS">
        <xs:annotation>
          <xs:documentation>Including COK, TKL or NIU. (Current or Expired)</xs:documentation>
          <xs:appinfo>
            <Label>NZ Passport</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZCIT">
        <xs:annotation>
          <xs:appinfo>
            <Label>NZ Citizenship Certificate</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BIRCE">
        <xs:annotation>
          <xs:documentation>If the child was born before 1 Jan 2006</xs:documentation>
          <xs:appinfo>
            <Label>Birth Certificate (COK, TKL, NIU)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BCCON">
        <xs:annotation>
          <xs:documentation>Applies if the child was born on or after 1 Jan 2006.</xs:documentation>
          <xs:appinfo>
            <Label>Birth Certificate (COK, TKL, NIU) (with confirmation of NZ Citizen by birth)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CENAT">
        <xs:annotation>
          <xs:appinfo>
            <Label>Certification of Naturalisation (COK, TKL, NIU)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CAREG">
        <xs:annotation>
          <xs:appinfo>
            <Label>Certification of Registration (COK, TKL, NIU)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LETCO">
        <xs:annotation>
          <xs:appinfo>
            <Label>Letter of Confirmation (COK, TKL, NIU)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTHPA">
        <xs:annotation>
          <xs:documentation>Or other evidence of NZ residency</xs:documentation>
          <xs:appinfo>
            <Label>Other Passport with NZ residence class Visa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AUSPA">
        <xs:annotation>
          <xs:documentation>(Current or Expired)</xs:documentation>
          <xs:appinfo>
            <Label>Australian Passport</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="VISDO">
        <xs:annotation>
          <xs:appinfo>
            <Label>Visa Domestic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="VISST">
        <xs:annotation>
          <xs:appinfo>
            <Label>Visa with conditions of study</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PRINC">
        <xs:annotation>
          <xs:appinfo>
            <Label>Principal Discretion</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MOEAP">
        <xs:annotation>
          <xs:appinfo>
            <Label>MoE Approval</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsLanguageUsageType">
    <xs:annotation>
      <xs:documentation><p>A standardised method of describing the usage of a language by a person, 
				potentially indicating capability and preference for the language.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="FL">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">First Language</Label>
            <Label xml:lang="mi">Reo Tuatahi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SL">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Secondary Language</Label>
            <Label xml:lang="mi">Reo Tuarua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SH">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Spoken At Home</Label>
            <Label xml:lang="mi">Reo Kāinga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsLanguageType">
    <xs:annotation>
      <xs:documentation><p>Language refers to recognised human communication systems, typically oral and/or written.
				Sourced from <a href="http://aria.stats.govt.nz/aria/#ClassificationView:uri=http://stats.govt.nz/cms/ClassificationVersion/CARS3211">Statistics NZ - Language Standard Classification 1999 v2.0.0</a></p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="NZS01">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Germanic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS011">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">West Germanic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS01100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">West Germanic not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS01110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Afrikaans</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS01111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Dutch</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS01112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">English</Label>
            <Label xml:lang="mi">Pākehā</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS01113">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">German</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS01114">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Friesian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS01115">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Yiddish</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS01116">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Scots</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS01199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">West Germanic not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS012">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">North Germanic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS01200">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">North Germanic not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS01210">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Danish</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS01211">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Norwegian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS01212">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Swedish</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS01213">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Icelandic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS01299">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">North Germanic not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS02">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Romance</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS021">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Romance</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS02100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Romance not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS02110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">French</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS02111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Catalan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS02112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Portuguese</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS02113">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Spanish</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS02114">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Italian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS02115">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Romanian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS02199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Romance not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS03">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Greek</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS031">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Greek</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS03110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Greek</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS04">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Balto-Slavic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS041">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Baltic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS04100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Baltic not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS04110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Latvian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS04111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Lithuanian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS04199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Baltic not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS042">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Slavic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS04200">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Slavic not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS04210">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Belorussian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS04211">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Russian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS04212">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ukrainian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS04213">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Bulgarian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS04214">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Macedonian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS04215">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Serbo-Croatian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS04216">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Slovene</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS04217">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Czech</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS04218">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Polish</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS04219">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Slovak</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS04299">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Slavic not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS05">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Albanian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS051">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Albanian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS05110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Albanian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS06">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Armenian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS061">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Armenian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS06110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Armenian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS07">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Indo-Aryan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS071">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Indo-Aryan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS07100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Indo-Aryan not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS07110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hindi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS07111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Urdu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS07112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Fiji Hindi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS07113">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Bengali</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS07114">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Oriya</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS07115">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Nepalese</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS07116">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Panjabi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS07117">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sindhi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS07118">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Kashmiri</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS07119">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sinhala</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS07120">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Gujarati</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS07121">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Konkani</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS07122">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Marathi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS07123">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Romani</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS07199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Indo-Aryan not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS08">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Celtic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS081">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Celtic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS08100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Celtic not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS08110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Welsh</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS08111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Scottish Gaelic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS08112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Irish</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS08113">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Breton</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS08199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Celtic not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS09">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Iranian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS091">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Iranian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS09100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Iranian not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS09110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Persian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS09111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Kurdish</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS09112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Pashto</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS09199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Iranian not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS10">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Turko-Altaic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS101">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Turko-Altaic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS10100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Turko-Altaic not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS10110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Turkish</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS10111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Azeri</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS10199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Turko-Altaic not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS11">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Uralic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Uralic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS11100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Uralic not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS11110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Estonian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS11111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Finnish</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS11112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hungarian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS11199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Uralic not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS12">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Dravidian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS121">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Dravidian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS12100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Dravidian not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS12110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Kannada</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS12111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Malayalam</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS12112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tamil</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS12113">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Telugu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS12199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Dravidian not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS13">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sino-Tibeto-Burman</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS131">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sinitic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS13100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sinitic not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS13110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Cantonese (Yue)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS13111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hakka</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS13112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Min</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS13113">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Mandarin (Northern Chinese)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS13114">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Wu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS13115">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tieu-Chow</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS13199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sinitic not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS132">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tibeto-Lolo-Burman</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS13200">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tibeto-Lolo-Burman not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS13210">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Burmese</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS13211">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tibetan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS13299">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tibeto-Lolo-Burman not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS14">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Austroasiatic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS141">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Mon-Khmer</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS14100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Mon-Khmer not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS14110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Khmer</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS14199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Mon-Khmer not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS142">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Viet-Muong</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS14200">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Viet-Muong not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS14210">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Vietnamese</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS14299">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Viet-Muong not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS15">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tai-Kadai</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS151">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tai-Kadai</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS15100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tai-Kadai not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS15110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Lao</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS15111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Thai</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS15112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Shan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS15199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tai-Kadai not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS16">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Central-Eastern Malayo-Polynesian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS161">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Central Pacific</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS16100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Central Pacific not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS16110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Māori</Label>
            <Label xml:lang="mi">Te Reo Māori</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS16111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Samoan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS16112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tongan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS16113">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Cook Islands Maori</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS16114">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Niuean</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS16115">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tokelauan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS16116">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tuvaluan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS16117">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tahitian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS16118">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Pukapukan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS16119">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Fijian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS16120">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Rotuman</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS16199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Central Pacific not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS162">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Solomon Islands Languages (Non-Central-Pacific)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS16210">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Solomon Islands Languages (Non-Central-Pacific)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS163">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Micronesian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS16300">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Micronesian not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS16310">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Kiribati</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS16311">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Nauruan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS16399">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Micronesian not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS164">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Vanuatu Languages</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS16410">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Vanuatu Languages</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS17">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Western Malayo-Polynesian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS171">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Western Malayo-Polynesian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS17100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Western Malayo-Polynesian not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS17110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Bisayan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS17111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Cebuano</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS17112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ilokano</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS17113">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Bahasa Indonesia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS17114">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Malaysian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS17115">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tagalog</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS17116">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Javanese</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS17199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Western Malayo-Polynesian not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS18">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Afro-Asiatic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS181">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Cushitic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS18100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Cushitic not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS18110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Somali</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS18199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Cushitic not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS182">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Semitic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS18200">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Semitic not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS18210">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Assyrian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS18211">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Arabic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS18212">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Maltese</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS18213">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Amharic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS18214">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tigrinya</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS18215">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hebrew</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS18299">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Semitic not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS183">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Chadic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS18300">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Chadic not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS18310">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hausa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS18399">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Chadic not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS19">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Niger-Congo (Congo-Kordafanian)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS191">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Bantu languages</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS19100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Bantu not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS19110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Swahili</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS19111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Yoruba</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS19112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Zulu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS19199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Bantu, not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS192">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other Niger-Congo</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS19200">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other Niger-Congo not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS19210">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Fulani</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS19299">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other Niger-Congo not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Pidgins and Creoles</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS201">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Pidgins and Creoles</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Pidgins and Creoles not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Creole</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">French Creole</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Pidgin English</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20113">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Neo Melanesian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20114">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Mauritian Creole</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20115">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tok Pisin</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20116">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hindi Bat</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20117">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Solomon Islands Pidgin</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20118">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Bislama</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Pidgins and Creoles not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Language Isolates</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS211">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Japanese</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Japanese</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS212">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Korean</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21210">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Korean</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS213">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Basque</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21310">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Basque</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS219">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Language Isolates not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21999">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Language Isolates not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS22">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Miscellaneous Language Groupings</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS221">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Papuan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS22110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Papuan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS222">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Nilo-Saharan languages</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS22210">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Nilo-Saharan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS223">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Miaow-Yao</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS22310">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Miaow-Yao</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS224">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Caucasian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS22400">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Caucasian not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS22410">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Georgian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS22499">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Caucasian not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS225">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Australian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS22510">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Australian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS226">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Amerind</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS22610">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Amerind</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS229">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other Miscellaneous Languages</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS22910">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other Miscellaneous Languages</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS23">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Artificial Languages</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS231">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Artificial Languages</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS23100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Artificial Languages not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS23110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Esperanto</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS23199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Artificial Languages not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS24">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sign Language</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS241">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sign Language</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS24100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sign Language not further defined</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS24110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">New Zealand Sign Language</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS24111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Signed English</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS24112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">American Sign Language</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS24113">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Australian Sign Language</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS24114">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">British Sign Language</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS24199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sign Language not elsewhere classified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS44">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Don't Know</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS55">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Refused to Answer</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS66">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">None (eg too young to talk)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS77">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Response Unidentifiable</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS88">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Response Outside Scope</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS99">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Not Stated</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsEthnicityType">
    <xs:annotation>
      <xs:documentation><p>Ethnicity is the ethnic group or groups that people
			identify with or feel they belong to. Ethnicity is a
			measure of cultural affiliation, as opposed to race,
			ancestry, nationality or citizenship. Ethnicity is self
			perceived and people can belong to more than one ethnic
			group.</p><p>The permissible values consists of any value from
			the <a href="http://aria.stats.govt.nz/aria/#ClassificationView:uri=http://stats.govt.nz/cms/ClassificationVersion/l36xYpbxsRh7IW1p">Statistics NZ - Ethnicity New Zealand Standard
			Classification 2005 v2.0.0</a>  Depending on usage, ethnicity
			may be defined at levels 1 to 4.
			</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="1">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">European</Label>
            <Label xml:lang="mi">Ūropi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">European nfd</Label>
            <Label xml:lang="mi">Ūropi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">European nfd</Label>
            <Label xml:lang="mi">Ūropi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10000">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">European nfd</Label>
            <Label xml:lang="mi">Ūropi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="11">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">New Zealand European</Label>
            <Label xml:lang="mi">Pākehā</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">New Zealand European</Label>
            <Label xml:lang="mi">Pākehā</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="11111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">New Zealand European</Label>
            <Label xml:lang="mi">Pākehā</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other European</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="121">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">British and Irish</Label>
            <Label xml:lang="mi">Ingarangi me Airana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">British nfd</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Celtic nfd</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Channel Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12113">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Cornish</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12114">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">English</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12115">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Gaelic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12116">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Irish</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12117">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Manx</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12118">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Orkney Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12119">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Scottish</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12120">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Shetland Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12121">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Welsh</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">British nec</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="122">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Dutch</Label>
            <Label xml:lang="mi">Tati</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12211">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Dutch</Label>
            <Label xml:lang="mi">Tati</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="123">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Greek</Label>
            <Label xml:lang="mi">Kirihi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12311">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Greek</Label>
            <Label xml:lang="mi">Kirihi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="124">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Polish</Label>
            <Label xml:lang="mi">Pōrihi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12411">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Polish</Label>
            <Label xml:lang="mi">Pōrihi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="125">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">South Slav</Label>
            <Label xml:lang="mi">South Slav</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12500">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">South Slav nfd</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12511">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Croatian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12512">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Dalmatian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12513">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Macedonian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12514">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Serbian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12515">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Slovenian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12516">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Bosnian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12599">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">South Slav nec</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="126">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Italian</Label>
            <Label xml:lang="mi">Itāria</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12611">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Italian</Label>
            <Label xml:lang="mi">Itāria</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="127">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">German</Label>
            <Label xml:lang="mi">Tiamana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12711">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">German</Label>
            <Label xml:lang="mi">Tiamana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="128">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Australian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12811">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Australian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="129">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other European</Label>
            <Label xml:lang="mi">Tauiwi Kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12911">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Albanian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12912">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Armenian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12913">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Austrian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12914">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Belgian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12915">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Bulgarian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12916">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Belorussian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12917">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Corsican</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12918">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Cypriot nfd</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12919">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Czech</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12920">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Danish</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12921">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Estonian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12922">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Finnish</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12923">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Flemish</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12924">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">French</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12925">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Greenlander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12926">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hungarian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12927">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Icelandic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12928">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Latvian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12929">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Lithuanian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12930">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Maltese</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12931">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Norwegian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12932">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Portuguese</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12933">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Romanian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12934">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Gypsy</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12935">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Russian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12936">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sardinian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12937">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Slavic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12938">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Slovak</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12939">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Spanish</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12940">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Swedish</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12941">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Swiss</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12942">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ukrainian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12943">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">American</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12944">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Burgher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12945">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Canadian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12946">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Falkland Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12947">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">New Caledonian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12948">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">South African nec</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12949">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Afrikaner</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12950">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Zimbabwean</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12999">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">European nec</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="2">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Māori</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="21">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Māori</Label>
            <Label xml:lang="mi">Māori</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="211">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Māori</Label>
            <Label xml:lang="mi">Māori</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="21111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Māori</Label>
            <Label xml:lang="mi">Māori</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="3">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Pacific Peoples</Label>
            <Label xml:lang="mi">Ngā Iwi Pasifika</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Pacific Peoples nfd</Label>
            <Label xml:lang="mi">Ngā Iwi Pasifika</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="300">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Pacific Peoples nfd</Label>
            <Label xml:lang="mi">Ngā Iwi Pasifika</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30000">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Pacific Peoples nfd</Label>
            <Label xml:lang="mi">Ngā Iwi Pasifika</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="31">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Samoan</Label>
            <Label xml:lang="mi">Hamoa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="311">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Samoan</Label>
            <Label xml:lang="mi">Hamoa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="31111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Samoan</Label>
            <Label xml:lang="mi">Hamoa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="32">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Cook Islands Maori</Label>
            <Label xml:lang="mi">Kuki Airani</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="321">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Cook Islands Maori</Label>
            <Label xml:lang="mi">Kuki Airani</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="32100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Cook Islands Maori nfd</Label>
            <Label xml:lang="mi">Kuki Airani</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="32111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Aitutaki Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="32112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Atiu Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="32113">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Mangaia Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="32114">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Manihiki Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="32115">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Mauke Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="32116">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Mitiaro Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="32117">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Palmerston Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="32118">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Penrhyn Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="32119">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Pukapuka Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="32120">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Rakahanga Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="32121">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Rarotongan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="33">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tongan</Label>
            <Label xml:lang="mi">Tonga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="331">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tongan</Label>
            <Label xml:lang="mi">Tonga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="33111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tongan</Label>
            <Label xml:lang="mi">Tonga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="34">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Niuean</Label>
            <Label xml:lang="mi">Niue</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="341">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Niuean</Label>
            <Label xml:lang="mi">Niue</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="34111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Niuean</Label>
            <Label xml:lang="mi">Niue</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="35">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tokelauan</Label>
            <Label xml:lang="mi">Tokerau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="351">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tokelauan</Label>
            <Label xml:lang="mi">Tokerau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="35111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tokelauan</Label>
            <Label xml:lang="mi">Tokerau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="36">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Fijian</Label>
            <Label xml:lang="mi">Whītiana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="361">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Fijian</Label>
            <Label xml:lang="mi">Whītiana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="36111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Fijian</Label>
            <Label xml:lang="mi">Whītiana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other Pacific Peoples</Label>
            <Label xml:lang="mi">Hunga Pasifika Kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="371">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other Pacific Peoples</Label>
            <Label xml:lang="mi">Hunga Pasifika Kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Admiralty Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Australian Aboriginal</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37113">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Austral Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37114">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Palau Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37115">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Bismark Archipelagoan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37116">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Bougainvillean</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37117">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Caroline Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37118">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Easter Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37119">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Gambier Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37120">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Guadalcanalian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37121">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Chamorro</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37122">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hawaiian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37123">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Kanak</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37124">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Kiribati</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37125">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Malatian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37126">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Manus Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37127">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Marianas Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37128">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Marquesas Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37129">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Marshall Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37130">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Nauruan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37131">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">New Britain Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37132">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">New Georgian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37133">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">New Irelander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37134">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Banaban</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37135">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Papua New Guinean</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37136">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Phoenix Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37137">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Pitcairn Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37138">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Rotuman</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37139">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Santa Cruz Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37140">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tahitian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37141">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Solomon Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37142">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Torres Strait Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37143">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tuamotu Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37144">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tuvaluan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37145">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ni Vanuatu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37146">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Wake Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37147">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Wallis Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37148">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Yap Islander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="37199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Pacific Peoples nec</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="4">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Asian</Label>
            <Label xml:lang="mi">Āhia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="40">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Asian nfd</Label>
            <Label xml:lang="mi">Āhia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="400">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Asian nfd</Label>
            <Label xml:lang="mi">Āhia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="40000">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Asian nfd</Label>
            <Label xml:lang="mi">Āhia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="41">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">South East Asian</Label>
            <Label xml:lang="mi">Hunga Āhia ki te Tonga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="410">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">South East Asian nfd</Label>
            <Label xml:lang="mi">Hunga Āhia ki te Tonga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="41000">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">South East Asian nfd</Label>
            <Label xml:lang="mi">Hunga Āhia ki te Tonga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="411">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Filipino</Label>
            <Label xml:lang="mi">Piripīni</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="41111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Filipino</Label>
            <Label xml:lang="mi">Piripīni</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="412">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Cambodian</Label>
            <Label xml:lang="mi">Kamapōtia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="41211">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Cambodian</Label>
            <Label xml:lang="mi">Kamapōtia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="413">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Vietnamese</Label>
            <Label xml:lang="mi">Whitināmu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="41311">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Vietnamese</Label>
            <Label xml:lang="mi">Whitināmu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="414">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other Southeast Asian</Label>
            <Label xml:lang="mi">Hunga Āhia ki te Tonga Kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="41411">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Burmese</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="41412">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Indonesian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="41413">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Laotian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="41414">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Malay</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="41415">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Thai</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="41499">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Southeast Asian nec</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="42">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Chinese</Label>
            <Label xml:lang="mi">Hainamana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="421">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Chinese</Label>
            <Label xml:lang="mi">Hainamana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="42100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Chinese nfd</Label>
            <Label xml:lang="mi">Hainamana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="42111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hong Kong Chinese</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="42112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Cambodian Chinese</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="42113">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Malaysian Chinese</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="42114">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Singaporean Chinese</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="42115">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Vietnamese Chinese</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="42116">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Taiwanese</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="42199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Chinese nec</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="43">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Indian</Label>
            <Label xml:lang="mi">Iniana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="431">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Indian</Label>
            <Label xml:lang="mi">Iniana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="43100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Indian nfd</Label>
            <Label xml:lang="mi">Iniana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="43111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Bengali</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="43112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Fijian Indian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="43113">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Gujarati</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="43114">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Indian Tamil</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="43115">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Punjabi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="43116">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sikh</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="43117">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Anglo Indian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="43199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Indian nec</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="44">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other Asian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="441">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sri Lankan</Label>
            <Label xml:lang="mi">Hiri Rānaka</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="44100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sri Lankan nfd</Label>
            <Label xml:lang="mi">Hiri Rānaka</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="44111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sinhalese</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="44112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sri Lankan Tamil</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="44199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sri Lankan nec</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="442">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Japanese</Label>
            <Label xml:lang="mi">Hapanihi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="44211">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Japanese</Label>
            <Label xml:lang="mi">Hapanihi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="443">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Korean</Label>
            <Label xml:lang="mi">Kōrea</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="44311">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Korean</Label>
            <Label xml:lang="mi">Kōrea</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="444">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other Asian</Label>
            <Label xml:lang="mi">Iwi Āhia Kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="44411">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Afghani</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="44412">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Bangladeshi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="44413">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Nepalese</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="44414">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Pakistani</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="44415">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tibetan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="44416">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Eurasian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="44499">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Asian nec</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="5">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Middle Eastern/Latin American/African</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="51">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Middle Eastern</Label>
            <Label xml:lang="mi">Middle Eastern</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="511">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Middle Eastern</Label>
            <Label xml:lang="mi">Middle Eastern</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="51100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Middle Eastern nfd</Label>
            <Label xml:lang="mi">Middle Eastern</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="51111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Algerian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="51112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Arab</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="51113">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Assyrian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="51114">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Egyptian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="51115">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Iranian/Persian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="51116">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Iraqi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="51117">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Israeli/Jewish</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="51118">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Jordanian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="51119">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Kurd</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="51120">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Lebanese</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="51121">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Libyan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="51122">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Moroccan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="51123">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Omani</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="51124">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Palestinian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="51125">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Syrian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="51126">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tunisian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="51127">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Turkish</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="51128">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Yemeni</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="51199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Middle Eastern nec</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Latin American</Label>
            <Label xml:lang="mi">Rātini Amerikana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="521">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Latin American</Label>
            <Label xml:lang="mi">Rātini Amerikana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Latin American nfd</Label>
            <Label xml:lang="mi">Rātini Amerikana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Argentinian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Bolivian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52113">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Brazilian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52114">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Chilean</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52115">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Colombian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52116">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Costa Rican</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52117">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Latin American Creole</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52118">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ecuadorian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52119">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Guatemalan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52120">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Guyanese</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52121">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Honduran</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52122">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Malvinian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52123">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Mexican</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52124">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Nicaraguan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52125">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Panamanian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52126">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Paraguayan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52127">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Peruvian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52128">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Puerto Rican</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52129">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Uruguayan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52130">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Venezuelan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Latin American nec</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="53">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">African</Label>
            <Label xml:lang="mi">Awherika</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="531">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">African</Label>
            <Label xml:lang="mi">Awherika</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="53100">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">African nfd</Label>
            <Label xml:lang="mi">Awherika</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="53112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">United States Creole</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="53113">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Jamaican</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="53114">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Kenyan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="53115">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Nigerian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="53116">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">African American</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="53117">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ugangan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="53118">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">West Indian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="53119">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Somali</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="53120">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Eritrean</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="53121">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ethiopian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="53122">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ghanaian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="53199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">African nec</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="6">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other Ethnicity</Label>
            <Label xml:lang="mi">Iwi kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="61">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other Ethnicity</Label>
            <Label xml:lang="mi">Iwi kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="611">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other Ethnicity</Label>
            <Label xml:lang="mi">Iwi kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="61111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Central American Indian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="61112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Inuit</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="61113">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">North American Indian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="61114">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">South American Indian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="61115">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Mauritian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="61116">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Seychellois</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="61117">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">South African Coloured</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="61118">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">New Zealander</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="61199">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other Ethnicity nec</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="9">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Residual Categories</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="94">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Don't Know</Label>
            <Label xml:lang="mi">Kāre i mōhiotia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="944">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Don't Know</Label>
            <Label xml:lang="mi">Kāre i mōhiotia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="94444">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Don't Know</Label>
            <Label xml:lang="mi">Kāre i mōhiotia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="95">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Refused to Answer</Label>
            <Label xml:lang="mi">Kāre i whakautu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="955">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Refused to Answer</Label>
            <Label xml:lang="mi">Kāre i whakautu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="95555">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Refused to Answer</Label>
            <Label xml:lang="mi">Kāre i whakautu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="96">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Repeated Value</Label>
            <Label xml:lang="mi">Uara Tārua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="966">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Repeated Value</Label>
            <Label xml:lang="mi">Uara Tārua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="96666">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Repeated Value</Label>
            <Label xml:lang="mi">Uara Tārua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="97">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Response Unidentifiable</Label>
            <Label xml:lang="mi">Urupare tē mōhiotia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="977">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Response Unidentifiable</Label>
            <Label xml:lang="mi">Urupare tē mōhiotia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="97777">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Response Unidentifiable</Label>
            <Label xml:lang="mi">Urupare tē mōhiotia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="98">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Response Outside Scope</Label>
            <Label xml:lang="mi">Urupare i waho atu i te aronga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="988">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Response Outside Scope</Label>
            <Label xml:lang="mi">Urupare i waho atu i te aronga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="98888">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Response Outside Scope</Label>
            <Label xml:lang="mi">Urupare i waho atu i te aronga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="99">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Not Stated</Label>
            <Label xml:lang="mi">Kāre i tohua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="999">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Not Stated</Label>
            <Label xml:lang="mi">Kāre i tohua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="99999">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Not Stated</Label>
            <Label xml:lang="mi">Kāre i tohua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsIwiType">
    <xs:annotation>
      <xs:documentation><p>An iwi, or Māori tribe, is one of the largest kinship
			groupings and is generally made up of several hapū that
			are all descended from a common ancestor. Hapū are
			clusters of whānau where the whānau is usually an extended
			family grouping consisting of children, parents, often
			grandparents, and other closely related kin.</p><p>Sourced from <a href="http://aria.stats.govt.nz/aria/#ClassificationView:uri=http://stats.govt.nz/cms/ClassificationVersion/QjykuWT5BTJrGdVs">Statistics NZ - Iwi and Iwi related groups statistical standard v1.0.0.0</a></p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="NZS01">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Tai Tokerau/Tāmaki-makaurau (Northland/Auckland) Region Iwi</Label>
            <Label xml:lang="mi">Te Tai Tokerau/Tāmaki-makaurau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0101">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Aupōuri</Label>
            <Label xml:lang="mi">Te Aupōuri</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0102">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Kahu</Label>
            <Label xml:lang="mi">Ngāti Kahu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0103">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Kurī</Label>
            <Label xml:lang="mi">Ngāti Kurī</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0104">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāpuhi</Label>
            <Label xml:lang="mi">Ngāpuhi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0105">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāpuhi ki Whaingaroa-Ngāti Kahu ki Whaingaroa</Label>
            <Label xml:lang="mi">Ngāpuhi ki Whaingaroa-Ngāti Kahu ki Whaingaroa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0106">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Rarawa</Label>
            <Label xml:lang="mi">Te Rarawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0107">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāi Takoto</Label>
            <Label xml:lang="mi">Ngāi Takoto</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0108">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Wai</Label>
            <Label xml:lang="mi">Ngāti Wai</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0109">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Whātua (not Ōrākei or Kaipara)</Label>
            <Label xml:lang="mi">Ngāti Whātua (i tua atu i Ōrākei, i Kaipara hoki)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Kawerau ā Maki</Label>
            <Label xml:lang="mi">Te Kawerau ā Maki</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Uri-o-Hau</Label>
            <Label xml:lang="mi">Te Uri-o-Hau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Roroa</Label>
            <Label xml:lang="mi">Te Roroa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0113">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Whātua o Kaipara</Label>
            <Label xml:lang="mi">Ngāti Whātua o Kaipara</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0114">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Whātua o Ōrākei</Label>
            <Label xml:lang="mi">Ngāti Whātua o Ōrākei</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0115">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāi Tai ki Tāmaki</Label>
            <Label xml:lang="mi">Ngāi Tai ki Tāmaki</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0116">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Hine (Te Tai Tokerau)</Label>
            <Label xml:lang="mi">Ngāti Hine (Te Tai Tokerau)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0117">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Paatu</Label>
            <Label xml:lang="mi">Te Paatu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0118">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Manuhiri</Label>
            <Label xml:lang="mi">Ngāti Manuhiri</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0119">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Rēhua</Label>
            <Label xml:lang="mi">Ngāti Rēhua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS02">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hauraki (Coromandel) Region Iwi</Label>
            <Label xml:lang="mi">Hauraki Rohenga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0201">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Hako</Label>
            <Label xml:lang="mi">Ngāti Hako</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0202">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Hei</Label>
            <Label xml:lang="mi">Ngāti Hei</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0203">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Maru (Hauraki)</Label>
            <Label xml:lang="mi">Ngāti Maru (Hauraki)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0204">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Paoa</Label>
            <Label xml:lang="mi">Ngāti Paoa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0205">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Patukirikiri</Label>
            <Label xml:lang="mi">Patukirikiri</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0206">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Porou ki Harataunga ki Mataora</Label>
            <Label xml:lang="mi">Ngāti Porou ki Harataunga ki Mataora</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0207">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Pūkenga ki Waiau</Label>
            <Label xml:lang="mi">Ngāti Pūkenga ki Waiau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0208">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Rāhiri Tumutumu</Label>
            <Label xml:lang="mi">Ngāti Rāhiri Tumutumu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0210">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Tamaterā</Label>
            <Label xml:lang="mi">Ngāti Tamaterā</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0211">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Tara Tokanui</Label>
            <Label xml:lang="mi">Ngāti Tara Tokanui</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0212">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Whanaunga</Label>
            <Label xml:lang="mi">Ngāti Whanaunga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS03">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Waikato/Te Rohe Pōtae (Waikato/King Country) Region Iwi</Label>
            <Label xml:lang="mi">Waikato/Te Rohe Pōtae</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0301">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Haua (Waikato)</Label>
            <Label xml:lang="mi">Ngāti Haua (Waikato)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0302">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Maniapoto</Label>
            <Label xml:lang="mi">Ngāti Maniapoto</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0303">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Raukawa (Waikato)</Label>
            <Label xml:lang="mi">Raukawa (Waikato)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0304">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Waikato</Label>
            <Label xml:lang="mi">Waikato</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0305">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Te Ata</Label>
            <Label xml:lang="mi">Ngāti Te Ata</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0306">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Hīkairo</Label>
            <Label xml:lang="mi">Ngāti Hīkairo</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0307">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Rereahu</Label>
            <Label xml:lang="mi">Rereahu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0308">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Tiipa</Label>
            <Label xml:lang="mi">Ngāti Tiipa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0309">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Korokī Kahukura</Label>
            <Label xml:lang="mi">Ngāti Korokī Kahukura</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0310">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Tamaoho</Label>
            <Label xml:lang="mi">Ngāti Tamaoho</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0311">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Ākitai-Waiohua</Label>
            <Label xml:lang="mi">Te Ākitai-Waiohua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS04">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Arawa/Taupō (Rotorua/Taupō) Region Iwi</Label>
            <Label xml:lang="mi">Te Arawa/Taupō</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0401">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Pikiao (Te Arawa)</Label>
            <Label xml:lang="mi">Ngāti Pikiao (Te Arawa)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0402">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Rangiteaorere (Te Arawa)</Label>
            <Label xml:lang="mi">Ngāti Rangiteaorere (Te Arawa)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0403">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Rangitihi (Te Arawa)</Label>
            <Label xml:lang="mi">Ngāti Rangitihi (Te Arawa)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0404">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Rangiwewehi (Te Arawa)</Label>
            <Label xml:lang="mi">Ngāti Rangiwewehi (Te Arawa)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0405">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tapuika (Te Arawa)</Label>
            <Label xml:lang="mi">Tapuika (Te Arawa)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0406">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Tarāwhai (Te Arawa)</Label>
            <Label xml:lang="mi">Ngāti Tarāwhai (Te Arawa)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0407">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tūhourangi (Te Arawa)</Label>
            <Label xml:lang="mi">Tūhourangi (Te Arawa)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0408">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Uenuku-Kōpako (Te Arawa)</Label>
            <Label xml:lang="mi">Uenuku-Kōpako (Te Arawa)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0409">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Waitaha (Te Arawa)</Label>
            <Label xml:lang="mi">Waitaha (Te Arawa)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0410">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Whakaue (Te Arawa)</Label>
            <Label xml:lang="mi">Ngāti Whakaue (Te Arawa)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0411">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Tūwharetoa (ki Taupō)</Label>
            <Label xml:lang="mi">Ngāti Tūwharetoa (ki Taupō)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0412">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Tahu-Ngāti Whaoa (Te Arawa)</Label>
            <Label xml:lang="mi">Ngāti Tahu-Ngāti Whaoa (Te Arawa)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0413">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Mākino</Label>
            <Label xml:lang="mi">Ngāti Mākino</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0414">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Kearoa / Ngāti Tuarā</Label>
            <Label xml:lang="mi">Ngāti Kearoa / Ngāti Tuarā</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0415">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Rongomai (Te Arawa)</Label>
            <Label xml:lang="mi">Ngāti Rongomai (Te Arawa)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS05">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tauranga Moana/Mātaatua (Bay of Plenty) Region Iwi</Label>
            <Label xml:lang="mi">Tauranga Moana/Mātaatua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0501">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Pūkenga</Label>
            <Label xml:lang="mi">Ngāti Pūkenga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0502">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāi Te Rangi </Label>
            <Label xml:lang="mi">Ngāi Te Rangi </Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0503">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Ranginui</Label>
            <Label xml:lang="mi">Ngāti Ranginui</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0504">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Awa</Label>
            <Label xml:lang="mi">Ngāti Awa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0505">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Manawa</Label>
            <Label xml:lang="mi">Ngāti Manawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0506">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāi Tai (Tauranga Moana/Mātaatua)</Label>
            <Label xml:lang="mi">Ngāi Tai (Tauranga Moana/Mātaatua)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0507">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tūhoe</Label>
            <Label xml:lang="mi">Tūhoe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0508">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Whakatōhea</Label>
            <Label xml:lang="mi">Whakatōhea</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0509">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Whānau-ā-Apanui</Label>
            <Label xml:lang="mi">Te Whānau-ā-Apanui</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0510">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Whare</Label>
            <Label xml:lang="mi">Ngāti Whare</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0511">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngā Pōtiki ā Tamapahore</Label>
            <Label xml:lang="mi">Ngā Pōtiki ā Tamapahore</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0512">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Upokorehe</Label>
            <Label xml:lang="mi">Te Upokorehe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0513">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Tūwharetoa ki Kawerau </Label>
            <Label xml:lang="mi">Ngāti Tūwharetoa ki Kawerau </Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS06">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Tai Rāwhiti (East Coast) Region Iwi</Label>
            <Label xml:lang="mi">Te Tai Rāwhiti Rohenga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0601">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Porou</Label>
            <Label xml:lang="mi">Ngāti Porou</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0602">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Aitanga-a-Māhaki</Label>
            <Label xml:lang="mi">Te Aitanga-a-Māhaki</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0603">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Rongowhakaata</Label>
            <Label xml:lang="mi">Rongowhakaata</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0604">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāi Tāmanuhiri</Label>
            <Label xml:lang="mi">Ngāi Tāmanuhiri</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0605">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Aitanga ā Hauiti</Label>
            <Label xml:lang="mi">Te Aitanga ā Hauiti</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS07">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Matau-a-Māui/Wairarapa (Hawke's Bay/Wairarapa) Region Iwi</Label>
            <Label xml:lang="mi">Te Matau-a-Māui/Wairarapa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0701">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Rongomaiwahine (Te Māhia)</Label>
            <Label xml:lang="mi">Rongomaiwahine (Te Māhia)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0702">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Kahungunu ki Te Wairoa</Label>
            <Label xml:lang="mi">Ngāti Kahungunu ki Te Wairoa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0703">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Kahungunu ki Heretaunga</Label>
            <Label xml:lang="mi">Ngāti Kahungunu ki Heretaunga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0704">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Kahungunu ki Wairarapa</Label>
            <Label xml:lang="mi">Ngāti Kahungunu ki Wairarapa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0706">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Rangitāne (Te Matau-a-Māui/Hawke's Bay/Wairarapa)</Label>
            <Label xml:lang="mi">Rangitāne (Te Matau-a-Māui/Wairarapa)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0707">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Kahungunu ki Te Whanganui-a-Orotu</Label>
            <Label xml:lang="mi">Ngāti Kahungunu ki Te Whanganui-a-Orotu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0708">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Kahungunu ki Tamatea</Label>
            <Label xml:lang="mi">Ngāti Kahungunu ki Tamatea</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0709">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Kahungunu ki Tamakinui a Rua</Label>
            <Label xml:lang="mi">Ngāti Kahungunu ki Tamakinui a Rua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0710">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Pāhauwera</Label>
            <Label xml:lang="mi">Ngāti Pāhauwera</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0711">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Rākaipaaka</Label>
            <Label xml:lang="mi">Ngāti Rākaipaaka</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0712">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Hineuru</Label>
            <Label xml:lang="mi">Ngāti Hineuru</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0713">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Maungaharuru Tangitū</Label>
            <Label xml:lang="mi">Maungaharuru Tangitū</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0714">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Rangitāne o Tamaki nui ā Rua</Label>
            <Label xml:lang="mi">Rangitāne o Tamaki nui ā Rua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0715">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Ruapani ki Waikaremoana</Label>
            <Label xml:lang="mi">Ngāti Ruapani ki Waikaremoana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0716">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Hika o Pāpāuma</Label>
            <Label xml:lang="mi">Te Hika o Pāpāuma</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS08">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Taranaki Region Iwi</Label>
            <Label xml:lang="mi">Taranaki</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0801">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Atiawa (Taranaki)</Label>
            <Label xml:lang="mi">Te Atiawa (Taranaki)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0802">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Maru (Taranaki)</Label>
            <Label xml:lang="mi">Ngāti Maru (Taranaki)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0803">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Mutunga (Taranaki)</Label>
            <Label xml:lang="mi">Ngāti Mutunga (Taranaki)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0804">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngā Rauru</Label>
            <Label xml:lang="mi">Ngā Rauru</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0805">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngā Ruahine</Label>
            <Label xml:lang="mi">Ngā Ruahine</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0806">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Ruanui</Label>
            <Label xml:lang="mi">Ngāti Ruanui</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0807">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Tama (Taranaki)</Label>
            <Label xml:lang="mi">Ngāti Tama (Taranaki)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0808">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Taranaki</Label>
            <Label xml:lang="mi">Taranaki</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0809">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tangāhoe</Label>
            <Label xml:lang="mi">Tangāhoe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0810">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Pakakohi</Label>
            <Label xml:lang="mi">Pakakohi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS09">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Whanganui/Rangitīkei (Wanganui/Rangitīkei) Region Iwi</Label>
            <Label xml:lang="mi">Whanganui/Rangitīkei</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0901">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Apa (Rangitīkei)</Label>
            <Label xml:lang="mi">Ngāti Apa (Rangitīkei)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0902">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Ati Haunui-a-Pāpārangi</Label>
            <Label xml:lang="mi">Te Ati Haunui-a-Pāpārangi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0903">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Haua (Taumarunui)</Label>
            <Label xml:lang="mi">Ngāti Haua (Taumarunui)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0904">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Hauiti (Rangitīkei)</Label>
            <Label xml:lang="mi">Ngāti Hauiti (Rangitīkei)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0905">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Whitikaupeka (Rangitīkei)</Label>
            <Label xml:lang="mi">Ngāti Whitikaupeka (Rangitīkei)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0906">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāi Te Ohuake (Rangitīkei)</Label>
            <Label xml:lang="mi">Ngāi Te Ohuake (Rangitīkei)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0907">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Tamakōpiri (Rangitīkei)</Label>
            <Label xml:lang="mi">Ngāti Tamakōpiri (Rangitīkei)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0908">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Rangi (Ruapehu, Whanganui)</Label>
            <Label xml:lang="mi">Ngāti Rangi (Ruapehu, Whanganui)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0909">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Uenuku (Ruapehu, Waimarino)</Label>
            <Label xml:lang="mi">Uenuku (Ruapehu, Waimarino)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0910">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tamahaki (Ruapehu, Waimarino)</Label>
            <Label xml:lang="mi">Tamahaki (Ruapehu, Waimarino)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS0911">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tamakana (Ruapehu, Waimarino)</Label>
            <Label xml:lang="mi">Tamakana (Ruapehu, Waimarino)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS10">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Manawatū/Horowhenua/Te Whanganui-a-Tara (Manawatū/Horowhenua/Wellington) Region Iwi</Label>
            <Label xml:lang="mi">Manawatū/Horowhenua/Te Whanganui-a-Tara</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS1001">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Atiawa (Te Whanganui-a-Tara/Wellington)</Label>
            <Label xml:lang="mi">Te Atiawa (Te Whanganui-a-Tara)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS1002">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Muaūpoko</Label>
            <Label xml:lang="mi">Muaūpoko</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS1003">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Rangitāne (Manawatū)</Label>
            <Label xml:lang="mi">Rangitāne (Manawatū)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS1004">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Raukawa (Horowhenua/Manawatū)</Label>
            <Label xml:lang="mi">Ngāti Raukawa (Horowhenua/Manawatū)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS1005">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Toarangatira (Te Whanganui-a-Tara/Wellington)</Label>
            <Label xml:lang="mi">Ngāti Toarangatira (Te Whanganui-a-Tara)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS1006">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Atiawa ki Whakarongotai</Label>
            <Label xml:lang="mi">Te Atiawa ki Whakarongotai</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS1007">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Tama ki Te Upoko o Te Ika (Te Whanganui-a-Tara/Wellington)</Label>
            <Label xml:lang="mi">Ngāti Tama ki Te Ūpoko o Te Ika (Te Whanganui-a-Tara)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS1008">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Kauwhata</Label>
            <Label xml:lang="mi">Ngāti Kauwhata</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS1009">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Tukorehe</Label>
            <Label xml:lang="mi">Ngāti Tukorehe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS11">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Waipounamu/Wharekauri (South Island/Chatham Islands) Region Iwi</Label>
            <Label xml:lang="mi">Te Waipounamu/Wharekauri</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS1101">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Atiawa (Te Waipounamu/South Island)</Label>
            <Label xml:lang="mi">Te Atiawa (Te Waipounamu)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS1102">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Koata</Label>
            <Label xml:lang="mi">Ngāti Koata</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS1103">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Kuia</Label>
            <Label xml:lang="mi">Ngāti Kuia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS1104">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Kāti Māmoe</Label>
            <Label xml:lang="mi">Kāti Māmoe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS1105">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Moriori</Label>
            <Label xml:lang="mi">Moriori</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS1106">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Mutunga (Wharekauri/Chatham Islands)</Label>
            <Label xml:lang="mi">Ngāti Mutunga (Wharekauri)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS1107">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Rangitāne (Te Waipounamu/South Island)</Label>
            <Label xml:lang="mi">Rangitāne (Te Waipounamu)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS1108">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Rārua</Label>
            <Label xml:lang="mi">Ngāti Rārua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS1109">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāi Tahu / Kāi Tahu</Label>
            <Label xml:lang="mi">Ngāi Tahu / Kāi Tahu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS1110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Tama (Te Waipounamu/South Island)</Label>
            <Label xml:lang="mi">Ngāti Tama (Te Waipounamu)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS1111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Toarangatira (Te Waipounamu/South Island)</Label>
            <Label xml:lang="mi">Ngāti Toarangatira (Te Waipounamu)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS1112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Waitaha (Te Waipounamu/South Island)</Label>
            <Label xml:lang="mi">Waitaha (Te Waipounamu)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS1113">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Apa ki Te Rā Tō</Label>
            <Label xml:lang="mi">Ngāti Apa ki Te Rā Tō</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Confederations and Waka, iwi not named</Label>
            <Label xml:lang="mi">Ngā Whakaminenga me nga Waka, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2001">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tainui, iwi not named</Label>
            <Label xml:lang="mi">Tainui, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2002">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Arawa, iwi not named</Label>
            <Label xml:lang="mi">Te Arawa, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2003">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tākitimu, iwi not named</Label>
            <Label xml:lang="mi">Tākitimu, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2004">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Aotea, iwi not named</Label>
            <Label xml:lang="mi">Aotea, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2005">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Mātaatua, iwi not named</Label>
            <Label xml:lang="mi">Mātaatua, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2006">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Mahuru, iwi not named</Label>
            <Label xml:lang="mi">Mahuru, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2007">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Māmari, iwi not named</Label>
            <Label xml:lang="mi">Māmari, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2008">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngātokimatawhaorua, iwi not named</Label>
            <Label xml:lang="mi">Ngātokimatawhaorua, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2009">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Nukutere, iwi not named</Label>
            <Label xml:lang="mi">Nukutere, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2010">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tokomaru, iwi not named</Label>
            <Label xml:lang="mi">Tokomaru, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2011">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Kurahaupō, iwi not named</Label>
            <Label xml:lang="mi">Kurahaupō, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2012">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Muriwhenua, iwi not named</Label>
            <Label xml:lang="mi">Muriwhenua, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2013">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hauraki / Pare Hauraki, iwi not named</Label>
            <Label xml:lang="mi">Hauraki / Pare Hauraki, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2014">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tūranganui a Kiwa, iwi not named</Label>
            <Label xml:lang="mi">Tūranganui a Kiwa, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2015">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Tauihu o Te Waka a Māui, iwi not named</Label>
            <Label xml:lang="mi">Te Tauihu o Te Waka a Māui, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2016">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tauranga Moana, iwi not named</Label>
            <Label xml:lang="mi">Tauranga Moana, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2017">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Horouta, iwi not named</Label>
            <Label xml:lang="mi">Horouta, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2018">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Mōkai Pātea, iwi not named </Label>
            <Label xml:lang="mi">Mōkai Pātea, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Iwi named, region not known</Label>
            <Label xml:lang="mi">Ko te iwi noa iho</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2101">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Atiawa, region not known</Label>
            <Label xml:lang="mi">Te Atiawa, kāre i mōhiotia te rohe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2102">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Haua, region not known</Label>
            <Label xml:lang="mi">Ngāti Hauā, kāre i mōhiotia te rohe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2103">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Maru, region not known</Label>
            <Label xml:lang="mi">Ngāti Maru, kāre i mōhiotia te rohe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2104">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Mutunga, region not known</Label>
            <Label xml:lang="mi">Ngāti Mutunga, kāre i mōhiotia te rohe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2105">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Rangitāne, region not known</Label>
            <Label xml:lang="mi">Rangitāne, kāre i mōhiotia te rohe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2106">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Raukawa, region not known</Label>
            <Label xml:lang="mi">Ngāti Raukawa, kāre i mōhiotia te rohe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2107">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Tama, region not known</Label>
            <Label xml:lang="mi">Ngāti Tama, kāre i mōhiotia te rohe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2108">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Toa, region not known</Label>
            <Label xml:lang="mi">Ngāti Toa, kāre i mōhiotia te rohe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2109">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Waitaha, region not known</Label>
            <Label xml:lang="mi">Waitaha, kāre i mōhiotia te rohe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2110">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Apa, region not known</Label>
            <Label xml:lang="mi">Ngāti Apa, kāre i mōhiotia te rohe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2111">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāi Tai, region not known</Label>
            <Label xml:lang="mi">Ngāi Tai, kāre i mōhiotia te rohe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2112">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Kahungunu, region not known</Label>
            <Label xml:lang="mi">Ngāti Kahungunu, kāre i mōhiotia te rohe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2113">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ngāti Tūwharetoa, region not known</Label>
            <Label xml:lang="mi">Ngāti Tūwharetoa, kāre i mōhiotia te rohe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS22">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hapū affiliated to more than one iwi</Label>
            <Label xml:lang="mi">Hapū he pānga ki iwi kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2201">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hapū affiliated to more than one iwi</Label>
            <Label xml:lang="mi">Hapū he pānga ki iwi kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS23">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Region known, Iwi not named</Label>
            <Label xml:lang="mi">Mōhiotia te rohe, kāre te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2301">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Tai Tokerau/Tāmaki-makaurau Region, Iwi not named</Label>
            <Label xml:lang="mi">Te Tai Tokerau/Tāmaki-makaurau, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2302">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hauraki Region, Iwi not named</Label>
            <Label xml:lang="mi">Hauraki, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2303">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Waikato/Te Rohe Pōtae Region, Iwi not named</Label>
            <Label xml:lang="mi">Waikato/Te Rohe Pōtae, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2304">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Arawa/Taupō Region, Iwi not named</Label>
            <Label xml:lang="mi">Te Arawa/Taupō, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2305">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tauranga Moana/Mātaatua Region, Iwi not named</Label>
            <Label xml:lang="mi">Tauranga Moana/Mātaatua, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2306">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Tai Rāwhiti Region, Iwi not named</Label>
            <Label xml:lang="mi">Te Tai Rāwhiti, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2307">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Matau-a-Māui/Wairarapa Region, Iwi not named</Label>
            <Label xml:lang="mi">Te Matau-a-Māui/Wairarapa, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2308">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Taranaki Region, Iwi not named</Label>
            <Label xml:lang="mi">Taranaki, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2309">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Whanganui/Rangitīkei Region, Iwi not named</Label>
            <Label xml:lang="mi">Whanganui/Rangitīkei, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2310">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Manawatū/Horowhenua/Te Whanganui-a-Tara Region, Iwi not named</Label>
            <Label xml:lang="mi">Manawatū/Horowhenua/Te Whanganui-a-Tara, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2311">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Waipounamu/Wharekauri Region, Iwi not named</Label>
            <Label xml:lang="mi">Te Waipounamu/Wharekauri, kāre i kīia te iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS44">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Don't Know</Label>
            <Label xml:lang="mi">Kāre i te mōhio</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS4444">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Don't Know</Label>
            <Label xml:lang="mi">Kāre i te mōhio</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS55">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Refused To Answer</Label>
            <Label xml:lang="mi">Kāre i whakautu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS5555">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Refused To Answer</Label>
            <Label xml:lang="mi">Kāre i whakautu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS77">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Response Unidentifiable</Label>
            <Label xml:lang="mi">Kāre i arohia te whakautu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS7777">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Response Unidentifiable</Label>
            <Label xml:lang="mi">Kāre i arohia te whakautu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS88">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Response Outside Scope</Label>
            <Label xml:lang="mi">Kāre te whakautu e hāngai</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS8888">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Response Outside Scope</Label>
            <Label xml:lang="mi">Kāre te whakautu e hāngai</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS99">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Not Stated</Label>
            <Label xml:lang="mi">Kāre i kīia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS9999">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Not Stated</Label>
            <Label xml:lang="mi">Kāre i kīia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsReligionType">
    <xs:annotation>
      <xs:documentation><p>Religious affiliation is the self-identified association of a person with a religion,
			 denomination or sub-denominational religious group.</p><p>Sourced from <a href="http://aria.stats.govt.nz/aria/#ClassificationView:uri=http://stats.govt.nz/cms/ClassificationVersion/CARS2902">Statistics NZ - Religious Affiliation 1999 v1.0.0.0</a></p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="NZS0">
        <xs:annotation>
          <xs:appinfo>
            <Label>No Religion</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS1">
        <xs:annotation>
          <xs:appinfo>
            <Label>Buddhist</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS101">
        <xs:annotation>
          <xs:appinfo>
            <Label>Buddhist</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS10101">
        <xs:annotation>
          <xs:appinfo>
            <Label>Zen Buddhist</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS10199">
        <xs:annotation>
          <xs:appinfo>
            <Label>Buddhist nec</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS2">
        <xs:annotation>
          <xs:appinfo>
            <Label>Christian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS201">
        <xs:annotation>
          <xs:appinfo>
            <Label>Adventist</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20101">
        <xs:annotation>
          <xs:appinfo>
            <Label>Christadelphian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20102">
        <xs:annotation>
          <xs:appinfo>
            <Label>Seventh Day Adventist</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20103">
        <xs:annotation>
          <xs:appinfo>
            <Label>Worldwide Church of God</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20199">
        <xs:annotation>
          <xs:appinfo>
            <Label>Adventist nec</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS202">
        <xs:annotation>
          <xs:appinfo>
            <Label>Anglican</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS203">
        <xs:annotation>
          <xs:appinfo>
            <Label>Asian Christian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20301">
        <xs:annotation>
          <xs:appinfo>
            <Label>Chinese Christian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20302">
        <xs:annotation>
          <xs:appinfo>
            <Label>Korean Christian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS204">
        <xs:annotation>
          <xs:appinfo>
            <Label>Baptist</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20401">
        <xs:annotation>
          <xs:appinfo>
            <Label>Bible Baptist</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20402">
        <xs:annotation>
          <xs:appinfo>
            <Label>Independent Baptist</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20403">
        <xs:annotation>
          <xs:appinfo>
            <Label>Reformed Baptist</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20499">
        <xs:annotation>
          <xs:appinfo>
            <Label>Baptist nec</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS205">
        <xs:annotation>
          <xs:appinfo>
            <Label>Brethren</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20501">
        <xs:annotation>
          <xs:appinfo>
            <Label>Exclusive Brethren</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20502">
        <xs:annotation>
          <xs:appinfo>
            <Label>Open Brethren</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20503">
        <xs:annotation>
          <xs:appinfo>
            <Label>Plymouth Brethren</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20599">
        <xs:annotation>
          <xs:appinfo>
            <Label>Brethren nec</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS206">
        <xs:annotation>
          <xs:appinfo>
            <Label>Catholic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20601">
        <xs:annotation>
          <xs:appinfo>
            <Label>Roman Catholic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20699">
        <xs:annotation>
          <xs:appinfo>
            <Label>Catholic nec</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS207">
        <xs:annotation>
          <xs:appinfo>
            <Label>Church of Christ and Associated Churches of Christ</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20701">
        <xs:annotation>
          <xs:appinfo>
            <Label>Associated Churches of Christ</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20799">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other Church of Christ and Churches of Christ nec</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS208">
        <xs:annotation>
          <xs:appinfo>
            <Label>Evangelical, Born Again and Fundamentalist</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20801">
        <xs:annotation>
          <xs:appinfo>
            <Label>Evangelical</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20802">
        <xs:annotation>
          <xs:appinfo>
            <Label>Born Again</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20803">
        <xs:annotation>
          <xs:appinfo>
            <Label>Fundamentalist</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20804">
        <xs:annotation>
          <xs:appinfo>
            <Label>Independent Evangelical Churches</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS209">
        <xs:annotation>
          <xs:appinfo>
            <Label>Jehovah's Witnesses</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS20901">
        <xs:annotation>
          <xs:appinfo>
            <Label>Jehovah's Witnesses</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS210">
        <xs:annotation>
          <xs:appinfo>
            <Label>Latter-day Saints</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS211">
        <xs:annotation>
          <xs:appinfo>
            <Label>Lutheran</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS212">
        <xs:annotation>
          <xs:appinfo>
            <Label>Methodist</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21201">
        <xs:annotation>
          <xs:appinfo>
            <Label>Tongan Methodist</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21299">
        <xs:annotation>
          <xs:appinfo>
            <Label>Methodist nec</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS213">
        <xs:annotation>
          <xs:appinfo>
            <Label>Orthodox</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21301">
        <xs:annotation>
          <xs:appinfo>
            <Label>Assyrian Orthodox</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21302">
        <xs:annotation>
          <xs:appinfo>
            <Label>Coptic Orthodox</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21303">
        <xs:annotation>
          <xs:appinfo>
            <Label>Greek Orthodox</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21304">
        <xs:annotation>
          <xs:appinfo>
            <Label>Russian Orthodox</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21305">
        <xs:annotation>
          <xs:appinfo>
            <Label>Serbian Orthodox</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21399">
        <xs:annotation>
          <xs:appinfo>
            <Label>Orthodox nec</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS214">
        <xs:annotation>
          <xs:appinfo>
            <Label>Pentecostal</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21401">
        <xs:annotation>
          <xs:appinfo>
            <Label>Apostolic Church of New Zealand</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21402">
        <xs:annotation>
          <xs:appinfo>
            <Label>Assemblies of God</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21403">
        <xs:annotation>
          <xs:appinfo>
            <Label>Christian Fellowship</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21404">
        <xs:annotation>
          <xs:appinfo>
            <Label>Christian Outreach</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21405">
        <xs:annotation>
          <xs:appinfo>
            <Label>Christian Revival Crusade</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21406">
        <xs:annotation>
          <xs:appinfo>
            <Label>Elim</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21407">
        <xs:annotation>
          <xs:appinfo>
            <Label>Full Gospel</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21408">
        <xs:annotation>
          <xs:appinfo>
            <Label>Independent Pentecostal</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21409">
        <xs:annotation>
          <xs:appinfo>
            <Label>New Life Centres</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21410">
        <xs:annotation>
          <xs:appinfo>
            <Label>Revival Centres</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21411">
        <xs:annotation>
          <xs:appinfo>
            <Label>United Pentecostal</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21412">
        <xs:annotation>
          <xs:appinfo>
            <Label>Vineyard Christian Fellowship</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21499">
        <xs:annotation>
          <xs:appinfo>
            <Label>Pentecostal nec</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS215">
        <xs:annotation>
          <xs:appinfo>
            <Label>Presbyterian, Congregational and Reformed</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21501">
        <xs:annotation>
          <xs:appinfo>
            <Label>Presbyterian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21502">
        <xs:annotation>
          <xs:appinfo>
            <Label>Congregational</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21503">
        <xs:annotation>
          <xs:appinfo>
            <Label>Cook Island Congregational</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21504">
        <xs:annotation>
          <xs:appinfo>
            <Label>Samoan Congregational</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21505">
        <xs:annotation>
          <xs:appinfo>
            <Label>Reformed</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS216">
        <xs:annotation>
          <xs:appinfo>
            <Label>Protestant</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS217">
        <xs:annotation>
          <xs:appinfo>
            <Label>Salvation Army</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS218">
        <xs:annotation>
          <xs:appinfo>
            <Label>Uniting/Union Church and Ecumenical</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21801">
        <xs:annotation>
          <xs:appinfo>
            <Label>Uniting/Union Church</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS21802">
        <xs:annotation>
          <xs:appinfo>
            <Label>Ecumenical</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS299">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other Christian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS29901">
        <xs:annotation>
          <xs:appinfo>
            <Label>Christian and Missionary Alliance</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS29902">
        <xs:annotation>
          <xs:appinfo>
            <Label>Christian Science</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS29903">
        <xs:annotation>
          <xs:appinfo>
            <Label>Church of God</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS29904">
        <xs:annotation>
          <xs:appinfo>
            <Label>Commonwealth Covenant Church</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS29905">
        <xs:annotation>
          <xs:appinfo>
            <Label>Liberal Catholic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS29906">
        <xs:annotation>
          <xs:appinfo>
            <Label>Metropolitan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS29907">
        <xs:annotation>
          <xs:appinfo>
            <Label>Nazarene</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS29908">
        <xs:annotation>
          <xs:appinfo>
            <Label>Religious Society of Friends (Quaker)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS29909">
        <xs:annotation>
          <xs:appinfo>
            <Label>Unitarian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS3">
        <xs:annotation>
          <xs:appinfo>
            <Label>Hindu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS30101">
        <xs:annotation>
          <xs:appinfo>
            <Label>Hare Krishna</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS30102">
        <xs:annotation>
          <xs:appinfo>
            <Label>Yoga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS4">
        <xs:annotation>
          <xs:appinfo>
            <Label>Islam/Muslim</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS40101">
        <xs:annotation>
          <xs:appinfo>
            <Label>Sufi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS5">
        <xs:annotation>
          <xs:appinfo>
            <Label>Judaism/Jewish</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS6">
        <xs:annotation>
          <xs:appinfo>
            <Label>Māori Christian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS601">
        <xs:annotation>
          <xs:appinfo>
            <Label>Ratana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS602">
        <xs:annotation>
          <xs:appinfo>
            <Label>Ringatū</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS609">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other Māori Christian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS7">
        <xs:annotation>
          <xs:appinfo>
            <Label>Spiritualism and New Age Religions</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS701">
        <xs:annotation>
          <xs:appinfo>
            <Label>Church of Scientology</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS702">
        <xs:annotation>
          <xs:appinfo>
            <Label>Nature and Earth Based Religions</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS70201">
        <xs:annotation>
          <xs:appinfo>
            <Label>Animist</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS70202">
        <xs:annotation>
          <xs:appinfo>
            <Label>Druid</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS70203">
        <xs:annotation>
          <xs:appinfo>
            <Label>Pantheist</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS70204">
        <xs:annotation>
          <xs:appinfo>
            <Label>Wiccan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS703">
        <xs:annotation>
          <xs:appinfo>
            <Label>Satanism</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS704">
        <xs:annotation>
          <xs:appinfo>
            <Label>Spiritualist</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS709">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other New Age Religions</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS70901">
        <xs:annotation>
          <xs:appinfo>
            <Label>Rastafarianism</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS8">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other Religions</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS801">
        <xs:annotation>
          <xs:appinfo>
            <Label>Baha'i</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS802">
        <xs:annotation>
          <xs:appinfo>
            <Label>Chinese Religions</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS80201">
        <xs:annotation>
          <xs:appinfo>
            <Label>Confucianism</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS80202">
        <xs:annotation>
          <xs:appinfo>
            <Label>Taoism</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS803">
        <xs:annotation>
          <xs:appinfo>
            <Label>Jainism</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS804">
        <xs:annotation>
          <xs:appinfo>
            <Label>Japanese Religion</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS80401">
        <xs:annotation>
          <xs:appinfo>
            <Label>Mahikari</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS80402">
        <xs:annotation>
          <xs:appinfo>
            <Label>Shinto</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS80403">
        <xs:annotation>
          <xs:appinfo>
            <Label>Tenrikyo</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS805">
        <xs:annotation>
          <xs:appinfo>
            <Label>Māori Religion</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS80501">
        <xs:annotation>
          <xs:appinfo>
            <Label>Hauhau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS806">
        <xs:annotation>
          <xs:appinfo>
            <Label>Sikh</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS807">
        <xs:annotation>
          <xs:appinfo>
            <Label>Theism</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS808">
        <xs:annotation>
          <xs:appinfo>
            <Label>Zoroastrian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS809">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other Religions</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS80901">
        <xs:annotation>
          <xs:appinfo>
            <Label>Unification Church (Moonist)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS80999">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other Religions nec</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS944">
        <xs:annotation>
          <xs:appinfo>
            <Label>Don't Know</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS955">
        <xs:annotation>
          <xs:appinfo>
            <Label>Object to answering</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS977">
        <xs:annotation>
          <xs:appinfo>
            <Label>Religion Unidentifiable</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS988">
        <xs:annotation>
          <xs:appinfo>
            <Label>Response Outside Scope</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS999">
        <xs:annotation>
          <xs:appinfo>
            <Label>Not Stated</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsHealthcareServiceTypeType">
    <xs:annotation>
      <xs:documentation><p>Code denoting the type of healthcare service provided by a StudentContact.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="DOC">
        <xs:annotation>
          <xs:appinfo>
            <Label>Doctor</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DEN">
        <xs:annotation>
          <xs:appinfo>
            <Label>Dentist</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="THE">
        <xs:annotation>
          <xs:appinfo>
            <Label>Therapist</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTH">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsLanguageProficiencyTypeType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting a type of language proficiency, e.g. speaking, writing reading.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="SP">
        <xs:annotation>
          <xs:appinfo>
            <Label>Speaking</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RE">
        <xs:annotation>
          <xs:appinfo>
            <Label>Reading</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WR">
        <xs:annotation>
          <xs:appinfo>
            <Label>Writing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsLanguageProficiencyLevelType">
    <xs:annotation>
      <xs:documentation><p>The language proficiency level.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="NO">
        <xs:annotation>
          <xs:appinfo>
            <Label>None</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BE">
        <xs:annotation>
          <xs:appinfo>
            <Label>Beginner</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="IN">
        <xs:annotation>
          <xs:appinfo>
            <Label>Intermediate</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AD">
        <xs:annotation>
          <xs:appinfo>
            <Label>Advanced</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsDocumentTypeType">
    <xs:annotation>
      <xs:documentation><p>Standard codes denoting the type of Document.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="IBP">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Individualised Behavioural Plan</Label>
            <Label xml:lang="mi">Mahere Whanonga mā te Ākonga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="IEP">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Individualised Education Plan</Label>
            <Label xml:lang="mi">Mahere Mātauranga mā te Ākonga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MED">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Medical</Label>
            <Label xml:lang="mi">Toha rongoā</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ATT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Attendance</Label>
            <Label xml:lang="mi">Te Tae ki te Kura</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BEH">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Behavioural</Label>
            <Label xml:lang="mi">Whanonga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ACA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Academic</Label>
            <Label xml:lang="mi">Mātauranga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LEG">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Legal</Label>
            <Label xml:lang="mi">Ture</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTH">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other</Label>
            <Label xml:lang="mi">Mea kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PHO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Photo</Label>
            <Label xml:lang="mi">Whakaahua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MEA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Media (e.g. video)</Label>
            <Label xml:lang="mi">Pāpāho (h.t. whitiata)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DOC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Document</Label>
            <Label xml:lang="mi">Tuhinga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NOT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Note</Label>
            <Label xml:lang="mi">Pito kōrero</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Learning Support Need - Supporting Document</Label>
            <Label xml:lang="mi">Me whai tautoko akoranga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PPH">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Person Photo</Label>
            <Label xml:lang="mi">Whakaahua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NRA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Learning Support Need Response Attachment</Label>
            <Label xml:lang="mi">Matea Ako - Tāpiringa Urupare</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NRC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Learning Support Need Response Closure Attachment</Label>
            <Label xml:lang="mi">Matea Ako Urupare Whakakapi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NRR">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Learning Support Need Response Review Attachment</Label>
            <Label xml:lang="mi">Matea Ako Urupare Arotake</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ODA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Official Diagnosis Attachment</Label>
            <Label xml:lang="mi">Whakataunga Matua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsDocumentClassificationType">
    <xs:annotation>
      <xs:documentation><p>Standard codes denoting the classification of the Document.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="IC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">In-Confidence</Label>
            <Label xml:lang="mi">Noho muna</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sensitive</Label>
            <Label xml:lang="mi">Āritarita</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="UC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Unclassified</Label>
            <Label xml:lang="mi">Kāre anō kia kōmakatia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsDocumentRoleType">
    <xs:annotation>
      <xs:documentation><p>A code set denoting the role a person performs in relation to a document and 
				their role in relation to it, e.g. author, owner, reviewer, subject of.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="OW">
        <xs:annotation>
          <xs:appinfo>
            <Label>Owner</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AU">
        <xs:annotation>
          <xs:appinfo>
            <Label>Author</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RE">
        <xs:annotation>
          <xs:appinfo>
            <Label>Reviewer</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SU">
        <xs:annotation>
          <xs:appinfo>
            <Label>Subject Of</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AD">
        <xs:annotation>
          <xs:appinfo>
            <Label>Added By</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsSchoolManagementSystemType">
    <xs:annotation>
      <xs:documentation><p>A code list denoting the School Management Systems (SMS) that are in use by Providers.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="ASS">
        <xs:annotation>
          <xs:appinfo>
            <Label>Assembly</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ETA">
        <xs:annotation>
          <xs:appinfo>
            <Label>eTAP</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="INT">
        <xs:annotation>
          <xs:appinfo>
            <Label>INTEGRATOR</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="KAM">
        <xs:annotation>
          <xs:appinfo>
            <Label>KAMAR</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LIN">
        <xs:annotation>
          <xs:appinfo>
            <Label>LINC-ED</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MUS">
        <xs:annotation>
          <xs:appinfo>
            <Label>MUSAC edge</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PCS">
        <xs:annotation>
          <xs:appinfo>
            <Label>PCSchool</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SYN">
        <xs:annotation>
          <xs:appinfo>
            <Label>Synergetic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsBiographicChangeReasonType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the reasons for which a persons biographical data may have changed.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="CF">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Changed by family (PA request)</Label>
            <Label xml:lang="mi">He Panoni Nā te Whānau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Entered incorrectly</Label>
            <Label xml:lang="mi">I hē te whakauru</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ON">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Official name change</Label>
            <Label xml:lang="mi">Kua mana te panoni ingoa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsAddressTypeType">
    <xs:annotation>
      <xs:documentation><p>
				Address type allows an address to be categorised according to its component structure.
				Address type can be used to build processing rules for validating, managing and presenting
				addresses. Address type is independent of the use of the address by any party. To describe
				how a party may use an address (residence, billing, term address etc) see AddressRoleType
			</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="TH">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">Also called 'Street' addresses, The most
					general, and widely used type of address, and can
					contain the widest variety of components</p>
            <p xmlns="http://sifassociation.org/SpecGen">In general a thoroughfare address will include
					components for a number, a roadname, and a
					locality.</p>
            <p xmlns="http://sifassociation.org/SpecGen">They cannot contain any of the components
					specific to a delivery service, rural post
					delivery, or water address.</p>
            <p xmlns="http://sifassociation.org/SpecGen">These addresses are used to 
					find a location.</p>
            <p xmlns="http://sifassociation.org/SpecGen">Example: 30 - 40 Lambton Quay, Wellington, 6165</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Thoroughfare</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RU">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">Defined by New Zealand Post, these addresses
					are assigned by NZ Post for customers who purchase
					a rural delivery service (mail and also other
					goods).</p>
            <p xmlns="http://sifassociation.org/SpecGen">They will have the same number and roadname
					components as the street address, and may have the
					same region component.</p>
            <p xmlns="http://sifassociation.org/SpecGen">They do not have a component that identifies
					the locality the address is within. The locality
					and city or town components are replaced by
					components that identify the rural delivery route
					(RD number), and the town from which the rural
					delivery route starts and finishes (the mail
					town). Only addresses of this class can contain
					these components.
					</p>
            <p xmlns="http://sifassociation.org/SpecGen">
              <em>Example:</em> 121 Waitaha Road, RD 1, Ross, 7885</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Rural Post Delivery</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DE">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">Defined by New Zealand Post, and used
					exclusively for NZ Post services other than
					standard mail delivery. Addresses in this class
					include PO Box, Private Bag, and Counter Delivery
					addresses.</p>
            <p xmlns="http://sifassociation.org/SpecGen">
              <em>Example:</em> Private Bag 2345, Auckland, 1142</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Delivery Service</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WA">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">Where properties have no road access, but do
					have access to water frontage (coastline or
					riverbank or lakefront), a water address uses the
					name of a water feature (for example, islands,
					rivers, bays, or peninsulas).</p>
            <p xmlns="http://sifassociation.org/SpecGen">
              <em>Example:</em> 235 Lochmara Bay, Queen Charlotte Sound, Marlborough Sounds</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Water</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FO">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">A foreign address identifies a location outside of New Zealand.</p>
            <p xmlns="http://sifassociation.org/SpecGen">
              <em>Example:</em> Rudolf-Diesel-Strasse 14, 54595 Prüm, Germany</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Foreign Address</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsAddressRoleType">
    <xs:annotation>
      <xs:documentation><p>A standardised description of the role or usage of an address by a party 
			(person or organisation). Where a party has more than one address, this
			provides context for deciding which address to use.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="PHY">
        <xs:annotation>
          <xs:documentation>Applies to addresses associated with persons</xs:documentation>
          <xs:appinfo>
            <Label>Physical Address</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="POS">
        <xs:annotation>
          <xs:documentation>Applies to addresses associated with persons or organisations</xs:documentation>
          <xs:appinfo>
            <Label>Postal Address</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsSpatialUnitTypeType">
    <xs:annotation>
      <xs:documentation><p>A classification of geographical boundaries or statistical 
				areas as defined by Statistics NZ’s geographic hierarchy.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="AE">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen"> Area units are aggregations of
					meshblocks. They are non–administrative areas that
					are in between meshblocks and territorial
					authorities in size. Area units must either define
					or aggregate to define, regional councils,
					territorial authorities and urban areas.</p>
            <a href="http://aria.stats.govt.nz/aria/#ClassificationView:uri=http://stats.govt.nz/cms/ClassificationVersion/F7Wta5k7vAmJyxrU" xmlns="http://sifassociation.org/SpecGen">Statistics NZ Classification of Area Unit 2013 v1.0.0</a>
          </xs:documentation>
          <xs:appinfo>
            <Label>Area Unit</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="GE">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">The general electoral districts as constituted under the Electoral Act 1993.</p>
            <a href="http://aria.stats.govt.nz/aria/#ClassificationView:uri=http://stats.govt.nz/cms/ClassificationVersion/jtyxBHBzNNas41gu" xmlns="http://sifassociation.org/SpecGen">Statistics NZ General Electoral District 2014 v1.0.0</a>
          </xs:documentation>
          <xs:appinfo>
            <Label>General Electoral District</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CB">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">(aka Local Board within Auckland) Local boards
					provide governance at the local level within
					Auckland Council. They enable democratic decision
					making by, and on behalf of communities within the
					local board area.</p>
            <a href="http://aria.stats.govt.nz/aria/#ClassificationView:uri=http://stats.govt.nz/cms/ClassificationVersion/ZIK9xfNmA6k4hw2B" xmlns="http://sifassociation.org/SpecGen">Statistics NZ Community Board 2013 v1.0.0</a>
          </xs:documentation>
          <xs:appinfo>
            <Label>Community Board</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ME">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">Māori electoral districts are the voting
					districts for parliamentary elections for people
					who choose to be on the Māori Electoral Roll.</p>
            <a href="http://aria.stats.govt.nz/aria/#ClassificationView:uri=http://stats.govt.nz/cms/ClassificationVersion/pW9dZ6VeAMFKkHbQ" xmlns="http://sifassociation.org/SpecGen">Statistics NZ Māori Electoral District 2014 v1.0.0</a>
          </xs:documentation>
          <xs:appinfo>
            <Label>Māori Electoral District</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MB">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">A meshblock is the smallest geographic unit for
					which statistical data is collected and processed
					by Statistics New Zealand.</p>
            <p xmlns="http://sifassociation.org/SpecGen">A meshblock is defined by a geographic area,
					which can vary in size from part of a city block
					to a large area of rural land. Each meshblock
					borders on another to form a network covering all
					of New Zealand, including coasts and inlets and
					extending out to the 200-mile economic zone.</p>
            <a href="http://aria.stats.govt.nz/aria/#ClassificationView:uri=http://stats.govt.nz/cms/ClassificationVersion/EUVhZI6UWCZ6JA1F" xmlns="http://sifassociation.org/SpecGen">Statistics NZ Statistical Standard for Meshblock 2013 v1.0.0</a>
          </xs:documentation>
          <xs:appinfo>
            <Label>Mesh Block</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RC">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">The top tier of local government in New Zealand, defined
					by the Local Government Act 2002, which requires the
					boundaries of regions to conform as far as
					possible to one or more water catchments. When
					determining regional boundaries, the Local
					Government Commission gave consideration to
					regional communities of interest when selecting
					water catchments to be included in a region. It
					also considered factors such as natural resource
					management, land use planning and environmental
					matters.</p>
            <a href="http://aria.stats.govt.nz/aria/#ClassificationView:uri=http://stats.govt.nz/cms/ClassificationVersion/MSQo0eUwerxmc3Lw" xmlns="http://sifassociation.org/SpecGen">Statistics NZ Regional Council 2013 v1.0.0</a>
          </xs:documentation>
          <xs:appinfo>
            <Label>Regional Council</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TA">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">The second tier of local government in New
					Zealand, defined under the Local Government Act
					2002 as a city council or district council. There
					are 67 territorial authorities consisting of 12
					city councils, 53 districts, Auckland Council, and
					Chatham Islands Council.</p>
            <a href="http://aria.stats.govt.nz/aria/#ClassificationView:uri=http://stats.govt.nz/cms/ClassificationVersion/pJACqzvmZ2qy3YDW" xmlns="http://sifassociation.org/SpecGen">Statistics NZ Territorial Authority 2013 v1.0.0</a>
          </xs:documentation>
          <xs:appinfo>
            <Label>Territorial Authority</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="UA">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">Urban Areas are statistically defined areas
					with no administrative or legal basis. There is a
					three part hierarchical sub-division of urban
					areas into: main urban areas, secondary urban
					areas, minor urban areas.  Together the
					populations in main, secondary and minor urban
					areas comprise the statistically defined urban
					population of New Zealand. The urban area
					classification is designed to identify
					concentrated urban or semi-urban settlements
					without the distortions of administrative
					boundaries.</p>
            <a href="http://aria.stats.govt.nz/aria/#ClassificationView:uri=http://stats.govt.nz/cms/ClassificationVersion/IaYI8w2nLBVWQxrf" xmlns="http://sifassociation.org/SpecGen">Statistics NZ Urban Area 2013 v2.0.0</a>
          </xs:documentation>
          <xs:appinfo>
            <Label>Urban Area</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WA">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">Wards are defined under the Local Electoral Act
					2001 and result from the division, for electoral
					purposes, of the district of a territorial
					authority.  The ward system was designed to allow
					for the recognition of communities within a
					district and to increase community involvement in
					the local government system.</p>
            <a href="http://aria.stats.govt.nz/aria/#ClassificationView:uri=http://stats.govt.nz/cms/ClassificationVersion/qI6phchSiGr3QmGQ" xmlns="http://sifassociation.org/SpecGen">Statistics NZ Ward 2013 v1.0.0</a>
          </xs:documentation>
          <xs:appinfo>
            <Label>Ward</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsOperationalStatusType">
    <xs:annotation>
      <xs:documentation><p>Indicates the operational status of an organisation.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="C">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-05-08</endDate>
            <Label>Closed</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="O">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-05-08</endDate>
            <Label>Open</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="P">
        <xs:annotation>
          <xs:documentation>SIF AU uses the term ‘Pending’</xs:documentation>
          <xs:appinfo>
            <endDate>2020-05-08</endDate>
            <Label>Proposed</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="28000">
        <xs:annotation>
          <xs:appinfo>
            <Label>Proposed</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="28001">
        <xs:annotation>
          <xs:appinfo>
            <Label>Open</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="28002">
        <xs:annotation>
          <xs:appinfo>
            <Label>Closed</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="28003">
        <xs:annotation>
          <xs:appinfo>
            <Label>Active</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="28004">
        <xs:annotation>
          <xs:appinfo>
            <Label>Inactive</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="28005">
        <xs:annotation>
          <xs:appinfo>
            <Label>Dissolved while Commissioner in place</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="28006">
        <xs:annotation>
          <xs:appinfo>
            <Label>Operating with Limited Statutory Manager</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="28007">
        <xs:annotation>
          <xs:appinfo>
            <Label>Merging Board</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="28008">
        <xs:annotation>
          <xs:appinfo>
            <Label>Not Applicable</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="28009">
        <xs:annotation>
          <xs:appinfo>
            <Label>Approved</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="28010">
        <xs:annotation>
          <xs:appinfo>
            <Label>Formed</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="28011">
        <xs:annotation>
          <xs:appinfo>
            <Label>Disestablished</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsOperationalStatusReasonType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the reasons the operational status of an organisation
			 may change.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="30000">
        <xs:annotation>
          <xs:appinfo>
            <Label>Merger</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30001">
        <xs:annotation>
          <xs:appinfo>
            <Label>Change of Type</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30002">
        <xs:annotation>
          <xs:appinfo>
            <Label>Declining Roll</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30003">
        <xs:annotation>
          <xs:appinfo>
            <Label>Financial Reasons</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30004">
        <xs:annotation>
          <xs:appinfo>
            <Label>Loss of Tenancy</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30005">
        <xs:annotation>
          <xs:appinfo>
            <Label>Moved Premises</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30006">
        <xs:annotation>
          <xs:appinfo>
            <Label>Never Opened</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30007">
        <xs:annotation>
          <xs:appinfo>
            <Label>Licence Suspended</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30008">
        <xs:annotation>
          <xs:appinfo>
            <Label>Ministry Withdrawal of Licence Due to Non-compliance</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30009">
        <xs:annotation>
          <xs:appinfo>
            <Label>Owner Retired / Disestablished</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30010">
        <xs:annotation>
          <xs:appinfo>
            <Label>Temporarily Closed</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30011">
        <xs:annotation>
          <xs:appinfo>
            <Label>Merger of State Schools - Forced by Minister</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30012">
        <xs:annotation>
          <xs:appinfo>
            <Label>Changed Type or Number, or Became a Composite School</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30013">
        <xs:annotation>
          <xs:appinfo>
            <Label>Closure of State School - Forced by Minister</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30014">
        <xs:annotation>
          <xs:appinfo>
            <Label>Closure of State School - Voluntary</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30015">
        <xs:annotation>
          <xs:appinfo>
            <Label>Closure - Voluntary of State or Private School</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30016">
        <xs:annotation>
          <xs:appinfo>
            <Label>Cancellation of Integration Agreement</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30017">
        <xs:annotation>
          <xs:appinfo>
            <Label>Re-numbered Continuing School in Merger</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30019">
        <xs:annotation>
          <xs:appinfo>
            <Label>Dis-establishment</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30020">
        <xs:annotation>
          <xs:appinfo>
            <Label>Loss of Registration</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30021">
        <xs:annotation>
          <xs:appinfo>
            <Label>Network Review</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30022">
        <xs:annotation>
          <xs:appinfo>
            <Label>Tertiary Education Provider that is taken over in a merger</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30024">
        <xs:annotation>
          <xs:appinfo>
            <Label>Not Applicable</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30025">
        <xs:annotation>
          <xs:appinfo>
            <Label>Changed to Standalone</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30026">
        <xs:annotation>
          <xs:appinfo>
            <Label>Changed from Standalone</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsSchoolCoEdStatusType">
    <xs:annotation>
      <xs:documentation><p>A summary description of the gender of students that a school accepts, indicating the 
				type of school from a gender perspective.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="COED">
        <xs:annotation>
          <xs:appinfo>
            <Label>Co-Educational</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="GIRL">
        <xs:annotation>
          <xs:appinfo>
            <Label>Girls School</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BOYS">
        <xs:annotation>
          <xs:appinfo>
            <Label>Boys School</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PRCO">
        <xs:annotation>
          <xs:appinfo>
            <Label>Primary Co-Ed, Secondary Girls</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="JUBO">
        <xs:annotation>
          <xs:appinfo>
            <Label>Junior Boys, Senior Co-Ed</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsEducationRegionType">
    <xs:annotation>
      <xs:documentation>
			Regions of New Zealand defined by Ministry of Education for administrative purposes.
		</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="TAIT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tai Tokerau</Label>
            <Label xml:lang="mi">Tai Tokerau</Label>
            <endDate>2020-05-18</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AUCK">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Auckland</Label>
            <Label xml:lang="mi">Tāmaki Makaurau</Label>
            <endDate>2020-05-18</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WAIK">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Waikato</Label>
            <Label xml:lang="mi">Waikato</Label>
            <endDate>2020-05-18</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BOPW">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Bay of Plenty, Waiariki</Label>
            <Label xml:lang="mi">Te Moana a Toitehuatahi, Waiariki</Label>
            <endDate>2020-05-18</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="HAWK">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hawke's Bay, Tairāwhiti</Label>
            <Label xml:lang="mi">Te Matau a Māui, Tairāwhiti</Label>
            <endDate>2020-05-18</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TARA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Taranaki, Whanganui, Manawatū</Label>
            <Label xml:lang="mi">Taranaki, Whanganui, Manawatū</Label>
            <endDate>2020-05-18</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WELL">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Wellington</Label>
            <Label xml:lang="mi">Te Whanganui a Tara</Label>
            <endDate>2020-05-18</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NELS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Nelson, Marlborough, West Coast</Label>
            <Label xml:lang="mi">Whakatū, Te Tau Ihu o te Waka-a-Māui, Te Tai Poutini</Label>
            <endDate>2020-05-18</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CANT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Canterbury, Chatham Islands</Label>
            <Label xml:lang="mi">Waitaha, Wharekauri</Label>
            <endDate>2020-05-18</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTAG">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Otago, Southland</Label>
            <Label xml:lang="mi">Otākou, Murihiku</Label>
            <endDate>2020-05-18</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12000">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Missing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12005">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Correspondence</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12006">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Not Applicable</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12007">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tai Tokerau</Label>
            <Label xml:lang="mi">Tai Tokerau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12008">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Auckland</Label>
            <Label xml:lang="mi">Tāmaki Makaurau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12009">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Waikato</Label>
            <Label xml:lang="mi">Waikato</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12010">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Bay of Plenty/Waiariki</Label>
            <Label xml:lang="mi">Te Moana a Toitehuatahi/Waiariki</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12011">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Taranaki/Whanganui/Manawatū</Label>
            <Label xml:lang="mi">Taranaki/Whanganui/Manawatū</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12012">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hawke's Bay/Tairāwhiti</Label>
            <Label xml:lang="mi">Te Matau a Māui/Tairāwhiti</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12013">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Wellington</Label>
            <Label xml:lang="mi">Te Whanganui a Tara</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12014">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Nelson/Marlborough/West Coast</Label>
            <Label xml:lang="mi">Whakatū/Te Tau Ihu o te Waka-a-Māui/Te Tai Poutini</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12015">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Canterbury/Chatham Islands</Label>
            <Label xml:lang="mi">Waitaha/Wharekauri</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12016">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Otago/Southland</Label>
            <Label xml:lang="mi">Otākou/Murihiku</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsSpecialEducationDistrictType">
    <xs:annotation>
      <xs:documentation>
			Special Education district a provider may belong to
		</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="182000">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tai Tokerau</Label>
            <Label xml:lang="mi">Tai Tokerau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="182001">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">North West</Label>
            <endDate>2020-05-08</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="182002">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Manukau</Label>
            <endDate>2020-05-08</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="182003">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Auckland</Label>
            <Label xml:lang="mi">Tāmaki Makaurau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="182004">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Waikato</Label>
            <Label xml:lang="mi">Waikato</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="182005">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Bay of Plenty West</Label>
            <endDate>2020-05-08</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="182006">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Bay of Plenty, Waiariki</Label>
            <Label xml:lang="mi">Te Moana a Toitehuatahi, Waiariki</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="182007">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Gisborne</Label>
            <endDate>2020-05-08</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="182008">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hawke's Bay, Tairāwhiti</Label>
            <Label xml:lang="mi">Te Matau a Māui, Tairāwhiti</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="182009">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Taranaki</Label>
            <Label xml:lang="mi">Taranaki</Label>
            <endDate>2020-05-08</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="182010">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Taranaki, Whanganui, Manawatū</Label>
            <Label xml:lang="mi">Taranaki, Whanganui, Manawatū</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="182011">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Wellington</Label>
            <Label xml:lang="mi">Te Whanganui a Tara</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="182012">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Nelson, Marlborough, West Coast</Label>
            <Label xml:lang="mi">Whakatū, Te Tau Ihu o te Waka-a-Māui, Te Tai Poutini</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="182013">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Canterbury, Chatham Islands</Label>
            <Label xml:lang="mi">Waitaha, Wharekauri</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="182014">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Otago, Southland</Label>
            <Label xml:lang="mi">Otākou, Murihiku</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="182015">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Southland</Label>
            <endDate>2020-05-08</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsOrganisationTypeType">
    <xs:annotation>
      <xs:documentation>Describes the organisation type of the provider, indicating the services provided, 
			function or purpose of the organisation.
		</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="35000">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Early Childhood Education (ECE)</Label>
            <Label xml:lang="mi">Kura Kōhungahunga</Label>
            <endDate>2020-05-08</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10052">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Kindergarten Association</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10053">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Playcentre Association</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10054">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Commercial ECE Service Provider</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10055">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other ECE Service Provider</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Casual-Education and Care</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="2">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Free Kindergarten</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="3">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hospital Based ECE</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="4">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Playcentre</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="6">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Education and Care Service</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="7">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Homebased Network</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="8">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Licence Exempt Kohanga Reo</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="9">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Kohanga Reo</Label>
            <Label xml:lang="mi">Te Kohanga Reo</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10000">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Casual-Education and Care</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10001">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Free Kindergarten</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10002">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Playcentre</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10003">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Education and Care Service</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10004">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Homebased Network</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10005">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Kōhanga Reo</Label>
            <Label xml:lang="mi">Te Kōhanga Reo</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10007">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Licence Exempt Kōhanga Reo</Label>
            <endDate>2020-05-08</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10008">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hospital Based</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10009">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Playgroup</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="35003">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">School</Label>
            <Label xml:lang="mi">Kura</Label>
            <endDate>2020-05-08</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10056">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Board of Trustees</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10057">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Private School Provider</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="20">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Full Primary (Year 1-8)</Label>
            <Label xml:lang="mi">Kura Tuatahi (Tau 1 – 8)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="21">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Contributing Primary (Year 1-6)</Label>
            <Label xml:lang="mi">Kura Tuatahi (Tau 1 – 6)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="22">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Intermediate School (Year 7-8)</Label>
            <Label xml:lang="mi">Kura Takawaenga (Tau 7 me te 8)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="23">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Special School</Label>
            <Label xml:lang="mi">Kura Motuhake</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Secondary School (Year 7-15)</Label>
            <Label xml:lang="mi">Kura Tuarua (Tau 7 – 15)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="32">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Composite School (Year 1-15)</Label>
            <Label xml:lang="mi">Kura Hiato (Tau 1 – 15)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="34">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">The Correspondence School</Label>
            <Label xml:lang="mi">Te Kura</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="35">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Restricted Composite School (Year 7-10)</Label>
            <Label xml:lang="mi">Kura Hiato (Tau 7 – 10)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="40">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Secondary School (Year 9-15)</Label>
            <Label xml:lang="mi">Kura Tuarua (Tau 9 – 15)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="41">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Teen Parent Unit (Year 9-15)</Label>
            <Label xml:lang="mi">Ranga Mātātahi (Tau 9 – 15)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="43">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Activity Centre</Label>
            <Label xml:lang="mi">Pokapū Mahi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10023">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Full Primary (Year 1-8)</Label>
            <Label xml:lang="mi">Kura Tuatahi (Tau 1-8)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10024">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Contributing Primary (Year 1-6)</Label>
            <Label xml:lang="mi">Kura Tuatahi (Tau 1-6)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10025">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Intermediate School (Year 7-8)</Label>
            <Label xml:lang="mi">Kura Takawaenga (Tau 7 me te 8)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10026">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Special School</Label>
            <Label xml:lang="mi">Kura Motuhake</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10027">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Centre for Extra Support</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10028">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Correspondance Unit</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10029">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Secondary School (Year 7-15)</Label>
            <Label xml:lang="mi">Kura Tuarua (Tau 7-15)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10030">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Composite School (Year 1-15)</Label>
            <Label xml:lang="mi">Kura Hiato (Tau 1-15)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10031">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">The Correspondence School</Label>
            <Label xml:lang="mi">Te Kura</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10032">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Restricted Composite School (Year 7-10)</Label>
            <Label xml:lang="mi">Kura Hiato (Tau 7-10)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10033">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Secondary School (Year 9-15)</Label>
            <Label xml:lang="mi">Kura Tuarua (Tau 9-15)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10034">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Teen Parent Unit (Year 9-15)</Label>
            <Label xml:lang="mi">Ranga Mātātahi (Tau 9-15)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10036">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Activity Centre</Label>
            <Label xml:lang="mi">Pokapū Mahi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="35002">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tertiary</Label>
            <Label xml:lang="mi">Kura Wānanga</Label>
            <endDate>2020-05-08</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10010">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Private Training Establishment</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10011">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Government Training Establishment</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10012">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Polytechnic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10013">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">College of Education</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10014">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">University</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10015">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Wānanga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10016">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other Tertiary Education Provider</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10017">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Industry Training Organisation</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10018">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other Certifying Authorities</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10019">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">OTEP Resource Centre</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10020">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">OTEP RS24</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10021">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Government Agency</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10022">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Peak Body</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10035">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Alternative Education Provider</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10037">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Kura Teina - Primary</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10038">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Side-school</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10039">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Special Unit</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10040">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Kura Teina - Composite</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10041">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Land Site</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10042">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Manual Training Centre (Stand Alone)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10043">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Community Education/Resource/Youth Learning Centre</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10044">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Rural Education Activities Programme (REAP)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10045">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Special Education Service Centre</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10047">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Examination Centre</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10048">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">School Cluster for NZQA</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10049">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">School Camp</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10050">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Subsidiary Provider</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10051">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Miscellaneous</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10058">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Campus</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10060">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Special Unit Funded</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10062">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Attachment to Kura Kaupapa Māori</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10063">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Secondary (Year 9-10 Att.Int.)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="999">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ministry of Education Local Office</Label>
            <Label xml:lang="mi" />
            <endDate>2020-03-24</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="35007">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ministry of Education Local Office</Label>
            <Label xml:lang="mi" />
            <startDate>2020-03-25</startDate>
            <endDate>2020-05-08</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10059">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Local Office</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="998">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Community of Learning | Kāhui Ako</Label>
            <Label xml:lang="mi">Kāhui Ako</Label>
            <endDate>2020-03-24</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="35008">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Community of Learning | Kāhui Ako</Label>
            <Label xml:lang="mi">Kāhui Ako</Label>
            <startDate>2020-03-25</startDate>
            <endDate>2020-05-08</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10061">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Community of Learning | Kāhui Ako</Label>
            <Label xml:lang="mi">Kāhui Ako</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10065">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Learning Support Cluster</Label>
            <Label xml:lang="mi">Kāhui Akoranga Tautoko</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="996">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Learning Support Cluster</Label>
            <Label xml:lang="mi">Kāhui Akoranga Tautoko</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10064">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">RTLB Cluster</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsOrganisationSectorRoleType">
    <xs:annotation>
      <xs:documentation><p>Describes the roles for organisations within the education sector, e.g. School 
			Sector Institution, Learnign Support Cluster, etc.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="35000">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Licenced ECE Service</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="35001">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Playgroup</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="35002">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tertiary Sector Institution</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="35003">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">School Sector Institution</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="35004">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other Organisation Type</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="35005">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">ECE Service Provider</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="35006">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Board of Trustees</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="35007">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Local Office</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="35008">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Community of Schools</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="35009">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Learning Support Cluster</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsCommunicationChannelTypeType">
    <xs:annotation>
      <xs:documentation><p>A standardised method of describing a communication channel used to communicate with or
		   	find information about a party. Provides a more generic definition than phone and email. Intended 
			to provide for future requirements to record social network channels, eg Facebook &amp;amp; Twitter
			 identifiers for a school.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="WEB">
        <xs:annotation>
          <xs:documentation>Typically refers to the home page for an entity</xs:documentation>
          <xs:appinfo>
            <Label>Website</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TWT">
        <xs:annotation>
          <xs:documentation>Twitter handle</xs:documentation>
          <xs:appinfo>
            <Label>Twitter</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FBK">
        <xs:annotation>
          <xs:documentation>Facebook page</xs:documentation>
          <xs:appinfo>
            <Label>Facebook</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsCommunicationUsageType">
    <xs:annotation>
      <xs:documentation><p>A standardised method of describing how (or when) a communication channel may be used to
				communicate with a party. Where a party has more than one electronic contact type (eg several
				phone numbers), this provides context for deciding which to use. A communication usage type
				may apply to a phone number, email address or generic communication channel.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="MED">
        <xs:annotation>
          <xs:documentation>Allows the school to decide which of a caregiver's communication channels is to be used
				when reporting a medical incident occuring to the learner.</xs:documentation>
          <xs:appinfo>
            <Label>Medical Incident</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SMS">
        <xs:annotation>
          <xs:documentation>Allows the school to decide which of a caregiver's communication channels is to be used
				when sending an SMS (TXT) message.</xs:documentation>
          <xs:appinfo>
            <Label>SMS/TXT</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="UNE">
        <xs:annotation>
          <xs:documentation>Allows the school to decide which of a caregiver's communication channels is to be used
				when reporting a learner's unexplained absence.</xs:documentation>
          <xs:appinfo>
            <Label>Unexplained Absence</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="INT">
        <xs:annotation>
          <xs:documentation>Allows the caregiver to decide which of a school's communication channels is to be used
				when notifying of a learner's intended absence.</xs:documentation>
          <xs:appinfo>
            <Label>Intended Absence</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsOrganisationContactRoleType">
    <xs:annotation>
      <xs:documentation><p>The role played by a person in an organisation where that person is recorded as a
				 contact. The role definition is used to recognise similar functions across organisations,
				 however individuals with the same role may be given different position titles that differ
				 from the generic role description. For example, a principal may have a title of ‘headmaster’.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="PRI">
        <xs:annotation>
          <xs:appinfo>
            <Label>Principal</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ACT">
        <xs:annotation>
          <xs:appinfo>
            <Label>Acting Principal</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DIR">
        <xs:annotation>
          <xs:appinfo>
            <Label>Director</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ECE">
        <xs:annotation>
          <xs:appinfo>
            <Label>ECE Management Contact</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsEnactedPolicyType">
    <xs:annotation>
      <xs:documentation><p>A policy that a school may choose to implement as part of its operating rules. For example, 
				policies may concern student behaviour, clothing/appearance, wellbeing and new entrant enrolment.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="AE">
        <xs:annotation>
          <xs:documentation>Indicates that new starters will start on the next school
					 day following their 5 birthday.</xs:documentation>
          <xs:appinfo>
            <Label>Age Entry</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CE">
        <xs:annotation>
          <xs:documentation>Indicates that new starters will start in a cohort group
					 only on specific notified dates after their 5th birthday.</xs:documentation>
          <xs:appinfo>
            <Label>Cohort Entry</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsProviderAuthorityType">
    <xs:annotation>
      <xs:documentation>
			The authority by which the provider is authorised to provide education services.
			Describes the ownership/operation or registration status of an educational institution.
		</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="STATE">
        <xs:annotation>
          <xs:documentation>Also known as 'State: Non-Integrated'</xs:documentation>
          <xs:appinfo>
            <Label>State</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="STINT">
        <xs:annotation>
          <xs:appinfo>
            <Label>State: Integrated</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PRFUL">
        <xs:annotation>
          <xs:appinfo>
            <Label>Private: Fully Registered</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PRPRO">
        <xs:annotation>
          <xs:appinfo>
            <Label>Private: Provisionally Registered</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTVOT">
        <xs:annotation>
          <xs:documentation> Owned by another organisation, funded from Vote Education.</xs:documentation>
          <xs:appinfo>
            <Label>Other: Vote Education</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PASCH">
        <xs:annotation>
          <xs:appinfo>
            <Label>Partnership School</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsSchoolClassificationType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the classifications that can be given to a school.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="52000">
        <xs:annotation>
          <xs:appinfo>
            <Label>Kura Teina</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52001">
        <xs:annotation>
          <xs:appinfo>
            <Label>Designated Charter School</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52002">
        <xs:annotation>
          <xs:appinfo>
            <Label>Secondary Māori Boarding School</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52003">
        <xs:annotation>
          <xs:appinfo>
            <Label>Bilingual School</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52004">
        <xs:annotation>
          <xs:appinfo>
            <Label>Kura Kaupapa Māori</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52005">
        <xs:annotation>
          <xs:appinfo>
            <Label>School with Side School</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52006">
        <xs:annotation>
          <xs:appinfo>
            <Label>Alternative School</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52007">
        <xs:annotation>
          <xs:appinfo>
            <Label>Contributing with Year 7 and 8 Bilingual Students</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52008">
        <xs:annotation>
          <xs:appinfo>
            <Label>Restricted Composite (Year 7-9)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52009">
        <xs:annotation>
          <xs:appinfo>
            <Label>Restricted Composite (Year 7-10)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="52010">
        <xs:annotation>
          <xs:appinfo>
            <Label>School with Boarding Facilities</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsSchoolBoardingTypeType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting if the school has boarding and if so, if it is for girls only, boys only or both.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="56000">
        <xs:annotation>
          <xs:appinfo>
            <Label>Girls Only</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="56001">
        <xs:annotation>
          <xs:appinfo>
            <Label>Boys Only</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="56002">
        <xs:annotation>
          <xs:appinfo>
            <Label>Both Girls and Boys</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="56003">
        <xs:annotation>
          <xs:appinfo>
            <Label>None</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsSchoolingGenderType">
    <xs:annotation>
      <xs:documentation><p>A description of the gender of students that the school accepts at a certain year 
				level or other instructional grouping.</p><p> For use at the year level or course only, rather than school level. For instance
			 a school may accept boys only in year 11 but both girls and boys at years 12 and 13.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="C">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-05-08</endDate>
            <Label>Both Girls and Boys</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="F">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-05-08</endDate>
            <Label>Girls Only</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-05-08</endDate>
            <Label>Boys Only</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="55002">
        <xs:annotation>
          <xs:appinfo>
            <Label>Both Girls and Boys</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="55000">
        <xs:annotation>
          <xs:appinfo>
            <Label>Girls Only</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="55001">
        <xs:annotation>
          <xs:appinfo>
            <Label>Boys Only</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsECEServiceTypeType">
    <xs:annotation>
      <xs:documentation><p>Codes denoting the nature of an Early Childhood Education service.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="KG">
        <xs:annotation>
          <xs:appinfo>
            <Label>Kindergarten</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PC">
        <xs:annotation>
          <xs:appinfo>
            <Label>Playcentre</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="KR">
        <xs:annotation>
          <xs:appinfo>
            <Label>Te Kohanga Reo</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsECEServiceProviderOwnershipTypeType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the type of ECE Service Provider ownership, e.g. Sole Trader, 
			Company, Charitable Trust etc.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="18000">
        <xs:annotation>
          <xs:appinfo>
            <Label>Sole Trader</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="18001">
        <xs:annotation>
          <xs:appinfo>
            <Label>Company</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="18002">
        <xs:annotation>
          <xs:appinfo>
            <Label>Partnership</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="18004">
        <xs:annotation>
          <xs:appinfo>
            <Label>Incorporated Society</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="18005">
        <xs:annotation>
          <xs:appinfo>
            <Label>Statutory Trust</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="18006">
        <xs:annotation>
          <xs:appinfo>
            <Label>Private Trust</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="18007">
        <xs:annotation>
          <xs:appinfo>
            <Label>Community Trust</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="18008">
        <xs:annotation>
          <xs:appinfo>
            <Label>Government Department</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="18009">
        <xs:annotation>
          <xs:appinfo>
            <Label>State Owned Enterprise</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="18010">
        <xs:annotation>
          <xs:appinfo>
            <Label>Health Board</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="18011">
        <xs:annotation>
          <xs:appinfo>
            <Label>City Council/Local Authority Trading Enterprise</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="18012">
        <xs:annotation>
          <xs:appinfo>
            <Label>Public Education Institution</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="18013">
        <xs:annotation>
          <xs:appinfo>
            <Label>Crown</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="18014">
        <xs:annotation>
          <xs:appinfo>
            <Label>Not Categorised</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsOrganisationRelationshipTypeType">
    <xs:annotation>
      <xs:documentation><p>A code describing the nature of the relationship between a pair of Organisations.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="CAH">
        <xs:annotation>
          <xs:documentation>
					Source Provider sends learners to the related Provider for the provision of some classes. Exact
					student and class details will be recorded in co-enrolment flavour of StudentProviderEnrolment.
				</xs:documentation>
          <xs:appinfo>
            <Label>Client and Host</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CAR">
        <xs:annotation>
          <xs:documentation>
					Source Provider contributes learners to the related Provider, once the learners have completed education 
					at the source Provider.
				</xs:documentation>
          <xs:appinfo>
            <Label>Contributor and Receiver</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TPU">
        <xs:annotation>
          <xs:documentation>
					Source Provider is a Teen Parent Unit which is operated as part of the related Provider. Learners
					who are also parents attend classes at both the Teen Parent Unit and the host school.
				</xs:documentation>
          <xs:appinfo>
            <endDate>2020-05-08</endDate>
            <Label>Teen Parent Unit</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ACE">
        <xs:annotation>
          <xs:documentation>
					Source Provider is an Activity Centre which is operated as part of the related Provider. Learners
					who have been identified as being at risk of disengaging from mainstream Schooling attend classes
					at both the Activity Centre and the host school.
				</xs:documentation>
          <xs:appinfo>
            <endDate>2020-05-08</endDate>
            <Label>Activity Centre</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LOF">
        <xs:annotation>
          <xs:appinfo>
            <Label>Local Office and Organisation</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EPL">
        <xs:annotation>
          <xs:appinfo>
            <Label>Playgroup - ECE Service Provider</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ESP">
        <xs:annotation>
          <xs:appinfo>
            <Label>Licenced ECEService - ECE Service Provider</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="34008">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">School and Attached Unit</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="34028">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Community of Learning Funded Member</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="34029">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Community of Learning Unfunded Member</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="34037">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Learning Support Cluster Member</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="34031">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">School RTLB Cluster Member</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsOrganisationRelationshipStatusType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the status of the relationship between the two organisations.</p><p>Set to Active when: EffectiveDate =&gt; today's date and ExpirationDate is NULL
			 or ExpirationDate &gt; than today's date.</p><p>Set to Inactive when: EffectiveDate &lt; today's date or 
			ExpirationDate =&lt; today's date.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Active</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="I">
        <xs:annotation>
          <xs:appinfo>
            <Label>Inactive</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsSourceOrganisationRoleType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the role the source organisation is playing in this relationship.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="COL">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Community of Learning</Label>
            <Label xml:lang="mi">Kāhui Ako</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ECE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">ECE Service Provider</Label>
            <Label xml:lang="mi">Kura Kōhungahunga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LOC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Local Office</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Learning Support Cluster</Label>
            <Label xml:lang="mi">Kāhui Akoranga Tautoko</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RTL">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">RTLB Cluster</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SCH">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">School</Label>
            <Label xml:lang="mi">Kura</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsRelatedOrganisationRoleType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the role the related organisation is playing in this relationship.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="184000">
        <xs:annotation>
          <xs:documentation>Role applies to School/ECE's membership of Learning Support Cluster</xs:documentation>
          <xs:appinfo>
            <Label>Standard Member</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="184001">
        <xs:annotation>
          <xs:documentation>Role applies to School/ECE's membership of Learning Support Cluster</xs:documentation>
          <xs:appinfo>
            <Label>Employing Member</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="184002">
        <xs:annotation>
          <xs:documentation>Role applies to School/ECE's membership of Learning Support Cluster</xs:documentation>
          <xs:appinfo>
            <Label>Accommodating Member</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="33038">
        <xs:annotation>
          <xs:documentation>Role applies to School/ECE's membershp of Kāhui Ako</xs:documentation>
          <xs:appinfo>
            <Label>Approved Funded Member</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="33039">
        <xs:annotation>
          <xs:documentation>Role applies to School/ECE's membershp of Kāhui Ako</xs:documentation>
          <xs:appinfo>
            <Label>Joined Funded Member</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="33040">
        <xs:annotation>
          <xs:documentation>Role applies to School/ECE's membershp of Kāhui Ako</xs:documentation>
          <xs:appinfo>
            <Label>Approved Unfunded Member</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="33041">
        <xs:annotation>
          <xs:documentation>Role applies to School/ECE's membershp of Kāhui Ako</xs:documentation>
          <xs:appinfo>
            <Label>Joined Unfunded Member</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LOM">
        <xs:annotation>
          <xs:documentation>Role applies to School/ECE's membershp of Kāhui Ako</xs:documentation>
          <xs:appinfo>
            <Label>Local Office Member</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SPM">
        <xs:annotation>
          <xs:documentation>Role applies to School/ECE's membershp of Kāhui Ako</xs:documentation>
          <xs:appinfo>
            <Label>ECE Service Provider Member</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="33046">
        <xs:annotation>
          <xs:appinfo>
            <Label>Attached Funded Unit</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="33047">
        <xs:annotation>
          <xs:appinfo>
            <Label>Activity Centre</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="33048">
        <xs:annotation>
          <xs:appinfo>
            <Label>Teen Parent Unit</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="33044">
        <xs:annotation>
          <xs:documentation>Role applies to School/ECE's membershp of RTLB Cluster</xs:documentation>
          <xs:appinfo>
            <Label>RTLB Cluster Leader</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="33045">
        <xs:annotation>
          <xs:documentation>Role applies to School/ECE's membershp of RTLB Cluster</xs:documentation>
          <xs:appinfo>
            <Label>RTLB Cluster Member</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsStaffRoleType">
    <xs:annotation>
      <xs:documentation><p>Describes the role a staff member has at a Provider or other EducationOrganisation.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="1001">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Principal</Label>
            <Label xml:lang="mi">Tumuaki</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1002">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Deputy Principal</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1003">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Associate Principal</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1004">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Assistant Principal</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1005">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Principal's Nominee (NZQA)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1006">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Enrolment Officer</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1007">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Timetabler</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1008">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Relief Coordinator</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1009">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Office Manager</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1010">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Office Assistant</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1012">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Finance Assistant</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1013">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">IT Manager</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1014">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">IT Assistant</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1015">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Head Librarian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1016">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Assistant Librarian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1017">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Board of Trustees Member (Staff)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1018">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Board of Trustees Member (Parent)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1101">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Head of Department</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1102">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Assistant Head of Department</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1103">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Technician</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1201">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Subject Teacher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1302">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">STP Coordinator</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1303">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Learning Support Coordinator</Label>
            <Label xml:lang="mi">Kaiwhakahaere Akoranga Tautoko</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1304">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Learning Support Staff</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1305">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">SAC Coordinator</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1306">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Special Needs Coordinator (SENCO)</Label>
            <Label xml:lang="mi">Kaiwhakarite Mātauranga Whāiti</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1307">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Distance Education Coordinator</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1308">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Resource Teacher Literacy (RTLit)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1309">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Resource Teacher Learning and Behaviour (RTLB)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1310">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Parent Help</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1401">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Homeroom Teacher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1402">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Release Homeroom Teacher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1403">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Relief Homeroom Teacher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1404">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Pastoral Carer</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1405">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Guidance Counsellor</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1406">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Careers Advisor</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1407">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Truancy Officer</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1408">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sickbay Nurse</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1409">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Dental Nurse</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1410">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hostel Manager / Matron</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1411">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Social Worker (In School)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1501">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Teacher in Charge</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1502">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Coach</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="2001">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Kāhui Ako Lead Principal</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="2002">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Across School Teacher</Label>
            <Label xml:lang="mi">Kaiako Takawaenga ā-kura</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="2101">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Kāhui Ako Support Facilitator</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="2102">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Kāhui Ako Expert Partner</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="2103">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ministry - Learning Support Facilitator</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="2104">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ministry - Strategic Advisor - Māori</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="2105">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ministry - SAF</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="2106">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">DHB Staff</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1301">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Teacher Aide</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1203">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Subject Relief Teacher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1202">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Subject Release Teacher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1204">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Subject Tutor</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1205">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Classroom Teacher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1206">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Classroom Release teacher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1207">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Classroom Relief Teacher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1208">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Kāhui Ako within School Teacher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1209">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Itinerant Subject Teacher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1210">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Itinerant Subject Tutor</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1211">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Specialist Classroom Teacher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1011">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Finance Manager</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="2107">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Dean</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsStaffStatusType">
    <xs:annotation>
      <xs:documentation><p>Describes the status of a staff member's employment at a Provider or other Organisation.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Active</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="I">
        <xs:annotation>
          <xs:appinfo>
            <Label>Inactive</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="S">
        <xs:annotation>
          <xs:appinfo>
            <Label>Suspended</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="O">
        <xs:annotation>
          <xs:appinfo>
            <Label>On Leave</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsStaffAssignmentStatusType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting whether or not this is an Active or Inactive assignment for the staff member.</p><p>Set to Active when: StartDate =&gt; today's date and EndDate is NULL 
				or EndDate &gt; than today's date.</p><p>Set to Inactive when: StartDate &lt; today's date or EndDate =&lt; today's date</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Active</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="I">
        <xs:annotation>
          <xs:appinfo>
            <Label>Inactive</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsTeachingGroupTypeType">
    <xs:annotation>
      <xs:documentation><p>Provides the means of identifying the type of group such as Roll class, Subject class or
			Homeroom and allows systems to treat them accordingly</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="RC">
        <xs:annotation>
          <xs:documentation>The TeachingGroup is a class only used for taking daily attendance.</xs:documentation>
          <xs:appinfo>
            <Label>Roll Class</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SC">
        <xs:annotation>
          <xs:documentation>The TeachingGroup is a class only used for teaching.</xs:documentation>
          <xs:appinfo>
            <Label>Subject Class</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="HR">
        <xs:annotation>
          <xs:documentation>The TeachingGroup is a class used for both teaching and roll taking.</xs:documentation>
          <xs:appinfo>
            <Label>Home Room</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsStaffTeachingGroupRoleType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the role the staff member is performing within the
			teaching group, e.g. Teacher, Teacher Aide, Student Teacher.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="1201">
        <xs:annotation>
          <xs:appinfo>
            <Label>Subject Teacher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1202">
        <xs:annotation>
          <xs:appinfo>
            <Label>Subject Release Teacher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1203">
        <xs:annotation>
          <xs:appinfo>
            <Label>Subject Relief Teacher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1204">
        <xs:annotation>
          <xs:appinfo>
            <Label>Subject Tutor</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1205">
        <xs:annotation>
          <xs:appinfo>
            <Label>Classroom Teacher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1206">
        <xs:annotation>
          <xs:appinfo>
            <Label>Classroom Release Teacher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1207">
        <xs:annotation>
          <xs:appinfo>
            <Label>Classroom Relief Teacher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1209">
        <xs:annotation>
          <xs:appinfo>
            <Label>Itinerant Subject Teacher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1210">
        <xs:annotation>
          <xs:appinfo>
            <Label>Itinerant Subject Tutor</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1211">
        <xs:annotation>
          <xs:appinfo>
            <Label>Specialist Classroom Teacher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1401">
        <xs:annotation>
          <xs:appinfo>
            <Label>Homeroom Teacher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1402">
        <xs:annotation>
          <xs:appinfo>
            <Label>Release Homeroom Teacher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1403">
        <xs:annotation>
          <xs:appinfo>
            <Label>Relief Homeroom Teacher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="1301">
        <xs:annotation>
          <xs:appinfo>
            <Label>Teacher Aide</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsStaffTeachingGroupAssignmentStatusType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the status of the staff member's assignment to a teaching group.</p><p>Set to Active when: StartDate =&gt; today's date and EndDate is NULL 
				or EndDate &gt; than today's date.</p><p>Set to Inactive when: StartDate &lt; today's date or EndDate =&lt; today's date.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Active</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="I">
        <xs:annotation>
          <xs:appinfo>
            <Label>Inactive</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsScheduleEffectType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the effect a ScheduleEvent will have on
			the school's academic schedule. At present, only full-day events
			(i.e. the "EventDate" field is populated but "EventTime" isn't)
			can have any effect other than "noEffect".</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="NOEFFECT">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">This event has no effect on the school calendar.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>No Effect</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RENUMBER">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">This event causes the day rotation on the school calendar to
					be renumbered, starting with any academic days specified in
					ScheduleDayList.</p>
            <p xmlns="http://sifassociation.org/SpecGen">If any terms are included in ScheduleTermList, those
					terms are activated effective on the start date of this
					event.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Renumber Days</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="INSERT">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">This event causes an insertion into the normal academic day
					rotation of the school calendar.</p>
            <p xmlns="http://sifassociation.org/SpecGen">Any academic days and bell schedules specified in ScheduleDayList
					and BellScheduleList are scheduled for the duration of this event, or school is
					cancelled if ScheduleDayList is omitted.</p>
            <p xmlns="http://sifassociation.org/SpecGen">After the event ends the academic day rotation resumes from the
					point at which it was interrupted. E.g. if it was Day 1
					before the event, then it will be Day 2 afterwards.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Insert Day</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DISPLACE">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">This event causes a displacement in the normal academic day
					rotation of the school calendar.</p>
            <p xmlns="http://sifassociation.org/SpecGen">Any academic days or bell schedules
				 	specified in ScheduleDayList and BellScheduleList are
					scheduled for the duration of this event, or school is
					cancelled if ScheduleDayList is omitted.</p>
            <p xmlns="http://sifassociation.org/SpecGen">After the event ends the rotation resumes from the point it would
					be at had the event not occurred. E.g. if it was Day 1
					before the event, and the event duration was 1 day, then it
					will be Day 3 afterwards; Day 2 is overwritten by the event.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Displace Day</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ENDSCHEDULE">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">This event terminates the academic schedule for any term(s)
					specified in ScheduleTermList, which is required when
					using this schedule effect.</p>
            <p xmlns="http://sifassociation.org/SpecGen">Used to terminate the academic day rotation prior to the end of term; e.g. 
					when the last week of term is used for impromptu non-academic activities.</p>
            <p xmlns="http://sifassociation.org/SpecGen">Note that events take effect at
					midnight on the start date, so the designated term(s) do not
					occur on the actual day of the endSchedule event (i.e. the
					day prior to the event's start date is the last day the
					term(s) are in session).</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>End Schedule</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PAUSESCHEDULE">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">Temporarily suspend the academic day rotation
					until a subsequent "resumeSchedule" event occurs.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Pause Schedule</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RESUMESCHEDULE">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">Resume an academic day rotation previously suspended using "pauseSchedule".</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Resume Schedule</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CANCEL">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">Cancel one or more academic days, specified in ScheduleDayList,
					that would normally occur on this date.</p>
            <p xmlns="http://sifassociation.org/SpecGen">This is generally used to partially cancel the
					school schedule on a given calendar date. To fully cancel
					school on date, use either the "insert" or "displace"
					schedule effect.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Cancel Day</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="STARTTERM">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">Start one or more terms, specified in ScheduleTermList, on this date
					without changing the academic day rotation.</p>
            <p xmlns="http://sifassociation.org/SpecGen">A ScheduleTermList
					value is required when using this schedule effect.
					</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Start Term</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ADD">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">Set one or more additional academic days, specified in ScheduleDayList
					to apply to this calendar date in addition to those normally applied to
					the academic day rotation.</p>
            <p xmlns="http://sifassociation.org/SpecGen">This can also be used to schedule school on a day on which it would not normally occur, such
					as a weekend.</p>
            <p xmlns="http://sifassociation.org/SpecGen">As a convenience, RemoveScheduleDayList specifies a set of 
					academic days to be removed from the calendar while this event is in effect.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Additional Day</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CUSTOM">
        <xs:annotation>
          <xs:documentation>
					This event replaces the normal day rotation for the event date
					with a custom set of SchedulePeriods and bell times.
				</xs:documentation>
          <xs:appinfo>
            <Label>Custom Day Schedule</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsCurriculumType">
    <xs:annotation>
      <xs:documentation><p>Codes denoting the two curricula used in New Zealand.
			</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="NZC">
        <xs:annotation>
          <xs:documentation xml:lang="en">Student is taught using the New Zealand Curriculum.</xs:documentation>
          <xs:documentation xml:lang="mi">E whakaakohia ana te ākonga mā te New Zealand Curriculum.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">New Zealand Curriculum</Label>
            <Label xml:lang="mi">New Zealand Curriculum</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TMA">
        <xs:annotation>
          <xs:documentation xml:lang="en">Student is taught using Te Marautanga o Aotearoa.</xs:documentation>
          <xs:documentation xml:lang="mi">E whakaakohia ana te ākonga mā Te Marautanga o Aotearoa.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Te Marautanga o Aotearoa</Label>
            <Label xml:lang="mi">Te Marautanga o Aotearoa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ECE">
        <xs:annotation>
          <xs:documentation xml:lang="en">Student is taught using Te Whāriki curriculum.</xs:documentation>
          <xs:documentation xml:lang="mi">E whakaakohia ana te ākonga mā te marau o Te Whāriki.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Te Whāriki</Label>
            <Label xml:lang="mi">Te Whāriki</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTH">
        <xs:annotation>
          <xs:documentation xml:lang="en">Other (for schools using another curriculum).</xs:documentation>
          <xs:documentation xml:lang="mi">Ētahi kē (Ngā kura e whakamahi ana i te marautanga kē).</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Other Curriculum</Label>
            <Label xml:lang="mi">Marau Kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsCurriculumLevelType">
    <xs:annotation>
      <xs:documentation><p>Codes denoting the levels of the two Curricula used in New Zealand.
			</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="1">
        <xs:annotation>
          <xs:documentation xml:lang="en">Student is working at level 1 of the relevant curriculum.</xs:documentation>
          <xs:documentation xml:lang="mi">E mahi ana i te Taumata 1 o te marau e hāngai ana.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Curriculum Level 1</Label>
            <Label xml:lang="mi">Taumata Marau 1</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="2">
        <xs:annotation>
          <xs:documentation xml:lang="en">Student is working at level 2 of the relevant curriculum.</xs:documentation>
          <xs:documentation xml:lang="mi">E mahi ana i te Taumata 2 o te marau e hāngai ana.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Curriculum Level 2</Label>
            <Label xml:lang="mi">Taumata Marau 2</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="3">
        <xs:annotation>
          <xs:documentation xml:lang="en">Student is working at level 3 of the relevant curriculum.</xs:documentation>
          <xs:documentation xml:lang="mi">E mahi ana i te Taumata 3 o te marau e hāngai ana.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Curriculum Level 3</Label>
            <Label xml:lang="mi">Taumata Marau 3</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="4">
        <xs:annotation>
          <xs:documentation xml:lang="en">Student is working at level 4 of the relevant curriculum.</xs:documentation>
          <xs:documentation xml:lang="mi">E mahi ana i te Taumata 4 o te marau e hāngai ana.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Curriculum Level 4</Label>
            <Label xml:lang="mi">Taumata Marau 4</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="5">
        <xs:annotation>
          <xs:documentation xml:lang="en">Student is working at level 5 of the relevant curriculum.</xs:documentation>
          <xs:documentation xml:lang="mi">E mahi ana i te Taumata 5 o te marau e hāngai ana</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Curriculum Level 5</Label>
            <Label xml:lang="mi">Taumata Marau 5</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="6">
        <xs:annotation>
          <xs:documentation xml:lang="en">Student is working at level 6 of the relevant curriculum.</xs:documentation>
          <xs:documentation xml:lang="mi">E mahi ana i te Taumata 6 o te marau e hāngai ana.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Curriculum Level 6</Label>
            <Label xml:lang="mi">Taumata Marau 6</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="7">
        <xs:annotation>
          <xs:documentation xml:lang="en">Student is working at level 7 of the relevant curriculum.</xs:documentation>
          <xs:documentation xml:lang="mi">E mahi ana i te Taumata 7 o te marau e hāngai ana.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Curriculum Level 7</Label>
            <Label xml:lang="mi">Taumata Marau 7</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="8">
        <xs:annotation>
          <xs:documentation xml:lang="en">Student is working at level 8 of the relevant curriculum.</xs:documentation>
          <xs:documentation xml:lang="mi">E mahi ana i te Taumata 8 o te marau e hāngai ana.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Curriculum Level 8</Label>
            <Label xml:lang="mi">Taumata Marau 8</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsLearningAreaType">
    <xs:annotation>
      <xs:documentation><p>Codes denoting Learning Areas defined by the NZ Curriculum and Te Marautanga o Aotearoa.
			</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="HPE">
        <xs:annotation>
          <xs:documentation>Applicable to both the NZ Curriculum and Te Marautanga o Aotearoa.</xs:documentation>
          <xs:appinfo>
            <Label>Health and Physical Education / Hauora</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LAL">
        <xs:annotation>
          <xs:documentation>Applicable to both the NZ Curriculum and Te Marautanga o Aotearoa.</xs:documentation>
          <xs:appinfo>
            <Label>Language and Languages / Ngā Reo</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAT">
        <xs:annotation>
          <xs:documentation>Applicable to both the NZ Curriculum and Te Marautanga o Aotearoa.</xs:documentation>
          <xs:appinfo>
            <Label>Mathematics / Pangarau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SCI">
        <xs:annotation>
          <xs:documentation>Applicable to both the NZ Curriculum and Te Marautanga o Aotearoa.</xs:documentation>
          <xs:appinfo>
            <Label>Science / Putaiao</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SSC">
        <xs:annotation>
          <xs:documentation>Applicable to both the NZ Curriculum and Te Marautanga o Aotearoa.</xs:documentation>
          <xs:appinfo>
            <Label>Social Sciences / Tikanga-a-iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TEC">
        <xs:annotation>
          <xs:documentation>Applicable to both the NZ Curriculum and Te Marautanga o Aotearoa.</xs:documentation>
          <xs:appinfo>
            <Label>Technology / Hangarau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ART">
        <xs:annotation>
          <xs:documentation>Applicable to both the NZ Curriculum and Te Marautanga o Aotearoa.</xs:documentation>
          <xs:appinfo>
            <Label>The Arts / Ngā Toi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TRP">
        <xs:annotation>
          <xs:documentation>Applicable to Te Marautanga o Aotearoa.</xs:documentation>
          <xs:appinfo>
            <Label>Te Reo Pākehā / English Language</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TRM">
        <xs:annotation>
          <xs:documentation>Applicable to Te Marautanga o Aotearoa.</xs:documentation>
          <xs:appinfo>
            <Label>Te Reo Māori / Māori Language and Literature</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsLearningStandardTypeType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the type of standard e.g., unit standard, achievement standard.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="US">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">Developed by Industry Training Organisations or NZQA.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Unit Standard</Label>
            <Label xml:lang="mi">Paerewa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AS">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">Developed by MoE, derived from the achievement objectives 
						of the NZ Curriculum or Te Marautanga o Aotearoa</p>
          </xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Achievement Standard</Label>
            <Label xml:lang="mi">Tutukitanga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SC">
        <xs:annotation>
          <xs:documentation>Administered by NZQA as the highest level of assessment available, above NCEA</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Scholarship</Label>
            <Label xml:lang="mi">Karahipi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OT">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsLearningStandardFamilyType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the family the learning standard is part of, e.g. NCEA, International Baccalaureate, Cambridge etc.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="NC">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">Administered by NZQA and contributes to NCEA qualifications</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>NCEA</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZ">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">Contributes to qualifications other than NCEA on the NZQF</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>NZQF</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CA">
        <xs:annotation>
          <xs:documentation>Administered by Cambridge International Education in the UK</xs:documentation>
          <xs:appinfo>
            <Label>Cambridge International Education</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="IB">
        <xs:annotation>
          <xs:documentation>Administered by the International Baccalaureate Organisation in Switzerland.</xs:documentation>
          <xs:appinfo>
            <Label>International Baccalaureate</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OT">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsLearningStandardStatusType">
    <xs:annotation>
      <xs:documentation><p>A code denoting the status of the LearningStandard throughout its life-cycle.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="CA">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">The LearningStandard is being developed, and is not yet ready
					 for use in teaching and assessment.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Candidate</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PU">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">The LearningStandard is available for use in teaching and assessment.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Published</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SU">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">The LearningStandard has been superceded (probably by a subsequent 
						version of the standard) but this version is still available for
						 use in teaching and assessment.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Superceded</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DI">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">The LearningStandard is no longer available for use in teaching and assessment.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Discontinued</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsLearningStandardRelationshipTypeType">
    <xs:annotation>
      <xs:documentation><p>A code denoting the nature of the relationship with another LearningStandard</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="PREDEC">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">The related LearningStandard is a predecessor to this LearningStandard,
						 and is superceded by it.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Predecessor</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SUCCES">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">The related LearningStandard is a successor to this LearningStandard, 
						and it supercedes this LearningStandard.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Successor</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PREREQ">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">The related LearningStandard is a prerequisite to this LearningStandard, 
						and students should have completed the learning in that LearningStandard 
						before embarking on the learning in this one.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Prerequisite</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="UNKNWN">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">The precise nature of the relationship between the two LearningStandards not known, 
					but the fact that they are related is known.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Unknown</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsCredentialStatusType">
    <xs:annotation>
      <xs:documentation><p>A code denoting the status of the Credential throughout its life-cycle.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="CA">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">The Credential is being developed, and is not yet available 
						for granting as an Attainment.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Candidate</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PU">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">The Credential is available for granting as an Attainment</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Published</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SU">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">The Credential has been superceded 
						(probably by a subsequent Credential) but this version is still 
						available for granting as an Attainment.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Superceded</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DI">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">The Credential is no longer available granting as an Attainment</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Discontinued</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsSubjectAreaType">
    <xs:annotation>
      <xs:documentation><p>Codes denoting Subject Areas defined by the NZ Curriculum and Te Marautanga o Aotearoa.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="GERM">
        <xs:annotation>
          <xs:documentation>Applicable to both NZ Curriculum and Te Marautanga o Aotearoa</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">German</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="INDO">
        <xs:annotation>
          <xs:documentation>Applicable to both NZ Curriculum and Te Marautanga o Aotearoa</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Indonesian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="JAPA">
        <xs:annotation>
          <xs:documentation>Applicable to both NZ Curriculum and Te Marautanga o Aotearoa</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Japanese</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FREN">
        <xs:annotation>
          <xs:documentation>Applicable to both NZ Curriculum and Te Marautanga o Aotearoa</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">French</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="REME">
        <xs:annotation>
          <xs:documentation>Applicable to both NZ Curriculum and Te Marautanga o Aotearoa</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">English (Remedial)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ENGL">
        <xs:annotation>
          <xs:documentation>Applicable to both NZ Curriculum and Te Marautanga o Aotearoa</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">English</Label>
            <Label xml:lang="mi">Te Reo Pākeha</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="COOK">
        <xs:annotation>
          <xs:documentation>Applicable to both NZ Curriculum and Te Marautanga o Aotearoa</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Cook Island Maori</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="COMM">
        <xs:annotation>
          <xs:documentation>Applicable to Te Marautanga o Aotearoa</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Communication Skills</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CHIN">
        <xs:annotation>
          <xs:documentation>Applicable to Te Marautanga o Aotearoa</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Chinese</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="KORE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Korean</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LATI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Latin</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NIUE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Niuean</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OLAN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other Languages</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PLAN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Pacific Language Studies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RUSS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Russian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SAMO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Samoan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SPAN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Spanish</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAOR">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Reo Māori</Label>
            <Label xml:lang="mi">Te Reo Māori</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RANG">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Reo Rangatira</Label>
            <Label xml:lang="mi">Te Reo Rangatira</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TOKE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tokelauan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TONG">
        <xs:annotation>
          <xs:appinfo>
            <Label>Tongan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ENSL">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">English as a Second Language</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MATH">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Mathematics</Label>
            <Label xml:lang="mi">Pāngarau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MATC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Mathematics with Calculus</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MATS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Mathematics with Statistics</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="REMM">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Mathematics (Remedial)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ACCO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Accounting</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SCIE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Science</Label>
            <Label xml:lang="mi">Pūtaiao</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AGHO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Agriculture / Horticulture</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BIOL">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Biology / Biological Science</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CHEM">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Chemistry</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EAAS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Earth Science / Astronomy</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="HUMB">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Human Biology</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PHYS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Physics</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TECN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Technology</Label>
            <Label xml:lang="mi">Hangarau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BITE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Biotechnology</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="COSC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Computer Science / Programming</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="COMP">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Computer Studies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DEST">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Design, Drawing and Graphics</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ELTE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Electronics and Control</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FOTE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Food Technology</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="GRAP">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Graphics</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="INTE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Information and Communication Technology</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MTEC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Materials Technology</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="STME">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Structures and Mechanisms</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TIMA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Test and Information Management</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CLTX">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Textiles / Clothing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ARTA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">The Arts</Label>
            <Label xml:lang="mi">Ngā Toi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ARTD">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Art Design</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ARTH">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Art History</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DANC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Dancing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DRAM">
        <xs:annotation>
          <xs:appinfo>
            <Label>Drama</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MUSC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Music / Music Studies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MUSP">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Music Practical / Performance</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ARPA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Painting</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="APER">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Performing Arts</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ARTP">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Photography</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ARPR">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Printmaking</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ARTS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sculpture</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ARTC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Visial Arts</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SOST">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Social Studies</Label>
            <Label xml:lang="mi">Tikanga ā-iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CLST">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Classics / Classical Studies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CMTY">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Community Studies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ECON">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Economics</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SENV">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Environmental Sustainability</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="GEOG">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Geography</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="HIST">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">History</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LACU">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Language and Cultural Studies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAOS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Māori Studies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MEST">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Media Studies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SOSC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other Social Sciences</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="HEPH">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Health and Physical Education</Label>
            <Label xml:lang="mi">Hauora</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="HEED">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Health</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="HOME">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Home Economics</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OUED">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Outdoor Education</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PHED">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Physical Education</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SPOR">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sports Studies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BUSS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Commerce Related</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DEFE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Defence</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EQUE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Equestrian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FARM">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Farming</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FISH">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Fishing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FOTY">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Forestry</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="INTR">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Industrial Trades</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="INTS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Integrated Studies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LAWS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Legal / Law Related Studies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LIFE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Life Skills / Personal Development</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="REST">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Religious Education / Studies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="REMS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Remedial Studies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="STPR">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Secondary Tertiary Programme</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SETR">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Service Trades</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SPPR">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Special Needs Programme</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="STDY">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Study Skills</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TRAN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Transition / Pre-Employment</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="THTR">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Travel, Hospitality, Tourism</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CROS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Cross-Curricular</Label>
            <Label xml:lang="mi">Marautanga Whakawhiti</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="INSK">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Information Skills</Label>
            <Label xml:lang="mi">Pūkenga pārongo</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="STUD">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Student Engagement</Label>
            <Label xml:lang="mi">Te Taute Ākonga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsCurriculumProgressReportTimeframeType">
    <xs:annotation>
      <xs:documentation><p>Codes denoting the period of time that a Curriculum Progress Report applies to.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="END">
        <xs:annotation>
          <xs:appinfo>
            <Label>End of Year</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MID">
        <xs:annotation>
          <xs:appinfo>
            <Label>Mid-Year</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SEM">
        <xs:annotation>
          <xs:appinfo>
            <Label>Semester</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TRM">
        <xs:annotation>
          <xs:appinfo>
            <Label>Term</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ONG">
        <xs:annotation>
          <xs:appinfo>
            <Label>Ongoing / As Available / Ad-Hoc</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsTechnologyClassType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting a class or subject area from the technology curriculum that the progress report covers.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="HM">
        <xs:annotation>
          <xs:appinfo>
            <Label>Hard Materials</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FD">
        <xs:annotation>
          <xs:appinfo>
            <Label>Food</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DE">
        <xs:annotation>
          <xs:appinfo>
            <Label>3D Design</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MM">
        <xs:annotation>
          <xs:appinfo>
            <Label>Multimedia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsTechnologyLearningStrandType">
    <xs:annotation>
      <xs:documentation><p>Code list denoting the learning strands from the Technology curriculum 
				that can be covered as part of a technology class.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="TP">
        <xs:annotation>
          <xs:appinfo>
            <Label>Technological Practice</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TK">
        <xs:annotation>
          <xs:appinfo>
            <Label>Technological Knowledge</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NT">
        <xs:annotation>
          <xs:appinfo>
            <Label>Nature of Technology</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsStrandAchievementObjectiveType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting achievement objectives against which a student
				 can be assessed within a Learning Strand.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="BD">
        <xs:annotation>
          <xs:appinfo>
            <Label>Brief Development</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PP">
        <xs:annotation>
          <xs:appinfo>
            <Label>Planning for Practice</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OD">
        <xs:annotation>
          <xs:appinfo>
            <Label>Outcome Development and Evaluation</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TM">
        <xs:annotation>
          <xs:appinfo>
            <Label>Technological Modelling</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TP">
        <xs:annotation>
          <xs:appinfo>
            <Label>Technological Products</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TS">
        <xs:annotation>
          <xs:appinfo>
            <Label>Technological Systems</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CT">
        <xs:annotation>
          <xs:appinfo>
            <Label>Characteristics of Technology</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CO">
        <xs:annotation>
          <xs:appinfo>
            <Label>Characteristics of Technological Outcomes</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsStrandAchievementProgressLevelType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the level of progress the student has made
			against the learning strand achievement objectiv. e.g. Beginner,
			Proficient, and Advanced.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="B">
        <xs:annotation>
          <xs:appinfo>
            <Label>Beginner</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="P">
        <xs:annotation>
          <xs:appinfo>
            <Label>Proficient</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Advanced</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsTechnologyCurriculumLevelType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the technology curriculum level that the student's
				 progress report is being made against.  e.g. 2, 3, 4 or 5.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="2">
        <xs:annotation>
          <xs:appinfo>
            <Label>Level 2</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="3">
        <xs:annotation>
          <xs:appinfo>
            <Label>Level 3</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="4">
        <xs:annotation>
          <xs:appinfo>
            <Label>Level 4</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsNCEASubjectAreaType">
    <xs:annotation>
      <xs:documentation><p>Codes denoting Subject Areas defined by the NZQA for NCEA.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="10">
        <xs:annotation>
          <xs:appinfo>
            <Label>Communication Skills</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="103">
        <xs:annotation>
          <xs:appinfo>
            <Label>Solid Wood Processing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="112">
        <xs:annotation>
          <xs:appinfo>
            <Label>Human Services</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="113">
        <xs:annotation>
          <xs:appinfo>
            <Label>Fire Fighting</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="116">
        <xs:annotation>
          <xs:appinfo>
            <Label>Journalism</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="129">
        <xs:annotation>
          <xs:appinfo>
            <Label>Health Studies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="158">
        <xs:annotation>
          <xs:appinfo>
            <Label>Service Sector Skills</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="166">
        <xs:annotation>
          <xs:appinfo>
            <Label>Driving</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="174">
        <xs:annotation>
          <xs:appinfo>
            <Label>Tourism</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="175">
        <xs:annotation>
          <xs:appinfo>
            <Label>Transport Studies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="182">
        <xs:annotation>
          <xs:appinfo>
            <Label>Clothing Manufacture</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="184">
        <xs:annotation>
          <xs:appinfo>
            <Label>Food Processing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="185">
        <xs:annotation>
          <xs:appinfo>
            <Label>Furniture Trades</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="186">
        <xs:annotation>
          <xs:appinfo>
            <Label>Glass and Glazing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="189">
        <xs:annotation>
          <xs:appinfo>
            <Label>Outdoor Fabric Products</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="190">
        <xs:annotation>
          <xs:appinfo>
            <Label>Plastics Processing Technology</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="191">
        <xs:annotation>
          <xs:appinfo>
            <Label>Printing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="194">
        <xs:annotation>
          <xs:appinfo>
            <Label>Textiles Manufacture</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="198">
        <xs:annotation>
          <xs:appinfo>
            <Label>Aeronautical Engineering</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="204">
        <xs:annotation>
          <xs:appinfo>
            <Label>Electrical Engineering</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="212">
        <xs:annotation>
          <xs:appinfo>
            <Label>Mechanical Engineering</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="215">
        <xs:annotation>
          <xs:appinfo>
            <Label>Telecommunications</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="221">
        <xs:annotation>
          <xs:appinfo>
            <Label>Architecture</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="224">
        <xs:annotation>
          <xs:appinfo>
            <Label>Construction Trades</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="226">
        <xs:annotation>
          <xs:appinfo>
            <Label>Joinery</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="228">
        <xs:annotation>
          <xs:appinfo>
            <Label>Painting and Decorating</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="229">
        <xs:annotation>
          <xs:appinfo>
            <Label>Plumbing, Gasfitting and Drainlaying</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="230">
        <xs:annotation>
          <xs:appinfo>
            <Label>Quantity Surveying</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="231">
        <xs:annotation>
          <xs:appinfo>
            <Label>Surveying</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="240">
        <xs:annotation>
          <xs:appinfo>
            <Label>Adult Education and Training</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="245">
        <xs:annotation>
          <xs:appinfo>
            <Label>Dairy Manufacturing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="246">
        <xs:annotation>
          <xs:appinfo>
            <Label>Roading Technology</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="247">
        <xs:annotation>
          <xs:appinfo>
            <Label>Distribution</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="249">
        <xs:annotation>
          <xs:appinfo>
            <Label>Social Science Studies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="253">
        <xs:annotation>
          <xs:appinfo>
            <Label>Core Generic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="257">
        <xs:annotation>
          <xs:appinfo>
            <Label>Motor Industry</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="258">
        <xs:annotation>
          <xs:appinfo>
            <Label>Paperboard Case Manufacturing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="259">
        <xs:annotation>
          <xs:appinfo>
            <Label>Wood Panels Manufacturing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="260">
        <xs:annotation>
          <xs:appinfo>
            <Label>Footwear and Leather Trades</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="261">
        <xs:annotation>
          <xs:appinfo>
            <Label>Manufacturing Skills</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="262">
        <xs:annotation>
          <xs:appinfo>
            <Label>Film and Electronic Media</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="263">
        <xs:annotation>
          <xs:appinfo>
            <Label>Equine</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="264">
        <xs:annotation>
          <xs:appinfo>
            <Label>Cleaning and Caretaking</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="265">
        <xs:annotation>
          <xs:appinfo>
            <Label>Commercial Road Transport</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="266">
        <xs:annotation>
          <xs:appinfo>
            <Label>Fitness</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="267">
        <xs:annotation>
          <xs:appinfo>
            <Label>Sport</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="268">
        <xs:annotation>
          <xs:appinfo>
            <Label>Lifting Equipment</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="269">
        <xs:annotation>
          <xs:appinfo>
            <Label>Industrial Measurement and Control</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="271">
        <xs:annotation>
          <xs:appinfo>
            <Label>Reo Māori</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="272">
        <xs:annotation>
          <xs:appinfo>
            <Label>Pulp and Paper Manufacturing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="273">
        <xs:annotation>
          <xs:appinfo>
            <Label>Meat Processing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="275">
        <xs:annotation>
          <xs:appinfo>
            <Label>Educational Administration</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="276">
        <xs:annotation>
          <xs:appinfo>
            <Label>Māori Education and Training</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="277">
        <xs:annotation>
          <xs:appinfo>
            <Label>Industrial Machine Knitting</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="278">
        <xs:annotation>
          <xs:appinfo>
            <Label>Computing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="279">
        <xs:annotation>
          <xs:appinfo>
            <Label>Special Education</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="280">
        <xs:annotation>
          <xs:appinfo>
            <Label>Te Matauranga Māori me te Whakangungu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="281">
        <xs:annotation>
          <xs:appinfo>
            <Label>Maritime</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="282">
        <xs:annotation>
          <xs:appinfo>
            <Label>Energy and Chemical Plant</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="285">
        <xs:annotation>
          <xs:appinfo>
            <Label>Compliance and Law Enforcement</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="286">
        <xs:annotation>
          <xs:appinfo>
            <Label>Animal Care and Handling</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="288">
        <xs:annotation>
          <xs:appinfo>
            <Label>Electronics Technology</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="289">
        <xs:annotation>
          <xs:appinfo>
            <Label>Beauty Services</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="290">
        <xs:annotation>
          <xs:appinfo>
            <Label>Pork Production</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="291">
        <xs:annotation>
          <xs:appinfo>
            <Label>Diving</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="292">
        <xs:annotation>
          <xs:appinfo>
            <Label>Cranes</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="293">
        <xs:annotation>
          <xs:appinfo>
            <Label>Community Support</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="294">
        <xs:annotation>
          <xs:appinfo>
            <Label>Public Health</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="295">
        <xs:annotation>
          <xs:appinfo>
            <Label>Real Estate</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="297">
        <xs:annotation>
          <xs:appinfo>
            <Label>Wool Harvesting</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="298">
        <xs:annotation>
          <xs:appinfo>
            <Label>Statistics and Probability</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="299">
        <xs:annotation>
          <xs:appinfo>
            <Label>Seafood</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="300">
        <xs:annotation>
          <xs:appinfo>
            <Label>Rural Contracting</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="301">
        <xs:annotation>
          <xs:appinfo>
            <Label>Emergency Services</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="303">
        <xs:annotation>
          <xs:appinfo>
            <Label>Occupational Health and Safety</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="304">
        <xs:annotation>
          <xs:appinfo>
            <Label>Ngā Mahi a te Whare Pora</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="305">
        <xs:annotation>
          <xs:appinfo>
            <Label>Highway Construction and Maintenance</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="306">
        <xs:annotation>
          <xs:appinfo>
            <Label>Civil Plant Operation Management</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="307">
        <xs:annotation>
          <xs:appinfo>
            <Label>Civil Works and Services</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="308">
        <xs:annotation>
          <xs:appinfo>
            <Label>Pavement Surfacing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="309">
        <xs:annotation>
          <xs:appinfo>
            <Label>Security</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="310">
        <xs:annotation>
          <xs:appinfo>
            <Label>Hospitality</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="314">
        <xs:annotation>
          <xs:appinfo>
            <Label>Religious Studies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="315">
        <xs:annotation>
          <xs:appinfo>
            <Label>Food and Related Products Processing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="316">
        <xs:annotation>
          <xs:appinfo>
            <Label>Science</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="317">
        <xs:annotation>
          <xs:appinfo>
            <Label>Home and Life Sciences</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="318">
        <xs:annotation>
          <xs:appinfo>
            <Label>Electricity Supply</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="319">
        <xs:annotation>
          <xs:appinfo>
            <Label>Social Services</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="320">
        <xs:annotation>
          <xs:appinfo>
            <Label>Generic Education and Training</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="321">
        <xs:annotation>
          <xs:appinfo>
            <Label>Petrochemical Industry</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="322">
        <xs:annotation>
          <xs:appinfo>
            <Label>Steel Manufacturing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="323">
        <xs:annotation>
          <xs:appinfo>
            <Label>Extractive Industries</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="324">
        <xs:annotation>
          <xs:appinfo>
            <Label>Civil Defence</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="325">
        <xs:annotation>
          <xs:appinfo>
            <Label>Leather Manufacturing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="326">
        <xs:annotation>
          <xs:appinfo>
            <Label>Funeral Services</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="328">
        <xs:annotation>
          <xs:appinfo>
            <Label>Early Childhood Education and Care</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="329">
        <xs:annotation>
          <xs:appinfo>
            <Label>Mana Wahine</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="330">
        <xs:annotation>
          <xs:appinfo>
            <Label>Technology</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="331">
        <xs:annotation>
          <xs:appinfo>
            <Label>Community Recreation</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="332">
        <xs:annotation>
          <xs:appinfo>
            <Label>Outdoor Recreation</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="333">
        <xs:annotation>
          <xs:appinfo>
            <Label>Ski</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="334">
        <xs:annotation>
          <xs:appinfo>
            <Label>Public Sector Services</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="335">
        <xs:annotation>
          <xs:appinfo>
            <Label>Economic Theory and Practice</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="336">
        <xs:annotation>
          <xs:appinfo>
            <Label>Poultry Production</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="337">
        <xs:annotation>
          <xs:appinfo>
            <Label>Aviation</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="338">
        <xs:annotation>
          <xs:appinfo>
            <Label>English</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="342">
        <xs:annotation>
          <xs:appinfo>
            <Label>Construction</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="343">
        <xs:annotation>
          <xs:appinfo>
            <Label>Masonry</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="344">
        <xs:annotation>
          <xs:appinfo>
            <Label>Boating Industries</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="345">
        <xs:annotation>
          <xs:appinfo>
            <Label>Gas Industry</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="346">
        <xs:annotation>
          <xs:appinfo>
            <Label>Tikanga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="347">
        <xs:annotation>
          <xs:appinfo>
            <Label>General Education Māori</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="349">
        <xs:annotation>
          <xs:appinfo>
            <Label>Hauora</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="351">
        <xs:annotation>
          <xs:appinfo>
            <Label>Music</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="352">
        <xs:annotation>
          <xs:appinfo>
            <Label>Dance</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="354">
        <xs:annotation>
          <xs:appinfo>
            <Label>Stevedoring and Ports Industry</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="355">
        <xs:annotation>
          <xs:appinfo>
            <Label>Māori Business and Management</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="356">
        <xs:annotation>
          <xs:appinfo>
            <Label>Furniture</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="357">
        <xs:annotation>
          <xs:appinfo>
            <Label>Fire and Rescue Services</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="358">
        <xs:annotation>
          <xs:appinfo>
            <Label>Supported Learning</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="359">
        <xs:annotation>
          <xs:appinfo>
            <Label>Languages</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="360">
        <xs:annotation>
          <xs:appinfo>
            <Label>Engineering</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="362">
        <xs:annotation>
          <xs:appinfo>
            <Label>Retail and Wholesale</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="363">
        <xs:annotation>
          <xs:appinfo>
            <Label>Storekeeping and Warehousing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="364">
        <xs:annotation>
          <xs:appinfo>
            <Label>Drama</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="365">
        <xs:annotation>
          <xs:appinfo>
            <Label>Performing Arts General</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="366">
        <xs:annotation>
          <xs:appinfo>
            <Label>Health and Physical Education</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="367">
        <xs:annotation>
          <xs:appinfo>
            <Label>Pacific Islands Early Childhood Education</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="368">
        <xs:annotation>
          <xs:appinfo>
            <Label>Career Practice</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="370">
        <xs:annotation>
          <xs:appinfo>
            <Label>Māori Performing Arts</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="371">
        <xs:annotation>
          <xs:appinfo>
            <Label>Meat Inspection Services</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="372">
        <xs:annotation>
          <xs:appinfo>
            <Label>Mental Health</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="374">
        <xs:annotation>
          <xs:appinfo>
            <Label>Environment</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="375">
        <xs:annotation>
          <xs:appinfo>
            <Label>Offender Management</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="378">
        <xs:annotation>
          <xs:appinfo>
            <Label>Film and Television</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="380">
        <xs:annotation>
          <xs:appinfo>
            <Label>Electronic Media</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="384">
        <xs:annotation>
          <xs:appinfo>
            <Label>Ngā Mahi a te Rēhia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="385">
        <xs:annotation>
          <xs:appinfo>
            <Label>Whenua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="386">
        <xs:annotation>
          <xs:appinfo>
            <Label>Call Centres</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="387">
        <xs:annotation>
          <xs:appinfo>
            <Label>Community and Workplace Fire and Emergency Management</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="389">
        <xs:annotation>
          <xs:appinfo>
            <Label>Sports Turf</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="390">
        <xs:annotation>
          <xs:appinfo>
            <Label>Pacific Studies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="392">
        <xs:annotation>
          <xs:appinfo>
            <Label>Supply Chain Management</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="393">
        <xs:annotation>
          <xs:appinfo>
            <Label>Civil Engineering</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="394">
        <xs:annotation>
          <xs:appinfo>
            <Label>Seafood Māori</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="395">
        <xs:annotation>
          <xs:appinfo>
            <Label>Tourism Māori</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="396">
        <xs:annotation>
          <xs:appinfo>
            <Label>Wood Processing Technology</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="397">
        <xs:annotation>
          <xs:appinfo>
            <Label>Blaster Coating</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="40">
        <xs:annotation>
          <xs:appinfo>
            <Label>Mathematics</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="400">
        <xs:annotation>
          <xs:appinfo>
            <Label>Water Industry</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="402">
        <xs:annotation>
          <xs:appinfo>
            <Label>Visual Arts</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="403">
        <xs:annotation>
          <xs:appinfo>
            <Label>Snowsport</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="405">
        <xs:annotation>
          <xs:appinfo>
            <Label>Specialist Rescue</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="406">
        <xs:annotation>
          <xs:appinfo>
            <Label>Rail Transport</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="407">
        <xs:annotation>
          <xs:appinfo>
            <Label>Logistics</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="408">
        <xs:annotation>
          <xs:appinfo>
            <Label>Retail, Distribution, and Sales</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="410">
        <xs:annotation>
          <xs:appinfo>
            <Label>Reo Māori Media</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="411">
        <xs:annotation>
          <xs:appinfo>
            <Label>Māori Business and Management</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="412">
        <xs:annotation>
          <xs:appinfo>
            <Label>Electronic Engineering</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="413">
        <xs:annotation>
          <xs:appinfo>
            <Label>Coatings, Inks, and Adhesives</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="414">
        <xs:annotation>
          <xs:appinfo>
            <Label>Environment Māori</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="415">
        <xs:annotation>
          <xs:appinfo>
            <Label>Niue Arts and Crafts</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="416">
        <xs:annotation>
          <xs:appinfo>
            <Label>Museum Services</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="419">
        <xs:annotation>
          <xs:appinfo>
            <Label>Pharmaceutical and Allied Products</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="420">
        <xs:annotation>
          <xs:appinfo>
            <Label>Hot Dip Galvanizing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="421">
        <xs:annotation>
          <xs:appinfo>
            <Label>Marae Catering</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="422">
        <xs:annotation>
          <xs:appinfo>
            <Label>Contact Centres</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="423">
        <xs:annotation>
          <xs:appinfo>
            <Label>Fibreboard Packaging</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="424">
        <xs:annotation>
          <xs:appinfo>
            <Label>Resource Recovery</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="426">
        <xs:annotation>
          <xs:appinfo>
            <Label>Cadet Forces</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="428">
        <xs:annotation>
          <xs:appinfo>
            <Label>Solid Wood Manufacturing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="429">
        <xs:annotation>
          <xs:appinfo>
            <Label>Wood Fibre Manufacturing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="430">
        <xs:annotation>
          <xs:appinfo>
            <Label>Wood Handling and Distribution</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="431">
        <xs:annotation>
          <xs:appinfo>
            <Label>Wood Manufacturing - Generic Skills</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="433">
        <xs:annotation>
          <xs:appinfo>
            <Label>Solid Waste</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="435">
        <xs:annotation>
          <xs:appinfo>
            <Label>Business Operations and Development</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="436">
        <xs:annotation>
          <xs:appinfo>
            <Label>Business Environment</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="437">
        <xs:annotation>
          <xs:appinfo>
            <Label>Industrial Textile Fabrication</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="438">
        <xs:annotation>
          <xs:appinfo>
            <Label>Concrete</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="441">
        <xs:annotation>
          <xs:appinfo>
            <Label>Animal Product Examination Services</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="442">
        <xs:annotation>
          <xs:appinfo>
            <Label>Financial Services</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="444">
        <xs:annotation>
          <xs:appinfo>
            <Label>Metalliferous Mining</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="445">
        <xs:annotation>
          <xs:appinfo>
            <Label>Greyhound Racing Industry</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="446">
        <xs:annotation>
          <xs:appinfo>
            <Label>Baking Yeasts Manufacturing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="447">
        <xs:annotation>
          <xs:appinfo>
            <Label>Composites</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="449">
        <xs:annotation>
          <xs:appinfo>
            <Label>Explosive Atmospheres</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="450">
        <xs:annotation>
          <xs:appinfo>
            <Label>Civil Defence Emergency Management</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="451">
        <xs:annotation>
          <xs:appinfo>
            <Label>Infrastructure Civil Engineering</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="452">
        <xs:annotation>
          <xs:appinfo>
            <Label>Infrastructure Works</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="453">
        <xs:annotation>
          <xs:appinfo>
            <Label>Health, Disability, and Aged Support</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="454">
        <xs:annotation>
          <xs:appinfo>
            <Label>Zero Waste</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="456">
        <xs:annotation>
          <xs:appinfo>
            <Label>Public Sector Compliance</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="457">
        <xs:annotation>
          <xs:appinfo>
            <Label>Te Ara Nunumi - Bereavement Pathways Maori</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="458">
        <xs:annotation>
          <xs:appinfo>
            <Label>Primary Sector</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="459">
        <xs:annotation>
          <xs:appinfo>
            <Label>Recreation and Sport</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="460">
        <xs:annotation>
          <xs:appinfo>
            <Label>Manaaki Marae - Marae Hospitality</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="464">
        <xs:annotation>
          <xs:appinfo>
            <Label>Renewable Energy Systems</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="465">
        <xs:annotation>
          <xs:appinfo>
            <Label>Mau Rākau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="466">
        <xs:annotation>
          <xs:appinfo>
            <Label>Fellmongery and Leather Processing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="467">
        <xs:annotation>
          <xs:appinfo>
            <Label>Te Marautanga o Aotearoa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="468">
        <xs:annotation>
          <xs:appinfo>
            <Label>Primary Products Food Processing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="469">
        <xs:annotation>
          <xs:appinfo>
            <Label>Industrial Coatings</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="470">
        <xs:annotation>
          <xs:appinfo>
            <Label>Dairy Processing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="471">
        <xs:annotation>
          <xs:appinfo>
            <Label>Sign Making</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="472">
        <xs:annotation>
          <xs:appinfo>
            <Label>Taonga Pūoro</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="473">
        <xs:annotation>
          <xs:appinfo>
            <Label>Exercise</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="474">
        <xs:annotation>
          <xs:appinfo>
            <Label>Te Ara Hou ki te Ora</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="475">
        <xs:annotation>
          <xs:appinfo>
            <Label>Inclusive Education</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="5">
        <xs:annotation>
          <xs:appinfo>
            <Label>Whakairo</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="53">
        <xs:annotation>
          <xs:appinfo>
            <Label>Design</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="55">
        <xs:annotation>
          <xs:appinfo>
            <Label>Graphic Arts</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="71">
        <xs:annotation>
          <xs:appinfo>
            <Label>Information Processing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="76">
        <xs:annotation>
          <xs:appinfo>
            <Label>Accounting</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="78">
        <xs:annotation>
          <xs:appinfo>
            <Label>Business Administration</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="79">
        <xs:annotation>
          <xs:appinfo>
            <Label>Financial Management</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="82">
        <xs:annotation>
          <xs:appinfo>
            <Label>Information Management</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="84">
        <xs:annotation>
          <xs:appinfo>
            <Label>Management</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="85">
        <xs:annotation>
          <xs:appinfo>
            <Label>Marketing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="86">
        <xs:annotation>
          <xs:appinfo>
            <Label>Office Systems</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="92">
        <xs:annotation>
          <xs:appinfo>
            <Label>Land Skills</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="93">
        <xs:annotation>
          <xs:appinfo>
            <Label>Agriculture</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="96">
        <xs:annotation>
          <xs:appinfo>
            <Label>Forestry</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="97">
        <xs:annotation>
          <xs:appinfo>
            <Label>Horticulture</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="99">
        <xs:annotation>
          <xs:appinfo>
            <Label>Pest Management</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ACCO">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Accounting</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AGHO">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Agricultural and Horticultural Science</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AGRI">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Agribusiness (Business Studies)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ARTC">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Visual Arts</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ARTH">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Art History</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BIOL">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Biology</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BUST">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Business Studies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CHEM">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Chemistry</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CHIN">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Chinese</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CLST">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Classical Studies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="COMP">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Computing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="COOK">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Cook Island Māori</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DANC">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Dance</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DLIC">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Drivers Licence</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DRAM">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Drama</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DTEC">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Digital Technologies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EAAS">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Earth and Space Science</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ECON">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Economics</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ENAC">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>English for Academic Purposes</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ENGL">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>English</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ENSL">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>English Language (EL)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FIMA">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Field Māori</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FREN">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>French</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="GEOG">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Geography</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="GERM">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>German</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="GRAP">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Digital and Visual Communication (Graphics)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="HANG">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Hangarau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="HAUO">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Hauora</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="HEED">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Health</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="HIST">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>History</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="HOME">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Home Economics</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="JAPA">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Japanese</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="KORE">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Korean</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LAFT">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Lea Faka-Tonga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LATI">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Latin</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LAWS">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Legal Studies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LITE">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Literacy</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAOR">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Te Reo Māori</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAST">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Mathematics and Statistics</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MEST">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Media Studies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MPRT">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Māori Performing Arts</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MUSC">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Music</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NGAT">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Ngā Toi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NUME">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Numeracy</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZSL">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>New Zealand Sign Language</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PANG">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Pāngarau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PHED">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Physical Education</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PHYS">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Physics</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PLAN">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Pacific Language Studies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PSYC">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Psychology</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PUTA">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Pūtaiao</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RANG">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Te Reo Rangatira</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="REST">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Religious Studies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SAMO">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Samoan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SCIE">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Science</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SENV">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Education for Sustainability</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SOSC">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Sociology</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SOST">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Social Studies</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SPAN">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Spanish</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SULE">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Supported Learning</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TECN">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Technology</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TIKA">
        <xs:annotation>
          <xs:appinfo>
            <endDate>2020-04-15</endDate>
            <Label>Tikanga-ā-iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsAssessmentMethodologyType">
    <xs:annotation>
      <xs:documentation><p>Code denoting the nature of the assessment process;  Primary assessment against NZ Curriculum or Te Marautanga
      o Aotearoa; Secondary assessment against NCEA, Cambridge, International Baccalaureate, or similar.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="P">
        <xs:annotation>
          <xs:documentation>
					Learner is being assessed against assessment against NZ Curriculum or Te Marautanga o Aotearoa; includes
					teacher's overall judgement, specific competency tests conducted manually or with the help of 
					recognised assessment tools.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Primary</Label>
            <Label xml:lang="mi">Aromatawai ā-roto</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="S">
        <xs:annotation>
          <xs:documentation>
					Learner is being assessed in an externally provided qualification system such as NCEA, Cambridge Education,
					International Baccalaureate, or similar.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Secondary</Label>
            <Label xml:lang="mi">Aromatawai ā-waho</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsAssessmentTypeType">
    <xs:annotation>
      <xs:documentation><p>Standard codes denoting the type of assessment the student is sitting for the assessment task.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="INT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Internal</Label>
            <Label xml:lang="mi">Aromatawai ā-roto</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EXT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">External</Label>
            <Label xml:lang="mi">Aromatawai ā-waho</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MOC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Mock</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="POR">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Portfolio</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PRA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Practical</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTJ">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Overall Teacher Judgement</Label>
            <Label xml:lang="mi">Tā te Pouako i whakarite ai</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTH">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsAssessmentToolType">
    <xs:annotation>
      <xs:documentation><p>Standard codes denoting assessment tools that may be used in an assessment task.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="EASMATH">
        <xs:annotation>
          <xs:appinfo>
            <Label>e-asTTle Mathematics</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EASREAD">
        <xs:annotation>
          <xs:appinfo>
            <Label>e-asTTle Reading</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PATCOMP">
        <xs:annotation>
          <xs:appinfo>
            <Label>PAT: Reading Comprehension</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PATMATH">
        <xs:annotation>
          <xs:appinfo>
            <Label>PAT: Mathematics</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="STARREA">
        <xs:annotation>
          <xs:appinfo>
            <Label>STAR Reading</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsAssessmentToolTestType">
    <xs:annotation>
      <xs:documentation><p>Standard code set denoting the tests available within an assessment tool that may be used in an assessment task.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="PMT1">
        <xs:annotation>
          <xs:appinfo>
            <Label>PAT Maths - Test 1</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PMT1A">
        <xs:annotation>
          <xs:appinfo>
            <Label>PAT Maths - Test 1A</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PMT2">
        <xs:annotation>
          <xs:appinfo>
            <Label>PAT Maths - Test 2</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PMT2A">
        <xs:annotation>
          <xs:appinfo>
            <Label>PAT Maths - Test 2A</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PMT3">
        <xs:annotation>
          <xs:appinfo>
            <Label>PAT Maths - Test 3</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PMT3A">
        <xs:annotation>
          <xs:appinfo>
            <Label>PAT Maths - Test 3A</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PMT4">
        <xs:annotation>
          <xs:appinfo>
            <Label>PAT Maths - Test 4</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PMT4A">
        <xs:annotation>
          <xs:appinfo>
            <Label>PAT Maths - Test 4A</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PMT5">
        <xs:annotation>
          <xs:appinfo>
            <Label>PAT Maths - Test 5</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PMT5A">
        <xs:annotation>
          <xs:appinfo>
            <Label>PAT Maths - Test 5A</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PMT6">
        <xs:annotation>
          <xs:appinfo>
            <Label>PAT Maths - Test 6</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PMT6A">
        <xs:annotation>
          <xs:appinfo>
            <Label>PAT Maths - Test 6A</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PMT7">
        <xs:annotation>
          <xs:appinfo>
            <Label>PAT Maths - Test 7</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PMT7A">
        <xs:annotation>
          <xs:appinfo>
            <Label>PAT Maths - Test 7A</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PMT8A">
        <xs:annotation>
          <xs:appinfo>
            <Label>PAT Maths - Test 8A</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PMTADA">
        <xs:annotation>
          <xs:appinfo>
            <Label>PAT Maths - Adaptive</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PRCT1">
        <xs:annotation>
          <xs:appinfo>
            <Label>PAT Reading Comp - Test 1</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PRCT2">
        <xs:annotation>
          <xs:appinfo>
            <Label>PAT Reading Comp - Test 2</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PRCT3">
        <xs:annotation>
          <xs:appinfo>
            <Label>PAT Reading Comp - Test 3</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PRCT4">
        <xs:annotation>
          <xs:appinfo>
            <Label>PAT Reading Comp - Test 4</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PRCT5">
        <xs:annotation>
          <xs:appinfo>
            <Label>PAT Reading Comp - Test 5</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PRCT6">
        <xs:annotation>
          <xs:appinfo>
            <Label>PAT Reading Comp - Test 6</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PRCT7">
        <xs:annotation>
          <xs:appinfo>
            <Label>PAT Reading Comp - Test 7</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SRT34A">
        <xs:annotation>
          <xs:appinfo>
            <Label>STAR Reading - 3-4 A</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SRT34B">
        <xs:annotation>
          <xs:appinfo>
            <Label>STAR Reading - 3-4 B</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SRT34C">
        <xs:annotation>
          <xs:appinfo>
            <Label>STAR Reading - 3-4 C</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SRT56A">
        <xs:annotation>
          <xs:appinfo>
            <Label>STAR Reading - 5-6 A</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SRT56B">
        <xs:annotation>
          <xs:appinfo>
            <Label>STAR Reading - 5-6 B</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SRT56C">
        <xs:annotation>
          <xs:appinfo>
            <Label>STAR Reading - 5-6 C</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SRT78A">
        <xs:annotation>
          <xs:appinfo>
            <Label>STAR Reading - 7-8 A</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SRT78B">
        <xs:annotation>
          <xs:appinfo>
            <Label>STAR Reading - 7-8 B</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SRT78C">
        <xs:annotation>
          <xs:appinfo>
            <Label>STAR Reading - 7-8 C</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SRT9A">
        <xs:annotation>
          <xs:appinfo>
            <Label>STAR Reading - 9A</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EMYR4">
        <xs:annotation>
          <xs:appinfo>
            <Label>e-asTTle Maths – Year 4</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EMYR5">
        <xs:annotation>
          <xs:appinfo>
            <Label>e-asTTle Maths – Year 5</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EMYR6">
        <xs:annotation>
          <xs:appinfo>
            <Label>e-asTTle Maths – Year 6</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EMYR7">
        <xs:annotation>
          <xs:appinfo>
            <Label>e-asTTle Maths – Year 7</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EMYR8">
        <xs:annotation>
          <xs:appinfo>
            <Label>e-asTTle Maths – Year 8</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EMYR9">
        <xs:annotation>
          <xs:appinfo>
            <Label>e-asTTle Maths – Year 9</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EMYR10">
        <xs:annotation>
          <xs:appinfo>
            <Label>e-asTTle Maths – Year 10</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ERYR4">
        <xs:annotation>
          <xs:appinfo>
            <Label>e-asTTle Reading – Year 4</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ERYR5">
        <xs:annotation>
          <xs:appinfo>
            <Label>e-asTTle Reading – Year 5</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ERYR6">
        <xs:annotation>
          <xs:appinfo>
            <Label>e-asTTle Reading – Year 6</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ERYR7">
        <xs:annotation>
          <xs:appinfo>
            <Label>e-asTTle Reading – Year 7</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ERYR8">
        <xs:annotation>
          <xs:appinfo>
            <Label>e-asTTle Reading – Year 8</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ERYR9">
        <xs:annotation>
          <xs:appinfo>
            <Label>e-asTTle Reading – Year 9</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ERYR10">
        <xs:annotation>
          <xs:appinfo>
            <Label>e-asTTle Reading – Year 10</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsAssessmentEvaluationTypeType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the type of assessment evaluation taking place, e.g. formative or summative.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="F">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Formative</Label>
            <Label xml:lang="mi">Arataki</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="S">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Summative</Label>
            <Label xml:lang="mi">Whakakapi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsAssessmentStatusType">
    <xs:annotation>
      <xs:documentation><p>Codes denoting the current status of the assessment task.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="MOD">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Moderated</Label>
            <Label xml:lang="mi">Kua whakaōritehia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NOT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Unmoderated</Label>
            <Label xml:lang="mi">Kāre anō kia whakaōritehia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PUB">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Published</Label>
            <Label xml:lang="mi">Kua tāia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ENT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Entered</Label>
            <Label xml:lang="mi">I whakaurungia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAR">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Marked</Label>
            <Label xml:lang="mi">Kua mākahia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsAssessmentProviderRoleType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the role of the provider in the assessment, e.g. Assessing Provider, Location Provider.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="ASR">
        <xs:annotation>
          <xs:appinfo>
            <Label>Assessor</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LOC">
        <xs:annotation>
          <xs:appinfo>
            <Label>Location Provider</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PRO">
        <xs:annotation>
          <xs:appinfo>
            <Label>Provider</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="REG">
        <xs:annotation>
          <xs:appinfo>
            <Label>Registering Organisation</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsAssessmentStaffRoleType">
    <xs:restriction base="xs:token">
      <xs:enumeration value="CRE">
        <xs:annotation>
          <xs:appinfo>
            <Label>Creator</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MOD">
        <xs:annotation>
          <xs:appinfo>
            <Label>Moderator</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ASS">
        <xs:annotation>
          <xs:appinfo>
            <Label>Assessor</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="INV">
        <xs:annotation>
          <xs:appinfo>
            <Label>Invigilator</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTH">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsScoreMetricType">
    <xs:annotation>
      <xs:documentation><p>The type of score metric used for an assessment task result.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="RAW">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Raw</Label>
            <Label xml:lang="mi">Taketake</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SCA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Scale</Label>
            <Label xml:lang="mi">Āwhata</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAR">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Margin of Error</Label>
            <Label xml:lang="mi">Pae Hapa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="STA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Stanine</Label>
            <Label xml:lang="mi">Pouiwa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="YEA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Year Level</Label>
            <Label xml:lang="mi">Taumata ā-Tau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CUR">
        <xs:annotation>
          <xs:documentation>Student is assessed to be at one of the levels defined by The National Curriculum: 1A, 1B through 5A, 5B</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Curriculum Level</Label>
            <Label xml:lang="mi">Taumata Marau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NKS">
        <xs:annotation>
          <xs:documentation>Recorded as either stage numbers 1-8 or 7 codes: E, CA, AC, EA, AA, AM, AP</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Number Knowledge Stage</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NA">
        <xs:annotation>
          <xs:documentation>NZQA Unit Standards: Not Achieved, Achieved</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">NA</Label>
            <Label xml:lang="mi">NA</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NAM">
        <xs:annotation>
          <xs:documentation>NZQA Achievement Standards: Not Achieved, Achieved, Achieved with Merit, Achieved with Excellence</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">NAME</Label>
            <Label xml:lang="mi">NAME</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsScoreTypeType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting that the score is an over-arching final aggregate score derived from a collection of other scores, 
			or the fact that the score is derived from a multi-stage marking and moderation process, e.g. inital, interim, moderated
			 and final scores for a single assessment.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="INI">
        <xs:annotation>
          <xs:appinfo>
            <Label>Initial</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="INT">
        <xs:annotation>
          <xs:appinfo>
            <Label>Interim</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MOD">
        <xs:annotation>
          <xs:appinfo>
            <Label>Moderated</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FIN">
        <xs:annotation>
          <xs:appinfo>
            <Label>Final</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsAssessmentRegistrationStatusType">
    <xs:annotation>
      <xs:documentation><p> Code set denoting the status of the student's registration for an assessment
			 task, e.g. applied, approved, withdrawn.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="ALD">
        <xs:annotation>
          <xs:appinfo>
            <Label>Applied</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="APD">
        <xs:annotation>
          <xs:appinfo>
            <Label>Approved</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WTH">
        <xs:annotation>
          <xs:appinfo>
            <Label>Withdrawn</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsAssessmentRequestTypeType">
    <xs:annotation>
      <xs:documentation><p>Denotes the request type to NZQA for a Digital Exam/ Paper Exam or 
			Digital Submission / Physical Submission.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="DE">
        <xs:annotation>
          <xs:appinfo>
            <Label>Digital Exam</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DS">
        <xs:annotation>
          <xs:appinfo>
            <Label>Digital Submission</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NS">
        <xs:annotation>
          <xs:appinfo>
            <Label>Not Selected</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PE">
        <xs:annotation>
          <xs:appinfo>
            <Label>Paper Exam</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PS">
        <xs:annotation>
          <xs:appinfo>
            <Label>Physical Submission</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsNZQAFinancialAssistanceType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the type of financial assistance the learner 
			is receiving from NZQA</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="B">
        <xs:annotation>
          <xs:appinfo>
            <Label>Benefit</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="F">
        <xs:annotation>
          <xs:appinfo>
            <Label>Family</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="I">
        <xs:annotation>
          <xs:appinfo>
            <Label>Income</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsSpecialAssessmentConditionType">
    <xs:annotation>
      <xs:documentation><p>Standard codes denoting special assessment conditions that a student
				requires when sitting an assessment.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="BRA">
        <xs:annotation>
          <xs:appinfo>
            <Label>Braille Paper</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="COM">
        <xs:annotation>
          <xs:appinfo>
            <Label>Computer OR Writer</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ENL">
        <xs:annotation>
          <xs:appinfo>
            <Label>Enlarged Paper</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EXT">
        <xs:annotation>
          <xs:appinfo>
            <Label>Extra Time</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTH">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="REA">
        <xs:annotation>
          <xs:appinfo>
            <Label>Reader</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RES">
        <xs:annotation>
          <xs:appinfo>
            <Label>Rest Breaks</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SEP">
        <xs:annotation>
          <xs:appinfo>
            <Label>Separate Accommodation</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SIR">
        <xs:annotation>
          <xs:appinfo>
            <Label>Signing Reader</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SIS">
        <xs:annotation>
          <xs:appinfo>
            <Label>Signing Supervisor</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SPE">
        <xs:annotation>
          <xs:appinfo>
            <Label>Special Paper</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsAssessmentTimeframeType">
    <xs:annotation>
      <xs:documentation><p>The timeframe of the assessment, e.g. Mid-Year, End of Year.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="OTH">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OUT">
        <xs:annotation>
          <xs:appinfo>
            <Label>Out of Cycle</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="INT">
        <xs:annotation>
          <xs:appinfo>
            <Label>Interim</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="END">
        <xs:annotation>
          <xs:appinfo>
            <Label>End of Year</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsNCEAEndorsementLevelType">
    <xs:annotation>
      <xs:documentation><p>The level of NCEA endorsement the student received for the attainment.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="E">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Excellence</Label>
            <Label xml:lang="mi">Kairangi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Merit</Label>
            <Label xml:lang="mi">Kaiaka</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsAssessmentResultType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting final result and score values that are pre-defined for certain assessments, e.g. NCEA.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="E">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Excellence</Label>
            <Label xml:lang="mi">Kairangi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Merit</Label>
            <Label xml:lang="mi">Kaiaka</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="A">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Achieved</Label>
            <Label xml:lang="mi">I tutuki</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="F">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Fail</Label>
            <Label xml:lang="mi">Kāre i eke</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="N">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Not Achieved</Label>
            <Label xml:lang="mi">Kāore i tutuki</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="P">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Pass</Label>
            <Label xml:lang="mi">Paetae</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NKS-EM">
        <xs:annotation>
          <xs:documentation>Number Knowledge Stage 1 - Emergent</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Emergent</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NKS-CA">
        <xs:annotation>
          <xs:documentation>Number Knowledge Stages 2-3 - Counting All</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Counting All</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NKS-AC">
        <xs:annotation>
          <xs:documentation>Number Knowledge Stage 4 - Advanced Counting</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Advanced Counting</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NKS-EA">
        <xs:annotation>
          <xs:documentation>Number Knowledge Stage 5 - Early Additive</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Early Additive</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NKS-AA">
        <xs:annotation>
          <xs:documentation>Number Knowledge Stage 6 - Advanced Additive</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Advanced Additive</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NKS-AM">
        <xs:annotation>
          <xs:documentation>Number Knowledge Stage 7 - Advanced Multiplicative</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Advanced Multiplicative</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NKS-AP">
        <xs:annotation>
          <xs:documentation>Number Knowledge Stage 8 - Advanced Proportional</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Advanced Proportional</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsSchoolEnrolmentTypeType">
    <xs:annotation>
      <xs:documentation><p>A type of student enrolment with a school. Allows
		differentiation of concurrent enrolments, eg base vs
		other.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="BASE">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">The school that the student is considered to be primarily
						enrolled with, especially for the purposes of reporting and
						Ministry funding. Typically the student will spend most of
						their school time at this school.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Base Enrolment</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="HOST">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">Indicates an enrolment that is concurrent with the student's base enrolment 
				at another school.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Hosted Enrolment</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="REMO">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">Indicates an enrolment with a school (typically Te Kura - The Correspondence School) which 
				provides remote/distance learning; this means that the student remains at their base school
				(or at home) for all classes covered by this enrolment.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Remote/Distance Learning</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsProviderEnrolmentStatusType">
    <xs:annotation>
      <xs:documentation><p>Records the status of a potentially multi-year Provider enrolment, which goes through
				a different life-cycle to the single-year school enrolment.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="APP">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">Student has applied to become a Student at the Provider, this pre-enrolment has been received, 
						and is being processed by the provider. It has not yet been accepted or declined by the provider.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Application</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ACC">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">The Provider has processed the application, validated it against school zoning rules, and other 
						acceptance criteria. The provider has accepted the enrolment and will have a place for the
						Student if they choose to take it up. Student has accepted the enrolment and is expecting to
						take up the enrolment at the agreed future date.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Accepted</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CAN">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">The enrolment application has been declined by the Provider, or discontinued by the Student,
					 prior to becoming an ACTIVE enrolment.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Cancelled</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ACT">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">The student has taken up the enrolment, and has attended classes for the first time.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Active</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WIT">
        <xs:annotation>
          <xs:documentation>The Student has left the Provider, after the enrolment was made ACTIVE</xs:documentation>
          <xs:appinfo>
            <Label>Withdrawn</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PEN">
        <xs:annotation>
          <xs:documentation>
            <p xmlns="http://sifassociation.org/SpecGen">The enrolment has been accepted by the Provider, taken up by the Student, and the student
					 	has attended their first day; but the enrolment is unable to be set to ACTIVE, because 
					 	there is still an ACTIVE enrolment for the student at a (previous) provider. Once the 
						blocking Provider has put their enrolment to WITHDRAWN, this enrolment can be moved to 'ACTIVE'.</p>
          </xs:documentation>
          <xs:appinfo>
            <Label>Pending</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsStudentTeachingGroupEnrolmentStatusType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the status of the student's teaching group enrolment.</p><p>Set to Active when: StartDate =&gt; today's date and EndDate is NULL 
				or EndDate &gt; than today's date.</p><p>Set to Inactive when: StartDate &lt; today's date or EndDate =&lt; today's date.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Active</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="I">
        <xs:annotation>
          <xs:appinfo>
            <Label>Inactive</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsEnrolmentExitTypeType">
    <xs:annotation>
      <xs:documentation><p>Enrolment Exit code, derived from code set used in School Roll Returns.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="S">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Transferred to Another School in NZ</Label>
            <Label xml:lang="mi">Whakawhiti ki kura kē o Aotearoa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="H">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Transferring to Home Schooling</Label>
            <Label xml:lang="mi">Whakawhiti ki te kura-kāinga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="O">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Gone Overseas</Label>
            <Label xml:lang="mi">Haere ki tāwāhi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="D">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Deceased</Label>
            <Label xml:lang="mi">Kua mate</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="X">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Expulsion (for Students Aged 16 and Over Only)</Label>
            <Label xml:lang="mi">I panaia (mō te hunga ākonga 16 te pakeke neke atu anake)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="L">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">End of Schooling (for Students Aged 16 and Over Only)</Label>
            <Label xml:lang="mi">Kua mutu te kura (mō te hunga ākonga 16 te pakeke neke atu anake)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="E">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Granted Early Exemption (Applies to Those Younger Than 16yrs Old)</Label>
            <Label xml:lang="mi">Whakaaetia kia wāteatia mai (e pā ana ki ērā ākonga tau heke 16 te pakeke)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="K">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Exclusion (for Students Aged Younger Than 16)</Label>
            <Label xml:lang="mi">Whakarerenga (mō te hunga ākonga tau heke 16 te pakeke)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="C">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Continuous Absence</Label>
            <Label xml:lang="mi">Ka ngaro i ia te wā</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="J">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Eligibility Expired</Label>
            <Label xml:lang="mi">Kua kati te māraurau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="P">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Caregiver Decision</Label>
            <Label xml:lang="mi">Whakarite a te Kaitiaki</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsEligibilityCriteriaType">
    <xs:annotation>
      <xs:documentation><p>The criteria used to determine the eligibility status of a student for enrolment and MoE funding purposes.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="NZC">
        <xs:annotation>
          <xs:appinfo>
            <Label>NZ Citizen (incl. TKL, COK, NIU)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AUC">
        <xs:annotation>
          <xs:documentation>Includes Australian permanent residents.</xs:documentation>
          <xs:appinfo>
            <Label>AU Citizen</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZR">
        <xs:annotation>
          <xs:appinfo>
            <Label>NZ Resident</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="IFP">
        <xs:annotation>
          <xs:appinfo>
            <Label>International Fee Paying</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="GAE">
        <xs:annotation>
          <xs:appinfo>
            <Label>Govt. Approved Exchange Scheme</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DTB">
        <xs:annotation>
          <xs:appinfo>
            <Label>Domestic Time-bound</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MOE">
        <xs:annotation>
          <xs:appinfo>
            <Label>MoE Approved</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DAY">
        <xs:annotation>
          <xs:appinfo>
            <Label>28 Day Waiver</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EXT">
        <xs:annotation>
          <xs:appinfo>
            <Label>Extended 28 Day Waiver</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsStudentFundingTypeType">
    <xs:annotation>
      <xs:documentation><p>Student classification for MoE funding purposes.</p><p>Codes in this list are hierarchical. Students can only
			be allocated one TYPE code (even though they may belong to
			more than one of the groups listed below). To allocate a
			code to an individual student, start at the top of the
			list and work down. Use the first code that applies to
			the student.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="FF">
        <xs:annotation>
          <xs:documentation>
					An International student who meets full tuition costs on
					their own or from funds provided to them by sponsors other
					than NZAID.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">International Fee-Paying Student</Label>
            <Label xml:lang="mi">Ākonga ā-Ao Utu Urutomo</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AE">
        <xs:annotation>
          <xs:documentation>
					A student who is enrolled in an Alternative Education
					programme, for Funding Year Level they should be reported
					only between Year 9 and Year 13 (inclusive).
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Student in Alternative Education</Label>
            <Label xml:lang="mi">Ākonga Mātauranga Kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EX">
        <xs:annotation>
          <xs:documentation>
					A student (and dependants) studying in New Zealand under an
					exchange programme approved by the New Zealand Government.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">International Exchange Student</Label>
            <Label xml:lang="mi">Ākonga Whakawhiti ā-Ao</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NF">
        <xs:annotation>
          <xs:documentation>
					Code to be used for students attending on Roll Count Day,
					but not paying fee and not funded; e.g. students with
					Eligibility Criteria “28 Day Waiver” and “Extended 28 Day
					Waiver”.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Not Funded</Label>
            <Label xml:lang="mi">Kāore he pūtea āwhina</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RA">
        <xs:annotation>
          <xs:documentation>
					A student who has continued at school and is at least 19 on
					1 January of the Roll count year.  EXAMPLE: Roll count year = 2017 if student is 19 years old on 1 January 2017 their
					student type = RA as there has not been a break in the
					students learning cycle.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Adult Student</Label>
            <Label xml:lang="mi">Ākonga Pakeke</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AD">
        <xs:annotation>
          <xs:documentation>
					A student who has returned to school following a break of at
					least 1 year and is at least 19 years old on 1 January of
					the Roll count year. EXAMPLE: Roll count year = 2017 if
					student is 19 years old on 1 Jan 2017 their student type =
					AD if there has been a break in their learning cycle.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Returning Adult Student</Label>
            <Label xml:lang="mi">Ākonga Pakeke Hokingarua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RE">
        <xs:annotation>
          <xs:documentation>
					A New Zealand student or a student treated for funding and
					staffing purposes as a New Zealand student who is also not
					yet 19 years at 1 Jan of the roll count year. This includes
					students in general classrooms and those in special needs
					units.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Regular Student</Label>
            <Label xml:lang="mi">Ākonga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TPREOM">
        <xs:annotation>
          <xs:documentation>
					A regular student (i.e. a student aged under 19 years at 1
					January of the roll count year) who meets the eligibility
					criteria, but whose enrolment would cause the roll of the
					TPU to exceed the set maximum.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Teen Parent Regular Student Over Maximum Roll</Label>
            <Label xml:lang="mi">Ranga Mātātahi, Ākonga kua aua atu i te taumata rārangi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TPRAOM">
        <xs:annotation>
          <xs:documentation>
					An adult student who is enrolled in a Teen Parent Unit (TPU)
					where the enrolment at the TPU has continued beyond the end
					of the year in which the student reached 19 years old. The
					enrolment of this student causes the roll of the TPU to
					exceed the set maximum.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Teen Parent Adult Student Over Maximum Roll</Label>
            <Label xml:lang="mi">Ranga Mātātahi, Ākonga Pakeke kua aua atu i te taumata rārangi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TPAD">
        <xs:annotation>
          <xs:documentation>
					A student enrolling at the TPU as an adult student (i.e. was
					at least 19 on 1st January of the year when they first
					enrolled at the TPU), and who fits within the TPU’s maximum
					roll.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Teen Parent Other Adult Student</Label>
            <Label xml:lang="mi">Ranga Mātātahi, Ākonga Pakeke kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TPRE">
        <xs:annotation>
          <xs:documentation>
					A student who is enrolled in a Teen Parent Unit (TPU) and is
					at least 19 years old on 1 January of the current
					year. These students may continue to be enrolled in the TPU
					after the end of the year in which they turn 19, their
					Student Type however will then be changed to TPRAE – Teen
					Parent Enrolled Continuing Adult Student.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Teen Parent Eligible and Enrolled Regular Student</Label>
            <Label xml:lang="mi">Ranga Mātātahi me ngā Ākonga kua uru</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TPRAE">
        <xs:annotation>
          <xs:documentation>
					A student who is enrolled in a Teen Parent Unit (TPU) where
					the enrolment at the TPU has continued beyond the end of the
					year in which the student reached 19 years old.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Teen Parent Enrolled Continuing Adult Student</Label>
            <Label xml:lang="mi">Ranga Mātātahi kua uru hei Ākonga Pakeke e haere tonu ana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EM">
        <xs:annotation>
          <xs:documentation>
					A student who attends this school for some courses but is
					enrolled at another school where a majority of instruction
					occurs.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">External Student</Label>
            <Label xml:lang="mi">Ākonga ā-waho</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SA">
        <xs:annotation>
          <xs:documentation>Student who is in a Satellite class of a Special School.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Student in a Satellite Class of a Special School</Label>
            <Label xml:lang="mi">Ākonga o te akomanga kē o te Kura Motuhake</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NA">
        <xs:annotation>
          <xs:documentation>
					A student who is not attending the school on the day of the
					roll count and there is no documentation to support their
					absence from the school.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Not Attending</Label>
            <Label xml:lang="mi">Kāore i tae</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SF">
        <xs:annotation>
          <xs:documentation>
					Student is enrolled in a separately funded unit.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Student in a Separately Funded Unit</Label>
            <Label xml:lang="mi">Ākonga kei ranga whai pūtea motuhake</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsOngoingResourceSchemeType">
    <xs:annotation>
      <xs:documentation><p>Codes denoting the level of ORS funding a student may receive.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="H">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">High ORS</Label>
            <Label xml:lang="mi">Teitei te ORS</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="V">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Very High ORS</Label>
            <Label xml:lang="mi">Tino Teitei te ORS</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="E">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Extension (Moderate to High)</Label>
            <Label xml:lang="mi">Whakaroanga (Rewatanga ki Teitei)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsExchangeSchemeType">
    <xs:annotation>
      <xs:documentation><p>The type of exchange scheme for student enrolment where
			the Eligibility Criteria is "Student on Government
			approved exchange scheme" (5).</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="AFS">
        <xs:annotation>
          <xs:appinfo>
            <Label>AFS Intercultural Programmes NZ Inc.</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="GSE">
        <xs:annotation>
          <xs:appinfo>
            <Label>NZ / German Student Exchange</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="IIU">
        <xs:annotation>
          <xs:appinfo>
            <Label>NZ Institute of International Understanding</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RIN">
        <xs:annotation>
          <xs:appinfo>
            <Label>Rotary International NZ</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="STS">
        <xs:annotation>
          <xs:appinfo>
            <Label>STS High School Foundation</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="YFU">
        <xs:annotation>
          <xs:appinfo>
            <Label>YFU New Zealand Inc.</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WYS">
        <xs:annotation>
          <xs:appinfo>
            <Label>World Youth Service Society (WYSS)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="STA">
        <xs:annotation>
          <xs:appinfo>
            <Label>Student Exchange Australia New Zealand Ltd.</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TAE">
        <xs:annotation>
          <xs:appinfo>
            <Label>Tahiti Exchange</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NGE">
        <xs:annotation>
          <xs:appinfo>
            <Label>NZ - Germany Exchange - Düsseldorf</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="YED">
        <xs:annotation>
          <xs:appinfo>
            <Label>Your Education</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NSE">
        <xs:annotation>
          <xs:appinfo>
            <Label>NZ Switzerland Exchange</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EXA">
        <xs:annotation>
          <xs:appinfo>
            <Label>Exchange Agreement</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsPostSchoolActivityType">
    <xs:annotation>
      <xs:documentation><p>The post school activity the student is moving on to once they have exited the school.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="10">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Further education or training</Label>
            <Label xml:lang="mi">Me whai mātauranga/whakangungu kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="11">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Employment and further education/training</Label>
            <Label xml:lang="mi">Me whai mahi, mātauranga/whakangungu kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Employment</Label>
            <Label xml:lang="mi">Me whai mahi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="13">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other</Label>
            <Label xml:lang="mi">He mea kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="88">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Unknown</Label>
            <Label xml:lang="mi">Kāre e mōhiotia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsCoEnrolmentTypeType">
    <xs:annotation>
      <xs:documentation><p /></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="OTH">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsPreEnrolmentExitTypeType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting how the student's pre-enrolment was cancelled.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Automated</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M">
        <xs:annotation>
          <xs:appinfo>
            <Label>Manual</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsPreEnrolmentCancellationReasonType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting why the student's pre-enrolment was cancelled.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="SIE">
        <xs:annotation>
          <xs:appinfo>
            <Label>Student Incorrectly Enrolled</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SDE">
        <xs:annotation>
          <xs:appinfo>
            <Label>Student Declined Enrolment</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DEC">
        <xs:annotation>
          <xs:appinfo>
            <Label>Deceased</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTH">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other - Please Specify</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsEarlyChildhoodEducationTypeType">
    <xs:annotation>
      <xs:documentation><p>The type of early childhood education the student received.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="EKR">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Attended Kohanga Reo</Label>
            <Label xml:lang="mi">I haere ki Te Kōhanga Reo</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EPC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Attended Playcentre</Label>
            <Label xml:lang="mi">I tae ki te Playcentre</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EKE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Attended Kindergarden or Education and Care</Label>
            <Label xml:lang="mi">I tae ki te Kura Kōhungahunga, ki Education and Care rānei</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EHB">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Attended Home Based Service</Label>
            <Label xml:lang="mi">I tae ki tētahi Ratonga ā-Kāinga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EPG">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Attended Playgroup or Pacific Islands EC Group</Label>
            <Label xml:lang="mi">I tae ki ngā kāhui kōhungahunga Pasifika, Playgroup rānei</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ECO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Attended The Correspondence School - Te Aho o Te Kura Pounamu</Label>
            <Label xml:lang="mi">I tae ki Te Aho o te Kura Pounamu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EOS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Attended, but only outside New Zealand</Label>
            <Label xml:lang="mi">I tae ake, engari i waho kē atu o Aotearoa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ETU">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Attended, but don't know what type of service</Label>
            <Label xml:lang="mi">I tae ake engari kāre i mōhiotia te momo ratonga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ENA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Did not attend</Label>
            <Label xml:lang="mi">Kāre i tae ake</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EUN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Unable to establish if attended or not</Label>
            <Label xml:lang="mi">Kāre e mōhio mēnā i tae atu kāore rānei</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsLanguageInstructionLevelType">
    <xs:annotation>
      <xs:documentation><p>The level of instruction that is made in the selected language.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="1">
        <xs:annotation>
          <xs:documentation xml:lang="en">
					Student is taught in the specified language for more than 20  and up to 25 hrs per week (81-100% of total time).
				</xs:documentation>
          <xs:documentation xml:lang="mi">
					Ākonga i ākona ki tētahi reo mō te 20 tae atu ki te 25 hāora i te wiki (81-100% o te wā katoa).
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">81-100%</Label>
            <Label xml:lang="mi">81-100%</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="2">
        <xs:annotation>
          <xs:documentation xml:lang="en">
					Student is taught in the specified language for more than 12.5  and up to 20 hrs per week (51-80% of total time).
				</xs:documentation>
          <xs:documentation xml:lang="mi">
					Ākonga i ākona ki tētahi reo mō te 12.5 tae atu ki te 20 hāora i te wiki (51-80% o te wā katoa).
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">51-80%</Label>
            <Label xml:lang="mi">51-80%</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="3">
        <xs:annotation>
          <xs:documentation xml:lang="en">
					Student is taught in the specified language for more than 7.5  and up to 12.5 hrs per week (31-50% of total time).
				</xs:documentation>
          <xs:documentation xml:lang="mi">
					Ākonga i ākona ki tētahi reo mō te 7.5  tae atu ki te 12.5 hāora i te wiki (31-50% o te wā katoa).
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">31-50%</Label>
            <Label xml:lang="mi">31-50%</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="4a">
        <xs:annotation>
          <xs:documentation xml:lang="en">
					Student is taught in the specified language for more than 3 and up to 7.5 hrs per week (12-30% of total time).
				</xs:documentation>
          <xs:documentation xml:lang="mi">
					Ākonga i ākona ki tētahi reo mō te 3 tae atu ki te 7.5 hāora i te wiki (12-30% o te wā katoa) 
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">12-30%</Label>
            <Label xml:lang="mi">12-30%</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="4b">
        <xs:annotation>
          <xs:documentation xml:lang="en">
					Student is taught in the specified language for 3 hrs per week.
				</xs:documentation>
          <xs:documentation xml:lang="mi">
					Ākonga i ākona ki tētahi reo mō te 3 hāora i te wiki
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">3 hours per week</Label>
            <Label xml:lang="mi">3 hāora i te wiki</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="5">
        <xs:annotation>
          <xs:documentation xml:lang="en">
					Student is taught in the specified language for less than 3 hours per week or as a separate subject (0-11% of total time).
				</xs:documentation>
          <xs:documentation xml:lang="mi">
					Ākonga i ākona ki tētahi reo mō te iti iho 3 hāora i te wiki, hei akoranga kē (0-11% o te wā katoa).
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">&lt; 3 hours per week</Label>
            <Label xml:lang="mi">iti iho 3 hāora i te wiki</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="6">
        <xs:annotation>
          <xs:documentation xml:lang="en">Student is learning Taha Māori.</xs:documentation>
          <xs:documentation xml:lang="mi">E ako ana te Akonga i te Taha Māori.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Taha Māori</Label>
            <Label xml:lang="mi">Taha Māori</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsECEYearLevelType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the year level of students attending early childhood education.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="ABF">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">5 years and above</Label>
            <Label xml:lang="mi">5 te pakeke neke atu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FIV">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">5 year old</Label>
            <Label xml:lang="mi">5 te pakeke</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FOU">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">4 year old</Label>
            <Label xml:lang="mi">4 te pakeke</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ONE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">1 year old</Label>
            <Label xml:lang="mi">1 te pakeke</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="THR">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">3 year old</Label>
            <Label xml:lang="mi">3 te pakeke</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TWO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">2 year old</Label>
            <Label xml:lang="mi">2 te pakeke</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="UNK">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Unknown</Label>
            <Label xml:lang="mi">Kāre i mōhiotia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ZER">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Younger than 1 year old</Label>
            <Label xml:lang="mi">Tau heke 1 te pakeke</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsAttendanceTypeType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the type of attendance being recorded for the student.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="ADH">
        <xs:annotation>
          <xs:appinfo>
            <Label>Ad Hoc</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SCH">
        <xs:annotation>
          <xs:appinfo>
            <Label>Scheduled</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsAttendanceCodeType">
    <xs:annotation>
      <xs:documentation><p>Code denoting presence, absence or the reason for non-attendance at school, or class.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="A">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Attending Alternative Education</Label>
            <Label xml:lang="mi">Te haere ki te Mātauranga Kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="L">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Late to class</Label>
            <Label xml:lang="mi">Tae tōmuri ki te akomanga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="P">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Present</Label>
            <Label xml:lang="mi">I tae</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="S">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sickbay</Label>
            <Label xml:lang="mi">Taiwhanga tūroro</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="D">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Medical appointment – doctor or dentist</Label>
            <Label xml:lang="mi">Te tiro tākuta, tākuta niho</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="I">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Internal school appointment or activity – Dean, DP, sports administrator, coach, attendance officer etc.</Label>
            <Label xml:lang="mi">Te hui ki te Kura – Tumuaki Tuarua, Kaiako Hākinakina, Āpiha Kura etc.</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="E">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Absent with an explained but unjustified reason</Label>
            <Label xml:lang="mi">I ngaro engari he kōrero i puta, kāre he take whakamana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Absent due to short-term illness/medical reasons</Label>
            <Label xml:lang="mi">He ngaronga nā runga i te māuiui</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="J">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Justified absence – reason for absence within the school policy</Label>
            <Label xml:lang="mi">He ngaronga whakamana – ka taka mai i raro i te ritenga ā-kura</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="T">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">No information provided – truant (or throw-away explanation)</Label>
            <Label xml:lang="mi">Kāre he kōrero – he whakatau (whakamārama rānei)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="V">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Examination or unsupervised study. Student is on the school-site</Label>
            <Label xml:lang="mi">Whakamātautau, te ako noa rānei – ki te kura</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="N">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">On a school based activity</Label>
            <Label xml:lang="mi">He mahi ā-kura</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Q">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Attending an off-site school-organised activity such as a trip/camp</Label>
            <Label xml:lang="mi">He haerenga nā te kura i whakarite pērā i te haerenga, i te noho puni</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="W">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Work experience</Label>
            <Label xml:lang="mi">Mahi wheako</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="R">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Removed (temporarily) from regular class (internal school student isolation)</Label>
            <Label xml:lang="mi">I tangohia (taupua nei) mai i te akomanga (he mahi ā-kura ki te whakawehe i te ākonga)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="X">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Exam leave – unsupervised study – student is off-site</Label>
            <Label xml:lang="mi">Haerenga whakamātautau – kei waho atu i te kura</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="G">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Holiday during term time</Label>
            <Label xml:lang="mi">Te hararei i te wā o te kura</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="O">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Justified Overseas</Label>
            <Label xml:lang="mi">Whakamanatia i tāwāhi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="K">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Attending a Teen Parent Unit</Label>
            <Label xml:lang="mi">Te haere ki tētahi Rāngai Mātātahi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="?">
        <xs:annotation>
          <xs:documentation>Unknown reason for absence</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Unknown reason</Label>
            <Label xml:lang="mi">Kāre he kōrero</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Y">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Attending an Activity Centre</Label>
            <Label xml:lang="mi">Te haere ki te Pokapū Tūmahi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="F">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Attending an off-site course/class</Label>
            <Label xml:lang="mi">He akomanga/whakangungu kei wāhi kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="H">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Attending a Health Camp/Regional Health School/Residential School</Label>
            <Label xml:lang="mi">Te Haere ki te Puni Hauora/Kura Hauora ā-Rohe/Kura Tūtahi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="C">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Involved in Justice Court proceedings</Label>
            <Label xml:lang="mi">Kua uru ki ngā tono ā-Kōti</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="U">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Stood down or suspended</Label>
            <Label xml:lang="mi">Tāiritia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Z">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Secondary Tertiary Program (including Trades Academies)</Label>
            <Label xml:lang="mi">Hōtaka Kura Tuarua, Kura Wānanga (me ngā Kura Ahumahi)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsAttendanceCodeGroupType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the possible attendance code groups, e.g. Present, Justified and Unjustified.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="J">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Justified</Label>
            <Label xml:lang="mi">Parahau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="P">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Present</Label>
            <Label xml:lang="mi">I tae</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="U">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Unjustified</Label>
            <Label xml:lang="mi">Parahau Kore</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsWellbeingStatusType">
    <xs:annotation>
      <xs:documentation><p>Standard codes denoting the status of the Wellbeing Response.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="U">
        <xs:annotation>
          <xs:appinfo>
            <Label>Unresolved</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="R">
        <xs:annotation>
          <xs:appinfo>
            <Label>Resolved</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="O">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsWellbeingAlertCategoryType">
    <xs:annotation>
      <xs:documentation><p>Standard codes denoting the category of the Wellbeing Alert.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="ATT">
        <xs:annotation>
          <xs:appinfo>
            <Label>Attendance</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MED">
        <xs:annotation>
          <xs:documentation>Includes Allergies</xs:documentation>
          <xs:appinfo>
            <Label>Medical</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LEG">
        <xs:annotation>
          <xs:documentation>Comes with sub-Categories: ProtectionOrder,  CustodialOrder, etc.</xs:documentation>
          <xs:appinfo>
            <Label>Legal</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DIS">
        <xs:annotation>
          <xs:appinfo>
            <Label>Discipline</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LEA">
        <xs:annotation>
          <xs:documentation>Sub-categories Gifted and Talented, Disability, etc.</xs:documentation>
          <xs:appinfo>
            <Label>Learning Support</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PLA">
        <xs:annotation>
          <xs:appinfo>
            <Label>Plan Review</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CUS">
        <xs:annotation>
          <xs:appinfo>
            <Label>Custodial</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TRA">
        <xs:annotation>
          <xs:appinfo>
            <Label>Transient</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTH">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsKeyContactRoleType">
    <xs:annotation>
      <xs:documentation><p>The role of the key contact in the Wellbeing Alert.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="DOC">
        <xs:annotation>
          <xs:appinfo>
            <Label>Doctor</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PAR">
        <xs:annotation>
          <xs:appinfo>
            <Label>Parent/Caregiver</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PRI">
        <xs:annotation>
          <xs:appinfo>
            <Label>Principal</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsWellbeingCharacteristicSubSubCategoryType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting codes that provide an additional layer of detail around a wellbeing characteristic sub category. For examples
			 for the learner’s support need sub category, e.g. if the support need of ‘Vision’ is selected for the user, the sub needs
			 ‘Low Vision’ and ‘Blind’ are available to further define the type of vision issue the learner has. Not all 
			 support needs have sub needs.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="LSN-ATT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Attending and focusing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-BLI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Blind</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-COM">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Comprehension</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-DEA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Deaf</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-EAT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Eating</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-EXP">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Expressing emotion</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-FIN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Fine</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-FOL">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Following instructions</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-GRO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Gross</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-HAR">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hard of Hearing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-HYA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hyperactive</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-HYO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hypoactive</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-INV">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Inventing and experimenting</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-LEM">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Low energy and motivation</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-LOW">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Low mood/Signs of depression</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-LVI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Low vision</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-MAE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Managing anxiety (externalised response)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-MAK">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Making choices and decisions</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-MAN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Managing emotions/self control</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-MAX">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Managing anxiety (internalised response)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-MEM">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Memory</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-MPR">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Managing peer relationships</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-NUM">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Number sense</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-ONN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other numeracy needs</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-OPP">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Oppositional</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-ORN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other reading needs</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-OWN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other writing needs</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-PER">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Perservering</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-PHO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Phonological awareness</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-PHY">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Physical aggression</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-PLA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Planning</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-PLY">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Playing and imagining</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-PRO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Processing information</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-PSP">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Personal space</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-REC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Recognising emotion</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-RES">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Resilience</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-RPS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Reasoning and problem-solving</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-RUN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Running away</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-SEL">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Self perception as a learner</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-SEQ">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sequencing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-SHA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Self-harm</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-SHO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Showing empathy</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-SIW">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Socially isolated/withdrawn</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-TRA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Transcription</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-VER">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Verbal aggression</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsWellbeingCharacteristicSubCategoryType">
    <xs:annotation>
      <xs:documentation><p>Standard codes denoting the third level category of the Wellbeing Characteristic.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="DIET-01">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Vegan</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DIET-02">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Vegetarian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DIET-03">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Halal</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DIET-04">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Kosher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DIET-05">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Pescetarian</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DIET-06">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Gluten-free</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-ACT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Activity</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-ADV">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Advanced learner | gifted</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-ATT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Attendance and engagement</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-CHR">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Chronic Pain</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-CUL">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Cultural and linguistic diversity needs</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-EMO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Emotional regulation</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-ENG">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">English language learner/emerging bilingual</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-EXT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Externalised behavioural responses</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-FLU">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Fluency</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-GLC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">General Learning Challenges</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-HEA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hearing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-HYP">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hyperfocus</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-INT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Internalised behavioural responses</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-MED">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Medical</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-MOB">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Mobility - accessibility</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-MOT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Motor skills</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-NUM">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Numeracy</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-NZS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">NZ Sign Language</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-REA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Reading</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-SEL">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Self-care (e.g. toileting)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-SEN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sensory needs</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-SLA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Social use of language</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-SOC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Social awareness</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-SPE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Speech</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-SUB">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Substance abuse</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-UND">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Understanding language</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-USI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Using language</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-VIS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Vision</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-WRI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Writing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MH-1">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Adjustment Disorder</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MH-2">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Anorexia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MH-3">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Anxiety Disorder</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MH-4">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Attachment Disorder</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MH-5">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Attention Deficit Hyperactivity Disorder (ADHD)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MH-6">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Bipolar Affective Disorder</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MH-7">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Bulimia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MH-8">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Depression</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MH-9">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Mixed Depression and Anxiety</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MH-10">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Obsessive Compulsive  Disorder</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MH-11">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Oppositional Defiance Disorder</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MH-12">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Paranoia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MH-13">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Post-Traumatic Stress Disorder</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MH-14">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Reactive Attachment Disorder</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MH-15">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Social Anxiety Disorder</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MH-16">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tic Disorder</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MH-17">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tourette’s Syndrome</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MH-18">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Conduct Disorder</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MS-1">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Absence seizures epilepsy</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MS-2">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tonic Clonic epilepsy</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MS-3">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Myotonic epilepsy</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MS-4">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Refractory epilepsy</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAA-1">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Antibiotics -specify type(s)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAA-2">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Dairy</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAA-3">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Egg</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAA-4">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Fruit (specify)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAA-5">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Insect bites - nfd</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAA-6">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Bees</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAA-7">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ants</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAA-8">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ticks</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAA-9">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Latex</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAA-10">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Peanuts</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAA-11">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Shellfish</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAA-12">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tree nuts</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAA-13">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Wheat</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAA-14">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAIM-1">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Coeliac Disease - Gluten</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAIM-2">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Enterocolitis Syndrome</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAIM-3">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Food Protein Induced Syndrome</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MB-1">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Anaemia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MB-2">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Haemophilia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MB-3">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Thalassemia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MB-4">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Vasculitis</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MB-5">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Von Willebrand's Disease</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MMS-1">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Ehlers Danlos</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MMS-2">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Fibromyalgia  - discuss</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MMS-3">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hip Dysplasia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MMS-4">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Joint Hypermobility</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MMS-5">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Juvenile Arthritis</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MMS-6">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Kohlers Disease</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MMS-7">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Marfan Syndrome</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MMS-8">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Meyers Dysplasia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MMS-9">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Neurofibromatosis type 1</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MMS-10">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Osgood Schlatter Condition</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MMS-11">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Osteo Imperfecta</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MMS-12">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Scoliosis</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MMS-13">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Severs Disease</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MMS-14">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Talipes</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MMS-15">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Von Eulenburg Disease</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-1">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Angelman Syndrome</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-2">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Charcot Marie Tooth</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-3">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Coffin Lowry Syndrome</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-4">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Coffin-Siris Syndrome</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-5">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Down Syndrome</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-6">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Foetal Alcohol Syndrome (FAS)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-7">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Fragile X Syndrome</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-8">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">G6 PD Deficiency</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-9">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Hyperglycemia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-10">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Klinefelter Syndrome</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-11">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Malignant Hyperthermia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-12">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">MCADD - Metabolic disorder</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-13">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Non Ketotic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-14">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Oculocutaneous Albinism</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-15">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Phelan-McDermid Syndrome</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-16">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Phenylketonuria</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-17">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Pierr Robyn Syndrome</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-18">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Potocki - Lupski Syndrome</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-19">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Prader Willi Syndrome</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-20">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Rubinstein-Taybi Syndrome</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-21">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">ScN2A (Sodium Channel) Gene Mutation</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-22">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Trisomy - chromosome</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-23">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Trisomy 21/Down Syndrome</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-24">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Turners Syndrome</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-25">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Velocardiofacial Syndrome</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM-26">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Wolf-Hirschhorn Syndrome</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsWellbeingCharacteristicCategoryType">
    <xs:annotation>
      <xs:documentation><p>Standard codes denoting the second level category of the Wellbeing Characteristic.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="MAO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Allergies - other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DIET">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Dietary Preferences</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-COG">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Cognition and Learning</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-PHY">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Physical</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-SEN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sensory Needs</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-SOC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Social, Emotional and Behavioural</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN-SPE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Speech, Language and Communication</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAIM">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Auto-immune/Immune Disorders</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MRD">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Respiratory Disorder</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MB">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Blood disorder</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MMD">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Heart Disease/ Disorder</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MMS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Musculo – skeletal conditions</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MEM">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Endocrine and Metabolic Disorders</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Childhood cancer</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Allergy – Anaphylaxis</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MH">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Mental and behavioural disorders</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Diseases/conditions of the nervous system</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Seizure disorders</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MCM">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Congenital malformations, deformations and chromosomal abnormalities</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Infectious Diseases</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MGI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Gastro Intestinal/Urinary conditions</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MND">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Neuro/Developmental Disorders</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Oral/Phalangeal Disorders</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MD">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Deaf and Hard of Hearing</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MOP">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Optical/ Vision Disorder</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M-OTHER">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Medical Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="D-OTHER">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Disability Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="S-OTHER">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Special Needs Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTHER">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MDC-AST">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Asthma</Label>
            <Label xml:lang="mi">Mate Huango</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MDC-DIA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Diabetes</Label>
            <Label xml:lang="mi">Mate Huka</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MDC-EPI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Epilepsy</Label>
            <Label xml:lang="mi">Mate Hūhuki</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MDC-REG">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Regular medication</Label>
            <Label xml:lang="mi">Rongoā</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MDC-OTH">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other</Label>
            <Label xml:lang="mi">Mate Kē Atu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsWellbeingCharacteristicClassType">
    <xs:annotation>
      <xs:documentation><p>Standard codes denoting the first level category of the Wellbeing Characteristic. 
				(Note: The second and third levels are Category and SubCategory)</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="OTH">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MDC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Medical</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LSN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Learning Support Need</Label>
            <Label xml:lang="mi">Hiahia Tautoko Akoranga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ALG">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Allergy</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DPR">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Dietary Preference</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsWellbeingCharacteristicPriorityType">
    <xs:annotation>
      <xs:documentation><p>Codes denoting the priority level of the characteristic in relation to 
			other characteristics within the same classification.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="N">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Non-urgent</Label>
            <Label xml:lang="mi">Nonoi kore</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="S">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Semi-urgent</Label>
            <Label xml:lang="mi">Āhua Nonoi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="U">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Urgent</Label>
            <Label xml:lang="mi">Nonoi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsWellbeingCharacteristicStatusType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the status of the Wellbeing Characteristic.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="ACTI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Active</Label>
            <Label xml:lang="mi">Tuwhera</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CLOS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Closed</Label>
            <Label xml:lang="mi">Kati</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AWAI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Awaiting Consent</Label>
            <Label xml:lang="mi">Tāria kia mana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsOfficialDiagnosisSubTypeType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting an official diagnosis sub-type a student is given for an identified wellbeing characteristic.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="DISO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Disorders of intellectual development</Label>
            <Label xml:lang="mi">He Whakaupa ā-hinengaro</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DSLD">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Developmental speech or language disorders</Label>
            <Label xml:lang="mi">He Tapepatanga Reo</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ADHD">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Attention Deficit Hyperactivity Disorder</Label>
            <Label xml:lang="mi" />
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ANXI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Anxiety or fear-related disorders</Label>
            <Label xml:lang="mi">Manawapā</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTHN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other neurodevelopmental disorders/developmental anomalies</Label>
            <Label xml:lang="mi" />
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DLDI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Developmental learning disorders e.g. dyslexia</Label>
            <Label xml:lang="mi" />
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AUTI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Autism Sprectrum Disorder</Label>
            <Label xml:lang="mi">Takiwātanga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SUBS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Substance abuse or addictive behaviours</Label>
            <Label xml:lang="mi">He Whanonga Waranga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BLIN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Blind or vision impaired</Label>
            <Label xml:lang="mi">Kāpō, he atarua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DEAF">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Deaf or hard of hearing</Label>
            <Label xml:lang="mi">Turi, he mate taringa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FEED">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Feeding or eating disorders</Label>
            <Label xml:lang="mi">He māuiuitanga ā-kai</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="STRE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Stress related disorders </Label>
            <Label xml:lang="mi">Te Piringa Wara Whakapōauau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DNDD">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Disruptive behaviour or dissocial disorders</Label>
            <Label xml:lang="mi">He Pōrearea</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTHM">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other mental health disorders</Label>
            <Label xml:lang="mi">He māuiui ā-hinengaro kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTHS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other sensory impairment</Label>
            <Label xml:lang="mi">He Mate Aurongo Kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FOET">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Foetal Alcohol Syndrome</Label>
            <Label xml:lang="mi" />
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MOOD">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Mood disorder</Label>
            <Label xml:lang="mi">Māuiui Kare-ā-roto/Aurongo</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SCHI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Schizophrenia or psychotic disorders </Label>
            <Label xml:lang="mi">Wairua Tuakoi / Māuiui Ahotea</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsOfficialDiagnosisTypeType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting an official diagnosis type a student is given for an identified wellbeing characteristic.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="MED">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Medical</Label>
            <Label xml:lang="mi">ā-rongoā</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MEN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Mental health and behavioural</Label>
            <Label xml:lang="mi">ā-hauora Hinengaro, ā-whanonga hoki</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NEU">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Neurodevelopmental</Label>
            <Label xml:lang="mi">Whanaketanga ā-Ioio</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PHY">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Physical</Label>
            <Label xml:lang="mi">ā-tinana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SEN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Sensory</Label>
            <Label xml:lang="mi">ā-tairongo</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsWellbeingEventCategoryType">
    <xs:annotation>
      <xs:documentation><p>Standard codes denoting the second level category of the Wellbeing Event.
				(Note: The first and third levels are CategoryClass and SubCategory)</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="B1">
        <xs:annotation>
          <xs:appinfo>
            <Label>Safe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B2">
        <xs:annotation>
          <xs:appinfo>
            <Label>Caring</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B3">
        <xs:annotation>
          <xs:appinfo>
            <Label>Respectful</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B4">
        <xs:annotation>
          <xs:appinfo>
            <Label>Responsible</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B5">
        <xs:annotation>
          <xs:appinfo>
            <Label>Enterprising</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B6">
        <xs:annotation>
          <xs:appinfo>
            <Label>Effort</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B7">
        <xs:annotation>
          <xs:appinfo>
            <Label>Citizenship</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B8">
        <xs:annotation>
          <xs:appinfo>
            <Label>Cooperation</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B9">
        <xs:annotation>
          <xs:appinfo>
            <Label>Leadership</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M1">
        <xs:annotation>
          <xs:appinfo>
            <Label>Aggressive physical contact against staff</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M2">
        <xs:annotation>
          <xs:appinfo>
            <Label>Abuse, threats, harassment or intimidation of staff</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M3">
        <xs:annotation>
          <xs:appinfo>
            <Label>Aggressive physical contact against a student</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M4">
        <xs:annotation>
          <xs:appinfo>
            <Label>Abuse, threats, harassment or intimidation of a student</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M5">
        <xs:annotation>
          <xs:appinfo>
            <Label>Damage to, or theft of property</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other violation of Code of Conduct (classroom managed)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M7">
        <xs:annotation>
          <xs:appinfo>
            <Label>Possession, use or supply of substances or objects with restricted sale</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M8">
        <xs:annotation>
          <xs:appinfo>
            <Label>Possession, use or supply of illegal substances or objects</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M9">
        <xs:annotation>
          <xs:appinfo>
            <Label>E-breaches</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OT">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other Behaviour</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsWellbeingEventSubCategoryType">
    <xs:annotation>
      <xs:documentation><p>Standard codes denoting the third level category of the Wellbeing Event.
				(Note: The first and second levels are CategoryClass and Category)</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="B1A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Resolves issues peacefully</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B1B">
        <xs:annotation>
          <xs:appinfo>
            <Label>Plays in a friendly way</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B1C">
        <xs:annotation>
          <xs:appinfo>
            <Label>Uses equipment safely</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B1D">
        <xs:annotation>
          <xs:appinfo>
            <Label>Understands the purpose and need for rules</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B1E">
        <xs:annotation>
          <xs:appinfo>
            <Label>Seeks help from a responsible adult</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B1F">
        <xs:annotation>
          <xs:appinfo>
            <Label>Alerts others to risks and dangers</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B1G">
        <xs:annotation>
          <xs:appinfo>
            <Label>Moves away from danger</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B1H">
        <xs:annotation>
          <xs:appinfo>
            <Label>Uses protective interruption with peers</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B1I">
        <xs:annotation>
          <xs:appinfo>
            <Label>Observes and listens before acting</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B2A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Helps someone or something in need</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B2B">
        <xs:annotation>
          <xs:appinfo>
            <Label>Shows empathy</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B2C">
        <xs:annotation>
          <xs:appinfo>
            <Label>Shows compassion</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B2D">
        <xs:annotation>
          <xs:appinfo>
            <Label>Is forgiving</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B2E">
        <xs:annotation>
          <xs:appinfo>
            <Label>Talks in a friendly way</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B3A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Shows intercultural understanding</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B3B">
        <xs:annotation>
          <xs:appinfo>
            <Label>Acknowledges authority</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B3C">
        <xs:annotation>
          <xs:appinfo>
            <Label>Shows courtesy</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B3D">
        <xs:annotation>
          <xs:appinfo>
            <Label>Is polite</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B3E">
        <xs:annotation>
          <xs:appinfo>
            <Label>Accepts difference</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B3F">
        <xs:annotation>
          <xs:appinfo>
            <Label>Acknowledges the rights of others</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B3G">
        <xs:annotation>
          <xs:appinfo>
            <Label>Uses appropriate language/tone</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B3H">
        <xs:annotation>
          <xs:appinfo>
            <Label>Gives value to others' opinions</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B3I">
        <xs:annotation>
          <xs:appinfo>
            <Label>Maintains appropriate personal space</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B3J">
        <xs:annotation>
          <xs:appinfo>
            <Label>Shows consideration of impact of actions on others</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B4A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Is honest</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B4B">
        <xs:annotation>
          <xs:appinfo>
            <Label>Acts with integrity</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B4C">
        <xs:annotation>
          <xs:appinfo>
            <Label>Self regulates</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B4D">
        <xs:annotation>
          <xs:appinfo>
            <Label>Co-regulates</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B4E">
        <xs:annotation>
          <xs:appinfo>
            <Label>Helps others to regulate</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B4F">
        <xs:annotation>
          <xs:appinfo>
            <Label>Is trustworthy</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B4G">
        <xs:annotation>
          <xs:appinfo>
            <Label>Copes with frustration</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B4H">
        <xs:annotation>
          <xs:appinfo>
            <Label>Accepts accountability</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B4I">
        <xs:annotation>
          <xs:appinfo>
            <Label>Owns consequences of actions</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B4J">
        <xs:annotation>
          <xs:appinfo>
            <Label>Is organised</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B5A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Thinks critically</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B5B">
        <xs:annotation>
          <xs:appinfo>
            <Label>Is creative</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B5C">
        <xs:annotation>
          <xs:appinfo>
            <Label>Is timely</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B5D">
        <xs:annotation>
          <xs:appinfo>
            <Label>Takes considered risks</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B5E">
        <xs:annotation>
          <xs:appinfo>
            <Label>Takes a problem solving approach</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B5F">
        <xs:annotation>
          <xs:appinfo>
            <Label>Is adaptable</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B5G">
        <xs:annotation>
          <xs:appinfo>
            <Label>Shows independence</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B5H">
        <xs:annotation>
          <xs:appinfo>
            <Label>Takes initiative</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B5I">
        <xs:annotation>
          <xs:appinfo>
            <Label>Shows persistence</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B5J">
        <xs:annotation>
          <xs:appinfo>
            <Label>Shows courage</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B5K">
        <xs:annotation>
          <xs:appinfo>
            <Label>Negotiates</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B5L">
        <xs:annotation>
          <xs:appinfo>
            <Label>Is persuasive</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B5M">
        <xs:annotation>
          <xs:appinfo>
            <Label>Builds social support (networks)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B5N">
        <xs:annotation>
          <xs:appinfo>
            <Label>Innovates</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B5O">
        <xs:annotation>
          <xs:appinfo>
            <Label>Shows determination</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B6A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Pays attention</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B6B">
        <xs:annotation>
          <xs:appinfo>
            <Label>Tries hard</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B6C">
        <xs:annotation>
          <xs:appinfo>
            <Label>Completes work</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B6D">
        <xs:annotation>
          <xs:appinfo>
            <Label>Perseveres</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B6E">
        <xs:annotation>
          <xs:appinfo>
            <Label>Asks questions</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B6F">
        <xs:annotation>
          <xs:appinfo>
            <Label>Shows desire to learn</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B6G">
        <xs:annotation>
          <xs:appinfo>
            <Label>Stays on task</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B6H">
        <xs:annotation>
          <xs:appinfo>
            <Label>Participates constructively</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B6I">
        <xs:annotation>
          <xs:appinfo>
            <Label>Shows commitment to identified goals</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B7A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Promotes justice</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B7B">
        <xs:annotation>
          <xs:appinfo>
            <Label>Follows rules and laws</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B7C">
        <xs:annotation>
          <xs:appinfo>
            <Label>Stands up for others appropriately</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B7D">
        <xs:annotation>
          <xs:appinfo>
            <Label>Puts others' needs before own</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B7E">
        <xs:annotation>
          <xs:appinfo>
            <Label>Contributes to the school/class</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B7F">
        <xs:annotation>
          <xs:appinfo>
            <Label>Contributes to the community</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B7G">
        <xs:annotation>
          <xs:appinfo>
            <Label>Is involved</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B7H">
        <xs:annotation>
          <xs:appinfo>
            <Label>Belongs</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B7I">
        <xs:annotation>
          <xs:appinfo>
            <Label>Promotes harmony</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B7J">
        <xs:annotation>
          <xs:appinfo>
            <Label>Gives back to the greater good</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B7K">
        <xs:annotation>
          <xs:appinfo>
            <Label>Becomes informed</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B7L">
        <xs:annotation>
          <xs:appinfo>
            <Label>Uses procedures and protocols</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B7M">
        <xs:annotation>
          <xs:appinfo>
            <Label>Participates in democratic decision making</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B7N">
        <xs:annotation>
          <xs:appinfo>
            <Label>Helps others to reach their goals</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B8A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Is fair</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B8B">
        <xs:annotation>
          <xs:appinfo>
            <Label>Shows mutuality (sharing a feeling, action or relationship)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B8C">
        <xs:annotation>
          <xs:appinfo>
            <Label>Shows reciprocity ("I scratch your back, you scratch mine")</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B8D">
        <xs:annotation>
          <xs:appinfo>
            <Label>Shows goodwill</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B8E">
        <xs:annotation>
          <xs:appinfo>
            <Label>Is attentive to others' reactions</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B8F">
        <xs:annotation>
          <xs:appinfo>
            <Label>Is open to dialogue/discussion</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B8G">
        <xs:annotation>
          <xs:appinfo>
            <Label>Works to be a valued member of a team</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B8H">
        <xs:annotation>
          <xs:appinfo>
            <Label>Offers others choices</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B9A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Inspires others</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B9B">
        <xs:annotation>
          <xs:appinfo>
            <Label>Represents others</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B9C">
        <xs:annotation>
          <xs:appinfo>
            <Label>Delegates to others</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B9D">
        <xs:annotation>
          <xs:appinfo>
            <Label>Shows self confidence</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B9E">
        <xs:annotation>
          <xs:appinfo>
            <Label>Shows assertiveness</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B9F">
        <xs:annotation>
          <xs:appinfo>
            <Label>Stays positive</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B9G">
        <xs:annotation>
          <xs:appinfo>
            <Label>Shoulders blame</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B9H">
        <xs:annotation>
          <xs:appinfo>
            <Label>Sets an example</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B9I">
        <xs:annotation>
          <xs:appinfo>
            <Label>Communicates effectively</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B9J">
        <xs:annotation>
          <xs:appinfo>
            <Label>Shows wisdom</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M1A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Striking - Staff</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M1B">
        <xs:annotation>
          <xs:appinfo>
            <Label>Pushing or barging - Staff</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M1C">
        <xs:annotation>
          <xs:appinfo>
            <Label>Use of a weapon or object - Staff</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M1D">
        <xs:annotation>
          <xs:appinfo>
            <Label>Projectile - Staff</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M1E">
        <xs:annotation>
          <xs:appinfo>
            <Label>Struggling to be free of a physical restraint - Staff</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M1F">
        <xs:annotation>
          <xs:appinfo>
            <Label>Unintentional but negligent contact - Staff</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M2A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Verbal abuse - Staff</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M2B">
        <xs:annotation>
          <xs:appinfo>
            <Label>Non-Verbal abuse - Staff</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M2C">
        <xs:annotation>
          <xs:appinfo>
            <Label>Verbal threat - Staff</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M2D">
        <xs:annotation>
          <xs:appinfo>
            <Label>Threatening gesture - Staff</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M2E">
        <xs:annotation>
          <xs:appinfo>
            <Label>Disrespectful or challenging language - Staff</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M2F">
        <xs:annotation>
          <xs:appinfo>
            <Label>Malicious gossip - Staff</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M2G">
        <xs:annotation>
          <xs:appinfo>
            <Label>Sexual harassment - Staff</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M3A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Striking - Student</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M3B">
        <xs:annotation>
          <xs:appinfo>
            <Label>Pushing or barging - Student</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M3C">
        <xs:annotation>
          <xs:appinfo>
            <Label>Use of a weapon or object - Student</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M3D">
        <xs:annotation>
          <xs:appinfo>
            <Label>Projectile - Student</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M3E">
        <xs:annotation>
          <xs:appinfo>
            <Label>Struggling to be free of violation of personal space or deprivation of liberty - Student</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M3F">
        <xs:annotation>
          <xs:appinfo>
            <Label>Unintentional but negligent contact - Student</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M4A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Verbal abuse - Student</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M4B">
        <xs:annotation>
          <xs:appinfo>
            <Label>Non-Verbal abuse - Student</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M4C">
        <xs:annotation>
          <xs:appinfo>
            <Label>Verbal threat - Student</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M4D">
        <xs:annotation>
          <xs:appinfo>
            <Label>Threatening gesture - Student</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M4E">
        <xs:annotation>
          <xs:appinfo>
            <Label>Malicious gossip - Student</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M4F">
        <xs:annotation>
          <xs:appinfo>
            <Label>Exclusion of peer - Student</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M4G">
        <xs:annotation>
          <xs:appinfo>
            <Label>Teasing - Student</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M4H">
        <xs:annotation>
          <xs:appinfo>
            <Label>Unhelpful bystander actions - Student</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M4I">
        <xs:annotation>
          <xs:appinfo>
            <Label>Sexual harassment - Student</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M5A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Theft of personal property</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M5B">
        <xs:annotation>
          <xs:appinfo>
            <Label>Theft of school property</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M5C">
        <xs:annotation>
          <xs:appinfo>
            <Label>Deliberate damage to personal property</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M5D">
        <xs:annotation>
          <xs:appinfo>
            <Label>Incidental damage through negligence</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M5E">
        <xs:annotation>
          <xs:appinfo>
            <Label>Graffiti</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M5F">
        <xs:annotation>
          <xs:appinfo>
            <Label>Buildings and glass</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M5G">
        <xs:annotation>
          <xs:appinfo>
            <Label>Fittings and fixtures</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M5H">
        <xs:annotation>
          <xs:appinfo>
            <Label>Furniture</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M5I">
        <xs:annotation>
          <xs:appinfo>
            <Label>Equipment</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M5J">
        <xs:annotation>
          <xs:appinfo>
            <Label>Vehicles</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M5K">
        <xs:annotation>
          <xs:appinfo>
            <Label>Garden and plants</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Active refusal to follow reasonable instructions</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6B">
        <xs:annotation>
          <xs:appinfo>
            <Label>Passive non-compliance</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6C">
        <xs:annotation>
          <xs:appinfo>
            <Label>Disruptive</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6D">
        <xs:annotation>
          <xs:appinfo>
            <Label>Defiant</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6E">
        <xs:annotation>
          <xs:appinfo>
            <Label>Unclear boundaries</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6F">
        <xs:annotation>
          <xs:appinfo>
            <Label>Erratic</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6G">
        <xs:annotation>
          <xs:appinfo>
            <Label>Impulsive</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6H">
        <xs:annotation>
          <xs:appinfo>
            <Label>Uninterested</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6I">
        <xs:annotation>
          <xs:appinfo>
            <Label>Inattentive</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6J">
        <xs:annotation>
          <xs:appinfo>
            <Label>Unresponsive</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6K">
        <xs:annotation>
          <xs:appinfo>
            <Label>Unprepared</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6L">
        <xs:annotation>
          <xs:appinfo>
            <Label>Out of bounds</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6N">
        <xs:annotation>
          <xs:appinfo>
            <Label>Dress code breach without reasonable explanation</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6O">
        <xs:annotation>
          <xs:appinfo>
            <Label>Lateness</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6P">
        <xs:annotation>
          <xs:appinfo>
            <Label>Class-work avoidance</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6Q">
        <xs:annotation>
          <xs:appinfo>
            <Label>Unsafe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6R">
        <xs:annotation>
          <xs:appinfo>
            <Label>Out of class without permission</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6S">
        <xs:annotation>
          <xs:appinfo>
            <Label>Annoying</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6T">
        <xs:annotation>
          <xs:appinfo>
            <Label>Inappropriate language</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6U">
        <xs:annotation>
          <xs:appinfo>
            <Label>Academic dishonesty</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6V">
        <xs:annotation>
          <xs:appinfo>
            <Label>Loud</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6W">
        <xs:annotation>
          <xs:appinfo>
            <Label>Out of seat</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6X">
        <xs:annotation>
          <xs:appinfo>
            <Label>Failure to use manners</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6Y">
        <xs:annotation>
          <xs:appinfo>
            <Label>Littering</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M6Z">
        <xs:annotation>
          <xs:appinfo>
            <Label>Disorderly</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M7A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Cigarette / e-cigarette</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M7B">
        <xs:annotation>
          <xs:appinfo>
            <Label>Alcohol</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M7C">
        <xs:annotation>
          <xs:appinfo>
            <Label>Over-the-counter medication</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M7D">
        <xs:annotation>
          <xs:appinfo>
            <Label>ADHD medication</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M7E">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other prescription medication</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M7F">
        <xs:annotation>
          <xs:appinfo>
            <Label>Aerosol</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M7G">
        <xs:annotation>
          <xs:appinfo>
            <Label>Solvents</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M7H">
        <xs:annotation>
          <xs:appinfo>
            <Label>Inappropriate sexual material</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M8A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Knife or blade</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M8B">
        <xs:annotation>
          <xs:appinfo>
            <Label>Firearm</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M8C">
        <xs:annotation>
          <xs:appinfo>
            <Label>Amphetamines</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M8D">
        <xs:annotation>
          <xs:appinfo>
            <Label>Marijuana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M8E">
        <xs:annotation>
          <xs:appinfo>
            <Label>Drug implement or paraphernalia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M8F">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other illegal drug</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M8G">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other illegal weapon</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M9A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Cyberbullying</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M9B">
        <xs:annotation>
          <xs:appinfo>
            <Label>Hacking</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M9C">
        <xs:annotation>
          <xs:appinfo>
            <Label>Breach of Department acceptable use agreement</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M9D">
        <xs:annotation>
          <xs:appinfo>
            <Label>Breach of Students Online Policy</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M9E">
        <xs:annotation>
          <xs:appinfo>
            <Label>Persistent personal use of a MED when not permitted</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M9F">
        <xs:annotation>
          <xs:appinfo>
            <Label>Inappropriate audio or video recording</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M9G">
        <xs:annotation>
          <xs:appinfo>
            <Label>Inappropriate uploading of text, images or audio</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M9H">
        <xs:annotation>
          <xs:appinfo>
            <Label>Public posting of messages that bring the school or Department into disrepute</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M9I">
        <xs:annotation>
          <xs:appinfo>
            <Label>Copyright infringement or plagiarism</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsWellbeingEventTimePeriodType">
    <xs:annotation>
      <xs:documentation><p>Standard codes denoting the time period of the Wellbeing Event.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="AM">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">AM</Label>
            <Label xml:lang="mi">AM</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PM">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">PM</Label>
            <Label xml:lang="mi">PM</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="R">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Recess</Label>
            <Label xml:lang="mi">Wā moko</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="B">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Before School</Label>
            <Label xml:lang="mi">I mua i te Kura</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="A">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">After School</Label>
            <Label xml:lang="mi">Muri i te Kura</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Ex">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Excursion</Label>
            <Label xml:lang="mi">Haerenga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="W">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Weekend</Label>
            <Label xml:lang="mi">Rā whakatā</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="O">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other</Label>
            <Label xml:lang="mi">Ētahi kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsWellbeingEventCategoryClassType">
    <xs:annotation>
      <xs:documentation><p>Standard codes denoting the first level category of the Wellbeing Event.
			(Note: The second and third levels are Category and SubCategory)</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="POS">
        <xs:annotation>
          <xs:appinfo>
            <Label>Positive</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NEG">
        <xs:annotation>
          <xs:appinfo>
            <Label>Negative</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DAT">
        <xs:annotation>
          <xs:appinfo>
            <Label>Data Record Only</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTH">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsBehaviourDirectedAtTypeType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting type of object or person the student was directing
			their behaviour at, e.g. Staff Member, Student, Desk, Chair.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="STA">
        <xs:annotation>
          <xs:appinfo>
            <Label>Staff</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="STU">
        <xs:annotation>
          <xs:appinfo>
            <Label>Student</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PRO">
        <xs:annotation>
          <xs:appinfo>
            <Label>Property</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTH">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsWellbeingEventActionTakenType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the actions that can be taken as a result of the Wellbeing event.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="AASS">
        <xs:annotation>
          <xs:documentation>
					Consequence for referral results in student attending classes on a Saturday.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Additional Attendance/Saturday School</Label>
            <Label xml:lang="mi">Rā kura anō/Kura Rāhoroi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ACPE">
        <xs:annotation>
          <xs:documentation>
					Consequence for referral is pending. Referral will be modified
				  when “action taken” is determined.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Action Pending</Label>
            <Label xml:lang="mi">Te mahi e tārewa ana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ALPL">
        <xs:annotation>
          <xs:documentation>
					Consequence for referral results in student being placed in a
					different educational setting.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Alternative Placement</Label>
            <Label xml:lang="mi">Whakataunga noa atu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BUSU">
        <xs:annotation>
          <xs:documentation>
					Consequence for referral results in 1-3 day period when student not allowed on the bus.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Bus Suspension</Label>
            <Label xml:lang="mi">Kua rāhuitia i te pahi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="COSE">
        <xs:annotation>
          <xs:documentation>
					Consequence for referral results in involvement in community
					service activities or projects.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Community Service</Label>
            <Label xml:lang="mi">Ratonga hapori</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="COST">
        <xs:annotation>
          <xs:documentation>
					Consequence for referral results in student meeting with administrator,
					teacher, and/or parent (in any combination).
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Conference with Student</Label>
            <Label xml:lang="mi">Huihuinga matua, kaiako me te ākonga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EXPU">
        <xs:annotation>
          <xs:documentation>
					Consequence for referral results in student being dismissed from school permanently.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Expulsion</Label>
            <Label xml:lang="mi">Kua panaia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ININ">
        <xs:annotation>
          <xs:documentation>
					Consequence for referral results in student receiving individualized instruction
					specifically related to the student’s problem behaviors.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Individualised Instruction</Label>
            <Label xml:lang="mi">Tohutohu Takitahitia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ISSU">
        <xs:annotation>
          <xs:documentation>
					Consequence for referral results in a period of time spent away from scheduled
					activities/classes during the school day.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">In-School Suspension</Label>
            <Label xml:lang="mi">Rāhuitia ki roto o te kura</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LOPR">
        <xs:annotation>
          <xs:documentation>
					Consequence for referral results in student being unable to participate in some type of privilege.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Loss of Privilege</Label>
            <Label xml:lang="mi">Kua ngaro te mana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OATA">
        <xs:annotation>
          <xs:documentation>
					Consequence for referral results in administrative decision that is not listed. Staff using
					this area will specify the administrative action taken.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Other Action Taken</Label>
            <Label xml:lang="mi">He mahi kē i mahia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OOSS">
        <xs:annotation>
          <xs:documentation>
					Consequence for referral results in a 1-3 day period when student
					is not allowed on campus.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Out-of-School Suspension</Label>
            <Label xml:lang="mi">Rāhuitia ki waho o te Kura</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PACO">
        <xs:annotation>
          <xs:documentation>
					Consequence for referral results in parent communication by phone, email, or person-to-person
					about the problem.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Parent Contact</Label>
            <Label xml:lang="mi">Te whakapā ki ngā Mātua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RECS">
        <xs:annotation>
          <xs:documentation>
					Consequence for referral results in apologizing or compensating for loss, damage,
					or injury; community services.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Restitution</Label>
            <Label xml:lang="mi">Te Utu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TIOF">
        <xs:annotation>
          <xs:documentation>
					Consequence for referral results in student spending time in the office away
					from scheduled activities/classes.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Time in Office</Label>
            <Label xml:lang="mi">Te noho ki te Tari</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TODE">
        <xs:annotation>
          <xs:documentation>
					Consequence for referral results in student spending time in a specified area
					away from scheduled activities/classes.
				</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Time Out/Detention</Label>
            <Label xml:lang="mi">Te whakawehe/Tautāwhi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsWellbeingEventRestraintTypeType">
    <xs:annotation>
      <xs:documentation><p>Codes denoting the type of restraint used on a student during a Wellbeing Event.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="NON">
        <xs:annotation>
          <xs:documentation>No restraint or seclusion was used.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">None</Label>
            <Label xml:lang="mi">Karekau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RES">
        <xs:annotation>
          <xs:documentation>Any measure or condition used to immobilize or reduce the ability of a 
					student to move his or her torso, arms, legs, or head freely.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Restraint</Label>
            <Label xml:lang="mi">Te pupuri</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RAS">
        <xs:annotation>
          <xs:documentation>The use of both restraint and seclusion.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Restraint and Seclusion</Label>
            <Label xml:lang="mi">Te pupuri me te whakawehe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SEC">
        <xs:annotation>
          <xs:documentation>The involuntary confinement of a student alone in a room or area from which the student is physically prevented
					 from leaving or believes they cannot freely exit.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Seclusion</Label>
            <Label xml:lang="mi">Te whakawehe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsSuspensionCategoryType">
    <xs:annotation>
      <xs:documentation><p>Standard codes denoting the suspension category a Wellbeing Response belongs to.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="E">
        <xs:annotation>
          <xs:appinfo>
            <Label>Expulsion</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WE">
        <xs:annotation>
          <xs:appinfo>
            <Label>Whole Exclusion</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="P">
        <xs:annotation>
          <xs:appinfo>
            <Label>Partial Exclusion</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="I">
        <xs:annotation>
          <xs:appinfo>
            <Label>In School</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="W">
        <xs:annotation>
          <xs:appinfo>
            <Label>Withdrawal</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="S">
        <xs:annotation>
          <xs:appinfo>
            <Label>Suspension</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="R">
        <xs:annotation>
          <xs:appinfo>
            <Label>Removal</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="O">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsDetentionCategoryType">
    <xs:annotation>
      <xs:documentation><p>Standard codes denoting the detention category a Wellbeing Response belongs to.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="B">
        <xs:annotation>
          <xs:appinfo>
            <Label>Before School</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="R">
        <xs:annotation>
          <xs:appinfo>
            <Label>Recess</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MR">
        <xs:annotation>
          <xs:appinfo>
            <Label>Morning Recess</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AR">
        <xs:annotation>
          <xs:appinfo>
            <Label>Afternoon Recess</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="A">
        <xs:annotation>
          <xs:appinfo>
            <Label>After School</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="L">
        <xs:annotation>
          <xs:appinfo>
            <Label>Lunch</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="O">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsWellbeingResponseCategoryType">
    <xs:annotation>
      <xs:documentation><p>Standard codes denoting the category a Wellbeing Response belongs to.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="S">
        <xs:annotation>
          <xs:appinfo>
            <Label>Suspension</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="D">
        <xs:annotation>
          <xs:appinfo>
            <Label>Detention</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="A">
        <xs:annotation>
          <xs:appinfo>
            <Label>Award</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="P">
        <xs:annotation>
          <xs:appinfo>
            <Label>Plan Required</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="M">
        <xs:annotation>
          <xs:appinfo>
            <Label>Multiple Response</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="O">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsWellbeingAwardTypeType">
    <xs:annotation>
      <xs:documentation><p>Standard codes denoting the type of award that has been achieved as part of a Wellbeing Response.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="CER">
        <xs:annotation>
          <xs:appinfo>
            <Label>Certificate</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TRO">
        <xs:annotation>
          <xs:appinfo>
            <Label>Trophy</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LOR">
        <xs:annotation>
          <xs:appinfo>
            <Label>Letter of Recognition</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTH">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsPersonInvolvedTypeType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the type of person that was involved.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="NONE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">None</Label>
            <Label xml:lang="mi">Ko ia anake</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTHE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other</Label>
            <Label xml:lang="mi">Me t/ētahi noa atu</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PEER">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Peers</Label>
            <Label xml:lang="mi">He hoa aropā</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="STAF">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Staff</Label>
            <Label xml:lang="mi">Me te/ngā kaimahi kura</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SUBS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Substitute</Label>
            <Label xml:lang="mi">Me te kairīwhi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TEAC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Teacher</Label>
            <Label xml:lang="mi">Me te/ngā Kaiako</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="UNKN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Unknown</Label>
            <Label xml:lang="mi">Kāre i mōhiotia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsWellbeingEventLocationType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting locations where a Wellbeing Event incident may have took place.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="ARTR">
        <xs:annotation>
          <xs:documentation>The area used for art classes and activities.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Art Room</Label>
            <Label xml:lang="mi">Te Akomanga Toi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BATH">
        <xs:annotation>
          <xs:documentation>Areas used by students for taking care of personal needs.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Bathroom/Restroom</Label>
            <Label xml:lang="mi">Nga Wharepaku</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BUSL">
        <xs:annotation>
          <xs:documentation>The area used for bus loading and unloading.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Bus Loading Zone</Label>
            <Label xml:lang="mi">Te tūnga pahi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BUSS">
        <xs:annotation>
          <xs:documentation>The area inside the bus.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Bus</Label>
            <Label xml:lang="mi">Te Pahi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CAFE">
        <xs:annotation>
          <xs:documentation>The area used for breakfast and lunch. </xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Cafeteria</Label>
            <Label xml:lang="mi">Te wharekai</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CLAS">
        <xs:annotation>
          <xs:documentation>Areas used for instructional purposes.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Classroom</Label>
            <Label xml:lang="mi">Akomanga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="COMM">
        <xs:annotation>
          <xs:documentation>Areas shared by students and staff for specific activities.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Commons/Common Area</Label>
            <Label xml:lang="mi">Ngā wāhi o te kura</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="COMP">
        <xs:annotation>
          <xs:documentation>Area used for group computer classes and activities.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Computer Lab</Label>
            <Label xml:lang="mi">Taiwhanga Rorohiko</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="GYMM">
        <xs:annotation>
          <xs:documentation>Areas used for physical education activities.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Gym</Label>
            <Label xml:lang="mi">Te Whare Hākinakina</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="HALL">
        <xs:annotation>
          <xs:documentation>Areas designated for passing from one activity/class to another.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Hallway/Breezeway</Label>
            <Label xml:lang="mi">Ngā huarahi haere ki ngā akomanga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LIBR">
        <xs:annotation>
          <xs:documentation>The area designated for research and study.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Library</Label>
            <Label xml:lang="mi">Te whare pukapuka</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LOCK">
        <xs:annotation>
          <xs:documentation>The area used by students to prepare for and completing physical education classes and/or sporting events.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Locker Room</Label>
            <Label xml:lang="mi">Te Rūma Rakanga </Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MUSC">
        <xs:annotation>
          <xs:documentation>The area used by students for music activities (e.g., music class, choir, band).</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Music Room</Label>
            <Label xml:lang="mi">Te Rūma Whakatangitangi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OFFC">
        <xs:annotation>
          <xs:documentation>An area beyond the property boundary of the school and not affiliated with a school activity.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Off-Campus</Label>
            <Label xml:lang="mi">A waho atu i te Kura</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OFFI">
        <xs:annotation>
          <xs:documentation>The area used by school staff for primary school business and management. </xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Office</Label>
            <Label xml:lang="mi">Te Tari</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTHE">
        <xs:annotation>
          <xs:documentation>The location for problem behavior event occurs in a location that is not listed.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Other Location</Label>
            <Label xml:lang="mi">He wāhi kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PARK">
        <xs:annotation>
          <xs:documentation>Areas used for parking vehicles during school hours.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Parking Lot</Label>
            <Label xml:lang="mi">Te tūnga waka</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PLAY">
        <xs:annotation>
          <xs:documentation>The outside area used for recess breaks</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Playground</Label>
            <Label xml:lang="mi">Te papatākaro</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SPEC">
        <xs:annotation>
          <xs:documentation>Areas used for infrequent activities that occur in and/or out of school.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Special Event/Assembly/Field Trip</Label>
            <Label xml:lang="mi">He kaupapa motuhake, he huihuinga, he haerenga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="STAD">
        <xs:annotation>
          <xs:documentation>Area used for athletic/special events. </xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Stadium</Label>
            <Label xml:lang="mi">Taiwhanga Hākinakina</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="UNKN">
        <xs:annotation>
          <xs:documentation>The location of problem behavior event is not known or undetermined. </xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Unknown Location</Label>
            <Label xml:lang="mi">Kāre e mōhiotia te wāhi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="VOCA">
        <xs:annotation>
          <xs:documentation>The area of a school used for vocational classes and activities.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Vocational Room</Label>
            <Label xml:lang="mi">Te rūma ahumahinga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsWellbeingEventMinorBehaviourType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the type of minor behaviour problem identified as part of the Wellbeing Event.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="DEFIA">
        <xs:annotation>
          <xs:documentation>Student engages in brief or low-intensity failure to follow directions or talks back.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Defiance/Disrespect/Non-Compliance</Label>
            <Label xml:lang="mi">Ātete – Iti noa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DISRE">
        <xs:annotation>
          <xs:documentation>Student delivers low-intensity, socially rude or dismissive messages to adults or students.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Disrespect</Label>
            <Label xml:lang="mi">Tōtōā – Iti noa</Label>
            <endDate>2020-04-09</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DISRU">
        <xs:annotation>
          <xs:documentation>Student engages in low-intensity, but inappropriate disruption.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Disruption</Label>
            <Label xml:lang="mi">Tauwhati – Iti noa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DRESS">
        <xs:annotation>
          <xs:documentation>Student wears clothing that is near, but not within, the dress code guidelines defined by the school/district.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Dress Code Violation</Label>
            <Label xml:lang="mi">Ngā kākahu ā-Kura – Iti noa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="INAPP">
        <xs:annotation>
          <xs:documentation>Student engages in low-intensity instance of inappropriate language.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Inappropriate Language</Label>
            <Label xml:lang="mi">He reo pakirara – Iti noa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTHER">
        <xs:annotation>
          <xs:documentation>Student engages in any other minor problem behaviors that do not fall within the above categories.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Other</Label>
            <Label xml:lang="mi">He mea kē -  Iti noa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PHYSI">
        <xs:annotation>
          <xs:documentation>Student engages in non-serious, but inappropriate physical contact.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Physical Contact/Physical Aggression</Label>
            <Label xml:lang="mi">Te pa ā-ringa/Te tukituki – Iti noa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PROPE">
        <xs:annotation>
          <xs:documentation>Student engages in low-intensity misuse of property.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Property Misuse</Label>
            <Label xml:lang="mi">Te whakamahi hē i ngā taputapu ā-kura – Iti noa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TARDY">
        <xs:annotation>
          <xs:documentation>Student arrives at class after the bell (or signal that class has started).</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Tardy</Label>
            <Label xml:lang="mi">Tōmuritanga – Iti noa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TECHN">
        <xs:annotation>
          <xs:documentation>Student engages in non-serious, but inappropriate (as defined by school) use of cell phone, pager, music/video players, camera, and/or computer.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Technology Violation</Label>
            <Label xml:lang="mi">Te whakamahi hē i te hangarau – Iti noa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsWellbeingEventMajorBehaviourType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the type of major behaviour problem identified as part of the Wellbeing Event.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="ABUSI">
        <xs:annotation>
          <xs:documentation>Student delivers verbal messages that include swearing, name calling, or use of words in an inappropriate way.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Abusive Language/Inappropriate Language/Profanity</Label>
            <Label xml:lang="mi">Reo whakataki/Reo Pakirara/ Reo kohukohu – Nui rawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ARSON">
        <xs:annotation>
          <xs:documentation>Student plans and/or participates in malicious burning of property.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Arson</Label>
            <Label xml:lang="mi">Te tahu ahi – Nui rawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BOMBT">
        <xs:annotation>
          <xs:documentation>Student delivers a message of possible explosive materials being on-campus, near campus, and/or pending explosion.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Bomb Threat/False Alarm</Label>
            <Label xml:lang="mi">Tuma Pāhu/Whakaaraara parau – Nui rawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BULLY">
        <xs:annotation>
          <xs:documentation>The delivery of direct or technology-based messages that involve intimidation, teasing, taunting, threats, or name calling.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Bullying</Label>
            <Label xml:lang="mi">Te mahi poke – Nui rawa</Label>
            <endDate>2020-04-09</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DEFIA">
        <xs:annotation>
          <xs:documentation>Student engages in refusal to follow directions or talks back.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Defiance/Disrespect/Insubordination/Non-Compliance</Label>
            <Label xml:lang="mi">Ātete/Kāre e whakarongo/Kāre e aro mai – Nui rawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DISRE">
        <xs:annotation>
          <xs:documentation>Student delivers socially rude or dismissive messages to adults or students.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Disrespect</Label>
            <Label xml:lang="mi">Tōtōā – Nui rawa</Label>
            <endDate>2020-04-09</endDate>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DISRU">
        <xs:annotation>
          <xs:documentation>Student engages in behavior causing an interruption in a class or activity. Disruption includes sustained loud talk, yelling, or screaming; noise with materials; horseplay or roughhousing; and/or sustained out-of-seat behavior.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Disruption</Label>
            <Label xml:lang="mi">Tauwhati – Nui rawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DRESS">
        <xs:annotation>
          <xs:documentation>Student wears clothing that does not fit within the dress code guidelines practiced by the school/district.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Dress Code Violation</Label>
            <Label xml:lang="mi">Ngā kākahu ā-Kura – Nui rawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FIGHT">
        <xs:annotation>
          <xs:documentation>Student is involved in mutual participation in an incident involving physical violence.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Fighting</Label>
            <Label xml:lang="mi">Te whawhai – Nui rawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FORGE">
        <xs:annotation>
          <xs:documentation>Student is involved by being in possession of, having passed on, or being responsible for removing someone else's property; or the student has signed a person’s name without that person’s permission, or claims someone else’s work as their own.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Forgery/Theft/Plagiarism</Label>
            <Label xml:lang="mi">Te Tāwhai/Te whānako/Te Tuhi whānako – Nui rawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="GANGA">
        <xs:annotation>
          <xs:documentation>Student uses gesture, dress, and/or speech to display affiliation with a gang.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Gang Affiliation Display</Label>
            <Label xml:lang="mi">Te mau kākahu Kēne – Nui rawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="HARAS">
        <xs:annotation>
          <xs:documentation>The delivery of disrespectful messages in any format related to gender, ethnicity, sex, race, religion, disability, physical features, or other protected class. </xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Harassment/Bullying</Label>
            <Label xml:lang="mi">Inonotitanga – Nui rawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="INADI">
        <xs:annotation>
          <xs:documentation>Student engages in inappropriate, consensual (as defined by school) verbal and/or physical gestures/contact, of a sexual nature to another student/adult.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Inappropriate Display of Affection</Label>
            <Label xml:lang="mi">Te whai aroha pakirara – Nui rawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="INALO">
        <xs:annotation>
          <xs:documentation>Student is in an area that is outside of school boundaries (as defined by school).</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Inappropriate Location/Out of Bounds Area</Label>
            <Label xml:lang="mi">Tētahi wāhi pakirara/Wāhi rāhui – Nui rawa </Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LYING">
        <xs:annotation>
          <xs:documentation>Student delivers message that is untrue and/or deliberately violates rules.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Lying/Cheating</Label>
            <Label xml:lang="mi">Te rūkahu/Te tāhae – Nui rawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTHER">
        <xs:annotation>
          <xs:documentation>Student engages in problem behavior not listed.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Other Behaviour</Label>
            <Label xml:lang="mi">Whanonga kē – Nui rawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PHYSI">
        <xs:annotation>
          <xs:documentation>Student engages in actions involving serious physical contact where injury may occur (e.g., hitting, punching, hitting with an object, kicking, hair pulling, scratching, etc.).</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Physical Aggression</Label>
            <Label xml:lang="mi">Te tukituki –Nui rawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PROPE">
        <xs:annotation>
          <xs:documentation>Student participates in an activity that results in destruction or disfigurement of property.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Property Damage/Vandalism</Label>
            <Label xml:lang="mi">Wāwahi whare/Mahi Kaiauru – Nui rawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SKIPC">
        <xs:annotation>
          <xs:documentation>Student leaves or misses class without permission.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Skip Class</Label>
            <Label xml:lang="mi">Tōhipa akomanga – Nui rawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TARDY">
        <xs:annotation>
          <xs:documentation>Student is late (as defined by the school) to class or the start up of the school day (and Tardy is not considered a minor problem behavior in the school).</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Tardy</Label>
            <Label xml:lang="mi">Tōmuritanga – Nui rawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TECHN">
        <xs:annotation>
          <xs:documentation>Student engages in inappropriate (as defined by school) use of cell phone, pager, music/video players, camera, and/or computer.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Technology Violation</Label>
            <Label xml:lang="mi">Te whakamahi hē i te hangarau – Nui rawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TRUAN">
        <xs:annotation>
          <xs:documentation>Student receives an ‘unexcused absence’ for ½ day or more.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Truancy</Label>
            <Label xml:lang="mi">Whakatau – Nui rawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="UPOAL">
        <xs:annotation>
          <xs:documentation>Student is in possession of or is using alcohol.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Use/Possession of Alcohol</Label>
            <Label xml:lang="mi">Te kai/mau waipiro – Nui rawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="UPOCO">
        <xs:annotation>
          <xs:documentation>Student is/was in possession of substances/objects readily capable of causing bodily harm and/or property damage (matches, lighters, firecrackers, gasoline, lighter fluid).</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Use/Possession of Combustibles</Label>
            <Label xml:lang="mi">Te kai/mau ngingiha – Nui rawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="UPODR">
        <xs:annotation>
          <xs:documentation>Student is in possession of or is using illegal drugs/substances or imitations.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Use/Possession of Drugs</Label>
            <Label xml:lang="mi">Te kai/mau pōauau – Nui rawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="UPOTO">
        <xs:annotation>
          <xs:documentation>Student is in possession of or is using tobacco.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Use/Possession of Tobacco</Label>
            <Label xml:lang="mi">Te kai/mau tupeka – Nui rawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="UPOWE">
        <xs:annotation>
          <xs:documentation>Student is in possession of knives (greater than 6 in., less than 6 in.) and guns (real or look alike), or other objects readily capable of causing bodily harm.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Use/Possession of Weapons</Label>
            <Label xml:lang="mi">Te kai/mau rākau riri – Nui rawa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsWellbeingAppealStatusType">
    <xs:annotation>
      <xs:documentation><p>Standard codes denoting the status of the Wellbeing Appeal.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="IP">
        <xs:annotation>
          <xs:appinfo>
            <Label>In Progress</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NS">
        <xs:annotation>
          <xs:appinfo>
            <Label>Not Specified</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RE">
        <xs:annotation>
          <xs:appinfo>
            <Label>Rejected</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SU">
        <xs:annotation>
          <xs:appinfo>
            <Label>Successful</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsAppealDeterminationByType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the type of individual or group that determined the appeal outcome.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="BOT">
        <xs:annotation>
          <xs:appinfo>
            <Label>Board of Trustees</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PRI">
        <xs:annotation>
          <xs:appinfo>
            <Label>Principal</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DEP">
        <xs:annotation>
          <xs:appinfo>
            <Label>Deputy Principal</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="YEA">
        <xs:annotation>
          <xs:appinfo>
            <Label>Year Level Dean</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="HOM">
        <xs:annotation>
          <xs:appinfo>
            <Label>Home Room Teacher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MOE">
        <xs:annotation>
          <xs:appinfo>
            <Label>Ministry of Education</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsLearningSupportLearnerStatusType">
    <xs:annotation>
      <xs:documentation><p>Codes denoting the whether or not the learner is being actively managed for learning support.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="ACT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Active</Label>
            <Label xml:lang="mi">E Tuwhera Ana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ARC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Archived</Label>
            <Label xml:lang="mi">Pūrangatia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsLearningSupportCaseLeadType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the Agency taking the lead on a learning support need case, e.g. MOE, Police, Corrections etc.)</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="CO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Corrections</Label>
            <Label xml:lang="mi">Ara Poutama Aotearoa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="IH">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">IHC</Label>
            <Label xml:lang="mi">IHC</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">MOE</Label>
            <Label xml:lang="mi">Te Tāhuhu o te Mātauranga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Oranga Tamariki</Label>
            <Label xml:lang="mi">Oranga Tamariki</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OH">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other</Label>
            <Label xml:lang="mi">Rōpū kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Police</Label>
            <Label xml:lang="mi">Ngā Pirihimana o Aotearoa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">RTLB</Label>
            <Label xml:lang="mi">RTLB</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">ACC</Label>
            <Label xml:lang="mi">ACC</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsLearningSupportResponseOutcomeType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the outcome for the student that the response is seeking to achieve for a learning support need.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="FSR">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Further support required</Label>
            <Label xml:lang="mi">Me Whai Tautoko Anō</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="GAC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Goal achieved</Label>
            <Label xml:lang="mi">Whāinga i tutuki</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="GNA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Goal not achieved</Label>
            <Label xml:lang="mi">Whāinga kāre i tutuki</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RNA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Response not effective</Label>
            <Label xml:lang="mi">Urupare kāre i tika</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsLearningSupportResponseTierType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the tier of response for a learning support need response.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="IND">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Individual</Label>
            <Label xml:lang="mi">Takitahi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TAR">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Targeted / Group</Label>
            <Label xml:lang="mi">Hāngai/Rōpū</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="UNI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Universal</Label>
            <Label xml:lang="mi">Ao whānui</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsLearningSupportResponseClosureStatusType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the status of the learning support need response when it is closed.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="COM">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Complete</Label>
            <Label xml:lang="mi">Oti</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ILM">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Incomplete (support no longer required)</Label>
            <Label xml:lang="mi">Noho tārewa (Kāre ngā mahi tautoko i hiahiatia)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ISN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Incomplete (learner moved from school)</Label>
            <Label xml:lang="mi">Noho tārewa (kua haere te ākonga ki kura kē)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NLF">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">No longer funded</Label>
            <Label xml:lang="mi">Kāre he pūtea tautoko</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTH">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other</Label>
            <Label xml:lang="mi">He mea kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsLearningSupportResponseDetailType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the additional detail about the response type provided to the student to support the need.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="ACU">
        <xs:annotation>
          <xs:documentation>Links to Adaptation for access Response Type.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Curriculum</Label>
            <Label xml:lang="mi">Marau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ASC">
        <xs:annotation>
          <xs:documentation>Links to Adaptation for access Response Type.</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">School property</Label>
            <Label xml:lang="mi">Rawa ā-kura</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="HUP">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">For help undertaking personal care tasks</Label>
            <Label xml:lang="mi">Hei Āwhina i ngā Tūmahi Atawhai</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MOE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">MOE specialists</Label>
            <Label xml:lang="mi">Mātanga na Te Tāhuhu o te Mātauranga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OAN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other agency/NGO specialists</Label>
            <Label xml:lang="mi">Umanga Kē/Mātanga NGO</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ODS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other adaptation for access</Label>
            <Label xml:lang="mi">Urutaunga Angitu Kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OSS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other specialist support</Label>
            <Label xml:lang="mi">Mātanga Tautoko Kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other teacher aide support in the classroom</Label>
            <Label xml:lang="mi">He Tautoko Kairīwhi Kē ki te Akomanga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OUD">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other universal design</Label>
            <Label xml:lang="mi">Hoahoatanga Whānui Kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SCU">
        <xs:annotation>
          <xs:documentation>Links to the Universal Design Response Type</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">Curriculum</Label>
            <Label xml:lang="mi">Marau</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SPC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Support from community</Label>
            <Label xml:lang="mi">Tautoko ā-hapori</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SPI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Support from Iwi</Label>
            <Label xml:lang="mi">Tautoko ā-iwi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SRL">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">To support and reinforce learning</Label>
            <Label xml:lang="mi">Te tautoko me te taunaki akoako</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="USC">
        <xs:annotation>
          <xs:documentation>Links to the Universal Design Response Type</xs:documentation>
          <xs:appinfo>
            <Label xml:lang="en">School property</Label>
            <Label xml:lang="mi">Rawa ā-kura</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsLearningSupportResponseTypeType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the type of response provided to the student to support the need.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="ACC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Accessible technology</Label>
            <Label xml:lang="mi">Hangarau Whakamahi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ADA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Adaptation for Access</Label>
            <Label xml:lang="mi">Urutaunga Tomo</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="INC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">In class strategies / school</Label>
            <Label xml:lang="mi">Rautaki ā-akomanga, ā-kura</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PRO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Professional learning and upskilling</Label>
            <Label xml:lang="mi">Whakahiki pūkenga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SCH">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">School financial support</Label>
            <Label xml:lang="mi">Tahua Tautoko ā-kura</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SPE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Specialist support</Label>
            <Label xml:lang="mi">Tautoko Mātanga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TEA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Teacher aide support in the classroom</Label>
            <Label xml:lang="mi">Tautokotanga Kairīwhi ki te akomanga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="UNI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Universal Design</Label>
            <Label xml:lang="mi">Hoahoatanga Whānui</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsLearningSupportExternalFunderType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting who can fund a learning support need external response.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="ACC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">ACC</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BEH">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Behaviour Support</Label>
            <Label xml:lang="mi">Tautoko whanonga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ESO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">ESOL</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ESW">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">ESW</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ICS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">ICS</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="IWS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">IWS</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ORS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">ORS</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTH">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other</Label>
            <Label xml:lang="mi">He mea kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PCC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">PCCS</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RTL">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">RTLB</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="IRF">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">IRF</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsLearningSupportExternalProviderType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the providers of an external response for a learning support need.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="MOE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">MOE</Label>
            <Label xml:lang="mi">Te Tāhuhu o te Mātauranga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MOH">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">MOH</Label>
            <Label xml:lang="mi" />
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ORA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Oranga Tamariki</Label>
            <Label xml:lang="mi">Oranga Tamariki</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CLU">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Cluster organisation</Label>
            <Label xml:lang="mi">Kāhui Whakahaere</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NGO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">NGO</Label>
            <Label xml:lang="mi" />
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTH">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other</Label>
            <Label xml:lang="mi">He mea kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RTB">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">RTLB</Label>
            <Label xml:lang="mi" />
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RTL">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">RTLit</Label>
            <Label xml:lang="mi" />
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RTM">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">RT Māori</Label>
            <Label xml:lang="mi" />
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsLearningSupportFundingStatusType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the status of the funding being provided for a learning support need external response.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="AP">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Approved</Label>
            <Label xml:lang="mi">I whakaaetia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Declined</Label>
            <Label xml:lang="mi">Kāre i whakaaetia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">None</Label>
            <Label xml:lang="mi">Kore</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Referred on</Label>
            <Label xml:lang="mi">I tonoa i</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SU">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Submitted</Label>
            <Label xml:lang="mi">Kua tukuna</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Waiting list</Label>
            <Label xml:lang="mi">Rārangi roa</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsLearningSupportExtResponseStatusType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the status of the external response.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="ACT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Active</Label>
            <Label xml:lang="mi">Tuwhera</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CLO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Closed</Label>
            <Label xml:lang="mi">Kati</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsMoESpecialistServiceType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the MOE specialist services available to as a response to a students support need.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="ACC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Accessible Format Materials</Label>
            <Label xml:lang="mi">Tānga Kōrero E Taea Ana</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ACT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Activity Centres</Label>
            <Label xml:lang="mi">Pokapū Tūmahi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ADE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">ASSIST - Deaf Education Centres Regional Service</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AED">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Alternative Education</Label>
            <Label xml:lang="mi">Mātauranga Kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AEI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Alternative Early Intervention Service Providers</Label>
            <Label xml:lang="mi">Kaituku Ratonga Wawaotanga Tōmua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ATE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Assistive Technology (AT) Equipment</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ATT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Attendance Services (Non Enrolment Truancy Service (NETS) and DTS)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BEH">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Behaviour Service</Label>
            <Label xml:lang="mi">Ratonga Whanonga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BIL">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Bilingual Support Workers</Label>
            <Label xml:lang="mi">Kaimahi Tautoko Reorua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BLE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">BLENNZ</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BOA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Boarding Allowances</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CHO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Cholmondeley Children's Centre</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CLA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Class Funding</Label>
            <Label xml:lang="mi">Tahua Akomanga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="COC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Cochlear Implant Habilitation</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="COM">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Communication Service (Language and Learning Intervention)</Label>
            <Label xml:lang="mi">Ratonga Whakapānga (Wawaotanga ā-Reo, ā-Akoranga)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CON">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Conductive Education</Label>
            <Label xml:lang="mi">Conductive Education</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DEC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Deaf Education Centres</Label>
            <Label xml:lang="mi">Pokapū Akoranga Turi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DHH">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Deaf and Hard of Hearing Moderate Needs (not ORS)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EDY">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Education Services for Youth Courts</Label>
            <Label xml:lang="mi">Education Services for Youth Courts</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EIN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Early Intervention</Label>
            <Label xml:lang="mi">Wawaotanga Tōmua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EIS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Early Intervention: Specialist Services</Label>
            <Label xml:lang="mi">Wawaotanga Tōmua: Ratonga Whāiti</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ENG">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Engaging Priority Families</Label>
            <Label xml:lang="mi">Te Whakaanga ki ngā Whānau Tōmua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ESO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">ESOL (English for Speakers of Other Languages)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FIR">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">First Signs</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ICS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">In-Class Support (ICS) funding</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="IMO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Intensive wraparound service (IWS) MOE provided</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="IRF">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Interim response fund (IRF)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ITK">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Intensive wraparound service (IWS) Te Kahutoi Assessment Hub</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NAT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">National Mentoring Service (for Māori and Pasifika students)</Label>
            <Label xml:lang="mi">Ratonga Kaitohutohu ā-Motu (ākonga Māori, ākonga Pasifika hoki)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NZS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">NZ Sign Language in Schools</Label>
            <Label xml:lang="mi">Te Reo Turi i ngā Kura</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ORS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">ORS</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PBA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">PB4L (IY Autism)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PBC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">PB4L (check and connect)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PBH">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">PB4L (Huakina Mai)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PBI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">PB4L (incredible Years Parents)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PBR">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">PB4L (Restorative Practice)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PBS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">PB4L (School-Wide)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PBT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">PB4L (IY Teachers)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PDM">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Physical Disability Service (MOE provided)</Label>
            <Label xml:lang="mi">Ratonga Hauā (nā te Tāhuhu o te Mātauranga)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PDS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Physical Disability Service (Specialist service providers)</Label>
            <Label xml:lang="mi">Ratonga Hauā (nā te kaituku ratonga motuhake)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PFS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Programme for Students (PfS)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="REA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Reading Recovery</Label>
            <Label xml:lang="mi">Te Pānui Tautāwhi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="REG">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Regional Health Schools</Label>
            <Label xml:lang="mi">Kura Hauora ā-Rohe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RFF">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Refugee Flexible Funding Pool</Label>
            <Label xml:lang="mi">Te Tahua mō ngā Manene</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RPC">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Refugee Pathway and Career Planning</Label>
            <Label xml:lang="mi">Rapu Ara Mahi mō te Manene</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RTB">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Resource Teachers: Learning and Behaviour (RTLB)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RTD">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Resource Teachers: Deaf (RTD) Deaf Education Centres Regional Service</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RTL">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Resource Teachers: Literacy (RTLit)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SCH">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">School High Health Needs Fund</Label>
            <Label xml:lang="mi">Tahua Hauora mō ngā Kura</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SER">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Service Academies</Label>
            <Label xml:lang="mi">Rōpū Tuku Ratonga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SES">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Special Education Transport Assistance (SESTA)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="STA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">STAND Children's Services</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="STO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Specialist Teacher Outreach Service</Label>
            <Label xml:lang="mi">Specialist Teacher Outreach Service</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="STU">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Study Support Centres</Label>
            <Label xml:lang="mi">Pokapū Tautoko Ākonga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TEK">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Te Kura (Learning Support gateways)</Label>
            <Label xml:lang="mi">Te Kura (Learning Support gateways)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TIP">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Tips for Autism</Label>
            <Label xml:lang="mi">Tautoko mō te takiwātanga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TPM">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Teen Parents in the Mainstream</Label>
            <Label xml:lang="mi">Rōpū Mātātahi Kura Auraki</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TPU">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Teen Parent Unit (TPU)</Label>
            <Label xml:lang="mi">Rangapū Mātua Mātātahi (TPU)</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsLearningSupportInternalFunderType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting who can fund a learning support need internal response.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="BOA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Board funded</Label>
            <Label xml:lang="mi">Nā te Poari i tautoko</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NTA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Not applicable</Label>
            <Label xml:lang="mi">Kāre i arohia</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SEG">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">SEG</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsLearningSupportIntResponseStatusType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the status of the internal response.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="CLO">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Closed</Label>
            <Label xml:lang="mi">Kati</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MON">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Monitoring</Label>
            <Label xml:lang="mi">Te Aro turuki</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OBS">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Observing</Label>
            <Label xml:lang="mi">Te Mātaki</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsLearningSupportInternalProviderType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the providers of an internal response for a learning support need.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="COU">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Counsellor</Label>
            <Label xml:lang="mi">Kaitautāwhi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ESW">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">ESW</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="HEA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Health Professional</Label>
            <Label xml:lang="mi">Mātanga Hauora</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RTL">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">RTLB</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SEN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">SENCO</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SWI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">SWIS</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TAI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Teacher Aide</Label>
            <Label xml:lang="mi">Kairīwhi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TEA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Teacher</Label>
            <Label xml:lang="mi">Kaiako</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsStudentActivityGroupType">
    <xs:annotation>
      <xs:documentation><p>Standard codes denoting the group of the activity the student is participating
					in, e.g. sport, art, cultural, music.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="SPO">
        <xs:annotation>
          <xs:appinfo>
            <Label>Sport</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ART">
        <xs:annotation>
          <xs:appinfo>
            <Label>Art</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CUL">
        <xs:annotation>
          <xs:appinfo>
            <Label>Cultural</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MUS">
        <xs:annotation>
          <xs:appinfo>
            <Label>Music</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTH">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsStudentActivityTypeType">
    <xs:annotation>
      <xs:documentation><p>Standard codes denoting the type of activity the student is 
				participating in, e.g. rugby, drama, Kapa Haka, Violin.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="NET">
        <xs:annotation>
          <xs:appinfo>
            <Label>Netball</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RUG">
        <xs:annotation>
          <xs:appinfo>
            <Label>Rugby</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CRI">
        <xs:annotation>
          <xs:appinfo>
            <Label>Cricket</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DRA">
        <xs:annotation>
          <xs:appinfo>
            <Label>Drama</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DEB">
        <xs:annotation>
          <xs:appinfo>
            <Label>Debate</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="TER">
        <xs:annotation>
          <xs:appinfo>
            <Label>Te Reo</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="KAP">
        <xs:annotation>
          <xs:appinfo>
            <Label>Kapa Haka</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="GUI">
        <xs:annotation>
          <xs:appinfo>
            <Label>Guitar</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="VIO">
        <xs:annotation>
          <xs:appinfo>
            <Label>Violin</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTH">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsStudentInterestTypeType">
    <xs:annotation>
      <xs:documentation><p>Standard codes denoting the type of interest the student likes to do.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="SPO">
        <xs:annotation>
          <xs:appinfo>
            <Label>Sports</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ART">
        <xs:annotation>
          <xs:appinfo>
            <Label>Arts</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="CUL">
        <xs:annotation>
          <xs:appinfo>
            <Label>Cultural</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MUS">
        <xs:annotation>
          <xs:appinfo>
            <Label>Music</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTH">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsStudentVoiceTypeType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the type of student voice being heard, e.g. their interests, goals, voice (comments, opinions).</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="GOA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Student Goal</Label>
            <Label xml:lang="mi">Whainga Ākonga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="INT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Student Interest</Label>
            <Label xml:lang="mi">Aronga Ākonga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="VOI">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Student Voice</Label>
            <Label xml:lang="mi">Reo Ākonga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsRestraintAdministeredByRoleType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the role of the person who administered the physical restraint to the student.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="T">
        <xs:annotation>
          <xs:appinfo>
            <Label>Teacher</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="P">
        <xs:annotation>
          <xs:appinfo>
            <Label>Principal</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="O">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsRestraintDebriefingTypeType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the type of debriefing that occurred, e.g. staff, or student and parent/caregiver.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="S">
        <xs:annotation>
          <xs:appinfo>
            <Label>Staff</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="P">
        <xs:annotation>
          <xs:appinfo>
            <Label>Parent/Caregiver and Student</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsRestraintQuestionType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting a question that was asked about a student physical restraint incident.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="101">
        <xs:annotation>
          <xs:appinfo>
            <Label>First time the student has been physically restrained?</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="102">
        <xs:annotation>
          <xs:appinfo>
            <Label>The student was physically restrained more than once during the day?</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="103">
        <xs:annotation>
          <xs:appinfo>
            <Label>The student has an Individual Behaviour Plan?</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="104">
        <xs:annotation>
          <xs:appinfo>
            <Label>Physical restraint was a part of the plan?</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="105">
        <xs:annotation>
          <xs:appinfo>
            <Label>Were the parents notifed?</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="106">
        <xs:annotation>
          <xs:appinfo>
            <Label>Was anyone injured?</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="107">
        <xs:annotation>
          <xs:appinfo>
            <Label>Was the staff member who applied restraint a teacher or authorised staff member?</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="108">
        <xs:annotation>
          <xs:appinfo>
            <Label>Role of staff member who applied the restraint?</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="109">
        <xs:annotation>
          <xs:appinfo>
            <Label>Did the staff member who applied the restraint receive any training prior to the incident?</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsRestraintReasonType">
    <xs:annotation>
      <xs:documentation><p>A code set denoting the reason physical restraint was used on the student.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="SER">
        <xs:annotation>
          <xs:appinfo>
            <Label>Serious and imminent risk to safety</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ACT">
        <xs:annotation>
          <xs:appinfo>
            <Label>Actual injury</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsStaffRestraintReflectionTypeType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the type of reflection that the staff member performed.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="EVE">
        <xs:annotation>
          <xs:appinfo>
            <Label>Events leading to the incident</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="BEH">
        <xs:annotation>
          <xs:appinfo>
            <Label>Behaviour of the student</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WHA">
        <xs:annotation>
          <xs:appinfo>
            <Label>What did you try before the restraint?</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RES">
        <xs:annotation>
          <xs:appinfo>
            <Label>The restraint method used</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MON">
        <xs:annotation>
          <xs:appinfo>
            <Label>Monitoring</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AFT">
        <xs:annotation>
          <xs:appinfo>
            <Label>After the restraint ended</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NEX">
        <xs:annotation>
          <xs:appinfo>
            <Label>If there's a next time</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="HOW">
        <xs:annotation>
          <xs:appinfo>
            <Label>How about you?</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsWellbeingAppealOutcomeType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the outcome of a wellbeing appeal.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="OTH">
        <xs:annotation>
          <xs:appinfo>
            <Label>Other</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsWellbeingEventSeverityType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the severity of the Wellbeing Event.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="MIN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Minor</Label>
            <Label xml:lang="mi">Iti te kaha</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MAJ">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Major</Label>
            <Label xml:lang="mi">Nui te kaha</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="NZCodeSetsWellbeingEventPossibleMotivationType">
    <xs:annotation>
      <xs:documentation><p>Code set denoting the possible motivation that triggered the Wellbeing Event.</p></xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:token">
      <xs:enumeration value="AVAD">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Avoid Adult</Label>
            <Label xml:lang="mi">Karo Mātua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AVPE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Avoid Peer(s)</Label>
            <Label xml:lang="mi">Karo Aropā</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AVTA">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Avoid Tasks/Activities</Label>
            <Label xml:lang="mi">Karo Tūmahi/Ngohe</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OBAD">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Obtain Adult Attention</Label>
            <Label xml:lang="mi">Whai Aronga Mātua</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OBIT">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Obtain Items/Activities</Label>
            <Label xml:lang="mi">Whai mea/tūmahi</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OBPE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Obtain Peer Attention</Label>
            <Label xml:lang="mi">Whai aronga hunga aropā</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="OTHE">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Other</Label>
            <Label xml:lang="mi">He āhua kē</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="UNKN">
        <xs:annotation>
          <xs:appinfo>
            <Label xml:lang="en">Unknown Motivation</Label>
            <Label xml:lang="mi">Kāore i mārama te take o ngā whanonga whakararu a te ākonga</Label>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
</xs:schema>