# 
## Json Schema derived from SIF NZ v3.1 (rc 5)
# 
$schema: 'http://json-schema.org/draft-07/schema#'
title: SIF NZ v3.1 (rc 5)
description: JSON Schema derived from SIF NZ v3.1 (rc 5)
type: object
additionalProperties: false
oneOf:
  - required: [ AcademicDepartment ]
  - required: [ AcademicDepartments ]
  - required: [ AssessmentTask ]
  - required: [ AssessmentTasks ]
  - required: [ BellSchedule ]
  - required: [ BellSchedules ]
  - required: [ Credential ]
  - required: [ Credentials ]
  - required: [ Document ]
  - required: [ Documents ]
  - required: [ LearningStandard ]
  - required: [ LearningStandards ]
  - required: [ Organisation ]
  - required: [ Organisations ]
  - required: [ Provider ]
  - required: [ Providers ]
  - required: [ ProviderCourse ]
  - required: [ ProviderCourses ]
  - required: [ ProviderRelationship ]
  - required: [ ProviderRelationships ]
  - required: [ Schedule ]
  - required: [ Schedules ]
  - required: [ ScheduleAcademicDay ]
  - required: [ ScheduleAcademicDays ]
  - required: [ ScheduleDate ]
  - required: [ ScheduleDates ]
  - required: [ ScheduleEvent ]
  - required: [ ScheduleEvents ]
  - required: [ ScheduleHoliday ]
  - required: [ ScheduleHolidays ]
  - required: [ SchedulePeriod ]
  - required: [ SchedulePeriods ]
  - required: [ ScheduleTerm ]
  - required: [ ScheduleTerms ]
  - required: [ StaffAssignment ]
  - required: [ StaffAssignments ]
  - required: [ StaffPersonal ]
  - required: [ StaffPersonals ]
  - required: [ StaffTeachingGroupAssignment ]
  - required: [ StaffTeachingGroupAssignments ]
  - required: [ StudentActivityParticipation ]
  - required: [ StudentActivityParticipations ]
  - required: [ StudentAssessmentTask ]
  - required: [ StudentAssessmentTasks ]
  - required: [ StudentAssessmentTaskRegistration ]
  - required: [ StudentAssessmentTaskRegistrations ]
  - required: [ StudentAssessmentTaskResult ]
  - required: [ StudentAssessmentTaskResults ]
  - required: [ StudentAttainment ]
  - required: [ StudentAttainments ]
  - required: [ StudentAttendanceSummary ]
  - required: [ StudentAttendanceSummarys ]
  - required: [ StudentAttendanceTimeList ]
  - required: [ StudentAttendanceTimeLists ]
  - required: [ StudentConsent ]
  - required: [ StudentConsents ]
  - required: [ StudentContactPersonal ]
  - required: [ StudentContactPersonals ]
  - required: [ StudentContactRelationship ]
  - required: [ StudentContactRelationships ]
  - required: [ StudentCurriculumProgressReport ]
  - required: [ StudentCurriculumProgressReports ]
  - required: [ StudentLearningSupport ]
  - required: [ StudentLearningSupports ]
  - required: [ StudentLearningSupportResponse ]
  - required: [ StudentLearningSupportResponses ]
  - required: [ StudentPersonal ]
  - required: [ StudentPersonals ]
  - required: [ StudentPhysicalRestraint ]
  - required: [ StudentPhysicalRestraints ]
  - required: [ StudentProviderEnrolment ]
  - required: [ StudentProviderEnrolments ]
  - required: [ StudentTeachingGroupEnrolment ]
  - required: [ StudentTeachingGroupEnrolments ]
  - required: [ StudentVoice ]
  - required: [ StudentVoices ]
  - required: [ TeachingGroup ]
  - required: [ TeachingGroups ]
  - required: [ TeachingGroupEvent ]
  - required: [ TeachingGroupEvents ]
  - required: [ WellbeingAlert ]
  - required: [ WellbeingAlerts ]
  - required: [ WellbeingAppeal ]
  - required: [ WellbeingAppeals ]
  - required: [ WellbeingCharacteristic ]
  - required: [ WellbeingCharacteristics ]
  - required: [ WellbeingEvent ]
  - required: [ WellbeingEvents ]
  - required: [ WellbeingResponse ]
  - required: [ WellbeingResponses ]
properties:
  AcademicDepartment:
    $ref: '#/definitions/AcademicDepartment'
    title: AcademicDepartment
    description: >-
      <p> Information about an academic department within a provider, e.g. Maths Department. </p>
  AcademicDepartments:
    type: object
    additionalProperties: false
    title: AcademicDepartments
    description: Wrapper around an array of AcademicDepartments
    properties:
      AcademicDepartment:
        type: array
        items:
          $ref: '#/properties/AcademicDepartment'
        description: >-
          <p> Information about an academic department within a provider, e.g. Maths Department. </p>
  AssessmentTask:
    $ref: '#/definitions/AssessmentTask'
    title: AssessmentTask
    description: >-
      <p> This object provides information about a particular assignment, allows applications to synchronize each other's assignment tables, gathers the definition for a StudentAssessmentTask object, etc. </p>
  AssessmentTasks:
    type: object
    additionalProperties: false
    title: AssessmentTasks
    description: Wrapper around an array of AssessmentTasks
    properties:
      AssessmentTask:
        type: array
        items:
          $ref: '#/properties/AssessmentTask'
        description: >-
          <p> This object provides information about a particular assignment, allows applications to synchronize each other's assignment tables, gathers the definition for a StudentAssessmentTask object, etc. </p>
  BellSchedule:
    $ref: '#/definitions/BellSchedule'
    title: BellSchedule
    description: >-
      Defines bell schedules, each of which is a collection of periods within an academic day with start and end times associated. These bell schedules are assigned to calendar dates on which the school is in session using ScheduleDate in order to specify the school schedule on those dates. These bell schedules should generally only be used to define standard day types. Exception days (unless they repeat multiple times and follow a common template) are defined using ScheduleEvent and ScheduleCustomDayEvent.
  BellSchedules:
    type: object
    additionalProperties: false
    title: BellSchedules
    description: Wrapper around an array of BellSchedules
    properties:
      BellSchedule:
        type: array
        items:
          $ref: '#/properties/BellSchedule'
        description: >-
          Defines bell schedules, each of which is a collection of periods within an academic day with start and end times associated. These bell schedules are assigned to calendar dates on which the school is in session using ScheduleDate in order to specify the school schedule on those dates. These bell schedules should generally only be used to define standard day types. Exception days (unless they repeat multiple times and follow a common template) are defined using ScheduleEvent and ScheduleCustomDayEvent.
  Credential:
    $ref: '#/definitions/Credential'
    title: Credential
    description: >-
      <p>A qualification or other award published by a national body, professional association or other interested party. The Credential recognises a set of learning that students have undertaken and successfully completed. </p>
  Credentials:
    type: object
    additionalProperties: false
    title: Credentials
    description: Wrapper around an array of Credentials
    properties:
      Credential:
        type: array
        items:
          $ref: '#/properties/Credential'
        description: >-
          <p>A qualification or other award published by a national body, professional association or other interested party. The Credential recognises a set of learning that students have undertaken and successfully completed. </p>
  Document:
    $ref: '#/definitions/Document'
    title: Document
    description: >-
      <p>The universally unique identifier for the data object record that is used across systems.</p>
  Documents:
    type: object
    additionalProperties: false
    title: Documents
    description: Wrapper around an array of Documents
    properties:
      Document:
        type: array
        items:
          $ref: '#/properties/Document'
        description: >-
          <p>The universally unique identifier for the data object record that is used across systems.</p>
  LearningStandard:
    $ref: '#/definitions/LearningStandard'
    title: LearningStandard
    description: >-
      <p>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. </p>
  LearningStandards:
    type: object
    additionalProperties: false
    title: LearningStandards
    description: Wrapper around an array of LearningStandards
    properties:
      LearningStandard:
        type: array
        items:
          $ref: '#/properties/LearningStandard'
        description: >-
          <p>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. </p>
  Organisation:
    $ref: '#/definitions/Organisation'
    title: Organisation
    description: >-
      A generic organisation that operates within the education sector; but doesn’t provide education services. e.g. Communities of Learning | Kāhui Ako, Ministry local offices, Industry training organisations, etc.
  Organisations:
    type: object
    additionalProperties: false
    title: Organisations
    description: Wrapper around an array of Organisations
    properties:
      Organisation:
        type: array
        items:
          $ref: '#/properties/Organisation'
        description: >-
          A generic organisation that operates within the education sector; but doesn’t provide education services. e.g. Communities of Learning | Kāhui Ako, Ministry local offices, Industry training organisations, etc.
  Provider:
    $ref: '#/definitions/Provider'
    title: Provider
    description: >-
      A recognised provider of education services in the New Zealand education system. Providers may operate in the Early Childhood, Compulsory Schooling or Tertiary sectors.
  Providers:
    type: object
    additionalProperties: false
    title: Providers
    description: Wrapper around an array of Providers
    properties:
      Provider:
        type: array
        items:
          $ref: '#/properties/Provider'
        description: >-
          A recognised provider of education services in the New Zealand education system. Providers may operate in the Early Childhood, Compulsory Schooling or Tertiary sectors.
  ProviderCourse:
    $ref: '#/definitions/ProviderCourse'
    title: ProviderCourse
    description: >-
      <p>A Provider defined Course that Students enrol in, and may be assessed for, and achieve passes in.</p>
  ProviderCourses:
    type: object
    additionalProperties: false
    title: ProviderCourses
    description: Wrapper around an array of ProviderCourses
    properties:
      ProviderCourse:
        type: array
        items:
          $ref: '#/properties/ProviderCourse'
        description: >-
          <p>A Provider defined Course that Students enrol in, and may be assessed for, and achieve passes in.</p>
  ProviderRelationship:
    $ref: '#/definitions/ProviderRelationship'
    title: ProviderRelationship
    description: >-
      <p>Records a recognised relationship between two education Providers. The two providers are referred to as the Source Provider and the Related Provider. </p> <p>RelationshipType records the nature of the relationship between the two providers, and gives guidance on which Provider is the Source Provider and which is the Related Provider. </p>
  ProviderRelationships:
    type: object
    additionalProperties: false
    title: ProviderRelationships
    description: Wrapper around an array of ProviderRelationships
    properties:
      ProviderRelationship:
        type: array
        items:
          $ref: '#/properties/ProviderRelationship'
        description: >-
          <p>Records a recognised relationship between two education Providers. The two providers are referred to as the Source Provider and the Related Provider. </p> <p>RelationshipType records the nature of the relationship between the two providers, and gives guidance on which Provider is the Source Provider and which is the Related Provider. </p>
  Schedule:
    $ref: '#/definitions/Schedule'
    title: Schedule
    description: >-
      <p>A rotation of ScheduleAcademicDays that a Provider has in place to manage their timetable.</p>
  Schedules:
    type: object
    additionalProperties: false
    title: Schedules
    description: Wrapper around an array of Schedules
    properties:
      Schedule:
        type: array
        items:
          $ref: '#/properties/Schedule'
        description: >-
          <p>A rotation of ScheduleAcademicDays that a Provider has in place to manage their timetable.</p>
  ScheduleAcademicDay:
    $ref: '#/definitions/ScheduleAcademicDay'
    title: ScheduleAcademicDay
    description: >-
      An academic day that makes up all or part of a schedule for a provider. An academic day represents a structured day that reoccurs consistently e.g. Day A has five periods that occurs Mon-Wed and Day B has four periods and occurs Thurs-Fri.
  ScheduleAcademicDays:
    type: object
    additionalProperties: false
    title: ScheduleAcademicDays
    description: Wrapper around an array of ScheduleAcademicDays
    properties:
      ScheduleAcademicDay:
        type: array
        items:
          $ref: '#/properties/ScheduleAcademicDay'
        description: >-
          An academic day that makes up all or part of a schedule for a provider. An academic day represents a structured day that reoccurs consistently e.g. Day A has five periods that occurs Mon-Wed and Day B has four periods and occurs Thurs-Fri.
  ScheduleDate:
    $ref: '#/definitions/ScheduleDate'
    title: ScheduleDate
    description: >-
      Provides information about the schedule that is being followed on a specific calendar date at a particular Provider, e.g. Academic Day A from the Term 1 Schedule using the Periods and their start and end times defined in Bell Schedule Day A.
  ScheduleDates:
    type: object
    additionalProperties: false
    title: ScheduleDates
    description: Wrapper around an array of ScheduleDates
    properties:
      ScheduleDate:
        type: array
        items:
          $ref: '#/properties/ScheduleDate'
        description: >-
          Provides information about the schedule that is being followed on a specific calendar date at a particular Provider, e.g. Academic Day A from the Term 1 Schedule using the Periods and their start and end times defined in Bell Schedule Day A.
  ScheduleEvent:
    $ref: '#/definitions/ScheduleEvent'
    title: ScheduleEvent
    description: >-
      <p>Defines events that may or may not impact the schedule. These events may simply be for display, or may affect the schools academic schedule.</p>
  ScheduleEvents:
    type: object
    additionalProperties: false
    title: ScheduleEvents
    description: Wrapper around an array of ScheduleEvents
    properties:
      ScheduleEvent:
        type: array
        items:
          $ref: '#/properties/ScheduleEvent'
        description: >-
          <p>Defines events that may or may not impact the schedule. These events may simply be for display, or may affect the schools academic schedule.</p>
  ScheduleHoliday:
    $ref: '#/definitions/ScheduleHoliday'
    title: ScheduleHoliday
    description: >-
      <p>Provides information about a holiday that may or may not impact upon the schedule of a provider.</p>
  ScheduleHolidays:
    type: object
    additionalProperties: false
    title: ScheduleHolidays
    description: Wrapper around an array of ScheduleHolidays
    properties:
      ScheduleHoliday:
        type: array
        items:
          $ref: '#/properties/ScheduleHoliday'
        description: >-
          <p>Provides information about a holiday that may or may not impact upon the schedule of a provider.</p>
  SchedulePeriod:
    $ref: '#/definitions/SchedulePeriod'
    title: SchedulePeriod
    description: >-
      Defines the periods that take place within one or more academic days. Periods are assigned to particular days in the Schedule in SchduleAcademicDay.PeriodList
  SchedulePeriods:
    type: object
    additionalProperties: false
    title: SchedulePeriods
    description: Wrapper around an array of SchedulePeriods
    properties:
      SchedulePeriod:
        type: array
        items:
          $ref: '#/properties/SchedulePeriod'
        description: >-
          Defines the periods that take place within one or more academic days. Periods are assigned to particular days in the Schedule in SchduleAcademicDay.PeriodList
  ScheduleTerm:
    $ref: '#/definitions/ScheduleTerm'
    title: ScheduleTerm
    description: >-
      <p>Provides information about school terms, tertiary terms etc., either at a national, or provider level, within a school year. If the term is being supplied at a national level, no provider information will be linked.</p>
  ScheduleTerms:
    type: object
    additionalProperties: false
    title: ScheduleTerms
    description: Wrapper around an array of ScheduleTerms
    properties:
      ScheduleTerm:
        type: array
        items:
          $ref: '#/properties/ScheduleTerm'
        description: >-
          <p>Provides information about school terms, tertiary terms etc., either at a national, or provider level, within a school year. If the term is being supplied at a national level, no provider information will be linked.</p>
  StaffAssignment:
    $ref: '#/definitions/StaffAssignment'
    title: StaffAssignment
    description: >-
      <p>Records assignment of a Staff member to a particular role at a Provider or other EducationOrganisation. A staff member can have multiple concurrent roles at Schools (via Provider data object) and Kāhui Ako (via the EducationOrganisation data object); each role would be a separate StaffAssignment record.</p> <p>Role assignments can be restricted to categories of Students with the StaffSubjectList and YearLevelList. This allows for assignment to roles with particular responsibility for general cohorts of students, such as "Head of Department (Maths)" or "Year 8 Student Dean".</p> <p>While assignment to student contact roles such as Subject Teacher, Homeroom Teacher, Whānau Teacher or House Master is made with this data object; Details of the particular group of specific students the staff member is responsible for are made via the TeachingGroup data object.</p>
  StaffAssignments:
    type: object
    additionalProperties: false
    title: StaffAssignments
    description: Wrapper around an array of StaffAssignments
    properties:
      StaffAssignment:
        type: array
        items:
          $ref: '#/properties/StaffAssignment'
        description: >-
          <p>Records assignment of a Staff member to a particular role at a Provider or other EducationOrganisation. A staff member can have multiple concurrent roles at Schools (via Provider data object) and Kāhui Ako (via the EducationOrganisation data object); each role would be a separate StaffAssignment record.</p> <p>Role assignments can be restricted to categories of Students with the StaffSubjectList and YearLevelList. This allows for assignment to roles with particular responsibility for general cohorts of students, such as "Head of Department (Maths)" or "Year 8 Student Dean".</p> <p>While assignment to student contact roles such as Subject Teacher, Homeroom Teacher, Whānau Teacher or House Master is made with this data object; Details of the particular group of specific students the staff member is responsible for are made via the TeachingGroup data object.</p>
  StaffPersonal:
    $ref: '#/definitions/StaffPersonal'
    title: StaffPersonal
    description: >-
      <p>All the personal contact and demographic information relating to a staff member, who might be a teacher or other employee of a Provider.</p> <p>Non personal information relating to the staff member's relationship with Providers is stored in the StaffAssignment data object.</p>
  StaffPersonals:
    type: object
    additionalProperties: false
    title: StaffPersonals
    description: Wrapper around an array of StaffPersonals
    properties:
      StaffPersonal:
        type: array
        items:
          $ref: '#/properties/StaffPersonal'
        description: >-
          <p>All the personal contact and demographic information relating to a staff member, who might be a teacher or other employee of a Provider.</p> <p>Non personal information relating to the staff member's relationship with Providers is stored in the StaffAssignment data object.</p>
  StaffTeachingGroupAssignment:
    $ref: '#/definitions/StaffTeachingGroupAssignment'
    title: StaffTeachingGroupAssignment
    description: >-
      <p>Records assignment of a Staff member to a particular role with a particular TeachingGroup at a Provider</p>
  StaffTeachingGroupAssignments:
    type: object
    additionalProperties: false
    title: StaffTeachingGroupAssignments
    description: Wrapper around an array of StaffTeachingGroupAssignments
    properties:
      StaffTeachingGroupAssignment:
        type: array
        items:
          $ref: '#/properties/StaffTeachingGroupAssignment'
        description: >-
          <p>Records assignment of a Staff member to a particular role with a particular TeachingGroup at a Provider</p>
  StudentActivityParticipation:
    $ref: '#/definitions/StudentActivityParticipation'
    title: StudentActivityParticipation
    description: >-
      This object provides information on a co-curricular or extra-curricular activity in which a student participates during a given school year.
  StudentActivityParticipations:
    type: object
    additionalProperties: false
    title: StudentActivityParticipations
    description: Wrapper around an array of StudentActivityParticipations
    properties:
      StudentActivityParticipation:
        type: array
        items:
          $ref: '#/properties/StudentActivityParticipation'
        description: >-
          This object provides information on a co-curricular or extra-curricular activity in which a student participates during a given school year.
  StudentAssessmentTask:
    $ref: '#/definitions/StudentAssessmentTask'
    title: StudentAssessmentTask
    description: >-
      <p>Record of a student's attempt at a particular assessment task.</p>
  StudentAssessmentTasks:
    type: object
    additionalProperties: false
    title: StudentAssessmentTasks
    description: Wrapper around an array of StudentAssessmentTasks
    properties:
      StudentAssessmentTask:
        type: array
        items:
          $ref: '#/properties/StudentAssessmentTask'
        description: >-
          <p>Record of a student's attempt at a particular assessment task.</p>
  StudentAssessmentTaskRegistration:
    $ref: '#/definitions/StudentAssessmentTaskRegistration'
    title: StudentAssessmentTaskRegistration
    description: >-
      <p>The student's registration for an assessment task they are intending to participate in. </p>
  StudentAssessmentTaskRegistrations:
    type: object
    additionalProperties: false
    title: StudentAssessmentTaskRegistrations
    description: Wrapper around an array of StudentAssessmentTaskRegistrations
    properties:
      StudentAssessmentTaskRegistration:
        type: array
        items:
          $ref: '#/properties/StudentAssessmentTaskRegistration'
        description: >-
          <p>The student's registration for an assessment task they are intending to participate in. </p>
  StudentAssessmentTaskResult:
    $ref: '#/definitions/StudentAssessmentTaskResult'
    title: StudentAssessmentTaskResult
    description: >-
      <p>Records the result achieved by a single student at a particular assessment task.</p>
  StudentAssessmentTaskResults:
    type: object
    additionalProperties: false
    title: StudentAssessmentTaskResults
    description: Wrapper around an array of StudentAssessmentTaskResults
    properties:
      StudentAssessmentTaskResult:
        type: array
        items:
          $ref: '#/properties/StudentAssessmentTaskResult'
        description: >-
          <p>Records the result achieved by a single student at a particular assessment task.</p>
  StudentAttainment:
    $ref: '#/definitions/StudentAttainment'
    title: StudentAttainment
    description: >-
      <p>Records a student gaining an Attainment e.g. NCEA Qualification, Learning Standard etc.</p>
  StudentAttainments:
    type: object
    additionalProperties: false
    title: StudentAttainments
    description: Wrapper around an array of StudentAttainments
    properties:
      StudentAttainment:
        type: array
        items:
          $ref: '#/properties/StudentAttainment'
        description: >-
          <p>Records a student gaining an Attainment e.g. NCEA Qualification, Learning Standard etc.</p>
  StudentAttendanceSummary:
    $ref: '#/definitions/StudentAttendanceSummary'
    title: StudentAttendanceSummary
    description: >-
      <p>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. There will be multiple instances of this object for a student in a school over the course of a school year. This summary may be generated by aggregating more granular attendance records, in which case all fields will be read-only; and RefId element may not be applicable.</p>
  StudentAttendanceSummarys:
    type: object
    additionalProperties: false
    title: StudentAttendanceSummarys
    description: Wrapper around an array of StudentAttendanceSummarys
    properties:
      StudentAttendanceSummary:
        type: array
        items:
          $ref: '#/properties/StudentAttendanceSummary'
        description: >-
          <p>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. There will be multiple instances of this object for a student in a school over the course of a school year. This summary may be generated by aggregating more granular attendance records, in which case all fields will be read-only; and RefId element may not be applicable.</p>
  StudentAttendanceTimeList:
    $ref: '#/definitions/StudentAttendanceTimeList'
    title: StudentAttendanceTimeList
    description: >-
      <p>This object provides more detail about the attendance spans for a single student during the day: it provides more detailed information than the single TimeIn and TimeOut elements in StudentDailyAttendance.</p>
  StudentAttendanceTimeLists:
    type: object
    additionalProperties: false
    title: StudentAttendanceTimeLists
    description: Wrapper around an array of StudentAttendanceTimeLists
    properties:
      StudentAttendanceTimeList:
        type: array
        items:
          $ref: '#/properties/StudentAttendanceTimeList'
        description: >-
          <p>This object provides more detail about the attendance spans for a single student during the day: it provides more detailed information than the single TimeIn and TimeOut elements in StudentDailyAttendance.</p>
  StudentConsent:
    $ref: '#/definitions/StudentConsent'
    title: StudentConsent
    description: >-
      A record of Student's consent or non-consent to some action taking place.
  StudentConsents:
    type: object
    additionalProperties: false
    title: StudentConsents
    description: Wrapper around an array of StudentConsents
    properties:
      StudentConsent:
        type: array
        items:
          $ref: '#/properties/StudentConsent'
        description: >-
          A record of Student's consent or non-consent to some action taking place.
  StudentContactPersonal:
    $ref: '#/definitions/StudentContactPersonal'
    title: StudentContactPersonal
    description: >-
      Information about a Student's whānau member.
  StudentContactPersonals:
    type: object
    additionalProperties: false
    title: StudentContactPersonals
    description: Wrapper around an array of StudentContactPersonals
    properties:
      StudentContactPersonal:
        type: array
        items:
          $ref: '#/properties/StudentContactPersonal'
        description: >-
          Information about a Student's whānau member.
  StudentContactRelationship:
    $ref: '#/definitions/StudentContactRelationship'
    title: StudentContactRelationship
    description: >-
      <p>A relationship between a person who is part of a Student's whānau and that Student. Relationship properties include the relationship type and roles played by the student contact in respect of the student.</p> <p>Individual details about the student and student contact are provided in other data objects - StudentPersonal and StudentContactPersonal respectively.</p>
  StudentContactRelationships:
    type: object
    additionalProperties: false
    title: StudentContactRelationships
    description: Wrapper around an array of StudentContactRelationships
    properties:
      StudentContactRelationship:
        type: array
        items:
          $ref: '#/properties/StudentContactRelationship'
        description: >-
          <p>A relationship between a person who is part of a Student's whānau and that Student. Relationship properties include the relationship type and roles played by the student contact in respect of the student.</p> <p>Individual details about the student and student contact are provided in other data objects - StudentPersonal and StudentContactPersonal respectively.</p>
  StudentCurriculumProgressReport:
    $ref: '#/definitions/StudentCurriculumProgressReport'
    title: StudentCurriculumProgressReport
    description: >-
      <p>A single curriculum progress and achievement report provided for a student. Used in technology centres allowing the host provider to report on student progress to their base school. </p> <p> May be extended in the future to cover reporting on other curriculum areas. </p>
  StudentCurriculumProgressReports:
    type: object
    additionalProperties: false
    title: StudentCurriculumProgressReports
    description: Wrapper around an array of StudentCurriculumProgressReports
    properties:
      StudentCurriculumProgressReport:
        type: array
        items:
          $ref: '#/properties/StudentCurriculumProgressReport'
        description: >-
          <p>A single curriculum progress and achievement report provided for a student. Used in technology centres allowing the host provider to report on student progress to their base school. </p> <p> May be extended in the future to cover reporting on other curriculum areas. </p>
  StudentLearningSupport:
    $ref: '#/definitions/StudentLearningSupport'
    title: StudentLearningSupport
    description: >-
      <p>Provides information about a student's learning support.</p>
  StudentLearningSupports:
    type: object
    additionalProperties: false
    title: StudentLearningSupports
    description: Wrapper around an array of StudentLearningSupports
    properties:
      StudentLearningSupport:
        type: array
        items:
          $ref: '#/properties/StudentLearningSupport'
        description: >-
          <p>Provides information about a student's learning support.</p>
  StudentLearningSupportResponse:
    $ref: '#/definitions/StudentLearningSupportResponse'
    title: StudentLearningSupportResponse
    description: >-
      <p>Provides information about a response provided for a students learning support need.</p>
  StudentLearningSupportResponses:
    type: object
    additionalProperties: false
    title: StudentLearningSupportResponses
    description: Wrapper around an array of StudentLearningSupportResponses
    properties:
      StudentLearningSupportResponse:
        type: array
        items:
          $ref: '#/properties/StudentLearningSupportResponse'
        description: >-
          <p>Provides information about a response provided for a students learning support need.</p>
  StudentPersonal:
    $ref: '#/definitions/StudentPersonal'
    title: StudentPersonal
    description: >-
      Contains all the personal information related to the student.
  StudentPersonals:
    type: object
    additionalProperties: false
    title: StudentPersonals
    description: Wrapper around an array of StudentPersonals
    properties:
      StudentPersonal:
        type: array
        items:
          $ref: '#/properties/StudentPersonal'
        description: >-
          Contains all the personal information related to the student.
  StudentPhysicalRestraint:
    $ref: '#/definitions/StudentPhysicalRestraint'
    title: StudentPhysicalRestraint
    description: >-
      <p> Provides information about an incident where staff members or other parties used physical restraint on a child. </p>
  StudentPhysicalRestraints:
    type: object
    additionalProperties: false
    title: StudentPhysicalRestraints
    description: Wrapper around an array of StudentPhysicalRestraints
    properties:
      StudentPhysicalRestraint:
        type: array
        items:
          $ref: '#/properties/StudentPhysicalRestraint'
        description: >-
          <p> Provides information about an incident where staff members or other parties used physical restraint on a child. </p>
  StudentProviderEnrolment:
    $ref: '#/definitions/StudentProviderEnrolment'
    title: StudentProviderEnrolment
    description: >-
      <p>A student's association with an education provider for the purpose of receiving educational servics.</p> <p>Provider enrolments span multiple years with the ProviderEnrolment containing one or more ECE, School or Tertiary Enrolment sub-objects for each particular year.</p>
  StudentProviderEnrolments:
    type: object
    additionalProperties: false
    title: StudentProviderEnrolments
    description: Wrapper around an array of StudentProviderEnrolments
    properties:
      StudentProviderEnrolment:
        type: array
        items:
          $ref: '#/properties/StudentProviderEnrolment'
        description: >-
          <p>A student's association with an education provider for the purpose of receiving educational servics.</p> <p>Provider enrolments span multiple years with the ProviderEnrolment containing one or more ECE, School or Tertiary Enrolment sub-objects for each particular year.</p>
  StudentTeachingGroupEnrolment:
    $ref: '#/definitions/StudentTeachingGroupEnrolment'
    title: StudentTeachingGroupEnrolment
    description: >-
      <p>Records a student's arrival to and departure from a TeachingGroup.</p>
  StudentTeachingGroupEnrolments:
    type: object
    additionalProperties: false
    title: StudentTeachingGroupEnrolments
    description: Wrapper around an array of StudentTeachingGroupEnrolments
    properties:
      StudentTeachingGroupEnrolment:
        type: array
        items:
          $ref: '#/properties/StudentTeachingGroupEnrolment'
        description: >-
          <p>Records a student's arrival to and departure from a TeachingGroup.</p>
  StudentVoice:
    $ref: '#/definitions/StudentVoice'
    title: StudentVoice
    description: >-
      A record of a student's interests as well as their social, academic and academic goals.
  StudentVoices:
    type: object
    additionalProperties: false
    title: StudentVoices
    description: Wrapper around an array of StudentVoices
    properties:
      StudentVoice:
        type: array
        items:
          $ref: '#/properties/StudentVoice'
        description: >-
          A record of a student's interests as well as their social, academic and academic goals.
  TeachingGroup:
    $ref: '#/definitions/TeachingGroup'
    title: TeachingGroup
    description: >-
      <p>Identifies a particular class or other group of students. Such groups can have multiple staff assigned in a variety of roles, may be assigned students from multiple year levels and may be taught multiple courses. </p>
  TeachingGroups:
    type: object
    additionalProperties: false
    title: TeachingGroups
    description: Wrapper around an array of TeachingGroups
    properties:
      TeachingGroup:
        type: array
        items:
          $ref: '#/properties/TeachingGroup'
        description: >-
          <p>Identifies a particular class or other group of students. Such groups can have multiple staff assigned in a variety of roles, may be assigned students from multiple year levels and may be taught multiple courses. </p>
  TeachingGroupEvent:
    $ref: '#/definitions/TeachingGroupEvent'
    title: TeachingGroupEvent
    description: >-
      <p>Defines a single SchedulePeriod in a Schedule where the TeachingGroup meets.</p>
  TeachingGroupEvents:
    type: object
    additionalProperties: false
    title: TeachingGroupEvents
    description: Wrapper around an array of TeachingGroupEvents
    properties:
      TeachingGroupEvent:
        type: array
        items:
          $ref: '#/properties/TeachingGroupEvent'
        description: >-
          <p>Defines a single SchedulePeriod in a Schedule where the TeachingGroup meets.</p>
  WellbeingAlert:
    $ref: '#/definitions/WellbeingAlert'
    title: WellbeingAlert
    description: >-
      <p>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.</p> <p>The alert may merely draw attention to Wellbeing Characteristics or Events, that contain more detail.</p>
  WellbeingAlerts:
    type: object
    additionalProperties: false
    title: WellbeingAlerts
    description: Wrapper around an array of WellbeingAlerts
    properties:
      WellbeingAlert:
        type: array
        items:
          $ref: '#/properties/WellbeingAlert'
        description: >-
          <p>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.</p> <p>The alert may merely draw attention to Wellbeing Characteristics or Events, that contain more detail.</p>
  WellbeingAppeal:
    $ref: '#/definitions/WellbeingAppeal'
    title: WellbeingAppeal
    description: >-
      <p>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.</p>
  WellbeingAppeals:
    type: object
    additionalProperties: false
    title: WellbeingAppeals
    description: Wrapper around an array of WellbeingAppeals
    properties:
      WellbeingAppeal:
        type: array
        items:
          $ref: '#/properties/WellbeingAppeal'
        description: >-
          <p>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.</p>
  WellbeingCharacteristic:
    $ref: '#/definitions/WellbeingCharacteristic'
    title: WellbeingCharacteristic
    description: >-
      <p>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.</p>
  WellbeingCharacteristics:
    type: object
    additionalProperties: false
    title: WellbeingCharacteristics
    description: Wrapper around an array of WellbeingCharacteristics
    properties:
      WellbeingCharacteristic:
        type: array
        items:
          $ref: '#/properties/WellbeingCharacteristic'
        description: >-
          <p>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.</p>
  WellbeingEvent:
    $ref: '#/definitions/WellbeingEvent'
    title: WellbeingEvent
    description: >-
      <p>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.</p>
  WellbeingEvents:
    type: object
    additionalProperties: false
    title: WellbeingEvents
    description: Wrapper around an array of WellbeingEvents
    properties:
      WellbeingEvent:
        type: array
        items:
          $ref: '#/properties/WellbeingEvent'
        description: >-
          <p>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.</p>
  WellbeingResponse:
    $ref: '#/definitions/WellbeingResponse'
    title: WellbeingResponse
    description: >-
      <p>A record of the outcome and follow ups generated by a WellbeingEvent</p>
  WellbeingResponses:
    type: object
    additionalProperties: false
    title: WellbeingResponses
    description: Wrapper around an array of WellbeingResponses
    properties:
      WellbeingResponse:
        type: array
        items:
          $ref: '#/properties/WellbeingResponse'
        description: >-
          <p>A record of the outcome and follow ups generated by a WellbeingEvent</p>
definitions:
  # /////////////////////////////////////////////////////////////
  Provider:
    type: object
    additionalProperties: false
    properties:
      allOf:
      - $ref: '#/definitions/EduOrganisation/properties'
      - ProviderRefId:
          allOf:
          - $ref: '#/definitions/MoEOrgId'
          - description: >-
              <p>1 to 5 digit Ministry Organisation Id for the Provider, without leading zeros</p>
      - Authority:
          allOf:
          - $ref: '#/definitions/NZCodeSetsProviderAuthority'
          - description: >-
              <p>A code denoting the authority by which the Provider is authorised to provide education services. </p>
              <ul>
                  <li>'STATE' - State</li>
                  <li>'STINT' - State: Integrated</li>
                  <li>'PRFUL' - Private: Fully Registered</li>
                  <li>'PRPRO' - Private: Provisionally Registered</li>
                  <li>'OTVOT' - Other: Vote Education</li>
                  <li>'PASCH' - Partnership School</li>
              </ul>
      - SchoolService:
          allOf:
          - $ref: '#/definitions/SchoolService'
          - description: >-
              <p>Only present if the Provider is a provider of school education services. Contains properties that are school-specific. </p>
      - ECEService:
          allOf:
          - $ref: '#/definitions/ECEService'
          - description: >-
              <p>Only present if the Provider is a provider of early childhood education services. Contains properties that are ECE specific.</p>
      - TertiaryService:
          allOf:
          - $ref: '#/definitions/TertiaryService'
          - description: >-
              <p>Only present if the Provider is a provider of tertiary education services. Contains properties that are Tertiary Education specific.</p> <p>A placeholder for future expansion</p>
      - RecordAudit:
          allOf:
          - $ref: '#/definitions/RecordAudit'
          - description: >-
              <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      A recognised provider of education services in the New Zealand education system. Providers may operate in the Early Childhood, Compulsory Schooling or Tertiary sectors.
  # /////////////////////////////////////////////////////////////
  ProviderRelationship:
    type: object
    additionalProperties: false
    properties:
      ProviderRelationshipRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      ProviderRelationshipLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Status:
        allOf:
        - $ref: '#/definitions/NZCodeSetsOrganisationRelationshipStatus'
        - description: >-
            <p>Records if this OrganisationRelationship is Active or Inactive</p>
            <ul>
                <li>'A' - Active</li>
                <li>'I' - Inactive</li>
            </ul>
      RelationshipType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsOrganisationRelationshipType'
        - description: >-
            <p>The SIF GUID for the source provider in the relationship.</p>
            <ul>
                <li>'CAH' - Client and Host</li>
                <li>'CAR' - Contributor and Receiver</li>
                <li>'TPU' - Teen Parent Unit</li>
                <li>'ACE' - Activity Centre</li>
                <li>'LOF' - Local Office and Organisation</li>
                <li>'EPL' - Playgroup - ECE Service Provider</li>
                <li>'ESP' - Licenced ECEService - ECE Service Provider</li>
                <li>'34008' - School and Attached Unit</li>
                <li>'34028' - Community of Learning Funded Member</li>
                <li>'34029' - Community of Learning Unfunded Member</li>
                <li>'34037' - Learning Support Cluster Member</li>
                <li>'34031' - School RTLB Cluster Member</li>
            </ul>
      SourceOrganisation:
        allOf:
        - $ref: '#/definitions/OrganisationObjectReference'
        - description: >-
            <p>Generic object reference to the source provider in the relationship.</p>
      SourceOrganisationRole:
        allOf:
        - $ref: '#/definitions/NZCodeSetsSourceOrganisationRole'
        - description: >-
            <p>The role the source organisation is playing in this relationship.</p>
            <ul>
                <li>'COL' - Community of Learning - Kāhui Ako</li>
                <li>'ECE' - ECE Service Provider - Kura Kōhungahunga</li>
                <li>'LOC' - Local Office</li>
                <li>'LSC' - Learning Support Cluster - Kāhui Akoranga Tautoko</li>
                <li>'RTL' - RTLB Cluster</li>
                <li>'SCH' - School - Kura</li>
            </ul>
      SourceOrganisationAgreementDate:
        type: string
        format: date
        description: >-
          <p>The date the source Provider in the relationship registered their agreement to the relationship. nil value if the source Provider is yet to register their agreement ot the relationship.</p>
      RelatedOrganisation:
        allOf:
        - $ref: '#/definitions/OrganisationObjectReference'
        - description: >-
            <p>Generic object reference to the related provider in the relationship.</p>
      RelatedOrganisationRole:
        allOf:
        - $ref: '#/definitions/NZCodeSetsRelatedOrganisationRole'
        - description: >-
            <p>The role the related organisation is playing in this relationship.</p>
            <ul>
                <li>'184000' - Standard Member</li>
                <li>'184001' - Employing Member</li>
                <li>'184002' - Accommodating Member</li>
                <li>'33038' - Approved Funded Member</li>
                <li>'33039' - Joined Funded Member</li>
                <li>'33040' - Approved Unfunded Member</li>
                <li>'33041' - Joined Unfunded Member</li>
                <li>'LOM' - Local Office Member</li>
                <li>'SPM' - ECE Service Provider Member</li>
                <li>'33046' - Attached Funded Unit</li>
                <li>'33047' - Activity Centre</li>
                <li>'33048' - Teen Parent Unit</li>
            </ul>
              plus 2 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsRelatedOrganisationRoleType">NZCodeSetsRelatedOrganisationRoleType<a>
      RelatedOrganisationAgreementDate:
        type: string
        format: date
        description: >-
          <p>The date the related Provider in the relationship registered their agreement to the relationship. nil value if the related Provider is yet to register their agreement ot the relationship.</p>
      EffectiveDate:
        type: string
        format: date
        description: >-
          <p>The date from which the provider relationship is active.</p>
      ExpirationDate:
        type: string
        format: date
        description: >-
          <p>The date after which the provider relationship is no longer active.</p>
      YearLevelList:
        allOf:
        - $ref: '#/definitions/YearLevelList'
        - description: >-
            <p>A list of YearLevels, denoting the year levels of the learners being hosted or sent from the client or contributing provider</p>
      SubjectAreaList:
        allOf:
        - $ref: '#/definitions/SubjectAreaList'
        - description: >-
            <p>A list of Subject or Learning Areas, denoting the curriculum subjects or learning areas that the learners being sent by the Source Provider are taught at the Related Provider.</p>
      Description:
        type: string
        description: >-
          <p>Free text description providing more detail about the provider relationship.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>Records a recognised relationship between two education Providers. The two providers are referred to as the Source Provider and the Related Provider. </p> <p>RelationshipType records the nature of the relationship between the two providers, and gives guidance on which Provider is the Source Provider and which is the Related Provider. </p>
  # /////////////////////////////////////////////////////////////
  Organisation:
    type: object
    additionalProperties: false
    properties:
      allOf:
      - $ref: '#/definitions/EduOrganisation/properties'
      - OrganisationRefId:
          allOf:
          - $ref: '#/definitions/MoEOrgId'
          - description: >-
              <p>1 to 5 digit Ministry Organisation Id for the Organisation, without leading zeros</p>
      - RecordAudit:
          allOf:
          - $ref: '#/definitions/RecordAudit'
          - description: >-
              <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      A generic organisation that operates within the education sector; but doesn’t provide education services. e.g. Communities of Learning | Kāhui Ako, Ministry local offices, Industry training organisations, etc.
  # /////////////////////////////////////////////////////////////
  AcademicDepartment:
    type: object
    additionalProperties: false
    properties:
      AcademicDepartmentRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      AcademicDepartmentLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Name:
        type: string
        description: >-
          <p>The name of the academic department.</p>
      Description:
        type: string
        description: >-
          <p>Free text description providing more detail about the academic department.</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>The ID (GUID) of the provider for this acadmic department resides in.</p>
      StaffList:
        allOf:
        - $ref: '#/definitions/StaffList'
        - description: >-
            <p>A list of the staff members that belong to the academic department.</p>
      CourseList:
        allOf:
        - $ref: '#/definitions/CourseList'
        - description: >-
            <p>A list of the courses the academic department manages.</p>
      SubjectAreaList:
        allOf:
        - $ref: '#/definitions/SubjectAreaList'
        - description: >-
            <p>A list of the subject areas the academic department manages.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p> Information about an academic department within a provider, e.g. Maths Department. </p>
  # /////////////////////////////////////////////////////////////
  StaffPersonal:
    type: object
    additionalProperties: false
    properties:
      StaffPersonalRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      StaffPersonalLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      ESLPairwiseId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The GUID used by Education Sector Logon (ESL) to identify the Staff Member</p>
      SchoolSMSUserId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The identifier used by the school's SMS to identify the Staff Member</p>
      EnableLogin:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Indicates whether or not the staff member's ability to login is enabled. Yes, means the staff member can log in. No means they cannot.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      PersonInfo:
        allOf:
        - $ref: '#/definitions/PersonInfo'
        - description: >-
            <p>Personal Information </p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>All the personal contact and demographic information relating to a staff member, who might be a teacher or other employee of a Provider.</p> <p>Non personal information relating to the staff member's relationship with Providers is stored in the StaffAssignment data object.</p>
  # /////////////////////////////////////////////////////////////
  StaffAssignment:
    type: object
    additionalProperties: false
    properties:
      StaffAssignmentRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      StaffAssignmentLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      StaffAssignmentStatus:
        allOf:
        - $ref: '#/definitions/NZCodeSetsStaffAssignmentStatus'
        - description: >-
            <p>States whether or not this is an inactive or active assignment for a staff member.</p>
            <ul>
                <li>'A' - Active</li>
                <li>'I' - Inactive</li>
            </ul>
      StaffMember:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the staff member, as represented in the StaffPersonal object. </p>
      AssignedLocation:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>A generic object reference to either <code>Provider</code> or <code>Organisation</code> that the staff member is assigned to.</p>
      EmployingOrAccommodatingProvider:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Indicates whether or not this is the staff member's employing/accommodating provider. Only applies to staff members assigned to schools.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      Description:
        type: string
        description: >-
          <p>Short description of the staff member's assignment to the provider.</p>
      StaffRole:
        allOf:
        - $ref: '#/definitions/NZCodeSetsStaffRole'
        - description: >-
            <p>The single role the StaffMember has in relation to all students at the assigned location.</p>
            <ul>
                <li>'1001' - Principal - Tumuaki</li>
                <li>'1002' - Deputy Principal</li>
                <li>'1003' - Associate Principal</li>
                <li>'1004' - Assistant Principal</li>
                <li>'1005' - Principal's Nominee (NZQA)</li>
                <li>'1006' - Enrolment Officer</li>
                <li>'1007' - Timetabler</li>
                <li>'1008' - Relief Coordinator</li>
                <li>'1009' - Office Manager</li>
                <li>'1010' - Office Assistant</li>
                <li>'1012' - Finance Assistant</li>
                <li>'1013' - IT Manager</li>
            </ul>
              plus 52 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsStaffRoleType">NZCodeSetsStaffRoleType<a>
      StartDate:
        type: string
        format: date
        description: >-
          <p>This is the date from which the staff assignment is valid (inclusive).</p>
      EndDate:
        type: string
        format: date
        description: >-
          <p>This is the date through which the staff assignment is valid (inclusive). This can be NULL when the staff member's assignment to a particular role is open-ended.</p>
      CasualReliefTeacher:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Is this teacher a casual relief teacher CRT?</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      EmploymentStatus:
        allOf:
        - $ref: '#/definitions/NZCodeSetsStaffStatus'
        - description: >-
            <p>Status of staff member within this school. Where a Staff member is employed by an organisation that covers more than one school, employment status may be different at each school.</p>
            <ul>
                <li>'A' - Active</li>
                <li>'I' - Inactive</li>
                <li>'S' - Suspended</li>
                <li>'O' - On Leave</li>
            </ul>
      StaffSubjectList:
        allOf:
        - $ref: '#/definitions/StaffSubjectList'
        - description: >-
            <p>The set of SubjectArea/LearningAreas the that the staff member is responsible for. e.g. "Head of Dept (Maths)" includes students learning any flavour of Mathematics.</p>
      YearLevels:
        allOf:
        - $ref: '#/definitions/YearLevelList'
        - description: >-
            <p>The set of student Year Levels that the staff member is responsible for. e.g. "Junior Student Dean" could have responsibility for all students in year levels 9 & 10.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>Records assignment of a Staff member to a particular role at a Provider or other EducationOrganisation. A staff member can have multiple concurrent roles at Schools (via Provider data object) and Kāhui Ako (via the EducationOrganisation data object); each role would be a separate StaffAssignment record.</p> <p>Role assignments can be restricted to categories of Students with the StaffSubjectList and YearLevelList. This allows for assignment to roles with particular responsibility for general cohorts of students, such as "Head of Department (Maths)" or "Year 8 Student Dean".</p> <p>While assignment to student contact roles such as Subject Teacher, Homeroom Teacher, Whānau Teacher or House Master is made with this data object; Details of the particular group of specific students the staff member is responsible for are made via the TeachingGroup data object.</p>
  # /////////////////////////////////////////////////////////////
  StaffTeachingGroupAssignment:
    type: object
    additionalProperties: false
    properties:
      StaffTeachingGroupAssignmentRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      StaffTeachingGroupAssignmentLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Status:
        allOf:
        - $ref: '#/definitions/NZCodeSetsStaffTeachingGroupAssignmentStatus'
        - description: >-
            <p>States whether or not this is an inactive or active assignment for a staff member.</p>
            <ul>
                <li>'A' - Active</li>
                <li>'I' - Inactive</li>
            </ul>
      StaffMember:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the staff member, as represented in the StaffPersonal object. </p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>A generic object reference to the Provider making the assignment.</p>
      TeachingGroup:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>A generic object reference to the TeachingGroup that the staff member is assigned to.</p>
      Role:
        allOf:
        - $ref: '#/definitions/NZCodeSetsStaffTeachingGroupRole'
        - description: >-
            <p>Code denoting the role the staff member plays within the TeachingGroup, eg. ClassroomTeacher, SubjectTeacher, ClassroomAide, etc.</p>
            <ul>
                <li>'1201' - Subject Teacher</li>
                <li>'1202' - Subject Release Teacher</li>
                <li>'1203' - Subject Relief Teacher</li>
                <li>'1204' - Subject Tutor</li>
                <li>'1205' - Classroom Teacher</li>
                <li>'1206' - Classroom Release Teacher</li>
                <li>'1207' - Classroom Relief Teacher</li>
                <li>'1209' - Itinerant Subject Teacher</li>
                <li>'1210' - Itinerant Subject Tutor</li>
                <li>'1211' - Specialist Classroom Teacher</li>
                <li>'1401' - Homeroom Teacher</li>
                <li>'1402' - Release Homeroom Teacher</li>
            </ul>
              plus 2 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsStaffTeachingGroupRoleType">NZCodeSetsStaffTeachingGroupRoleType<a>
      StartDate:
        type: string
        format: date
        description: >-
          <p>This is the date from which the staff assignment is valid (inclusive).</p>
      EndDate:
        type: string
        format: date
        description: >-
          <p>This is the date through which the staff assignment is valid (inclusive). This can be NULL when the staff member's assignment to a particular role is open-ended.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>Records assignment of a Staff member to a particular role with a particular TeachingGroup at a Provider</p>
  # /////////////////////////////////////////////////////////////
  StudentPersonal:
    type: object
    additionalProperties: false
    properties:
      StudentPersonalRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      StudentPersonalLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from. This identifier may be set for each student independently for each provider. Each identifier is only available to be retrieved or maintained by the provider that created it.</p>
      NationalStudentNumber:
        type: integer
        minimum: 1
        description: >-
          <p>The unique identifier allocated to every student in New Zealand, also known as the NSN.</p>
      NZQAStudentId:
        type: string
        description: >-
          <p>NZQA's unique identifier for a student who has been registered for assessments to be conducted against the NZQA framework to achieve unit/achievement standards and national qualifications. </p>
      FirstNZSchoolingDate:
        type: string
        format: date
        description: >-
          <p>The date a student first ever started schooling in New Zealand. This field is used to establish most students’ Funding Year Level.</p>
      EarlyChildhoodEducation:
        allOf:
        - $ref: '#/definitions/EarlyChildhoodEducation'
        - description: >-
            <p>The type of early childhood education the student received before enrolling in their first school.</p>
      PersonInfo:
        allOf:
        - $ref: '#/definitions/PersonInfo'
        - description: >-
            <p>Personal Information </p>
      BiographicChangeReason:
        allOf:
        - $ref: '#/definitions/NZCodeSetsBiographicChangeReason'
        - description: >-
            <p>The reason that the persons biographic data was changed.</p>
            <ul>
                <li>'CF' - Changed by family (PA request) - He Panoni Nā te Whānau</li>
                <li>'EI' - Entered incorrectly - I hē te whakauru</li>
                <li>'ON' - Official name change - Kua mana te panoni ingoa</li>
            </ul>
      CustodyNote:
        type: string
        description: >-
          <p>Notes about a students care and custody status.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      Contains all the personal information related to the student.
  # /////////////////////////////////////////////////////////////
  StudentContactPersonal:
    type: object
    additionalProperties: false
    properties:
      StudentContactPersonalRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      StudentContactPersonalLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      HasBOTVote:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Records that this Whānau member holds the Whānau's Board of Trustees vote.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      PersonInfo:
        allOf:
        - $ref: '#/definitions/PersonInfo'
        - description: >-
            <p>Personal Information collected about the StudentContact, when that contact is a member of the Student's whānau.</p>
      HealthcareServiceInfo:
        allOf:
        - $ref: '#/definitions/HealthcareServiceInfo'
        - description: >-
            <p>Information about the StudentContact, when that contact is a healthcare service. Details about the actual healthcare pratitioner are kept in the PersonInfo fields.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      Information about a Student's whānau member.
  # /////////////////////////////////////////////////////////////
  StudentContactRelationship:
    type: object
    additionalProperties: false
    properties:
      StudentContactRelationshipRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      StudentContactRelationshipLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Status:
        allOf:
        - $ref: '#/definitions/NZCodeSetsStudentContactRelationshipStatus'
        - description: >-
            <p>States whether or not this is an inactive or active Student Contact Relationship.</p>
            <ul>
                <li>'A' - Active</li>
                <li>'I' - Inactive</li>
            </ul>
      StartDate:
        type: string
        format: date
        description: >-
          <p>The date the relationship between the student and contact was recorded.</p>
      EndDate:
        type: string
        format: date
        description: >-
          <p>The date the relationship between the student and contact was removed.</p>
      Student:
        allOf:
        - $ref: '#/definitions/StudentObjectReference'
        - description: >-
            Generic object reference to the Student.
      StudentContact:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            Generic object reference to the student contact.
      Provider:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            Generic object reference to the Provider associated with the relationship.
      Relationship:
        allOf:
        - $ref: '#/definitions/Relationship'
        - description: >-
            <p>Defines the relationship of the contact to the student.</p>
      LanguageUsed:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLanguage'
        - description: >-
            The language the student and their contact use to communicate.
            <ul>
                <li>'NZS01' - Germanic</li>
                <li>'NZS011' - West Germanic</li>
                <li>'NZS01100' - West Germanic not further defined</li>
                <li>'NZS01110' - Afrikaans</li>
                <li>'NZS01111' - Dutch</li>
                <li>'NZS01112' - English - Pākehā</li>
                <li>'NZS01113' - German</li>
                <li>'NZS01114' - Friesian</li>
                <li>'NZS01115' - Yiddish</li>
                <li>'NZS01116' - Scots</li>
                <li>'NZS01199' - West Germanic not elsewhere classified</li>
                <li>'NZS012' - North Germanic</li>
            </ul>
              plus 252 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsLanguageType">NZCodeSetsLanguageType<a>
      HouseholdList:
        allOf:
        - $ref: '#/definitions/HouseholdList'
        - description: >-
            <p>A list of one or more household identifiers indicating the households associated with this relationship.</p>
      ContactFlags:
        allOf:
        - $ref: '#/definitions/ContactFlags'
        - description: >-
            <p>Contains characteristics of the contact person's role with the Student. At least one of the flags must be populated with a 'Yes' value.</p>
      ContactSequence:
        type: integer
        minimum: 0
        maximum: 4294967295
        description: >-
          <p>Number indicating the order in which the student contact should be contacted.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>A relationship between a person who is part of a Student's whānau and that Student. Relationship properties include the relationship type and roles played by the student contact in respect of the student.</p> <p>Individual details about the student and student contact are provided in other data objects - StudentPersonal and StudentContactPersonal respectively.</p>
  # /////////////////////////////////////////////////////////////
  Document:
    type: object
    additionalProperties: false
    properties:
      DocumentRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The ID (GUID) assigned to uniquely identify this Document.</p>
      DocumentLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>Generic object reference to the Provider that first uploaded this document.</p>
      Location:
        type: string
        description: >-
          <p>Location of Documentation.</p>
      DocumentTitle:
        type: string
        description: >-
          <p>Document's full title.</p>
      DocumentDescription:
        type: string
        description: >-
          <p>What the document is and how it is related to the Student.</p>
      AddedDateTime:
        type: string
        format: date-time
        description: >-
          <p>The date the document was added at the source system.</p>
      ReviewDate:
        type: string
        format: date
        description: >-
          <p>Document Review Date.</p>
      URL:
        type: string
        format: uri
        description: >-
          <p>URL if known.</p>
      NoteText:
        type: string
        description: >-
          <p>If the type of document is 'Note' then this is populated with the free text that makes up the note.</p>
      RelatedToList:
        allOf:
        - $ref: '#/definitions/RelatedToList'
        - description: >-
            <p>A list of objects that this document relates to, e.g. a Wellbeing Response or Characteristic, Physical Restraint. </p>
      DocumentClassification:
        allOf:
        - $ref: '#/definitions/NZCodeSetsDocumentClassification'
        - description: >-
            <p>The classification of the document to give an indication of the audience who should have access.</p>
            <ul>
                <li>'IC' - In-Confidence - Noho muna</li>
                <li>'SE' - Sensitive - Āritarita</li>
                <li>'UC' - Unclassified - Kāre anō kia kōmakatia</li>
            </ul>
      DocumentType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsDocumentType'
        - description: >-
            <p>The type of document, e.g. Personalised Plan, Wellbeing Event or Response supporting documentation.</p>
            <ul>
                <li>'IBP' - Individualised Behavioural Plan - Mahere Whanonga mā te Ākonga</li>
                <li>'IEP' - Individualised Education Plan - Mahere Mātauranga mā te Ākonga</li>
                <li>'MED' - Medical - Toha rongoā</li>
                <li>'ATT' - Attendance - Te Tae ki te Kura</li>
                <li>'BEH' - Behavioural - Whanonga</li>
                <li>'ACA' - Academic - Mātauranga</li>
                <li>'LEG' - Legal - Ture</li>
                <li>'OTH' - Other - Mea kē</li>
                <li>'PHO' - Photo - Whakaahua</li>
                <li>'MEA' - Media (e.g. video) - Pāpāho (h.t. whitiata)</li>
                <li>'DOC' - Document - Tuhinga</li>
                <li>'NOT' - Note - Pito kōrero</li>
            </ul>
              plus 6 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsDocumentTypeType">NZCodeSetsDocumentTypeType<a>
      PersonDocumentRoleList:
        allOf:
        - $ref: '#/definitions/PersonDocumentRoleList'
        - description: >-
            <p>The list of people associated to a document and their role in relation to it, e.g. author, owner, reviewer, subject of.</p>
      DocumentDate:
        type: string
        format: date
        description: >-
          <p>The date of the document, e.g. the date the document was produced.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>The universally unique identifier for the data object record that is used across systems.</p>
  # /////////////////////////////////////////////////////////////
  StudentConsent:
    type: object
    additionalProperties: false
    properties:
      StudentConsentRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      StudentConsentLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Student:
        allOf:
        - $ref: '#/definitions/StudentObjectReference'
        - description: >-
            <p>Generic object reference to the student granting or revoking this student consent.</p>
      Organisation:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>Generic object reference to the organisation being granted this student consent.</p>
      StaffMember:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the staff member that is recording this consent.</p>
      ConsentTo:
        allOf:
        - $ref: '#/definitions/NZCodeSetsStudentConsentTo'
        - description: >-
            <p>What the student is consenting or not consenting to.</p>
            <ul>
                <li>'PHT' - Share Photos - </li>
                <li>'ART' - Share Art - </li>
                <li>'WRI' - Share Writing - </li>
                <li>'MED' - Medical Treatment - </li>
                <li>'ADM' - Panadol - </li>
                <li>'LSC' - Learning Support Cluster Sharing - Ratonga Tautoko Akoranga Tuari ā-Kahui</li>
                <li>'LSR' - Learning Support Receive Service - Ratonga Tautoko Akoranga Kua Whiwhia</li>
                <li>'PAR' - Parental Consent To Share With Next ECE Or School - Whakaaetanga Tuari ki te Kura Kōhungahunga, ki te Kura rānei</li>
                <li>'TRI' - Authority to release student's NZQA results to a tertiary institution</li>
            </ul>
      ConsentGiven:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesNoNotRequired'
        - description: >-
            <p>Indicates whether or not censent was given, or specifically not given</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'R' - Not required - Kāre i hiahiatia</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      ConsentGivenBy:
        allOf:
        - $ref: '#/definitions/NZCodeSetsConsentGivenBy'
        - description: >-
            <p>The role of the person who gave consent on behalf of the student, e.g. Whānau, Learner.</p>
            <ul>
                <li>'NOT' - Not provided - Kāre he whakaaetanga</li>
                <li>'STU' - Student - Ākonga</li>
                <li>'WHA' - Whānau - Whānau</li>
            </ul>
      ConsentDate:
        type: string
        format: date
        description: >-
          <p>The date the consent or no consent was given.</p>
      ConsentRevokedDate:
        type: string
        format: date
        description: >-
          <p>The date the consent ended, if it was given.</p>
      RelatedObject:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to a data object that relates to this consent. e.g. the student enrolment record this consent was captured as part of.</p>
      AdditionalInformation:
        type: string
        description: >-
          <p> Additional free text information provided about the consent.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      A record of Student's consent or non-consent to some action taking place.
  # /////////////////////////////////////////////////////////////
  TeachingGroup:
    type: object
    additionalProperties: false
    properties:
      TeachingGroupRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      TeachingGroupLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      ShortName:
        type: string
        description: >-
          <p>Short free format label that describes the group.</p>
      LongName:
        type: string
        description: >-
          <p>Longer description if required.</p>
      GroupType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsTeachingGroupType'
        - description: >-
            <p>Provides the means of identifying the type of group such as roll class or subject class for instance and treat them accordingly.</p>
            <ul>
                <li>'RC' - Roll Class</li>
                <li>'SC' - Subject Class</li>
                <li>'HR' - Home Room</li>
            </ul>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>RefId of the Provider who defines the TeachingGroup. Either RefId or LocalId must be provided.</p>
      TeachingProvider:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>RefId of the Provider who actually teaches the TeachingGroup. Only present when the teaching provider is not the defining provider.</p>
      ScheduleTerm:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The term that the teaching groups run for, e.g. Term 1, Full Year etc.</p>
      StudentList:
        allOf:
        - $ref: '#/definitions/StudentList'
        - description: >-
            <p>List of Students in this Teaching Group</p>
      TeacherList:
        allOf:
        - $ref: '#/definitions/StaffList'
        - description: >-
            <p>A List of staff associated with the group – may or may not include the teacher timetabled in the schedule.</p>
      CourseList:
        allOf:
        - $ref: '#/definitions/CourseList'
        - description: >-
            <p>List of generic references denoting the Courses the TeachingGroup is being taught.</p>
      SubjectAreaList:
        allOf:
        - $ref: '#/definitions/SubjectAreaList'
        - description: >-
            <p>List of codes denoting the Learning or Subject Areas of the Course the TeachingGroup is being taught.</p>
      YearLevelList:
        allOf:
        - $ref: '#/definitions/YearLevelList'
        - description: >-
            <p>For Subject Class teaching groups: the list of codes denoting the Year Levels of the Course the TeachingGroup is being taught.</p> <p>For Roll Class teaching groups, the Year Levels of the students in the roll class group.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>Identifies a particular class or other group of students. Such groups can have multiple staff assigned in a variety of roles, may be assigned students from multiple year levels and may be taught multiple courses. </p>
  # /////////////////////////////////////////////////////////////
  ProviderCourse:
    type: object
    additionalProperties: false
    properties:
      ProviderCourseRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      ProviderCourseLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>Generic object reference to the Provider (school) that defines and offers the Course.</p>
      Curriculum:
        allOf:
        - $ref: '#/definitions/NZCodeSetsCurriculum'
        - description: >-
            <p>Which of New Zealand's three Curricula is covered by the Course.</p>
            <ul>
                <li>'NZC' - New Zealand Curriculum - New Zealand Curriculum</li>
                <li>'TMA' - Te Marautanga o Aotearoa - Te Marautanga o Aotearoa</li>
                <li>'ECE' - Te Whāriki - Te Whāriki</li>
                <li>'OTH' - Other Curriculum - Marau Kē</li>
            </ul>
      SubjectAreaList:
        allOf:
        - $ref: '#/definitions/SubjectAreaList'
        - description: >-
            <p>Subject matter areas covered by the Course.</p>
      YearLevelList:
        allOf:
        - $ref: '#/definitions/YearLevelList'
        - description: >-
            <p>Year Levels covered by the Course.</p>
      Title:
        type: string
        description: >-
          <p>Title of the Course.</p>
      Description:
        type: string
        description: >-
          <p>Textual description of the Course.</p>
      Duration:
        type: integer
        minimum: 0
        maximum: 4294967295
        description: >-
          <p>The number of weeks the course is taught for.</p>
      Credits:
        type: number
        description: >-
          <p>The number of credits awarded upon Course completion.</p>
      LanguageOfInstructionList:
        allOf:
        - $ref: '#/definitions/LanguageOfInstructionList'
        - description: >-
            <p>The language of instruction for the Course.</p>
      NZQAShortCOurseInd:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Indicator to advise NZQA that course does not have sufficient credits for endorsement.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      LearningStandardList:
        allOf:
        - $ref: '#/definitions/LearningStandardList'
        - description: >-
            <p>A list of references to LearningStandard data objects that students are assessed against as part of the Course</p>
      CredentialList:
        allOf:
        - $ref: '#/definitions/CredentialList'
        - description: >-
            <p>A list of <code>ObjectReference</code>s to the Credentials that may be gained by students completing the course.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>A Provider defined Course that Students enrol in, and may be assessed for, and achieve passes in.</p>
  # /////////////////////////////////////////////////////////////
  LearningStandard:
    type: object
    additionalProperties: false
    properties:
      LearningStandardRefId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      LearningStandardLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>Code assigned by the LearningStandard publisher to identify the LearningStandard. This may not uniquely identify the LearningStandard, where there may be multiple editions or versions of a particular LearningStandard. The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Title:
        type: string
        description: >-
          <p>The name of the LearningStandard. eg: "Demonstrate understanding of chemical reactivity"</p>
      Number:
        type: integer
        minimum: -2147483648
        maximum: 2147483647
        description: >-
          <p>A unique number that is used to identify the learning standard. One use of this is for NZQA standard numbers which cannot be used as a unique identifier (in LocalId) on their own as they are versioned so are part of a composite key with VersionNo.</p>
      VersionNo:
        type: number
        description: >-
          <p>The version number of the LearningStandard.</p>
      Publisher:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the EducationOrganisation that published the LearningStandard</p>
      StandardType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLearningStandardType'
        - description: >-
            <p>Code denoting the type of LearningStandard.</p>
            <ul>
                <li>'US' - Unit Standard - Paerewa</li>
                <li>'AS' - Achievement Standard - Tutukitanga</li>
                <li>'SC' - Scholarship - Karahipi</li>
                <li>'OT' - Other</li>
            </ul>
      LearningStandardFamily:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLearningStandardFamily'
        - description: >-
            <p>The family the learning standard is part of.</p>
            <ul>
                <li>'NC' - NCEA</li>
                <li>'NZ' - NZQF</li>
                <li>'CA' - Cambridge International Education</li>
                <li>'IB' - International Baccalaureate</li>
                <li>'OT' - Other</li>
            </ul>
      Description:
        type: string
        description: >-
          <p>Description of the standards document.</p>
      SubjectAreaList:
        allOf:
        - $ref: '#/definitions/SubjectAreaList'
        - description: >-
            <p>Which standard MoE Learning / Subject Areas is this LearningStandard part of?</p>
      Status:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLearningStandardStatus'
        - description: >-
            <p>A code denoting the current status of the LearningStandard, as set by the Publisher.</p>
            <ul>
                <li>'CA' - Candidate</li>
                <li>'PU' - Published</li>
                <li>'SU' - Superceded</li>
                <li>'DI' - Discontinued</li>
            </ul>
      PublicationDate:
        type: string
        format: date
        description: >-
          <p>The date the publishing organization published the standard.</p>
      SupercededDate:
        type: string
        format: date
        description: >-
          <p>The date the publishing organization superceded (or will supercede) the LearningStandard. May be future dated.</p>
      DiscontinuedDate:
        type: string
        format: date
        description: >-
          <p>The date the publishing organization discontinued (or will discontinue) the LearningStandard. May be future dated.</p>
      Credits:
        type: number
        description: >-
          <p>The number of course (or other qualification) credits that will be achieved by passing this LearningStandard.</p>
      Level:
        type: number
        description: >-
          <p>Where the publisher is NZQA, Which NCEA Level applies to the LearningStandard?</p>
      AssessmentType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsAssessmentType'
        - description: >-
            <p>Code denoting how the LearningStandard is assessed.</p>
            <ul>
                <li>'INT' - Internal - Aromatawai ā-roto</li>
                <li>'EXT' - External - Aromatawai ā-waho</li>
                <li>'MOC' - Mock</li>
                <li>'POR' - Portfolio</li>
                <li>'PRA' - Practical</li>
                <li>'OTJ' - Overall Teacher Judgement - Tā te Pouako i whakarite ai</li>
                <li>'OTH' - Other</li>
            </ul>
      RelatedLearningStandardList:
        allOf:
        - $ref: '#/definitions/RelatedLearningStandardsList'
        - description: >-
            <p>A list of related LearningStandard references</p>
      CredentialList:
        allOf:
        - $ref: '#/definitions/CredentialList'
        - description: >-
            <p>A list of Credentials that the learning standard contributes to attaining.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>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. </p>
  # /////////////////////////////////////////////////////////////
  Credential:
    type: object
    additionalProperties: false
    properties:
      CredentialRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      CredentialLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>Code assigned by the Credential administrator to identify the CreLocalIddential. This may not uniquely identify the Credential, where there may be multiple editions or versions of a particular Credential. The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Title:
        type: string
        description: >-
          <p>The name of the Credential. eg: "NCEA Level 1"</p>
      VersionNo:
        type: number
        description: >-
          <p>The version number of the Credential.</p>
      Administrator:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the Provider or Organisation that administers the Credential</p>
      Description:
        type: string
        description: >-
          <p>Description of the credential</p>
      SubjectAreaList:
        allOf:
        - $ref: '#/definitions/SubjectAreaList'
        - description: >-
            <p>Which standard MoE Learning / Subject Areas is this Credential part of?</p>
      Status:
        allOf:
        - $ref: '#/definitions/NZCodeSetsCredentialStatus'
        - description: >-
            <p>A code denoting the current status of the Credential, as set by the Administrator.</p>
            <ul>
                <li>'CA' - Candidate</li>
                <li>'PU' - Published</li>
                <li>'SU' - Superceded</li>
                <li>'DI' - Discontinued</li>
            </ul>
      PublicationDate:
        type: string
        format: date
        description: >-
          <p>This is the date that the administering organization published the Credential.</p>
      SupercededDate:
        type: string
        format: date
        description: >-
          <p>The date the administering organization superceded (or will supercede) the Credential. May be future dated.</p>
      DiscontinuedDate:
        type: string
        format: date
        description: >-
          <p>The date the administering organization discontinued (or will discontinue) the Credential. May be future dated.</p>
      Credits:
        type: number
        description: >-
          <p>The number of course (or other qualification) credits that will be achieved by attaining this Credential.</p>
      Level:
        type: string
        description: >-
          <p>The level of the credential if applicable, eg. 1,2 or 3 for NCEA levels</p>
      RelatedLearningStandardList:
        allOf:
        - $ref: '#/definitions/RelatedLearningStandardsList'
        - description: >-
            <p>A list of related LearningStandard references</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>A qualification or other award published by a national body, professional association or other interested party. The Credential recognises a set of learning that students have undertaken and successfully completed. </p>
  # /////////////////////////////////////////////////////////////
  StudentProviderEnrolment:
    type: object
    additionalProperties: false
    properties:
      StudentProviderEnrolmentRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      StudentProviderEnrolmentLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Student:
        allOf:
        - $ref: '#/definitions/StudentObjectReference'
        - description: >-
            <p>Generic object reference to the Student enrolling at the Provider</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>Generic object reference to the education Provider, eg school.</p>
      StudentId:
        type: string
        description: >-
          <p>A unique identifier assigned to a Student for a period of enrolment by a provider.</p>
      EntryDate:
        type: string
        format: date
        description: >-
          <p>The date from when this enrolment is ACTIVE. The date of the student’s first attendance at the provider. If future dated, then the intended first attendance date of the enrolment.</p>
      ExitDate:
        type: string
        format: date
        description: >-
          <p>The date of a student’s last attendance at the provider.</p>
      Status:
        allOf:
        - $ref: '#/definitions/NZCodeSetsProviderEnrolmentStatus'
        - description: >-
            <p>The status of the enrolment WiP</p>
            <ul>
                <li>'APP' - Application</li>
                <li>'ACC' - Accepted</li>
                <li>'CAN' - Cancelled</li>
                <li>'ACT' - Active</li>
                <li>'WIT' - Withdrawn</li>
                <li>'PEN' - Pending</li>
            </ul>
      Exit:
        allOf:
        - $ref: '#/definitions/ProviderExit'
        - description: >-
            <p>Details of the reasons, and interventions leading up to the student's enrolment being terminated.</p>
      ECEEducationHistoryList:
        allOf:
        - $ref: '#/definitions/ECEEducationHistoryList'
        - description: >-
            <p>The list of the types of early childhood education the parent told a primary school that the student received and the hours per week and/or day the student attended.</p>
      EarlyChildhoodEnrolment:
        allOf:
        - $ref: '#/definitions/StudentECEEnrolment'
        - description: >-
            <p>Properties of an enrolment in an early childhood service (WiP).</p>
      SchoolEnrolmentList:
        allOf:
        - $ref: '#/definitions/StudentSchoolEnrolmentList'
        - description: >-
            <p>Properties of an enrolment in a school</p>
      TertiaryEducationEnrolment:
        allOf:
        - $ref: '#/definitions/StudentTertiaryEnrolment'
        - description: >-
            <p>Properties of an enrolment in a Tertiary Education service (WiP).</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>A student's association with an education provider for the purpose of receiving educational servics.</p> <p>Provider enrolments span multiple years with the ProviderEnrolment containing one or more ECE, School or Tertiary Enrolment sub-objects for each particular year.</p>
  # /////////////////////////////////////////////////////////////
  StudentTeachingGroupEnrolment:
    type: object
    additionalProperties: false
    properties:
      StudentTeachingGroupEnrolmentRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      StudentTeachingGroupEnrolmentLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Status:
        allOf:
        - $ref: '#/definitions/NZCodeSetsStudentTeachingGroupEnrolmentStatus'
        - description: >-
            <p>States whether or not this is an inactive or active TeachingGroup enrolment.</p>
            <ul>
                <li>'A' - Active</li>
                <li>'I' - Inactive</li>
            </ul>
      Student:
        allOf:
        - $ref: '#/definitions/StudentObjectReference'
        - description: >-
            <p>Generic object reference to the Student enrolling in the TeachingGroup</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>Generic object reference to the education Provider, eg school, that has the TeachingGroup</p>
      TeachingGroup:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the TeachingGroup the student is enroling in.</p>
      StartDate:
        type: string
        format: date
        description: >-
          <p>The date the Student's enrolment in the teaching group starts.</p>
      EndDate:
        type: string
        format: date
        description: >-
          <p>The date of a student’s enrolment in the teaching group ends.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>Records a student's arrival to and departure from a TeachingGroup.</p>
  # /////////////////////////////////////////////////////////////
  Schedule:
    type: object
    additionalProperties: false
    properties:
      ScheduleRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p> The ID (GUID) assigned to uniquely identify this Schedule.</p>
      ScheduleLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      ScheduleName:
        type: string
        description: >-
          <p>The name of the schedule.</p>
      StartDate:
        type: string
        format: date
        description: >-
          <p>The start date of the schedule.</p>
      EndDate:
        type: string
        format: date
        description: >-
          <p>The end date of the schedule.</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>The provider the schedule is for.</p>
      AcademicDayList:
        allOf:
        - $ref: '#/definitions/AcademicDayList'
        - description: >-
            <p>A list of the academic days within this schedule.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>A rotation of ScheduleAcademicDays that a Provider has in place to manage their timetable.</p>
  # /////////////////////////////////////////////////////////////
  ScheduleAcademicDay:
    type: object
    additionalProperties: false
    properties:
      ScheduleAcademicDayRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      ScheduleAcademicDayLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      AcademicDayName:
        type: string
        description: >-
          <p>The name of the Academic Day.</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>The provider the academic day belongs to.</p>
      Schedule:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The provider schedule the academic day belongs to.</p>
      BellSchedule:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The bell schedule the academic day is following.</p>
      PeriodList:
        allOf:
        - $ref: '#/definitions/PeriodList'
        - description: >-
            <p>A list of periods that make up this academic day, e.g. Period 1, Period 2 etc.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      An academic day that makes up all or part of a schedule for a provider. An academic day represents a structured day that reoccurs consistently e.g. Day A has five periods that occurs Mon-Wed and Day B has four periods and occurs Thurs-Fri.
  # /////////////////////////////////////////////////////////////
  SchedulePeriod:
    type: object
    additionalProperties: false
    properties:
      SchedulePeriodRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      SchedulePeriodLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      PeriodName:
        type: string
        description: >-
          <p>The name of the schedule period.</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>The provider the schedule period belongs to.</p>
      Schedule:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The provider schedule the schedule period belongs to.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      Defines the periods that take place within one or more academic days. Periods are assigned to particular days in the Schedule in SchduleAcademicDay.PeriodList
  # /////////////////////////////////////////////////////////////
  BellSchedule:
    type: object
    additionalProperties: false
    properties:
      BellScheduleRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      BellScheduleLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      BellScheduleName:
        type: string
        description: >-
          <p>The name of the Bell Schedule.</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>The provider the bell schedule belongs to.</p>
      Schedule:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The provider schedule the bell schedule belongs to.</p>
      SchedulePeriodList:
        allOf:
        - $ref: '#/definitions/SchedulePeriodTimeList'
        - description: >-
            <p>A list of periods that make up this academic day, e.g. Period 1, Period 2 etc.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      Defines bell schedules, each of which is a collection of periods within an academic day with start and end times associated. These bell schedules are assigned to calendar dates on which the school is in session using ScheduleDate in order to specify the school schedule on those dates. These bell schedules should generally only be used to define standard day types. Exception days (unless they repeat multiple times and follow a common template) are defined using ScheduleEvent and ScheduleCustomDayEvent.
  # /////////////////////////////////////////////////////////////
  ScheduleTerm:
    type: object
    additionalProperties: false
    properties:
      ScheduleTermRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      ScheduleTermLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      TermName:
        type: string
        description: >-
          <p>The name of the schedule term.</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>The provider the schedule term applies to, ommitted if it applies to all providers.</p>
      SchoolYear:
        description: >-
          <p>The school year the Term is part of.</p>
      StartDate:
        type: string
        format: date
        description: >-
          <p>The start date of the term</p>
      EndDate:
        type: string
        format: date
        description: >-
          <p>The end date of the term</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>Provides information about school terms, tertiary terms etc., either at a national, or provider level, within a school year. If the term is being supplied at a national level, no provider information will be linked.</p>
  # /////////////////////////////////////////////////////////////
  ScheduleHoliday:
    type: object
    additionalProperties: false
    properties:
      ScheduleHolidayRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      ScheduleHolidayLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>The provider the ScheduleHoliday relates to. Not populated if it is a National Holiday that applies to all providers.</p>
      HolidayDate:
        type: string
        format: date
        description: >-
          <p>The date of the holiday</p>
      HolidayName:
        type: string
        description: >-
          <p>The name of the holiday.</p>
      HolidayLongName:
        type: string
        description: >-
          <p>The long description of the holiday, if there is one.</p>
      AlwaysDisplayFlag:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Display the holiday name even if an academic ScheduleDate record is defined for this date for a school.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>Provides information about a holiday that may or may not impact upon the schedule of a provider.</p>
  # /////////////////////////////////////////////////////////////
  ScheduleDate:
    type: object
    additionalProperties: false
    properties:
      ScheduleDateRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      ScheduleDateLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      CalendarDate:
        type: string
        format: date
        description: >-
          <p>The actual date the school is in session.</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>The provider, e.g. school, tertiary institution etc, that this schedule date record belongs to.</p>
      Term:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The Term in session on this calendar date.</p>
      Schedule:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The schedule within the provider to which this ScheduleDate applies.</p>
      AcademicDay:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The academic day from the schedule that is taking place on this calendar date.</p>
      BellSchedule:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The bell schedule that the provider used on this calendar date.</p>
      TeachingGroupEventList:
        allOf:
        - $ref: '#/definitions/TeachingGroupEventList'
        - description: >-
            <p>List of generic object references to the set of TeachingGroupEvents that take place on this calendar date.</p>
      SchedulePeriodList:
        allOf:
        - $ref: '#/definitions/SchedulePeriodTimeList'
        - description: >-
            <p>A list of the periods that took place on this scheduled date and their start and end times.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      Provides information about the schedule that is being followed on a specific calendar date at a particular Provider, e.g. Academic Day A from the Term 1 Schedule using the Periods and their start and end times defined in Bell Schedule Day A.
  # /////////////////////////////////////////////////////////////
  TeachingGroupEvent:
    type: object
    additionalProperties: false
    properties:
      TeachingGroupEventRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      TeachingGroupEventLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>Generic object reference to the Provider defining the TeachingGroup.</p>
      TeachingGroup:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the TeachingGroup that is meeting.</p>
      Schedule:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the Provider Schedule defining when the TeachingGroup meets.</p>
      SchedulePeriod:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the SchedulePeriod that the TeachingGroup meets.</p>
      AcademicDay:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the ScheduleAcademicDay that the TeachingGroup meets.</p>
      RoomId:
        type: string
        description: >-
          <p>The Id of the room the teaching group is meeting in.</p>
      RoomName:
        type: string
        description: >-
          <p>The name of the room the teaching group is meeting in.</p>
      TakeAttendanceFlag:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Indicates whether or not attendance should be taken for this teaching group event.</p>
      TeacherList:
        allOf:
        - $ref: '#/definitions/StaffList'
        - description: >-
            <p>List of the teacher(s) teaching the class during this timetable event.</p>
      CourseList:
        allOf:
        - $ref: '#/definitions/CourseList'
        - description: >-
            <p>The list of Courses that is being taught to the teaching group at this event.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>Defines a single SchedulePeriod in a Schedule where the TeachingGroup meets.</p>
  # /////////////////////////////////////////////////////////////
  ScheduleEvent:
    type: object
    additionalProperties: false
    properties:
      ScheduleEventRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      ScheduleEventLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>The provider at which this event will occur</p>
      EventDate:
        type: string
        format: date
        description: >-
          <p>The start date of the event.</p>
      EventEndDate:
        type: string
        format: date
        description: >-
          <p>The end date of the event.</p>
      Duration:
        type: integer
        minimum: -2147483648
        maximum: 2147483647
        description: >-
          <p>The duration of the event. If only the "EventDate" field is populated, the duration is in days and if omitted defaults to 1 day; if the "EventDate" and "EventTime" fields are both populated, the duration is in seconds and if omitted defaults to 3600 seconds (1 hour).</p>
      EventTime:
        type: string
        format: time
        description: >-
          <p>The start time for the event, if required.</p>
      EventName:
        type: string
        description: >-
          <p>The name of the event.</p>
      Location:
        type: string
        description: >-
          <p>The name of location where the event will occur.</p>
      ScheduleEffect:
        allOf:
        - $ref: '#/definitions/NZCodeSetsScheduleEffect'
        - description: >-
            <p>Code denoting the effect of this ScheduleEvent on the school schedule.</p>
            <ul>
                <li>'NOEFFECT' - No Effect</li>
                <li>'RENUMBER' - Renumber Days</li>
                <li>'INSERT' - Insert Day</li>
                <li>'DISPLACE' - Displace Day</li>
                <li>'ENDSCHEDULE' - End Schedule</li>
                <li>'PAUSESCHEDULE' - Pause Schedule</li>
                <li>'RESUMESCHEDULE' - Resume Schedule</li>
                <li>'CANCEL' - Cancel Day</li>
                <li>'STARTTERM' - Start Term</li>
                <li>'ADD' - Additional Day</li>
                <li>'CUSTOM' - Custom Day Schedule</li>
            </ul>
      ScheduleList:
        allOf:
        - $ref: '#/definitions/ScheduleList'
        - description: >-
            <p>List of the schedules within the provider which the event will affect. If this event is to affect the school's academic schedule this field is required, otherwise it is optional.</p>
      ScheduleDayList:
        allOf:
        - $ref: '#/definitions/ScheduleDayList'
        - description: >-
            <p>A list of one or more academic days to be applied to the school calendar for the duration of this event. </p>
      RemoveScheduleDayList:
        allOf:
        - $ref: '#/definitions/ScheduleDayList'
        - description: >-
            <p>A list of one or more academic days to be removed from the school calendar for the duration of this event. Generally only operates with a Schedule Effect of "add" or "custom".</p>
      BellScheduleList:
        allOf:
        - $ref: '#/definitions/BellScheduleList'
        - description: >-
            <p>A list of one or more bell schedules to be applied to the school calendar for the duration of this event.</p>
      RemoveBellScheduleList:
        allOf:
        - $ref: '#/definitions/BellScheduleList'
        - description: >-
            <p>A list of one or more bell schedules to be removed from the school calendar for the duration of this event. Generally only operates with a Schedule Effect of "add" or "custom".</p>
      ScheduleTermList:
        allOf:
        - $ref: '#/definitions/ScheduleTermList'
        - description: >-
            <p>A list of one or more terms to be affected by this event. WARNING: Terms should only be specified for events that affect the scheduling of terms. Setting Terms on other event can have a disruptive effect on the school schedule.</p>
      CustomPeriodList:
        allOf:
        - $ref: '#/definitions/ScheduleCustomDayPeriodList'
        - description: >-
            <p>A list of generic object references to a set of SchedulePeriods, along with their custom start and end times, which are part of a 'CUSTOM' ScheduleEvent.</p> <p>Used in the creation of "one off" events defined in ScheduleEvent to have a custom set of SchedulePeriods, each with custom start and end times that don't match any particular bell schedule.</p> <p>Used for exception days in the school schedule, such as assembly days or activity days.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>Defines events that may or may not impact the schedule. These events may simply be for display, or may affect the schools academic schedule.</p>
  # /////////////////////////////////////////////////////////////
  StudentAttendanceSummary:
    type: object
    additionalProperties: false
    properties:
      StudentAttendanceSummaryRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      StudentAttendanceSummaryLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Student:
        allOf:
        - $ref: '#/definitions/StudentObjectReference'
        - description: >-
            <p>The ID (GUID) of the student for whom this attendance information is being reported.</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>The SIF ID of the Provider who is recording this attendance information.</p>
      SchoolCalendarYear:
        description: >-
          <p>School year for which the information is applicable.</p>
      StartDate:
        type: string
        format: date
        description: >-
          <p>Starting date of this attendance reporting period.</p>
      EndDate:
        type: string
        format: date
        description: >-
          <p>Ending date of this attendance reporting period.</p>
      StartDay:
        type: integer
        minimum: 0
        maximum: 4294967295
        description: >-
          <p>Number of the school day represented in StartDate.</p>
      EndDay:
        type: integer
        minimum: 0
        maximum: 4294967295
        description: >-
          <p>Number of the school day represented in EndDate.</p>
      FTE:
        type: number
        description: >-
          <p>Full time equivalent numeric value of the student's course load during this attendance period, expressed in decimal form, where 1.00 represents a full time enrollment.</p>
        minimum: 0
        maximum: 1
      AttendancePercentageHalfDays:
        type: number
        description: >-
          <p>The percentage of half days the student was present when school was in session between the StartDate and EndDate, inclusive. Number of Sessions Present / Total Number of possible sessions = Percentage, e.g. 294/319 = 92.2%.</p>
      AttendanceUnjustifiedHalfDays:
        type: number
        description: >-
          <p>The percentage of half days the student had unjustified absences when school was in session between the StartDate and EndDate, inclusive.</p>
      HalfDaysYearPresent:
        type: number
        description: >-
          <p>The number of half days the student was present when school was in session between the StartDate and EndDate, inclusive.</p>
      HalfDaysYearAbsent:
        type: number
        description: >-
          <p>The number of half days the student was absent when school was in session between the StartDate and EndDate, inclusive.</p>
      HalfDaysYearJustified:
        type: number
        description: >-
          <p>The number of half days the student was absent that were justified when school was in session between the StartDate and EndDate, inclusive.</p>
      HalfDaysYearTotal:
        type: number
        description: >-
          <p>The total number of half days.</p>
      HalfDaysYearIntermittantUnjustified:
        type: number
        description: >-
          <p>The number of days the student was absent from school for an unjustifiable reason when school was in session between the StartDate and EndDate, inclusive, and weren't absence for the complete half-day.</p>
      HalfDaysYearPercentagePresent:
        type: number
        description: >-
          <p>The percentage of half days the student was present when school was in session between the StartDate and EndDate, inclusive.</p>
      HalfDaysYearUnjustified:
        type: number
        description: >-
          <p>The number of days the student was absent from school for an unjustifiable reason when school was in session between the StartDate and EndDate, inclusive.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>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. There will be multiple instances of this object for a student in a school over the course of a school year. This summary may be generated by aggregating more granular attendance records, in which case all fields will be read-only; and RefId element may not be applicable.</p>
  # /////////////////////////////////////////////////////////////
  StudentAttendanceTimeList:
    type: object
    additionalProperties: false
    properties:
      StudentAttendanceTimeListRefId:
        allOf:
        - $ref: '#/definitions/RefId'
      Student:
        allOf:
        - $ref: '#/definitions/StudentObjectReference'
        - description: >-
            <p>The student for whom this attendance time list is being reported.</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>The provider who is providing this attendance time list record.</p>
      TeachingGroup:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The teaching group that is reporting this student's attenandce time list.</p>
      AttendanceTimeList:
        allOf:
        - $ref: '#/definitions/AttendanceTimeList'
        - description: >-
            <p>Breakdown of times that the student was recorded as being present or absent from school or class.</p>
    description: >-
      <p>This object provides more detail about the attendance spans for a single student during the day: it provides more detailed information than the single TimeIn and TimeOut elements in StudentDailyAttendance.</p>
  # /////////////////////////////////////////////////////////////
  WellbeingAlert:
    type: object
    additionalProperties: false
    properties:
      WellbeingAlertRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      WellbeingAlertLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Student:
        allOf:
        - $ref: '#/definitions/StudentObjectReference'
        - description: >-
            <p>Generic object reference to the student to whom this WellbeingAlert belongs.</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>Generic object reference to the school for which this WellbeingAlert is being reported.</p>
      StaffMember:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the staff member that is a key contact for this wellbeing alert.</p>
      PublishedDate:
        type: string
        format: date
        description: >-
          <p>The calendar date on which this wellbeing alert was published.</p>
      StartDate:
        type: string
        format: date
        description: >-
          <p>The date the wellbeing alert period commenced.</p>
      EndDate:
        type: string
        format: date
        description: >-
          <p>The date the wellbeing alert is due to finish.</p>
      AlertCategory:
        allOf:
        - $ref: '#/definitions/NZCodeSetsWellbeingAlertCategory'
        - description: >-
            <p>Category of WellbeingAlert.</p>
            <ul>
                <li>'ATT' - Attendance</li>
                <li>'MED' - Medical</li>
                <li>'LEG' - Legal</li>
                <li>'DIS' - Discipline</li>
                <li>'LEA' - Learning Support</li>
                <li>'PLA' - Plan Review</li>
                <li>'CUS' - Custodial</li>
                <li>'TRA' - Transient</li>
                <li>'OTH' - Other</li>
            </ul>
      AlertDescription:
        type: string
        description: >-
          <p>Description of this particular wellbeing alert.</p>
      AcknowledgementList:
        allOf:
        - $ref: '#/definitions/AcknowledgementList'
        - description: >-
            <p>Key Contact to get information about this wellbeing alert from.</p>
      KeyContactList:
        allOf:
        - $ref: '#/definitions/KeyContactList'
        - description: >-
            <p>A list of key contacts for the alert.</p>
      WellbeingResponseList:
        allOf:
        - $ref: '#/definitions/WellbeingResponseList'
        - description: >-
            <p>A list of the Wellbeing Responses that contributed to the creation of this Wellbeing Alert.</p>
      WellbeingAppealList:
        allOf:
        - $ref: '#/definitions/WellbeingAppealList'
        - description: >-
            <p>A list of the Wellbeing Appeal outcomes that contributed to the creation of this Wellbeing Alert.</p>
      WellbeingCharacteristicList:
        allOf:
        - $ref: '#/definitions/WellbeingCharacteristicList'
        - description: >-
            <p>A list of the Wellbeing Characteristics that contributed to the creation of this Wellbeing Alert.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>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.</p> <p>The alert may merely draw attention to Wellbeing Characteristics or Events, that contain more detail.</p>
  # /////////////////////////////////////////////////////////////
  WellbeingCharacteristic:
    type: object
    additionalProperties: false
    properties:
      WellbeingCharacteristicRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      WellbeingCharacteristicLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Student:
        allOf:
        - $ref: '#/definitions/StudentObjectReference'
        - description: >-
            <p>Generic object reference to the student to whom this WellbeingCharacteristic belongs.</p>
      RecordingProvider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>Generic object reference to the provider which recorded this Wellbeing Characteristic.</p>
      StartDate:
        type: string
        format: date
        description: >-
          <p>Starting Date for this Characteristic to be noted.</p>
      EndDate:
        type: string
        format: date
        description: >-
          <p>End date for this Characteristic to be noted, if there is one.</p>
      ReviewDate:
        type: string
        format: date
        description: >-
          <p>Date at which this information should be reviewed.</p>
      CharacteristicNotes:
        type: string
        description: >-
          <p>Text relating to the particular WellbeingCharacteristic.</p>
      NoteList:
        allOf:
        - $ref: '#/definitions/NoteList'
        - description: >-
            <p>A list of notes that have been written about the wellbeing characteristic.</p>
      Classification:
        allOf:
        - $ref: '#/definitions/NZCodeSetsWellbeingCharacteristicClass'
        - description: >-
            <p>Top most category of WellbeingCharacteristic.</p>
            <ul>
                <li>'OTH' - Other</li>
                <li>'MDC' - Medical</li>
                <li>'LSN' - Learning Support Need - Hiahia Tautoko Akoranga</li>
                <li>'ALG' - Allergy</li>
                <li>'DPR' - Dietary Preference</li>
            </ul>
      Category:
        allOf:
        - $ref: '#/definitions/NZCodeSetsWellbeingCharacteristicCategory'
        - description: >-
            <p>Category of WellbeingCharacteristic.</p>
            <ul>
                <li>'MAO' - Allergies - other</li>
                <li>'DIET' - Dietary Preferences</li>
                <li>'LSN-COG' - Cognition and Learning</li>
                <li>'LSN-PHY' - Physical</li>
                <li>'LSN-SEN' - Sensory Needs</li>
                <li>'LSN-SOC' - Social, Emotional and Behavioural</li>
                <li>'LSN-SPE' - Speech, Language and Communication</li>
                <li>'MAIM' - Auto-immune/Immune Disorders</li>
                <li>'MRD' - Respiratory Disorder</li>
                <li>'MB' - Blood disorder</li>
                <li>'MMD' - Heart Disease/ Disorder</li>
                <li>'MMS' - Musculo – skeletal conditions</li>
            </ul>
              plus 22 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsWellbeingCharacteristicCategoryType">NZCodeSetsWellbeingCharacteristicCategoryType<a>
      SubCategory:
        allOf:
        - $ref: '#/definitions/NZCodeSetsWellbeingCharacteristicSubCategory'
        - description: >-
            <p>Sub category of the WellbeingCharacteristic.</p>
            <ul>
                <li>'DIET-01' - Vegan</li>
                <li>'DIET-02' - Vegetarian</li>
                <li>'DIET-03' - Halal</li>
                <li>'DIET-04' - Kosher</li>
                <li>'DIET-05' - Pescetarian</li>
                <li>'DIET-06' - Gluten-free</li>
                <li>'LSN-ACT' - Activity</li>
                <li>'LSN-ADV' - Advanced learner | gifted</li>
                <li>'LSN-ATT' - Attendance and engagement</li>
                <li>'LSN-CHR' - Chronic Pain</li>
                <li>'LSN-CUL' - Cultural and linguistic diversity needs</li>
                <li>'LSN-EMO' - Emotional regulation</li>
            </ul>
              plus 108 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsWellbeingCharacteristicSubCategoryType">NZCodeSetsWellbeingCharacteristicSubCategoryType<a>
      SubSubCategory:
        allOf:
        - $ref: '#/definitions/NZCodeSetsWellbeingCharacteristicSubSubCategory'
        - description: >-
            <p>An additional layer to provide more 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>
            <ul>
                <li>'LSN-ATT' - Attending and focusing</li>
                <li>'LSN-BLI' - Blind</li>
                <li>'LSN-COM' - Comprehension</li>
                <li>'LSN-DEA' - Deaf</li>
                <li>'LSN-EAT' - Eating</li>
                <li>'LSN-EXP' - Expressing emotion</li>
                <li>'LSN-FIN' - Fine</li>
                <li>'LSN-FOL' - Following instructions</li>
                <li>'LSN-GRO' - Gross</li>
                <li>'LSN-HAR' - Hard of Hearing</li>
                <li>'LSN-HYA' - Hyperactive</li>
                <li>'LSN-HYO' - Hypoactive</li>
            </ul>
              plus 33 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsWellbeingCharacteristicSubSubCategoryType">NZCodeSetsWellbeingCharacteristicSubSubCategoryType<a>
      SubCategoryDetail:
        type: string
        description: >-
          <p>Additional detail about a sub category.</p>
      CharacteristicPriority:
        allOf:
        - $ref: '#/definitions/NZCodeSetsWellbeingCharacteristicPriority'
        - description: >-
            <p>The priority of the characteristic in relation to other characteristics within the same classification.</p>
            <ul>
                <li>'N' - Non-urgent - Nonoi kore</li>
                <li>'S' - Semi-urgent - Āhua Nonoi</li>
                <li>'U' - Urgent - Nonoi</li>
            </ul>
      CaseLead:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLearningSupportCaseLead'
        - description: >-
            <p>The Agency taking the lead on the learning support need case, e.g. MOE, Police, Corrections etc.)</p>
            <ul>
                <li>'CO' - Corrections - Ara Poutama Aotearoa</li>
                <li>'IH' - IHC - IHC</li>
                <li>'MO' - MOE - Te Tāhuhu o te Mātauranga</li>
                <li>'OT' - Oranga Tamariki - Oranga Tamariki</li>
                <li>'OH' - Other - Rōpū kē</li>
                <li>'PO' - Police - Ngā Pirihimana o Aotearoa</li>
                <li>'RT' - RTLB - RTLB</li>
                <li>'AC' - ACC - ACC</li>
            </ul>
      CaseLeadOtherDesc:
        type: string
        description: >-
          <p>Free text describing the Case Lead Agency when a Case Lead of 'Other' is selected.</p>
      CaseLeadContactPerson:
        type: string
        description: >-
          <p>The name of the contact person for the Case Lead Agency.</p>
      DailyManagement:
        type: string
      EmergencyManagement:
        type: string
      EmergencyResponsePlan:
        type: string
      Trigger:
        type: string
      ConfidentialFlag:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Flag indicating if the characteristic is confidential or not. If ‘Y’ should not be shared with any other system/school.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      Alert:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Create an Alert for this Characteristic?</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      MedicationList:
        allOf:
        - $ref: '#/definitions/MedicationList'
      DocumentList:
        allOf:
        - $ref: '#/definitions/DocumentList'
        - description: >-
            <p>Describes the Location of any associated documents kept in relation to this Characteristic.</p>
      WellbeingEventList:
        allOf:
        - $ref: '#/definitions/WellbeingEventList'
        - description: >-
            <p>A list of any Wellbeing Events that have arisen as a result of this Characteristic.</p>
      WellbeingAlertList:
        allOf:
        - $ref: '#/definitions/WellbeingAlertList'
        - description: >-
            <p>A list of any Wellbeing Alerts that have arison as a result of this Chracteristic.</p>
      SpecialAssessmentConditionList:
        allOf:
        - $ref: '#/definitions/SpecialAssessmentConditionList'
        - description: >-
            <p>A list of the special assessment conditions that a student is entitled to have when sitting an assessment.</p>
      Status:
        allOf:
        - $ref: '#/definitions/NZCodeSetsWellbeingCharacteristicStatus'
        - description: >-
            <p>The staus of the Wellbeing Characteristic.</p>
            <ul>
                <li>'ACTI' - Active - Tuwhera</li>
                <li>'CLOS' - Closed - Kati</li>
                <li>'AWAI' - Awaiting Consent - Tāria kia mana</li>
            </ul>
      MedicalCharacteristicDesc:
        type: string
        description: >-
          <p>Free text providing additional information about a medical need of a student. Especially when a medical need of 'Other' is selected.</p>
      OfficialDiagnosis:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Indicates whether or not the student has an official diagnosis that pertains to this Wellbeing Characteristic.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      OfficialDiagnosisList:
        allOf:
        - $ref: '#/definitions/OfficialDiagnosisList'
        - description: >-
            <p>A list of official diagnoses that pertains to this wellbeing characteristic. At least one diagnosis is required if OfficialDiagnosis = 'Y'.</p>
      StudentVoiceList:
        allOf:
        - $ref: '#/definitions/StudentVoiceList'
        - description: >-
            <p>A list of the student's or their whānau's voice about their wellbeing characteristic in regards to the student 's interests, goals, and voice (comments, opinions).</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
      LearnerInterests:
        type: string
        description: >-
          <p>Free text that describes the interests a learner has that pertains to this wellbeing Characteristic.</p>
      LearnerWhanauGoal:
        type: string
        description: >-
          <p>Free text describing any goals the student wants to achieve, or any goals their whānau want them to achieve that pertain to this wellbeing characteristic.</p>
      LearnerWhanauVoice:
        type: string
        description: >-
          <p>Free text capturing the learners and/or their whānaus opinions and point of view in regards to this wellbeing characteristic.</p>
    description: >-
      <p>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.</p>
  # /////////////////////////////////////////////////////////////
  WellbeingEvent:
    type: object
    additionalProperties: false
    properties:
      WellbeingEventRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      WellbeingEventLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Student:
        allOf:
        - $ref: '#/definitions/StudentObjectReference'
        - description: >-
            <p>Object reference to the student to whom this WellbeingEvent belongs.</p>
      ReportingProvider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>Object reference to the provider for which this WellbeingEvent is being reported.</p>
      PhysicalRestraint:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Object reference tothe StudentPhysicalRestraint if it was administered to the student as part of this WellbeingEvent.</p>
      EventNotes:
        type: string
        description: >-
          <p>Text relating to the particular WellbeingEvent.</p>
      PossibleMotivationList:
        allOf:
        - $ref: '#/definitions/PossibleMotivationList'
        - description: >-
            <p>A list of the possible motivations that triggered the event.</p>
      EventCategoryClass:
        allOf:
        - $ref: '#/definitions/NZCodeSetsWellbeingEventCategoryClass'
        - description: >-
            <p>Category of WellbeingEvent.</p>
            <ul>
                <li>'POS' - Positive</li>
                <li>'NEG' - Negative</li>
                <li>'DAT' - Data Record Only</li>
                <li>'OTH' - Other</li>
            </ul>
      EventCategoryList:
        allOf:
        - $ref: '#/definitions/WellbeingEventCategoryList'
        - description: >-
            <p>List of Categories of WellbeingEvent.</p>
      ReportingStaffMember:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Object refernece to the staff member who logged the Wellbeing Event record.</p>
      EventLocationList:
        allOf:
        - $ref: '#/definitions/EventLocationList'
        - description: >-
            <p>A list of the locations where the incident took place.</p>
      EventLocationDescription:
        type: string
        description: >-
          <p>Details of Event Location.</p>
      EventCreationTimeStamp:
        type: string
        format: date-time
        description: >-
          <p>Date and time of the WellbeingEvent record creation.</p>
      EventDate:
        type: string
        format: date
        description: >-
          <p>The calendar date on which this WellbeingEvent occured.</p>
      EventTime:
        type: string
        format: time
        description: >-
          <p>The time when WellbeingEvent occured.</p>
      EventDescription:
        type: string
        description: >-
          <p>A description of the WellbeingEvent.</p>
      EventTimePeriod:
        allOf:
        - $ref: '#/definitions/NZCodeSetsWellbeingEventTimePeriod'
        - description: >-
            <p>Time period of when the event occurred.</p>
            <ul>
                <li>'AM' - AM - AM</li>
                <li>'PM' - PM - PM</li>
                <li>'R' - Recess - Wā moko</li>
                <li>'B' - Before School - I mua i te Kura</li>
                <li>'A' - After School - Muri i te Kura</li>
                <li>'Ex' - Excursion - Haerenga</li>
                <li>'W' - Weekend - Rā whakatā</li>
                <li>'O' - Other - Ētahi kē</li>
            </ul>
      ConfidentialFlag:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Flag indicating if the incident is confidential or not. If ‘Y’ should not be shared with any other system/school.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      PersonInvolvementList:
        allOf:
        - $ref: '#/definitions/PersonInvolvementList'
        - description: >-
            <p>List of People involved in the Wellbeing event. Mandatory if more people than the student to which this event occurs is involved.</p>
      Status:
        allOf:
        - $ref: '#/definitions/NZCodeSetsWellbeingStatus'
        - description: >-
            <p>Current Status.</p>
            <ul>
                <li>'U' - Unresolved</li>
                <li>'R' - Resolved</li>
                <li>'O' - Other</li>
            </ul>
      BehaviourIdentifiedList:
        allOf:
        - $ref: '#/definitions/BehaviourIdentifiedList'
        - description: >-
            <p>A list of the problem behaviours identified for the student as a result of the Wellbeing Event. There are both minor and major behaviours.</p>
      RestraintType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsWellbeingEventRestraintType'
        - description: >-
            <p>The StudentPhysicalRestraint if it was administered to the student as part of this WellbeingEvent.</p>
            <ul>
                <li>'NON' - None - Karekau</li>
                <li>'RES' - Restraint - Te pupuri</li>
                <li>'RAS' - Restraint and Seclusion - Te pupuri me te whakawehe</li>
                <li>'SEC' - Seclusion - Te whakawehe</li>
            </ul>
      ActionTakenList:
        allOf:
        - $ref: '#/definitions/ActionTakenList'
        - description: >-
            <p>A list of the actions taken as a result of this WellbeingEvent.</p>
      DocumentList:
        allOf:
        - $ref: '#/definitions/DocumentList'
        - description: >-
            <p>Describes the Location of any associated documents kept in relation to this Response.</p>
      RelatedWellbeingEventList:
        allOf:
        - $ref: '#/definitions/RelatedWellbeingEventList'
        - description: >-
            <p>A Wellbeing Event gets created for every student involved in an event. This list links together all related Wellbeing Events.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>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.</p>
  # /////////////////////////////////////////////////////////////
  WellbeingResponse:
    type: object
    additionalProperties: false
    properties:
      WellbeingResponseRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      WellbeingResponseLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Student:
        allOf:
        - $ref: '#/definitions/StudentObjectReference'
        - description: >-
            <p>Object reference to the student to whom this WellbeingResponse belongs.</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>Object reference to the provider for which this WellbeingResponse is being reported.</p>
      PublishedDate:
        type: string
        format: date
        description: >-
          <p>The calendar date on which this WellbeingResponse was published.</p>
      StartDate:
        type: string
        format: date
        description: >-
          <p>The date the WellbeingResponse period commenced.</p>
      EndDate:
        type: string
        format: date
        description: >-
          <p>The date the WellbeingResponse is due to finish.</p>
      ResponseStatus:
        allOf:
        - $ref: '#/definitions/NZCodeSetsWellbeingStatus'
        - description: >-
            <p>The current status of the response to the wellbeing event.</p>
            <ul>
                <li>'U' - Unresolved</li>
                <li>'R' - Resolved</li>
                <li>'O' - Other</li>
            </ul>
      ResponseCategory:
        allOf:
        - $ref: '#/definitions/NZCodeSetsWellbeingResponseCategory'
        - description: >-
            <p>Category of WellbeingResponse.</p>
            <ul>
                <li>'S' - Suspension</li>
                <li>'D' - Detention</li>
                <li>'A' - Award</li>
                <li>'P' - Plan Required</li>
                <li>'M' - Multiple Response</li>
                <li>'O' - Other</li>
            </ul>
      ResponseNotes:
        type: string
        description: >-
          <p>Text relating to the particular WellbeingResponse.</p>
      PersonInvolvementList:
        allOf:
        - $ref: '#/definitions/PersonInvolvementList'
        - description: >-
            <p>List of People involved in the Wellbeing Event/Response. Mandatory if more people than the student to which this event/response occurs is involved.</p>
      Suspension:
        allOf:
        - $ref: '#/definitions/SuspensionContainer'
        - description: >-
            <p>Container for details of a Suspension or Expulsion.</p>
      Detention:
        allOf:
        - $ref: '#/definitions/DetentionContainer'
        - description: >-
            <p>Container for details of a Detention.</p>
      PlanRequiredList:
        allOf:
        - $ref: '#/definitions/PlanRequiredList'
        - description: >-
            <p>List of plans that are required to be generated as part of the WellbeingResponse</p>
      Award:
        allOf:
        - $ref: '#/definitions/AwardContainer'
        - description: >-
            <p>Container for details of an Award.</p>
      OtherResponse:
        allOf:
        - $ref: '#/definitions/OtherWellbeingResponseContainer'
        - description: >-
            <p>Container for details of another type of Response.</p>
      DocumentList:
        allOf:
        - $ref: '#/definitions/DocumentList'
        - description: >-
            <p>Describes the Location of any associated documents kept in relation to this Response.</p>
      WellbeingAlert:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The ID (GUID) of the Wellbeing Alert that was generated in response to this WellbeingResponse.</p>
      WellbeingEvent:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The ID (GUID) of the WellbeingEvent this WellbeingResponse is for.</p>
      WellbeingAppealList:
        allOf:
        - $ref: '#/definitions/WellbeingAppealList'
        - description: >-
            <p>A list of any appeals that have been made in relation to this Wellbeing Response.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>A record of the outcome and follow ups generated by a WellbeingEvent</p>
  # /////////////////////////////////////////////////////////////
  WellbeingAppeal:
    type: object
    additionalProperties: false
    properties:
      WellbeingAppealRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      WellbeingAppealLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Student:
        allOf:
        - $ref: '#/definitions/StudentObjectReference'
        - description: >-
            <p>Generic object reference to the student to whom this WellbeingAppeal belongs.</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>Generic object reference to the school for which this WellbeingAppeal is being reported.</p>
      WellbeingResponse:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the WellbeingResponse for which this WellbeingAppeal is in response to.</p>
      WellbeingAlert:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the WellbeingAlert this WellbeingAppeal's outcome has triggered.</p>
      AppealStatus:
        allOf:
        - $ref: '#/definitions/NZCodeSetsWellbeingAppealStatus'
        - description: >-
            <p>The status of WellbeingAppeal.</p>
            <ul>
                <li>'IP' - In Progress</li>
                <li>'NS' - Not Specified</li>
                <li>'RE' - Rejected</li>
                <li>'SU' - Successful</li>
            </ul>
      RegisteredDate:
        type: string
        format: date
        description: >-
          <p>The calendar date on which this WellbeingAppeal was registered.</p>
      AppealNotes:
        type: string
        description: >-
          <p>Text relating to the particular WellbeingAppeal.</p>
      AppealOutcome:
        allOf:
        - $ref: '#/definitions/NZCodeSetsWellbeingAppealOutcome'
        - description: >-
            <p>The outcome of the appeal.</p>
            <ul>
                <li>'OTH' - Other</li>
            </ul>
      AppealDeterminationBy:
        allOf:
        - $ref: '#/definitions/NZCodeSetsAppealDeterminationBy'
        - description: >-
            <p>The type of individual or group that determined the appeal outcome.</p>
            <ul>
                <li>'BOT' - Board of Trustees</li>
                <li>'PRI' - Principal</li>
                <li>'DEP' - Deputy Principal</li>
                <li>'YEA' - Year Level Dean</li>
                <li>'HOM' - Home Room Teacher</li>
                <li>'MOE' - Ministry of Education</li>
            </ul>
      DocumentList:
        allOf:
        - $ref: '#/definitions/DocumentList'
        - description: >-
            <p>Describes the Location of any associated documents kept in relation to this Appeal.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>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.</p>
  # /////////////////////////////////////////////////////////////
  StudentActivityParticipation:
    type: object
    additionalProperties: false
    properties:
      StudentActivityParticipationRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      StudentActivityParticipationLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Student:
        allOf:
        - $ref: '#/definitions/StudentObjectReference'
        - description: >-
            <p>Generic object reference to the student participating in the activity. </p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>Generic object reference to the Provider running the activity the student is participating in, e.g. schools.</p>
      ActivityGroup:
        allOf:
        - $ref: '#/definitions/NZCodeSetsStudentActivityGroup'
        - description: >-
            <p>Standard codes denoting the group of the activity the student is participating in, e.g. sport, art, cultural, music. </p>
            <ul>
                <li>'SPO' - Sport</li>
                <li>'ART' - Art</li>
                <li>'CUL' - Cultural</li>
                <li>'MUS' - Music</li>
                <li>'OTH' - Other</li>
            </ul>
      ActivityType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsStudentActivityType'
        - description: >-
            <p>Standard codes denoting the type of activity the student is participating in, e.g. rugby, drama, Kapa Haka, Violin. </p>
            <ul>
                <li>'NET' - Netball</li>
                <li>'RUG' - Rugby</li>
                <li>'CRI' - Cricket</li>
                <li>'DRA' - Drama</li>
                <li>'DEB' - Debate</li>
                <li>'TER' - Te Reo</li>
                <li>'KAP' - Kapa Haka</li>
                <li>'GUI' - Guitar</li>
                <li>'VIO' - Violin</li>
                <li>'OTH' - Other</li>
            </ul>
      ActivityName:
        type: string
        description: >-
          <p>The name of the activity the student participated in.</p>
      LearningArea:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLearningArea'
        - description: >-
            <p>The learning area the student activity the student is participating in relates to.</p>
            <ul>
                <li>'HPE' - Health and Physical Education / Hauora</li>
                <li>'LAL' - Language and Languages / Ngā Reo</li>
                <li>'MAT' - Mathematics / Pangarau</li>
                <li>'SCI' - Science / Putaiao</li>
                <li>'SSC' - Social Sciences / Tikanga-a-iwi</li>
                <li>'TEC' - Technology / Hangarau</li>
                <li>'ART' - The Arts / Ngā Toi</li>
                <li>'TRP' - Te Reo Pākehā / English Language</li>
                <li>'TRM' - Te Reo Māori / Māori Language and Literature</li>
            </ul>
      ParticipationComment:
        type: string
        description: >-
          <p>Comment related to the student's participation in the activity. </p>
      StartDate:
        type: string
        format: date
        description: >-
          <p>This is the date from which the activity participation is valid (inclusive). </p>
      EndDate:
        type: string
        format: date
        description: >-
          <p>This is the date through which the activity participation is valid (inclusive). If element is supported by the publisher/responder, should contain a date if the student withdraws from the activity before the end of the school year. </p>
      Role:
        type: string
        description: >-
          <p>Specific role the student plays in the activity (e.g., band leader, student body president). </p>
      RecognitionList:
        allOf:
        - $ref: '#/definitions/RecognitionList'
        - description: >-
            <p>List of awards and other types of recognition given to the student for this activity. </p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      This object provides information on a co-curricular or extra-curricular activity in which a student participates during a given school year.
  # /////////////////////////////////////////////////////////////
  StudentPhysicalRestraint:
    type: object
    additionalProperties: false
    properties:
      StudentPhysicalRestraintRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      StudentPhysicalRestraintLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>Generic object reference to the provider under whose supervision the student was, at the time the physical restraint incient occured.</p>
      Student:
        allOf:
        - $ref: '#/definitions/StudentObjectReference'
        - description: >-
            <p>Generic object refernece to the student to whom the physical restraint was applied.</p>
      PrincipalOrDelegate:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the StaffPersonal object of the Principal or their delegate who oversaw the recording of the physical restraint incident.</p>
      WellbeingEvent:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the Wellbeing Event created for the student the physical reatrint was used on.</p>
      ConsideredNecessaryReason:
        type: string
        description: >-
          <p>Free text description on why the physical restraint of the student was considered necessary.</p>
      FirstTimeStudentRestrained:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Indicates whether or not this was the first time the student was restrained.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      IncidentDate:
        type: string
        format: date
        description: >-
          <p>The date the physical restraint was used on the student.</p>
      LocationDescription:
        type: string
        description: >-
          <p>Free text description of the location the physical restraint of the student occurred in.</p>
      OtherComment:
        type: string
        description: >-
          <p>Any other comments on the physical restraint incident.</p>
      ReportedDate:
        type: string
        format: date
        description: >-
          <p>The date the use of physical restraint on the student was report.</p>
      RestraintEndedTime:
        type: string
        format: time
        description: >-
          <p>The time the physical restraint stopped being used.</p>
      RestraintStartedTime:
        type: string
        format: time
        description: >-
          <p>The time the physical restraint started being used.</p>
      RestraintReason:
        allOf:
        - $ref: '#/definitions/NZCodeSetsRestraintReason'
        - description: >-
            <p>The reason the physical restraint was applied to the child.</p>
            <ul>
                <li>'SER' - Serious and imminent risk to safety</li>
                <li>'ACT' - Actual injury</li>
            </ul>
      DocumentList:
        allOf:
        - $ref: '#/definitions/DocumentList'
        - description: >-
            <p>Describes the Location of any associated documents kept in relation to this physical restraint incident.</p>
      RestraintWitnessList:
        allOf:
        - $ref: '#/definitions/RestraintWitnessList'
        - description: >-
            <p>A list of the people that witnessed the physical constraint.</p>
      RestraintAdministeredByList:
        allOf:
        - $ref: '#/definitions/RestraintAdministeredByList'
        - description: >-
            <p>A list of the people who administered the physical restraint to the student.</p>
      BehaviourDirectedAtList:
        allOf:
        - $ref: '#/definitions/BehaviourDirectedAtList'
        - description: >-
            <p>The list of the people and/or property that the student, who was restrained, was directing their behaviour at.</p>
      StaffReflectionList:
        allOf:
        - $ref: '#/definitions/StaffReflectionList'
        - description: >-
            <p>A list of the reflections made by the staff members who applied the physical restraint.</p>
      RestraintDebriefingList:
        allOf:
        - $ref: '#/definitions/RestraintDebriefingList'
        - description: >-
            <p>A list of the debriefings that took place after the physical restraint incident occurred.</p>
      RestraintQuestionList:
        allOf:
        - $ref: '#/definitions/RestraintQuestionList'
        - description: >-
            <p>A list of questions and their answers about the physical restraint incident.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p> Provides information about an incident where staff members or other parties used physical restraint on a child. </p>
  # /////////////////////////////////////////////////////////////
  StudentVoice:
    type: object
    additionalProperties: false
    properties:
      StudentVoiceRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      StudentVoiceLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Student:
        allOf:
        - $ref: '#/definitions/StudentObjectReference'
        - description: >-
            <p>Generic object reference to The GUID for the student's StudentPersonal record.</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>Generic object reference to the school that collected this StudentVoice entry.</p>
      VoiceType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsStudentVoiceType'
        - description: >-
            <p>Code set denoting the type of student voice being heard, e.g. their interests, goals, voice (comments, opinions).</p>
            <ul>
                <li>'GOA' - Student Goal - Whainga Ākonga</li>
                <li>'INT' - Student Interest - Aronga Ākonga</li>
                <li>'VOI' - Student Voice - Reo Ākonga</li>
            </ul>
      StudentVoiceNote:
        type: string
        description: >-
          <p>Extra notes about the student, and their voice</p>
      StudentInterestList:
        allOf:
        - $ref: '#/definitions/StudentInterestList'
        - description: >-
            <p>A list of the diffent interests the student has expressed.</p>
      SocialGoalList:
        allOf:
        - $ref: '#/definitions/SocialGoalList'
        - description: >-
            <p>A list of the diffent social goals the student has expressed.</p>
      AcademicGoalList:
        allOf:
        - $ref: '#/definitions/AcademicGoalList'
        - description: >-
            <p>A list of the diffent academic goals the student has expressed.</p>
      CareerGoalList:
        allOf:
        - $ref: '#/definitions/CareerGoalList'
        - description: >-
            <p>A list of the diffent career goals the student has expressed.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      A record of a student's interests as well as their social, academic and academic goals.
  # /////////////////////////////////////////////////////////////
  StudentLearningSupport:
    type: object
    additionalProperties: false
    properties:
      StudentLearningSupportRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      StudentLearningSupportLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Student:
        allOf:
        - $ref: '#/definitions/StudentObjectReference'
        - description: >-
            <p>Reference to the student the learning support record is for.</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>Reference to the Provider that created the learning support record for the student.</p>
      LearnerStatus:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLearningSupportLearnerStatus'
        - description: >-
            <p>The learners learning support status, e.g. are they currently being managed or not.</p>
            <ul>
                <li>'ACT' - Active - E Tuwhera Ana</li>
                <li>'ARC' - Archived - Pūrangatia</li>
            </ul>
      LearnerArchivedDate:
        type: string
        format: date
        description: >-
          <p>The date the learner's learning support status was changed from Active to Archived.</p>
      StudentConsentList:
        allOf:
        - $ref: '#/definitions/StudentConsentList'
        - description: >-
            <p>A list of the consents the student has provided / not provided in regards to learning support, e.g. Cluster Sharing COnsent, Recieve Service Consent.</p>
      DyslexiaScreeningTool:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Indicates whether or the student has been assessed using dyslexia screening tools.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      OtherScreening:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Indicates whether or not the student has under gone any other type of screening.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      OtherScreeningDetail:
        type: string
        description: >-
          <p>Free text describing any other type of screening the student has undergone. Mandatory if 'OtherScreening' = 'Y'.</p>
      AdolescentHealthScreening:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Indicates whether or not the student has undergone an adolescent health screening, e.g. NZ Aotearoa Adolescent Health and development (NZAAHD) assessment, HEEADDSS (Home, Education/employment, Eating, Activities, Drugs and Alcohol, Sexuality, Suicide/depression, Safety).</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      NonAttendance:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Indicates whether or not the student has not been attending the education provider they are enrolled at.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      NewToNewZealand:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Indicates whether or not the student is new to New Zealand.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      NumberOfSchoolChanges:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Indicates whether or not the student has changed education providers reasonably frequently.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      B4SchoolCheck:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Indicates whether or not the student has undergone a B4 School Check.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      OtherFamilyContext:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Indicates whether or not there is other family context that pertains to the student and their needs.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      OtherFamilyContextDetail:
        type: string
        description: >-
          <p>Additional free text detail about any family context that pertains to the student and their needs. Mandatory if OtherStudentContext = 'Y'.</p>
      StudentVoiceList:
        allOf:
        - $ref: '#/definitions/StudentVoiceList'
        - description: >-
            <p>A list of the student's or their whānau's voice about their learning support in regards to the student 's interests, goals, and voice (comments, opinions).</p>
      SupportNeedList:
        allOf:
        - $ref: '#/definitions/SupportNeedList'
        - description: >-
            <p>A list of learning support needs that have been identified for the student.</p>
      LearnerInterests:
        type: string
        description: >-
          <p>Free text that describes the interests a learner has that pertains to this wellbeing Characteristic.</p>
      LearnerWhanauGoal:
        type: string
        description: >-
          <p>Free text describing any goals the student wants to achieve, or any goals their whānau want them to achieve that pertain to this wellbeing characteristic.</p>
      LearnerWhanauVoice:
        type: string
        description: >-
          <p>Free text capturing the learners and/or their whānaus opinions and point of view in regards to this wellbeing characteristic.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>Provides information about a student's learning support.</p>
  # /////////////////////////////////////////////////////////////
  StudentLearningSupportResponse:
    type: object
    additionalProperties: false
    properties:
      StudentLearningSupportResponseRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      StudentLearningSupportResponseLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Student:
        allOf:
        - $ref: '#/definitions/StudentObjectReference'
        - description: >-
            <p>The student that the learning support need response its for.</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>The provider that created this learning support need reponse.</p>
      LearningSupportNeed:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The learning support need the reponse is for.</p>
      ResponseType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLearningSupportResponseType'
        - description: >-
            <p>The type of response provided to the student to support the need.</p>
            <ul>
                <li>'ACC' - Accessible technology - Hangarau Whakamahi</li>
                <li>'ADA' - Adaptation for Access - Urutaunga Tomo</li>
                <li>'INC' - In class strategies / school - Rautaki ā-akomanga, ā-kura</li>
                <li>'PRO' - Professional learning and upskilling - Whakahiki pūkenga</li>
                <li>'SCH' - School financial support - Tahua Tautoko ā-kura</li>
                <li>'SPE' - Specialist support - Tautoko Mātanga</li>
                <li>'TEA' - Teacher aide support in the classroom - Tautokotanga Kairīwhi ki te akomanga</li>
                <li>'UNI' - Universal Design - Hoahoatanga Whānui</li>
            </ul>
      ResponseDetail:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLearningSupportResponseDetail'
        - description: >-
            <p>Code set denoting the additional detail about the response type provided to the student to support the need.</p>
            <ul>
                <li>'ACU' - Curriculum - Marau</li>
                <li>'ASC' - School property - Rawa ā-kura</li>
                <li>'HUP' - For help undertaking personal care tasks - Hei Āwhina i ngā Tūmahi Atawhai</li>
                <li>'MOE' - MOE specialists - Mātanga na Te Tāhuhu o te Mātauranga</li>
                <li>'OAN' - Other agency/NGO specialists - Umanga Kē/Mātanga NGO</li>
                <li>'ODS' - Other adaptation for access - Urutaunga Angitu Kē</li>
                <li>'OSS' - Other specialist support - Mātanga Tautoko Kē</li>
                <li>'OTA' - Other teacher aide support in the classroom - He Tautoko Kairīwhi Kē ki te Akomanga</li>
                <li>'OUD' - Other universal design - Hoahoatanga Whānui Kē</li>
                <li>'SCU' - Curriculum - Marau</li>
                <li>'SPC' - Support from community - Tautoko ā-hapori</li>
                <li>'SPI' - Support from Iwi - Tautoko ā-iwi</li>
            </ul>
              plus 2 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsLearningSupportResponseDetailType">NZCodeSetsLearningSupportResponseDetailType<a>
      ReviewDate:
        type: string
        format: date
        description: >-
          <p>The date the response is due to be reviewed.</p>
      ResponseGoals:
        type: string
        description: >-
          <p>The goals of the response in relation to the student's learning support need.</p>
      ResponseNote:
        type: string
        description: >-
          <p>Free text notes about the response.</p>
      NoteList:
        allOf:
        - $ref: '#/definitions/NoteList'
        - description: >-
            <p>A list of notes that have been written about the learning support response.</p>
      ResponseDesc:
        type: string
        description: >-
          <p>Free text description about the response type and detail. Mandatory when a response detail of 'Other' is selected.</p>
      TierOfResponse:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLearningSupportResponseTier'
        - description: >-
            <p>The tier of response for the learning support need response.</p>
            <ul>
                <li>'IND' - Individual - Takitahi</li>
                <li>'TAR' - Targeted / Group - Hāngai/Rōpū</li>
                <li>'UNI' - Universal - Ao whānui</li>
            </ul>
      ExternalResponse:
        allOf:
        - $ref: '#/definitions/SupportNeedExternalResponse'
        - description: >-
            <p>Additional information for an external response.</p>
      InternalResponse:
        allOf:
        - $ref: '#/definitions/SupportNeedInternalResponse'
        - description: >-
            <p>Additional information for an internal response.</p>
      ReviewList:
        allOf:
        - $ref: '#/definitions/SupportNeedResponseReviewList'
        - description: >-
            <p>A list of the reviews made about the response.</p>
      AttachmentList:
        allOf:
        - $ref: '#/definitions/DocumentList'
        - description: >-
            <p>A list of attachments associated to the learning support need response.</p>
      CompletionDate:
        type: string
        format: date
        description: >-
          <p>The date the response was completed.</p>
      Outcome:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLearningSupportResponseOutcome'
        - description: >-
            <p>The outcome of the response.</p>
            <ul>
                <li>'FSR' - Further support required - Me Whai Tautoko Anō</li>
                <li>'GAC' - Goal achieved - Whāinga i tutuki</li>
                <li>'GNA' - Goal not achieved - Whāinga kāre i tutuki</li>
                <li>'RNA' - Response not effective - Urupare kāre i tika</li>
            </ul>
      OutcomeComment:
        type: string
        description: >-
          <p>Free text comment about the outcome of the response made for the students learning support need.</p>
      ClosureStatus:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLearningSupportResponseClosureStatus'
        - description: >-
            <p>The status of the learning support need response when it is closed.</p>
            <ul>
                <li>'COM' - Complete - Oti</li>
                <li>'ILM' - Incomplete (support no longer required) - Noho tārewa (Kāre ngā mahi tautoko i hiahiatia)</li>
                <li>'ISN' - Incomplete (learner moved from school) - Noho tārewa (kua haere te ākonga ki kura kē)</li>
                <li>'NLF' - No longer funded - Kāre he pūtea tautoko</li>
                <li>'OTH' - Other - He mea kē</li>
            </ul>
      ClosureStatusDetail:
        type: string
        description: >-
          <p>Additional detail about the responses closure status.</p>
      CompletionNote:
        type: string
        description: >-
          <p>Free text notes about the completion of the response to the students learning support need.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>Provides information about a response provided for a students learning support need.</p>
  # /////////////////////////////////////////////////////////////
  AssessmentTask:
    type: object
    additionalProperties: false
    properties:
      AssessmentTaskRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      AssessmentTaskLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      AssessmentName:
        type: string
        description: >-
          <p>The name of the assessment task.</p>
      ProviderInvolvedList:
        allOf:
        - $ref: '#/definitions/ProviderInvolvedList'
        - description: >-
            <p>A list of the providers involved and their role, e.g. assessing provider, assessment provider, assessment location provider, registering provider.</p>
      TeachingGroup:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the TeachingGroup object in which this assignment has been set.</p>
      ProviderCourse:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the ProviderCourse all of whose students will be participating in the assessment task.</p>
      StudentList:
        allOf:
        - $ref: '#/definitions/StudentList'
        - description: >-
            <p>The GUIDs for students that are the intended participants for this Assessement Task.</p>
      StaffInvolvedList:
        allOf:
        - $ref: '#/definitions/StaffInvolvedList'
        - description: >-
            <p>A list of the staff involved and their role in relation to the assessment task, e.g. the moderator, the marker.</p>
      Description:
        type: string
        description: >-
          <p>The text-based description of the assignment.</p>
      PointsPossible:
        type: integer
        minimum: 0
        maximum: 4294967295
        description: >-
          <p>The points possible on the assignment.</p>
      DueDate:
        type: string
        format: date
        description: >-
          <p>Date the assignment is due.</p>
      Weight:
        type: number
        description: >-
          <p>The weight of the assignment.</p>
      MaxAttemptsAllowed:
        type: integer
        description: >-
          <p>How many attempts the student is allowed on the assignment (applicable particularly to online activities).</p>
      DetailedDescriptionURL:
        type: string
        format: uri
        description: >-
          <p>The location of the document that describes the assignment. If Type is PDF, this element will contain the Base64 encoding of the entire document. Preferred against DetailedDescriptionBinary for online assessment.</p>
      AssessmentType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsAssessmentType'
        - description: >-
            <p>Type of assessment (e.g. diagnostic vs paedagogical - Summative or Formative).</p>
            <ul>
                <li>'INT' - Internal - Aromatawai ā-roto</li>
                <li>'EXT' - External - Aromatawai ā-waho</li>
                <li>'MOC' - Mock</li>
                <li>'POR' - Portfolio</li>
                <li>'PRA' - Practical</li>
                <li>'OTJ' - Overall Teacher Judgement - Tā te Pouako i whakarite ai</li>
                <li>'OTH' - Other</li>
            </ul>
      AssessmentMethodology:
        allOf:
        - $ref: '#/definitions/NZCodeSetsAssessmentMethodology'
        - description: >-
            <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>
            <ul>
                <li>'P' - Primary - Aromatawai ā-roto</li>
                <li>'S' - Secondary - Aromatawai ā-waho</li>
            </ul>
      EvaluationType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsAssessmentEvaluationType'
        - description: >-
            <p>The type of assessment evaluation, e.g. formative or summative.</p>
            <ul>
                <li>'F' - Formative - Arataki</li>
                <li>'S' - Summative - Whakakapi</li>
            </ul>
      Curriculum:
        allOf:
        - $ref: '#/definitions/NZCodeSetsCurriculum'
        - description: >-
            <p>The curriculum the assessment is for.</p>
            <ul>
                <li>'NZC' - New Zealand Curriculum - New Zealand Curriculum</li>
                <li>'TMA' - Te Marautanga o Aotearoa - Te Marautanga o Aotearoa</li>
                <li>'ECE' - Te Whāriki - Te Whāriki</li>
                <li>'OTH' - Other Curriculum - Marau Kē</li>
            </ul>
      AssessmentToolUsed:
        allOf:
        - $ref: '#/definitions/NZCodeSetsAssessmentTool'
        - description: >-
            <p>The assessment tool the assessment is used as part of. Both the original free text value sent by the SMS vendors and the value it is mapped to in this code set are held.</p>
            <ul>
                <li>'EASMATH' - e-asTTle Mathematics</li>
                <li>'EASREAD' - e-asTTle Reading</li>
                <li>'PATCOMP' - PAT: Reading Comprehension</li>
                <li>'PATMATH' - PAT: Mathematics</li>
                <li>'STARREA' - STAR Reading</li>
            </ul>
      AssessmentToolTest:
        allOf:
        - $ref: '#/definitions/NZCodeSetsAssessmentToolTest'
        - description: >-
            <p>The tests available within an assessment tool that is being used by this assessment task.</p>
            <ul>
                <li>'PMT1' - PAT Maths - Test 1</li>
                <li>'PMT1A' - PAT Maths - Test 1A</li>
                <li>'PMT2' - PAT Maths - Test 2</li>
                <li>'PMT2A' - PAT Maths - Test 2A</li>
                <li>'PMT3' - PAT Maths - Test 3</li>
                <li>'PMT3A' - PAT Maths - Test 3A</li>
                <li>'PMT4' - PAT Maths - Test 4</li>
                <li>'PMT4A' - PAT Maths - Test 4A</li>
                <li>'PMT5' - PAT Maths - Test 5</li>
                <li>'PMT5A' - PAT Maths - Test 5A</li>
                <li>'PMT6' - PAT Maths - Test 6</li>
                <li>'PMT6A' - PAT Maths - Test 6A</li>
            </ul>
              plus 35 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsAssessmentToolTestType">NZCodeSetsAssessmentToolTestType<a>
      AssessmentPurpose:
        type: string
        description: >-
          <p>Purpose for the assessment.</p>
      SubAssessmentTaskList:
        allOf:
        - $ref: '#/definitions/AssessmentTaskList'
        - description: >-
            <p>AssessmentTasks which this assessment task is composed of.</p>
      PrerequisiteList:
        allOf:
        - $ref: '#/definitions/PrerequisiteList'
        - description: >-
            <p>References to objects (Course, LearningStandard, AssessmentTask etc.) being prerequisite conditions to be met for assessment.</p>
      SubjectAreaList:
        allOf:
        - $ref: '#/definitions/SubjectAreaList'
        - description: >-
            <p>A list of the subject areas being assessed.</p>
            <ul>
            </ul>
      AssessedAtYearLevel:
        type: integer
        description: >-
          <p>The year level the Assessment Task pertains to. May only contain the values 1 through to 13 inclusive.</p>
        minimum: 1
        maximum: 13
      LearningStandardList:
        allOf:
        - $ref: '#/definitions/LearningStandardList'
        - description: >-
            <p>A list of references to LearningStandards that will be assessed as part of this AssessmentTask.</p>
      StandardType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLearningStandardType'
        - description: >-
            <p>The type of standard the result is for. Applies to secondary level assessments, e.g. unit and achievement standards, scholarships and International Baccalaureate.</p>
            <ul>
                <li>'US' - Unit Standard - Paerewa</li>
                <li>'AS' - Achievement Standard - Tutukitanga</li>
                <li>'SC' - Scholarship - Karahipi</li>
                <li>'OT' - Other</li>
            </ul>
      SpecialAssessmentConditionExclusionList:
        allOf:
        - $ref: '#/definitions/SpecialAssessmentConditionList'
        - description: >-
            <p>A list of SACs that are excluded for this particular assessment task.</p>
      Timeframe:
        allOf:
        - $ref: '#/definitions/NZCodeSetsAssessmentTimeframe'
        - description: >-
            <p>The timeframe of the assessment, e.g. Mid-Year, End of Year.</p>
            <ul>
                <li>'OTH' - Other</li>
                <li>'OUT' - Out of Cycle</li>
                <li>'INT' - Interim</li>
                <li>'END' - End of Year</li>
            </ul>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p> This object provides information about a particular assignment, allows applications to synchronize each other's assignment tables, gathers the definition for a StudentAssessmentTask object, etc. </p>
  # /////////////////////////////////////////////////////////////
  StudentAssessmentTaskResult:
    type: object
    additionalProperties: false
    properties:
      StudentAssessmentTaskResultRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      StudentAssessmentTaskResultLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      NZQAEntryId:
        type: string
        description: >-
          <p>The student's NZQA entry Id provided upon confirmation of the student's registration to be assessed against a unit or achievement standard. Identifies what entry the result is for to NZQA. </p>
      AssessmentTask:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Reference to the AssessmentTask the student was assessed against and the result is for.</p>
      StudentAssessmentTask:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Reference to the StudentAssessmentTask data object that the assessment result belongs to.</p>
      Student:
        allOf:
        - $ref: '#/definitions/StudentObjectReference'
        - description: >-
            <p>Generic object reference to the student held in the StudentPersonal data object whose assessment task result this is.</p>
      AssessmentType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsAssessmentType'
        - description: >-
            <p>The type of assessment the result is for.</p>
            <ul>
                <li>'INT' - Internal - Aromatawai ā-roto</li>
                <li>'EXT' - External - Aromatawai ā-waho</li>
                <li>'MOC' - Mock</li>
                <li>'POR' - Portfolio</li>
                <li>'PRA' - Practical</li>
                <li>'OTJ' - Overall Teacher Judgement - Tā te Pouako i whakarite ai</li>
                <li>'OTH' - Other</li>
            </ul>
      AssessmentMethodology:
        allOf:
        - $ref: '#/definitions/NZCodeSetsAssessmentMethodology'
        - description: >-
            <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>
            <ul>
                <li>'P' - Primary - Aromatawai ā-roto</li>
                <li>'S' - Secondary - Aromatawai ā-waho</li>
            </ul>
      ProviderInvolvedList:
        allOf:
        - $ref: '#/definitions/ProviderInvolvedList'
      StaffInvolvedList:
        allOf:
        - $ref: '#/definitions/StaffInvolvedList'
        - description: >-
            <p>A list of the staff involved and their role in relation to the assessment task, e.g. the moderator, the marker.</p>
      ProviderCourse:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Reference to the ProviderCourse that this assessment task belongs to.</p>
      LearningStandardList:
        allOf:
        - $ref: '#/definitions/LearningStandardList'
        - description: >-
            <p>A list of references to the LearningStandards the assessment task result is related to.</p>
      SubjectAreaList:
        allOf:
        - $ref: '#/definitions/SubjectAreaList'
        - description: >-
            <p>A list of the subject areas that the assessment pertains to.</p>
      AssessedAtYearLevel:
        type: integer
        description: >-
          <p>Year Level of the Assessment Task the student is being assessed against. May only contain the values 1 through to 13 inclusive.</p>
        minimum: 1
        maximum: 13
      Curriculum:
        allOf:
        - $ref: '#/definitions/NZCodeSetsCurriculum'
        - description: >-
            <p>Code denoting the Year Level of the Assessment Task the result is for.</p>
            <ul>
                <li>'NZC' - New Zealand Curriculum - New Zealand Curriculum</li>
                <li>'TMA' - Te Marautanga o Aotearoa - Te Marautanga o Aotearoa</li>
                <li>'ECE' - Te Whāriki - Te Whāriki</li>
                <li>'OTH' - Other Curriculum - Marau Kē</li>
            </ul>
      AssessmentToolUsed:
        allOf:
        - $ref: '#/definitions/NZCodeSetsAssessmentTool'
        - description: >-
            <p>The type of assessment tool used for the assessment task. Both the original free text value sent by the SMS vendors and the value it is mapped to in this code set are held.</p>
            <ul>
                <li>'EASMATH' - e-asTTle Mathematics</li>
                <li>'EASREAD' - e-asTTle Reading</li>
                <li>'PATCOMP' - PAT: Reading Comprehension</li>
                <li>'PATMATH' - PAT: Mathematics</li>
                <li>'STARREA' - STAR Reading</li>
            </ul>
      AssessmentToolTest:
        allOf:
        - $ref: '#/definitions/NZCodeSetsAssessmentToolTest'
        - description: >-
            <p>The tests available within an assessment tool that is being used by this assessment task.</p>
            <ul>
                <li>'PMT1' - PAT Maths - Test 1</li>
                <li>'PMT1A' - PAT Maths - Test 1A</li>
                <li>'PMT2' - PAT Maths - Test 2</li>
                <li>'PMT2A' - PAT Maths - Test 2A</li>
                <li>'PMT3' - PAT Maths - Test 3</li>
                <li>'PMT3A' - PAT Maths - Test 3A</li>
                <li>'PMT4' - PAT Maths - Test 4</li>
                <li>'PMT4A' - PAT Maths - Test 4A</li>
                <li>'PMT5' - PAT Maths - Test 5</li>
                <li>'PMT5A' - PAT Maths - Test 5A</li>
                <li>'PMT6' - PAT Maths - Test 6</li>
                <li>'PMT6A' - PAT Maths - Test 6A</li>
            </ul>
              plus 35 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsAssessmentToolTestType">NZCodeSetsAssessmentToolTestType<a>
      Timeframe:
        allOf:
        - $ref: '#/definitions/NZCodeSetsAssessmentTimeframe'
        - description: >-
            <p>The timeframe of the assessment, e.g. Mid-Year, End of Year.</p>
            <ul>
                <li>'OTH' - Other</li>
                <li>'OUT' - Out of Cycle</li>
                <li>'INT' - Interim</li>
                <li>'END' - End of Year</li>
            </ul>
      AssessmentAttempt:
        type: integer
        minimum: -2147483648
        maximum: 2147483647
        description: >-
          <p>The attempt number the student is making to pass this assessment, e.g. is it their first, second attempt.</p>
      EvaluationType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsAssessmentEvaluationType'
        - description: >-
            The type of assessment evaluation, e.g. formative or summative.
            <ul>
                <li>'F' - Formative - Arataki</li>
                <li>'S' - Summative - Whakakapi</li>
            </ul>
      StandardType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLearningStandardType'
        - description: >-
            The type of standard the result is for. Applies to secondary level assessments, e.g. unit and achievement standards, scholarships and International Baccalaureate.
            <ul>
                <li>'US' - Unit Standard - Paerewa</li>
                <li>'AS' - Achievement Standard - Tutukitanga</li>
                <li>'SC' - Scholarship - Karahipi</li>
                <li>'OT' - Other</li>
            </ul>
      DateMarked:
        type: string
        format: date
        description: >-
          <p>Date the assessment task was marked.</p>
      DateTimeAssessed:
        type: string
        format: date-time
        description: >-
          <p>The date and time the student was assessed against the assessment task.</p>
      DateStudentNotified:
        type: string
        format: date
        description: >-
          <p>The date the student was notified of their final mark for the assessment task.</p>
      NZQAConfirmation:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Confirmation from NZQA that they have received the result record for the student.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      Published:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Indicates whether or not the result has been published.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      PublishedDate:
        type: string
        format: date
        description: >-
          <p>The date the assessment task result was first published in a report.</p>
      Iteration:
        type: integer
        minimum: -2147483648
        maximum: 2147483647
        description: >-
          <p>The iteration of this result for the assessment, e.g. some tasks require multiple assessments before being achieved.</p>
      CreditsAchieved:
        type: number
        description: >-
          <p>The number of credits the student achieved.</p>
      ResultScoreList:
        allOf:
        - $ref: '#/definitions/AssessmentResultScoreList'
        - description: >-
            <p>A list of the assessment result scores that the student received for this assessment task.</p>
      Weight:
        type: number
        description: >-
          <p>Weight placed upon this result</p>
      EffortComment:
        type: string
        description: >-
          <p>Free text comment about the effort the student made for the assessment.</p>
      OtherComment:
        type: string
        description: >-
          <p>Free text comments providing additional information for the students assessment result.</p>
      DocumentList:
        allOf:
        - $ref: '#/definitions/DocumentList'
        - description: >-
            <p>List which describes the meta-data for, and the Location of any associated documents.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>Records the result achieved by a single student at a particular assessment task.</p>
  # /////////////////////////////////////////////////////////////
  StudentAssessmentTaskRegistration:
    type: object
    additionalProperties: false
    properties:
      StudentAssessmentTaskRegistrationRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      StudentAssessmentTaskRegistrationLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      AssessmentRegistrationStatus:
        allOf:
        - $ref: '#/definitions/NZCodeSetsAssessmentRegistrationStatus'
        - description: >-
            <p>The status of the student's registration for an assessment task, e.g. applied, approved, withdrawn.</p>
            <ul>
                <li>'ALD' - Applied</li>
                <li>'APD' - Approved</li>
                <li>'WTH' - Withdrawn</li>
            </ul>
      ProviderInvolvedList:
        allOf:
        - $ref: '#/definitions/ProviderInvolvedList'
        - description: >-
            <p>A list of the providers involved and their role, e.g. assessment provider, registering provider.</p>
      Student:
        allOf:
        - $ref: '#/definitions/StudentObjectReference'
        - description: >-
            <p>Generic object reference to the student held in the StudentPersonal data object whose intention to participate in an assessment task is being registered.</p>
      StaffMember:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the StaffPersonal data object representing the teacher who registered the student's intention to participate in the assessment task.</p>
      AssessmentTask:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the AssessmentTask data object that the registration is for.</p>
      NZQA:
        allOf:
        - $ref: '#/definitions/NZQAAssessmentRegistration'
        - description: >-
            <p>Extra details to support NZQA assessment registration process</p>
      SpecialAssessmentConditionList:
        allOf:
        - $ref: '#/definitions/SpecialAssessmentConditionList'
        - description: >-
            <p>A list of references identifying any Special Assessment Conditions that the student is entitled to for the assessment task they are registering for.</p>
      ProviderCourse:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the ProviderCourse that the assessment task is being set as part of.</p>
      LearningStandard:
        allOf:
        - $ref: '#/definitions/LearningStandardObjectReference'
        - description: >-
            <p>Generic object reference to the LearningStandard the student is registering for.</p>
      SubjectArea:
        allOf:
        - $ref: '#/definitions/NZCodeSetsSubjectArea'
        - description: >-
            <p>Code denoting the Learning or Subject Area the assessment task registration is for.</p>
            <ul>
                <li>'GERM' - German</li>
                <li>'INDO' - Indonesian</li>
                <li>'JAPA' - Japanese</li>
                <li>'FREN' - French</li>
                <li>'REME' - English (Remedial)</li>
                <li>'ENGL' - English - Te Reo Pākeha</li>
                <li>'COOK' - Cook Island Maori</li>
                <li>'COMM' - Communication Skills</li>
                <li>'CHIN' - Chinese</li>
                <li>'KORE' - Korean</li>
                <li>'LATI' - Latin</li>
                <li>'NIUE' - Niuean</li>
            </ul>
              plus 86 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsSubjectAreaType">NZCodeSetsSubjectAreaType<a>
      YearLevel:
        type: integer
        description: >-
          <p>The Year Level of the assessment task the registration is for. May only contain the values 1 through to 13 inclusive.</p>
        minimum: 1
        maximum: 13
      DateRegistered:
        type: string
        format: date
        description: >-
          <p>The date the student's intent to participate in the assessment task was registered.</p>
      AssessmentYear:
        description: >-
          <p>The assessment year the student's intent to participate in the assessment task was registered for.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>The student's registration for an assessment task they are intending to participate in. </p>
  # /////////////////////////////////////////////////////////////
  StudentAssessmentTask:
    type: object
    additionalProperties: false
    properties:
      StudentAssessmentTaskRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      StudentAssessmentTaskLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Student:
        allOf:
        - $ref: '#/definitions/StudentObjectReference'
        - description: >-
            <p>Generic object reference to the student held in the StudentPersonal data object who is being assessed against the assessment task.</p>
      AssessmentTask:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the AssessmentTask data object that the student assessment is for.</p>
      StudentAssessmentTaskRegistration:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the registration made on behalf of the student by the school to sit this assessment.</p>
      ProviderInvolvedList:
        allOf:
        - $ref: '#/definitions/ProviderInvolvedList'
        - description: >-
            <p>A list of the providers involved and their role, e.g. assessing provider, assessment provider, assessment location provider.</p>
      StaffInvolvedList:
        allOf:
        - $ref: '#/definitions/StaffInvolvedList'
        - description: >-
            <p>A list of the staff involved and their role in relation to the assessment task, e.g. the staff members that supervise the undertaking of the assessment task by the student.</p>
      DateTimeAssessmentScheduled:
        type: string
        format: date-time
        description: >-
          <p>The date and time the student is scheduled to be assessed against the assessment task.</p>
      DateTimeAssessed:
        type: string
        format: date-time
        description: >-
          <p>The date and time the student was assessed against the assessment task.</p>
      Status:
        allOf:
        - $ref: '#/definitions/NZCodeSetsAssessmentStatus'
        - description: >-
            <p>Code denoting the current status of the student assessment task</p>
            <ul>
                <li>'MOD' - Moderated - Kua whakaōritehia</li>
                <li>'NOT' - Unmoderated - Kāre anō kia whakaōritehia</li>
                <li>'PUB' - Published - Kua tāia</li>
                <li>'ENT' - Entered - I whakaurungia</li>
                <li>'MAR' - Marked - Kua mākahia</li>
            </ul>
      NCEAStatusDate:
        type: string
        format: date
        description: >-
          <p>Date the current NCEA status was set.</p>
      AssessmentAttempt:
        type: integer
        minimum: -2147483648
        maximum: 2147483647
        description: >-
          <p>The attempt number the student is making to pass this assessment, e.g. is it their first, second attempt.</p>
      SpecialAssessmentConditionList:
        allOf:
        - $ref: '#/definitions/SpecialAssessmentConditionList'
        - description: >-
            <p>The list of the special assessment conditions that the student is entitled to have when sitting this assessment task.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>Record of a student's attempt at a particular assessment task.</p>
  # /////////////////////////////////////////////////////////////
  StudentAttainment:
    type: object
    additionalProperties: false
    properties:
      StudentAttainmentRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      StudentAttainmentLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      GrantingProvider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>Generic object reference to the Provider/Organisation who is granting the attainment to the student, e.g. NZQA, TEC.</p>
      Attainment:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>A generic object reference to the type of attainment the student has achieved e.g. ProviderCourse, LeanringStandard etc.</p>
      Student:
        allOf:
        - $ref: '#/definitions/StudentObjectReference'
        - description: >-
            <p>Generic object reference to the student held in the StudentPersonal data object who the attainment is for.</p>
      AuthorisingStaffMember:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the StaffPersonal data object representing the staff member who authorised the attainment.</p>
      DateAttained:
        type: string
        format: date
        description: >-
          <p>The date the student achieved the attainment.</p>
      YearAttained:
        description: >-
          <p>The year the student achieved the attainment.</p>
      JustificationList:
        allOf:
        - $ref: '#/definitions/JustificationList'
        - description: >-
            <p>A list of references identifying the assessment task results that justify the student achieving this attainment.</p>
      SubjectAreaList:
        allOf:
        - $ref: '#/definitions/SubjectAreaList'
        - description: >-
            <p>Code denoting the Learning or Subject Area the assessment task is for.</p>
      EndorsementLevel:
        allOf:
        - $ref: '#/definitions/NZCodeSetsNCEAEndorsementLevel'
        - description: >-
            <p>The NCEA endorsement level that was attained by the student.</p>
            <ul>
                <li>'E' - Excellence - Kairangi</li>
                <li>'M' - Merit - Kaiaka</li>
            </ul>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>Records a student gaining an Attainment e.g. NCEA Qualification, Learning Standard etc.</p>
  # /////////////////////////////////////////////////////////////
  StudentCurriculumProgressReport:
    type: object
    additionalProperties: false
    properties:
      StudentCurriculumProgressReportRefId:
        allOf:
        - $ref: '#/definitions/RefId'
        - description: >-
            <p>The universally unique identifier for the data object record that is used across systems.</p>
      StudentCurriculumProgressReportLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The Id of the data object record that was provided by the system that the information was originally sourced from.</p>
      Student:
        allOf:
        - $ref: '#/definitions/StudentObjectReference'
        - description: >-
            <p>Generic object reference to the student whose progress is being reported.</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ProviderObjectReference'
        - description: >-
            <p>Generic object reference to the Provider (school) who is making this curriculum progress report.</p>
      TeachingGroup:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the TeachingGroup the student is enrolled in for which the progress report is being made.</p>
      AuthorList:
        allOf:
        - $ref: '#/definitions/ProgressReportAuthorList'
        - description: >-
            <p>A list of StaffMembers who are the authors of the curriculum progress report</p>
      RepositoryReceivedDate:
        type: string
        format: date
        description: >-
          <p>The date the repository received the students technology centre progress and achievement report.</p>
      TimeFrame:
        allOf:
        - $ref: '#/definitions/NZCodeSetsCurriculumProgressReportTimeframe'
        - description: >-
            <p>The timeframe of the provided information e.g. Routine Update, Mid-Year, End of Year etc.</p>
            <ul>
                <li>'END' - End of Year</li>
                <li>'MID' - Mid-Year</li>
                <li>'SEM' - Semester</li>
                <li>'TRM' - Term</li>
                <li>'ONG' - Ongoing / As Available / Ad-Hoc</li>
            </ul>
      TechnologyClassList:
        allOf:
        - $ref: '#/definitions/TechnologyClassList'
        - description: >-
            <p>A list of records of the Student's progress in particular classes from the Technology curriculum. e.g. Hard Materials, Food Technology, Digital Design etc.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    description: >-
      <p>A single curriculum progress and achievement report provided for a student. Used in technology centres allowing the host provider to report on student progress to their base school. </p> <p> May be extended in the future to cover reporting on other curriculum areas. </p>

  # ////////////////////////////////////// hetrogynous list ///////////////////////
  SubjectAreaList:
    description: >-
      <p>A list of code values denoting Learning Areas and Subjects from either the NZ Curriculum or Te Marautanga o Aotearoa. </p>
    type: object
    additionalProperties: false
    properties:
      SubjectArea:
        type: array
        items:
          allOf:
          - $ref: '#/definitions/NZCodeSetsSubjectArea'
      NCEASubjectArea:
        type: array
        items:
          allOf:
          - $ref: '#/definitions/NZCodeSetsNCEASubjectArea'

  # ///////////////////////////////// list ////////////////////////////
  StaffSubjectList:
    description: >-
      <p>Subject(s) Staff member is eligible to teach.</p>
    type: object
    additionalProperties: false
    properties:
      StaffSubject:
       type: array
       items:
          $ref: '#/definitions/StaffSubject'

  # ////////////////////////////// default sequence ///////////////////////////////
  StaffSubject:
    description: >-
      <p>This element contains Staff subjects they are eligible to teach together with the teaching preference.</p>
    type: object
    additionalProperties: false
    properties:
      PreferenceNumber:
        type: integer
        minimum: 0
        maximum: 4294967295
        description: >-
          <p>Priority of Subject to Teach.</p>
      Code:
        allOf:
        - $ref: '#/definitions/NZCodeSetsSubjectArea'
        - description: >-
            <p>NZ education standardised code denoting LearningArea / SubjectArea</p>
            <ul>
                <li>'GERM' - German</li>
                <li>'INDO' - Indonesian</li>
                <li>'JAPA' - Japanese</li>
                <li>'FREN' - French</li>
                <li>'REME' - English (Remedial)</li>
                <li>'ENGL' - English - Te Reo Pākeha</li>
                <li>'COOK' - Cook Island Maori</li>
                <li>'COMM' - Communication Skills</li>
                <li>'CHIN' - Chinese</li>
                <li>'KORE' - Korean</li>
                <li>'LATI' - Latin</li>
                <li>'NIUE' - Niuean</li>
            </ul>
              plus 86 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsSubjectAreaType">NZCodeSetsSubjectAreaType<a>
      YearLevels:
        allOf:
        - $ref: '#/definitions/YearLevelList'
        - description: >-
            <p>Staff assignment to this particular subject area / learning area applies only for students enrolled in a particular set of year levels. e.g. "Asst. Head of Dept (Maths, Jnr)" could ony be responsible for Students in year levels 9 & 10, who are learning Mathematics.</p>

  # ///////////////////////////////// list ////////////////////////////
  LanguageOfInstructionList:
    description: >-
      <p>Records the number of hours per week the Learner is taught in each language.</p>
    type: object
    additionalProperties: false
    properties:
      Language:
       type: array
       items:
          $ref: '#/definitions/LanguageOfInstruction'

  # ////////////////////////////// default sequence ///////////////////////////////
  LanguageOfInstruction:
    description: >-
      <p>The number of hours per week the Learner is taught in a specific language during the enrolment.</p>
    type: object
    additionalProperties: false
    properties:
      Code:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLanguage'
        - description: >-
            <p>Code denoting the actual language of instruction.</p>
            <ul>
                <li>'NZS01' - Germanic</li>
                <li>'NZS011' - West Germanic</li>
                <li>'NZS01100' - West Germanic not further defined</li>
                <li>'NZS01110' - Afrikaans</li>
                <li>'NZS01111' - Dutch</li>
                <li>'NZS01112' - English - Pākehā</li>
                <li>'NZS01113' - German</li>
                <li>'NZS01114' - Friesian</li>
                <li>'NZS01115' - Yiddish</li>
                <li>'NZS01116' - Scots</li>
                <li>'NZS01199' - West Germanic not elsewhere classified</li>
                <li>'NZS012' - North Germanic</li>
            </ul>
              plus 252 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsLanguageType">NZCodeSetsLanguageType<a>
      Level:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLanguageInstructionLevel'
        - description: >-
            <p>The level of instruction that is made in the selected language.</p>
            <ul>
                <li>'1' - 81-100% - 81-100%</li>
                <li>'2' - 51-80% - 51-80%</li>
                <li>'3' - 31-50% - 31-50%</li>
                <li>'4a' - 12-30% - 12-30%</li>
                <li>'4b' - 3 hours per week - 3 hāora i te wiki</li>
                <li>'5' - < 3 hours per week - iti iho 3 hāora i te wiki</li>
                <li>'6' - Taha Māori - Taha Māori</li>
            </ul>

  # ///////////////////////////////// list ////////////////////////////
  LearningStandardList:
    description: >-
      <p>A list of LearningStandardRefIds providing a manner of referring to a collection of <code>LearningStandards</code>.</p>
    type: object
    additionalProperties: false
    properties:
      LearningStandardRefId:
       type: array
       items:
          $ref: '#/definitions/LocalId'

  # ///////////////////////////////// list ////////////////////////////
  RelatedLearningStandardsList:
    description: >-
      <p>A list of <code>ObjectReference</code>s to related <code>LearningStandards</code>.</p>
    type: object
    additionalProperties: false
    properties:
      RelatedLearningStandard:
       type: array
       items:
          $ref: '#/definitions/RelatedLearningStandard'

  # ////////////////////////////// extension ///////////////////////////////
  RelatedLearningStandard:
    description: >-
      <p>A member of a list of related LearningStandard references.</p>
    type: object
    additionalProperties: false
    properties:
      allOf:
      - $ref: '#/definitions/ObjectReference/properties'
      - Relationship:
          allOf:
          - $ref: '#/definitions/NZCodeSetsLearningStandardRelationshipType'
          - description: >-
              <p>Code describing the relationship from a LearningStandard to a related LearningStandard.</p>
              <ul>
                  <li>'PREDEC' - Predecessor</li>
                  <li>'SUCCES' - Successor</li>
                  <li>'PREREQ' - Prerequisite</li>
                  <li>'UNKNWN' - Unknown</li>
              </ul>

  # ///////////////////////////////// list ////////////////////////////
  CredentialList:
    description: >-
      <p>A list of <code>ObjectReference</code>s providing a manner of referring to a collection of <code>Credentials</code>.</p>
    type: object
    additionalProperties: false
    properties:
      Credential:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  CourseList:
    description: >-
      <p>A list of associated courses.</p>
    type: object
    additionalProperties: false
    properties:
      Course:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  ProgressReportAuthorList:
    description: >-
      <p>A list of the staff members that compiled the progress report. A report can be authored by a collective of individual class teachers, or may be compiled by a single author.</p>
    type: object
    additionalProperties: false
    properties:
      Author:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  TechnologyClassList:
    description: >-
      <p>A list of records of the Student's progress in particular classes from the Technology curriculum. e.g. Hard Materials, Food Technology, Digital Design etc.</p>
    type: object
    additionalProperties: false
    properties:
      TechnologyClass:
       type: array
       items:
          $ref: '#/definitions/TechnologyClass'

  # ////////////////////////////// default sequence ///////////////////////////////
  TechnologyClass:
    description: >-
      <p>A record of the Student's progress in a particular class from the Technology curriculum. </p>
    type: object
    additionalProperties: false
    properties:
      Class:
        allOf:
        - $ref: '#/definitions/NZCodeSetsTechnologyClass'
        - description: >-
            <p>A code denoting the technology class the progress report covers.</p>
            <ul>
                <li>'HM' - Hard Materials</li>
                <li>'FD' - Food</li>
                <li>'DE' - 3D Design</li>
                <li>'MM' - Multimedia</li>
            </ul>
      Teacher:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the staff member that taught the subject and assessed the student against the technology strand objectives.</p>
      BehaviourComment:
        type: string
        description: >-
          <p>Overall comment about the behaviour of the student over the course of the lessons in the Class.</p>
      EffortComment:
        type: string
        description: >-
          <p>Overall comment about the effort the student has made in class</p>
      StrandList:
        allOf:
        - $ref: '#/definitions/ClassStrandList'
        - description: >-
            <p>A record of the Student's progress in a set of learning strands from the Technology curriculum, that were covered in the class</p>

  # ///////////////////////////////// list ////////////////////////////
  ClassStrandList:
    description: >-
      <p>A record of the Student's progress in a set of learning strands from the Technology curriculum, that were covered in the class.</p>
    type: object
    additionalProperties: false
    properties:
      Strand:
       type: array
       items:
          $ref: '#/definitions/ClassStrand'

  # ////////////////////////////// default sequence ///////////////////////////////
  ClassStrand:
    description: >-
      <p>A record of the Student's progress in a particular learning strand from the Technology curriculum, that was covered in the class.</p>
    type: object
    additionalProperties: false
    properties:
      LearningStrand:
        allOf:
        - $ref: '#/definitions/NZCodeSetsTechnologyLearningStrand'
        - description: >-
            <p>Code denoting the particular learning strand from the Technology curriculum, that was covered in the class, and for which the student's progress is being reported.</p>
            <ul>
                <li>'TP' - Technological Practice</li>
                <li>'TK' - Technological Knowledge</li>
                <li>'NT' - Nature of Technology</li>
            </ul>
      AchievementObjectiveList:
        allOf:
        - $ref: '#/definitions/StrandAchievementObjectiveList'
        - description: >-
            <p>A record of the Student's progress in a set of achievement objectives from the from the Technology curriculum strand, that was covered in the class.</p>

  # ///////////////////////////////// list ////////////////////////////
  StrandAchievementObjectiveList:
    description: >-
      <p>A record of the Student's progress in a set of achievement objectives from the Technology curriculum strand, that was covered in the class.</p>
    type: object
    additionalProperties: false
    properties:
      AchievementObjective:
       type: array
       items:
          $ref: '#/definitions/StrandAchievementObjective'

  # ////////////////////////////// default sequence ///////////////////////////////
  StrandAchievementObjective:
    description: >-
      <p>A record of the Student's progress in a particular achievement objective from the Technology curriculum strand, that was covered in the class. </p>
    type: object
    additionalProperties: false
    properties:
      AchievementObjective:
        allOf:
        - $ref: '#/definitions/NZCodeSetsStrandAchievementObjective'
        - description: >-
            <p>Code denoting the particular achievement objective against which the student's progress is being reported. </p>
            <ul>
                <li>'BD' - Brief Development</li>
                <li>'PP' - Planning for Practice</li>
                <li>'OD' - Outcome Development and Evaluation</li>
                <li>'TM' - Technological Modelling</li>
                <li>'TP' - Technological Products</li>
                <li>'TS' - Technological Systems</li>
                <li>'CT' - Characteristics of Technology</li>
                <li>'CO' - Characteristics of Technological Outcomes</li>
            </ul>
      CurriculumLevel:
        allOf:
        - $ref: '#/definitions/NZCodeSetsTechnologyCurriculumLevel'
        - description: >-
            <p>Code denoting the technology curriculum level that the student's progress report is being made against for this learning strand achievement objective. e.g. 2, 3, 4 or 5. </p>
            <ul>
                <li>'2' - Level 2</li>
                <li>'3' - Level 3</li>
                <li>'4' - Level 4</li>
            </ul>
      ProgressLevel:
        allOf:
        - $ref: '#/definitions/NZCodeSetsStrandAchievementProgressLevel'
        - description: >-
            <p>Code denoting the level of progress the student has made against the particular learning strand achievement objective. e.g. Beginner, Proficient, and Advanced. </p>
            <ul>
                <li>'B' - Beginner</li>
                <li>'P' - Proficient</li>
                <li>'A' - Advanced</li>
            </ul>
      AchievementObjectiveDesc:
        type: string
        description: >-
          <p>A description of what the achievement objective covers.</p>
      OverallStudentEffortNote:
        type: string
        description: >-
          <p>A note about the student's overall effort in relation to this achievement objective for this strand.</p>
      PracticalAbilityDesc:
        type: string
        description: >-
          <p>A description of practical ability covered by the achievement objective for the strand.</p>
      PracticalAbilityProgressNote:
        type: string
        description: >-
          <p>A note about the student's practical ability progress in relation to this achievement objective for this strand.</p>
      DocumentList:
        allOf:
        - $ref: '#/definitions/DocumentList'
        - description: >-
            <p>Documents that relate to students progress in this strand achievement objective, e.g. report, photos, media, documents etc.</p>

  # ///////////////////////////////// list ////////////////////////////
  StaffList:
    description: >-
      <p>A list of associated staff members.</p>
    type: object
    additionalProperties: false
    properties:
      StaffMember:
       type: array
       items:
          $ref: '#/definitions/StaffListStaffMember'

  # ////////////////////////////// extension ///////////////////////////////
  StaffListStaffMember:
    description: >-
      <p>The individual staff member as a member of the StaffList and their role.</p>
    type: object
    additionalProperties: false
    properties:
      allOf:
      - $ref: '#/definitions/ObjectReference/properties'
      - Role:
          allOf:
          - $ref: '#/definitions/NZCodeSetsStaffRole'
          - description: >-
              <p>Code describing the staff members role. Note: This role may affect the Teacher's access to the students data for those students who are members of the TeachingGroup.</p>
              <ul>
                  <li>'1001' - Principal - Tumuaki</li>
                  <li>'1002' - Deputy Principal</li>
                  <li>'1003' - Associate Principal</li>
                  <li>'1004' - Assistant Principal</li>
                  <li>'1005' - Principal's Nominee (NZQA)</li>
                  <li>'1006' - Enrolment Officer</li>
                  <li>'1007' - Timetabler</li>
                  <li>'1008' - Relief Coordinator</li>
                  <li>'1009' - Office Manager</li>
                  <li>'1010' - Office Assistant</li>
                  <li>'1012' - Finance Assistant</li>
                  <li>'1013' - IT Manager</li>
              </ul>
                plus 52 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsStaffRoleType">NZCodeSetsStaffRoleType<a>

  # ///////////////////////////////// list ////////////////////////////
  StudentList:
    description: >-
      <p>A list of references to the set of Students who are assigned to the Teaching Group, SchoolCourse or AssessmentTask.</p>
    type: object
    additionalProperties: false
    properties:
      Student:
       type: array
       items:
          $ref: '#/definitions/StudentObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  RoomList:
    description: >-
      <p>List of rooms in which the scheduled activity is held. Used for onsite venues which are represented in the source system as rooms. Can include large venues (ovals, library, etc), if they have been represented as rooms; source system practice varies.</p>
    type: object
    additionalProperties: false
    properties:
      RoomId:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ////////////////////////////// default sequence ///////////////////////////////
  SchoolService:
    description: >-
      <p>Contains Organisation properties that are specific to Organisations that are Providers of School education services. </p>
    type: object
    additionalProperties: false
    properties:
      CoEdStatus:
        allOf:
        - $ref: '#/definitions/NZCodeSetsSchoolCoEdStatus'
        - description: >-
            <p>A summary of the genders accepted by the school</p>
            <ul>
                <li>'COED' - Co-Educational</li>
                <li>'GIRL' - Girls School</li>
                <li>'BOYS' - Boys School</li>
                <li>'PRCO' - Primary Co-Ed, Secondary Girls</li>
                <li>'JUBO' - Junior Boys, Senior Co-Ed</li>
            </ul>
      Decile:
        type: integer
        description: >-
          <p>A description of the socio-economic position of a school's student community according to the MoE decile rating system. </p>
        minimum: 1
        maximum: 10
      NewEntrantPolicyList:
        allOf:
        - $ref: '#/definitions/EnactedPolicyList'
        - description: >-
            <p>A list of recognised policy choices adopted by the School.</p>
      AllowManualProvisioning:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Indicates whether or not the school has a student management system.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      SchoolClassificationList:
        allOf:
        - $ref: '#/definitions/SchoolClassificationList'
        - description: >-
            <p>A list of School Classification descriptors that further describe the nature of a school</p>
      SchoolYearList:
        allOf:
        - $ref: '#/definitions/SchoolYearLevelList'
        - description: >-
            <p>A list of <code>SchoolYear</code> elements describing the genders of students accepted for enrolment at each year level.</p>
      TechnologyCentreName:
        type: string
        description: >-
          The name of the Technology Centre that is run as part of the School; Eg: Marlborough Technology Centre is run as part of Bohally Intermediate School.

  # ///////////////////////////////// list ////////////////////////////
  SchoolYearLevelList:
    description: >-
      <p>A list of <code>NZSchoolYearLevel</code> elements, describing the Year Levels taught by the School, and the Co-Ed Status of each year level. </p>
    type: object
    additionalProperties: false
    properties:
      SchoolYear:
       type: array
       items:
          $ref: '#/definitions/SchoolYearLevel'

  # ////////////////////////////// default sequence ///////////////////////////////
  SchoolYearLevel:
    description: >-
      <p>A descriptor for a particular Year Level offered by the school, including detail of the gender of students that are accepted for enrolment in this year level. </p>
    type: object
    additionalProperties: false
    properties:
      YearLevel:
        type: integer
        description: >-
          <p>Which year level are we describing?</p>
        minimum: 1
        maximum: 13
      FIRSTSchoolYearGenderId:
        type: integer
        minimum: -2147483648
        maximum: 2147483647
        description: >-
          <p>This is the unique identifier for the combination of School Year, Gender and Boarding received from FIRST. </p> <p>There may be multiple sets of School Year, Gender and boarding for a school, each with their own identifier. A record must be created for each set. </p>
      Gender:
        allOf:
        - $ref: '#/definitions/NZCodeSetsSchoolingGender'
        - description: >-
            <p>Which genders are accepted for enrolment in this Year Level?</p>
            <ul>
                <li>'C' - Both Girls and Boys</li>
                <li>'F' - Girls Only</li>
                <li>'M' - Boys Only</li>
                <li>'55002' - Both Girls and Boys</li>
                <li>'55000' - Girls Only</li>
                <li>'55001' - Boys Only</li>
            </ul>
      Boarding:
        allOf:
        - $ref: '#/definitions/NZCodeSetsSchoolBoardingType'
        - description: >-
            <p>Says if the school has boarding and if so, if it is for girls only, boys only or both.</p>
            <ul>
                <li>'56000' - Girls Only</li>
                <li>'56001' - Boys Only</li>
                <li>'56002' - Both Girls and Boys</li>
                <li>'56003' - None</li>
            </ul>

  # ///////////////////////////////// list ////////////////////////////
  YearLevelList:
    description: >-
      <p>A list of <code>NZSchoolYearLevel</code> elements, describing the Year Levels taught to the Course or TeachingGroup. </p>
    type: object
    additionalProperties: false
    properties:
      YearLevel:
       type: array
       items:
          type: integer

  # ///////////////////////////////// list ////////////////////////////
  EnactedPolicyList:
    description: >-
      <p>A list of <code>EnactedPolicy</code> elements, describing the state legislated policy choices the school has adopted, and the time-period of that adoption. </p>
    type: object
    additionalProperties: false
    properties:
      EnactedPolicy:
       type: array
       items:
          $ref: '#/definitions/EnactedPolicy'

  # ////////////////////////////// default sequence ///////////////////////////////
  EnactedPolicy:
    description: >-
      <p>A descriptor for a particular enacted policy that has been adopted by a school.</p>
    type: object
    additionalProperties: false
    properties:
      EffectiveFrom:
        type: string
        format: date
        description: >-
          <p>The date from which the school adopted the policy. If not populated then this is the current/original policy of the school.</p>
      EffectiveTo:
        type: string
        format: date
        description: >-
          <p>The date after which the school has no longer adopted the policy. If not populated then the school has no planned date to end the policy.</p>
      Policy:
        allOf:
        - $ref: '#/definitions/NZCodeSetsEnactedPolicy'
        - description: >-
            <p>Which recognised policy has been chosen?</p>
            <ul>
                <li>'AE' - Age Entry</li>
                <li>'CE' - Cohort Entry</li>
            </ul>

  # ///////////////////////////////// list ////////////////////////////
  SchoolClassificationList:
    description: >-
      <p>A list of <code>Classification</code> elements, further describing the nature of the school.</p>
    type: object
    additionalProperties: false
    properties:
      Classification:
       type: array
       items:
          $ref: '#/definitions/NZCodeSetsSchoolClassification'

  # ////////////////////////////// default sequence ///////////////////////////////
  ECEService:
    description: >-
      <p>Contains Organisation properties that are specific to Organisations that are Providers of early childhood education services. </p>
    type: object
    additionalProperties: false
    properties:
      Type:
        allOf:
        - $ref: '#/definitions/NZCodeSetsECEServiceType'
        - description: >-
            <p>Code denoting the kind of ECE service. eg: Kindergarten, PLayCentre, Te Kohanga Reo, etc.</p>
            <ul>
                <li>'KG' - Kindergarten</li>
                <li>'PC' - Playcentre</li>
                <li>'KR' - Te Kohanga Reo</li>
            </ul>
      PrimaryLanguage:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLanguage'
        - description: >-
            <p>The primary language utilised by the ECE Service.</p>
            <ul>
                <li>'NZS01' - Germanic</li>
                <li>'NZS011' - West Germanic</li>
                <li>'NZS01100' - West Germanic not further defined</li>
                <li>'NZS01110' - Afrikaans</li>
                <li>'NZS01111' - Dutch</li>
                <li>'NZS01112' - English - Pākehā</li>
                <li>'NZS01113' - German</li>
                <li>'NZS01114' - Friesian</li>
                <li>'NZS01115' - Yiddish</li>
                <li>'NZS01116' - Scots</li>
                <li>'NZS01199' - West Germanic not elsewhere classified</li>
                <li>'NZS012' - North Germanic</li>
            </ul>
              plus 252 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsLanguageType">NZCodeSetsLanguageType<a>
      PrimaryLanguageOther:
        type: string
        description: >-
          <p>Additional information about a language when one of the 'Other' language codes sets is selected.</p>

  # ////////////////////////////// another type ///////////////////////////////
  TertiaryService:
    allOf:
    - description: >-
        <p>Contains Organisation properties that are specific to Organisations that are Providers of early tertiary education services. </p>

  # ///////////////////////////////// list ////////////////////////////
  AddressList:
    description: >-
      <p>A list of Address elements.</p>
    type: object
    additionalProperties: false
    properties:
      Address:
       type: array
       items:
          $ref: '#/definitions/Address'

  # ////////////////////////////// default sequence ///////////////////////////////
  Address:
    description: >-
      <p>This element contains address data.</p>
    type: object
    additionalProperties: false
    properties:
      Type:
        allOf:
        - $ref: '#/definitions/NZCodeSetsAddressType'
        - description: >-
            <p>Code defining the class of the address: Urban, Rural, Delivery Service or Foreign.</p>
            <ul>
                <li>'TH' - Thoroughfare</li>
                <li>'RU' - Rural Post Delivery</li>
                <li>'DE' - Delivery Service</li>
                <li>'WA' - Water</li>
                <li>'FO' - Foreign Address</li>
            </ul>
      Role:
        allOf:
        - $ref: '#/definitions/NZCodeSetsAddressRole'
        - description: >-
            <p>Describes how the Person/Organisation uses the Address</p>
            <ul>
                <li>'PHY' - Physical Address</li>
                <li>'POS' - Postal Address</li>
            </ul>
      Line1:
        type: string
        description: >-
          <p>Address line 1.</p>
      Line2:
        type: string
        description: >-
          <p>Address line 2.</p>
      Line3:
        type: string
        description: >-
          <p>Address line 3.</p>
      Line4:
        type: string
        description: >-
          <p>Address line 4.</p>
      Suburb:
        type: string
        description: >-
          <p>The suburb part of urban addresses, or the 'RD No' part of rural addresses</p>
      City:
        type: string
        description: >-
          <p>The city part of the address.</p>
      StateProvince:
        type: string
        description: >-
          <p>The state or province code. StateTerritory Code only applicable if a non-New Zealand Address.</p>
      Country:
        type: string
        description: >-
          <p>The country code.</p>
      PostalCode:
        type: string
        description: >-
          <p>The ZIP/postal code.</p>
      GridLocation:
        allOf:
        - $ref: '#/definitions/GridLocation'
        - description: >-
            <p>The latitude & longitude of the location. Grid location values are derived from New Zealand Map Grid x,y coordinates and converted to Latitude and Longitude values per the World Geodetic System 1984 (G1762) </p>
      StatisticalAreaList:
        allOf:
        - $ref: '#/definitions/StatisticalAreaList'
        - description: >-
            <p>A list of Statistical Areas containing the location.</p> <p>The list may contain exactly one StatisticalArea element for each of the following spatial unit types:</p> <ul> <li>Ward</li> <li>Urban Area</li> <li>Census Area Unit</li> <li>Māori Electorate</li> <li>Mesh Block</li> <li>General Electorate</li> <li>Territorial Authority</li> <li>Local Board (Auckland Only)</li> <li>Regional Council</li> </ul>

  # ////////////////////////////// default sequence ///////////////////////////////
  GridLocation:
    description: >-
      <p>This element contains a map location. The GridLocation element is utilized within the Address element.</p>
    type: object
    additionalProperties: false
    properties:
      Latitude:
        type: number
        description: >-
          <p>Latitude in decimal degrees.</p> <p> Latitudes north of the equator are positive, latitudes south of the equator are negative [ISO 6709]. </p>
        minimum: -90
        maximum: 90
      Longitude:
        type: number
        description: >-
          <p>Longitude in decimal degrees.</p> <p>Longitudes east of the Prime Meridian in Greenwich are positive, longitudes west of the Prime Meridian are negative. The 180th meridian is negative. [ISO 6709]</p>
        minimum: -180
        maximum: 180

  # ///////////////////////////////// list ////////////////////////////
  CountryList:
    type: object
    additionalProperties: false
    properties:
      Country:
       type: array
       items:
          $ref: '#/definitions/ISO3166Country'

  # ///////////////////////////////// list ////////////////////////////
  LocationList:
    description: >-
      <p>A list of Location elements.</p>
    type: object
    additionalProperties: false
    properties:
      Location:
       type: array
       items:
          $ref: '#/definitions/Location'

  # ////////////////////////////// default sequence ///////////////////////////////
  Location:
    description: >-
      <p>This element contains data about a geographical location.</p>
    type: object
    additionalProperties: false
    properties:
      Description:
        type: string
        description: >-
          <p>A description for the Location.</p>
      LocationNum:
        type: integer
        minimum: -2147483648
        maximum: 2147483647
        description: >-
          <p>Number identifying the individual location within the set of locations used by the Provider.</p>
      Address:
        allOf:
        - $ref: '#/definitions/Address'
        - description: >-
            <p>The physical address of the Location</p>
      GridLocation:
        allOf:
        - $ref: '#/definitions/GridLocation'
        - description: >-
            <p>The latitude & longitude of the location. Grid location values are derived from New Zealand Map Grid x,y coordinates and converted to Latitude and Longitude values per the World Geodetic System 1984 (G1762) </p>
      StatisticalAreaList:
        allOf:
        - $ref: '#/definitions/StatisticalAreaList'
        - description: >-
            <p>A list of Statistical Areas containing the location.</p> <p>The list may contain exactly one StatisticalArea element for each of the following spatial unit types:</p> <ul> <li>Ward</li> <li>Urban Area</li> <li>Census Area Unit</li> <li>Māori Electorate</li> <li>Mesh Block</li> <li>General Electorate</li> <li>Territorial Authority</li> <li>Local Board (Auckland Only)</li> <li>Regional Council</li> </ul>

  # ///////////////////////////////// list ////////////////////////////
  StatisticalAreaList:
    description: >-
      <p>A list of Statistical Areas. It may contain a StatisticalArea element for each of the following spatial unit types:</p> <ul> <li>Ward</li> <li>Urban Area</li> <li>Census Area Unit</li> <li>Māori Electorate</li> <li>Mesh Block</li> <li>General Electorate</li> <li>Territorial Authority</li> <li>Local Board (Auckland Only)</li> <li>Regional Council</li> </ul>
    type: object
    additionalProperties: false
    properties:
      StatisticalArea:
       type: array
       items:
          $ref: '#/definitions/StatisticalArea'

  # ////////////////////////////// default sequence ///////////////////////////////
  StatisticalArea:
    description: >-
      <p>A particular statistical area defined by Statistics New Zealand.</p>
    type: object
    additionalProperties: false
    properties:
      SpatialUnitType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsSpatialUnitType'
        - description: >-
            <p>Denotes the type of Spatial Unit that the StatisticalArea code refers to. (eg: Teritorial Authority, General Electoral District, etc.)</p>
            <ul>
                <li>'AE' - Area Unit</li>
                <li>'GE' - General Electoral District</li>
                <li>'CB' - Community Board</li>
                <li>'ME' - Māori Electoral District</li>
                <li>'MB' - Mesh Block</li>
                <li>'RC' - Regional Council</li>
                <li>'TA' - Territorial Authority</li>
                <li>'UA' - Urban Area</li>
                <li>'WA' - Ward</li>
            </ul>
      Code:
        type: string
        description: >-
          <p>A valid value defined by the nominated spatial unit type, defined by Statistics New Zealand in one of the following statistical area defintion standards:</p> <dl> <dt>Area Unit</dt> <dd>Statistics NZ Classification of Area Unit 2017 v1.0.0</dd> <dt>General Electoral District</dt> <dd>Statistics NZ General Electoral District 2014 v1.0.0</dd> <dt>Community Board</dt> <dd>Statistics NZ Community Board (codes 07601 - 07621) 2018 v1.0.0</dd> <dt>Māori Electoral District</dt> <dd>Statistics NZ Māori Electoral District 2014 v1.0.0</dd> <dt>Mesh Block</dt> <dd>Statistics NZ Statistical Standard for Meshblock 2018 v1.0.0</dd> <dt>Regional Council</dt> <dd>Statistics NZ Regional Council 2018 v1.0.0</dd> <dt>Territorial Authority</dt> <dd>Statistics NZ Territorial Authority 2018 v1.0.0</dd> <dt>Urban Area</dt> <dd>Statistics NZ Urban Area 2018 v1.0.0</dd> <dt>Ward</dt> <dd>Statistics NZ Ward 2018 v1.0.0</dd> </dl>

  # ////////////////////////////// default sequence ///////////////////////////////
  PersonInfo:
    description: >-
      <p>The personal information collected about students.</p>
    type: object
    additionalProperties: false
    properties:
      Name:
        allOf:
        - $ref: '#/definitions/BaseName'
        - description: >-
            <p>A name used by the person </p>
      OtherNameList:
        allOf:
        - $ref: '#/definitions/OtherNameList'
        - description: >-
            <p>Previous, alternate or other names or aliases associated with the person.</p>
      VerifiedName:
        allOf:
        - $ref: '#/definitions/VerifiedName'
        - description: >-
            <p>The verified name of the person.</p>
      Demographics:
        allOf:
        - $ref: '#/definitions/Demographics'
        - description: >-
            <p>Details of the person’s demographic properties</p>
      AddressList:
        allOf:
        - $ref: '#/definitions/AddressList'
        - description: >-
            The person's address(es) - one or more addresses
      EmailList:
        allOf:
        - $ref: '#/definitions/EmailList'
        - description: >-
            <p>The person's e-mail address(es) - one or more emails.</p>
      PhoneNumberList:
        allOf:
        - $ref: '#/definitions/PhoneNumberList'
        - description: >-
            <p>The person's phone number(s) - one or more phone numbers.</p>
      HouseholdContactInfoList:
        allOf:
        - $ref: '#/definitions/HouseholdContactInfoList'
        - description: >-
            <p>The person's household/s contact information. A list of one or more household’s contact information.</p>
      PersonPhoto:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>A photo of the person. A person photo is stored in Document against the student with a document type of Person Photo.</p>
      MedicalNeedList:
        allOf:
        - $ref: '#/definitions/MedicalNeedList'
        - description: >-
            <p>A list of a persons known medical needs.</p>

  # ////////////////////////////// default sequence ///////////////////////////////
  BaseCommunicationChannel:
    description: >-
      <p>A set of attributes common to multiple kinds of communication channel</p>
    type: object
    additionalProperties: false
    properties:
      Notes:
        type: string
        description: >-
          <p>Notes on when / how to use the communication channel. eg: Phone after 4pm</p>
      Preference:
        type: integer
        minimum: 0
        maximum: 4294967295
        description: >-
          <p>Preference number indicating an order in which communication channels should be used when contacting person or organisation.</p>
      Usage:
        allOf:
        - $ref: '#/definitions/NZCodeSetsCommunicationUsage'
        - description: >-
            <p>A code describing the acceptable usage of a person or organisation's communication channel</p>
            <ul>
                <li>'MED' - Medical Incident</li>
                <li>'SMS' - SMS/TXT</li>
                <li>'UNE' - Unexplained Absence</li>
                <li>'INT' - Intended Absence</li>
            </ul>

  # ////////////////////////////// default sequence ///////////////////////////////
  BaseName:
    description: >-
      <p>Base type, without attributes, for <code>Name</code> elements, primarily to allow structure to be leveraged with different <code>Type</code> attribute values.</p>
    type: object
    additionalProperties: false
    properties:
      Title:
        type: string
        description: >-
          <p>A title or prefix associated with the name.</p>
      FamilyName:
        type: string
        description: >-
          <p>Also known as Last Name, although some cultures may not present a family name as the last name.</p>
      GivenName:
        type: string
        description: >-
          <p>Also known as First Name, although some cultures may not present this name as the first element in a name. May contain a composite of all given names.</p>
      MiddleName:
        type: string
        description: >-
          <p>Where more than one Given Name, these may be combined in one composite field or else populated in several elements. </p>
      FamilyNameFirst:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>An indicator used to identify the naming conventions used by some predominantly non-European, ethnic or language groups and related to the display nature of a name.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      PreferredFamilyName:
        type: string
        description: >-
          <p>A preferred version of the Family Name. Note:A name cannot have both a Preferred Family and Preferred Given Name within the same Name structure – only one of these fields should be populated. If a person does have both a Preferred Family and Preferred Given Name then this must be populated as a separate Name of type ‘Preferred’.</p>
      PreferredFamilyNameFirst:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>An indicator used to identify the naming conventions used by some predominantly non-European, ethnic or language groups and related to the display nature of a name.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      PreferredGivenName:
        type: string
        description: >-
          <p>A preferred version of the Given Name. Note: A name cannot have both a Preferred Family and Preferred Given Name within the same Name structure – only one of these fields should be populated. If a person does have both a Preferred Family and Preferred Given Name then this must be populated as a separate Name of type ‘Preferred’.</p>
      Suffix:
        type: string
        description: >-
          <p>Textual suffix like PHD, JP, BSc. </p>
      FullName:
        type: string
        description: >-
          <p>A combination of all name elements as one composite text element</p>
      Type:
        allOf:
        - $ref: '#/definitions/NZCodeSetsNameUsageType'
        - description: >-
            Where a person has more than one name, the usage type distinguishes the purposes or their preference for use of the name.
            <ul>
                <li>'PRF' - Preferred Name</li>
                <li>'FON' - Foreign Official Name</li>
                <li>'PRV' - Previous name</li>
                <li>'AKA' - Also Known As</li>
                <li>'BTH' - Name at Birth</li>
                <li>'LGL' - Legal Name</li>
            </ul>
      IsVerified:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            Flag indicating that this name has been verified.
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>

  # ////////////////////////////// extension ///////////////////////////////
  VerifiedName:
    description: >-
      <p>Extension of BaseNameType including name verification data</p>
    type: object
    additionalProperties: false
    properties:
      allOf:
      - $ref: '#/definitions/BaseName/properties'
      - Verification:
          allOf:
          - $ref: '#/definitions/VerificationEvent'
          - description: >-
              <p> The verification event that verified the person's name. </p>

  # ///////////////////////////////// list ////////////////////////////
  OtherNameList:
    description: >-
      <p>Previous, alternate or other names or aliases associated with a person.</p>
    type: object
    additionalProperties: false
    properties:
      Name:
       type: array
       items:
          $ref: '#/definitions/VerifiedName'

  # ////////////////////////////// default sequence ///////////////////////////////
  Demographics:
    description: >-
      <p>Demographics information about the student, contact, staff member, etc.</p>
    type: object
    additionalProperties: false
    properties:
      BirthDate:
        type: string
        format: date
        description: >-
          <p>The person's date of birth.</p>
      DateOfDeath:
        type: string
        format: date
        description: >-
          <p>The person's date of death.</p>
      PlaceOfBirth:
        type: string
        description: >-
          <p>The person's place of birth - like village, town, city etc.</p>
      CountryOfBirth:
        allOf:
        - $ref: '#/definitions/ISO3166Country'
        - description: >-
            <p>The person's country of birth.</p>
      CitizenshipList:
        allOf:
        - $ref: '#/definitions/CountryList'
      CitizenshipStatus:
        allOf:
        - $ref: '#/definitions/NZCodeSetsCitizenshipStatus'
        - description: >-
            <p>The Citizenship or Residency status of the Person</p>
      CitizenshipVerification:
        allOf:
        - $ref: '#/definitions/VerificationEvent'
        - description: >-
            <p> The verification event that verified the residency status of the person. Absence of a verification event indicates that the residency was not verified against an identity document. </p>
      Gender:
        allOf:
        - $ref: '#/definitions/NZCodeSetsGender'
        - description: >-
            <p>The gender with which the Person identifies, according to NZ Standard Gender Identity codes.</p>
            <ul>
                <li>'1' - Male - Tāne</li>
                <li>'2' - Female - Wahine</li>
                <li>'3' - Gender Diverse - Ira tāngata kōwhiri kore</li>
                <li>'31' - Transgender Male to Female - Whakawahine</li>
                <li>'32' - Transgender Female to Male - Tangata ira tāne</li>
                <li>'9' - Not Willing to Disclose - Kāre e taea te Whakaatu</li>
            </ul>
      LanguageList:
        allOf:
        - $ref: '#/definitions/LanguageList'
        - description: >-
            List of languages an individual uses to communicate.
      CountryArrivalDate:
        type: string
        format: date
        description: >-
          Date the person first arrived in the country.
      EthnicityList:
        allOf:
        - $ref: '#/definitions/EthnicityList'
        - description: >-
            <p>One or more ethnic groups with which the person identifies.</p>
      IwiAffiliationList:
        allOf:
        - $ref: '#/definitions/IwiAffiliationList'
        - description: >-
            <p>A list of one or more iwi with which the person has an affiliation.</p>
      ReligiousAffiliationList:
        allOf:
        - $ref: '#/definitions/ReligiousAffiliationList'
        - description: >-
            <p>A list of one or more religions with which the person has an affiliation.</p>

  # ///////////////////////////////// list ////////////////////////////
  LanguageList:
    description: >-
      <p>A list of languages that an individual uses to communicate</p>
    type: object
    additionalProperties: false
    properties:
      Language:
       type: array
       items:
          $ref: '#/definitions/LanguageBase'

  # ////////////////////////////// default sequence ///////////////////////////////
  LanguageBase:
    description: >-
      <p>A language that an individual uses to communicate.</p>
    type: object
    additionalProperties: false
    properties:
      Code:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLanguage'
        - description: >-
            <p>The code representing the specific language that an individual uses to communicate.�</p>
            <ul>
                <li>'NZS01' - Germanic</li>
                <li>'NZS011' - West Germanic</li>
                <li>'NZS01100' - West Germanic not further defined</li>
                <li>'NZS01110' - Afrikaans</li>
                <li>'NZS01111' - Dutch</li>
                <li>'NZS01112' - English - Pākehā</li>
                <li>'NZS01113' - German</li>
                <li>'NZS01114' - Friesian</li>
                <li>'NZS01115' - Yiddish</li>
                <li>'NZS01116' - Scots</li>
                <li>'NZS01199' - West Germanic not elsewhere classified</li>
                <li>'NZS012' - North Germanic</li>
            </ul>
              plus 252 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsLanguageType">NZCodeSetsLanguageType<a>
      Usage:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLanguageUsage'
        - description: >-
            <p>The usage of the language by a person, potentially indicating capability and preference for the language.</p>
            <ul>
                <li>'FL' - First Language - Reo Tuatahi</li>
                <li>'SL' - Secondary Language - Reo Tuarua</li>
                <li>'SH' - Spoken At Home - Reo Kāinga</li>
            </ul>
      Dialect:
        type: string
        description: >-
          <p>Specific dialect of a person's language.</p>
      ProficiencyList:
        allOf:
        - $ref: '#/definitions/LanguageProficiencyList'
        - description: >-
            <p>A list of the person's proficiency in the language in regards to speaking, reading and writing.</p>

  # ///////////////////////////////// list ////////////////////////////
  LanguageProficiencyList:
    description: >-
      <p>The person's proficiency in the language in regards to speaking, reading and writing.</p>
    type: object
    additionalProperties: false
    properties:
      Proficiency:
       type: array
       items:
          $ref: '#/definitions/LanguageProficiency'

  # ////////////////////////////// default sequence ///////////////////////////////
  LanguageProficiency:
    description: >-
      <p>The person's proficiency in the language in regards to speaking, reading and writing.</p>
    type: object
    additionalProperties: false
    properties:
      Level:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLanguageProficiencyLevel'
        - description: >-
            <p>The person's proficency level in the language in regards to reading, writing or speaking.</p>
            <ul>
                <li>'NO' - None</li>
                <li>'BE' - Beginner</li>
                <li>'IN' - Intermediate</li>
                <li>'AD' - Advanced</li>
            </ul>
      Type:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLanguageProficiencyType'
        - description: >-
            <p>The type of language proficency, e.g. speaking, writing or reading.</p>
            <ul>
                <li>'SP' - Speaking</li>
                <li>'RE' - Reading</li>
                <li>'WR' - Writing</li>
            </ul>

  # ///////////////////////////////// list ////////////////////////////
  EmailList:
    description: >-
      <p>A list of e-mail addresses associated with an individual or organization.</p>
    type: object
    additionalProperties: false
    properties:
      Email:
       type: array
       items:
          $ref: '#/definitions/Email'

  # ////////////////////////////// extension ///////////////////////////////
  Email:
    description: >-
      <p> This element represents an e-mail address of one of a number of types and occurs in objects such as StudentPersonal, StaffPersonal, StudentContactPersonal, etc. </p>
    type: object
    additionalProperties: false
    properties:
      allOf:
      - $ref: '#/definitions/BaseCommunicationChannel/properties'
      - Type:
          allOf:
          - $ref: '#/definitions/NZCodeSetsEmailType'
          - description: >-
              <p>A Code denoting how the owner of the e-mail address describes it.</p>
              <ul>
                  <li>'PRIM' - Primary</li>
                  <li>'WORK' - Work</li>
                  <li>'PERS' - Personal</li>
                  <li>'ALT1' - Alternate 1</li>
                  <li>'ALT2' - Alternate 2</li>
                  <li>'ALT3' - Alternate 3</li>
                  <li>'ALT4' - Alternate 4</li>
              </ul>
      - SourceOrganisation:
          allOf:
          - $ref: '#/definitions/OrganisationObjectReference'
          - description: >-
              <p>Generic object reference to the organisation that provided the email address.</p>
      - Address:
          type: string
          description: >-
            <p>The actual email address.</p>

  # ///////////////////////////////// list ////////////////////////////
  PhoneNumberList:
    description: >-
      <p>Lists phone numbers associated with an entity.</p>
    type: object
    additionalProperties: false
    properties:
      PhoneNumber:
       type: array
       items:
          $ref: '#/definitions/PhoneNumber'

  # ////////////////////////////// extension ///////////////////////////////
  PhoneNumber:
    description: >-
      <p>This element represents a phone number and occurs within objects such as StudentPersonal, StaffPersonal, etc.</p>
    type: object
    additionalProperties: false
    properties:
      allOf:
      - $ref: '#/definitions/BaseCommunicationChannel/properties'
      - Type:
          allOf:
          - $ref: '#/definitions/NZCodeSetsTelephoneNumberType'
          - description: >-
              <p>Code that specifies what type of phone number this is. Note: A subset of valid values may be specified in data objects.</p>
              <ul>
                  <li>'MAI' - Main Telephone Number</li>
                  <li>'FAX' - Facsimile Number</li>
                  <li>'HTE' - Home Telephone Number</li>
                  <li>'HMO' - Home Mobile</li>
                  <li>'MOB' - Mobile</li>
                  <li>'WMO' - Work Mobile</li>
                  <li>'WTE' - Work Telephone Number</li>
              </ul>
      - Number:
          type: string
          description: >-
            <p>Phone number. Free-form, but typical New Zealand formats include:</p> <ul> <li>(0##) ###-####</li> <li>###-####</li> <li>+##### ### ####</li> </ul>
      - Extension:
          type: string
          description: >-
            <p>Phone number extension.</p>
      - ListedStatus:
          allOf:
          - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
          - description: >-
              <p>Indicates whether or not the phone number is available to the public.</p>
              <ul>
                  <li>'N' - No - Kāo</li>
                  <li>'Y' - Yes - Āe</li>
              </ul>

  # ////////////////////////////// default sequence ///////////////////////////////
  Relationship:
    description: >-
      <p>Describes the relationship between a Student and StudentContact.</p>
    type: object
    additionalProperties: false
    properties:
      Code:
        allOf:
        - $ref: '#/definitions/NZCodeSetsRelationshipToStudent'
        - description: >-
            <p>Code representing the relationship.</p>
            <ul>
                <li>'FAT' - Father - Pāpā</li>
                <li>'UNC' - Uncle - Matua Kēkē</li>
                <li>'LEG' - Legal Guardian - Kaitiaki ā-ture</li>
                <li>'HOS' - Host Parent - Whānau Tiaki</li>
                <li>'BRO' - Brother - Tungāne</li>
                <li>'FRI' - Family Friend - Hoa o te whānau</li>
                <li>'SIS' - Sister - Tuahine</li>
                <li>'OTH' - Other - He mea kē</li>
                <li>'MOT' - Mother - Māmā</li>
                <li>'GRM' - Grandmother - Kuia</li>
                <li>'AUN' - Aunt - Whaea</li>
                <li>'STF' - Stepfather - Pāpā Whakaangi</li>
            </ul>
              plus 22 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsRelationshipToStudentType">NZCodeSetsRelationshipToStudentType<a>
      OtherTypeDescription:
        type: string
        description: >-
          <p>A free text description of relationship type, where Relationship To Student Type is set to ‘Other’, eg ‘Au-pair’, ‘Neighbour’</p>

  # ////////////////////////////// default sequence ///////////////////////////////
  ContactFlags:
    description: >-
      <p>Contains Yes/No characteristics of the contact person's role with the student.</p>
    type: object
    additionalProperties: false
    properties:
      ParentLegalGuardian:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Does the individual have parental or legal guardianship responsibility for the student?</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      LivesWith:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Does the student live with this contact?</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      AccessToRecords:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Does this contact have access to the student's records?</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      ReceivesAssessmentReport:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>In particular, should this contact receive a copy of the student report? </p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      EmergencyContact:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Should this contact be notified in case of emergency?</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      CivilEmergencyContact:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Does the contact have pickup rights?</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      CivilDefenceEmergencyContact:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Should this contact be notified in case of civil defense emergency where the normal emergency contact is not close to a hosting school?</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      DisciplinaryContact:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Is this person to be contacted in case of disciplinary action?</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      AttendanceContact:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Should this contact be notified in case of an attendance issue?</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      PrimaryCareProvider:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Does this person provide daily living or personal assistance to the student?</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      FeesBilling:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Is this the contact responsible for Payment of Fees?</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      FeesAccess:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Does this contact have access to fees information?</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      FamilyMail:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Does this person receive family mail?</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      CourtOrder:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Is there a Protection Order, Restraining Order or some other court order preventing the Person from having contact with the Student?</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      HealthContact:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Is this student contact a healthcare provider for the student?</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>

  # ///////////////////////////////// list ////////////////////////////
  HouseholdContactInfoList:
    description: >-
      List of Households this Person is associated with
    type: object
    additionalProperties: false
    properties:
      HouseholdContactInfo:
       type: array
       items:
          $ref: '#/definitions/HouseholdContactInfo'

  # ////////////////////////////// default sequence ///////////////////////////////
  HouseholdContactInfo:
    description: >-
      <p>Common element used to supply information about a particular household a person is a member of.</p>
    type: object
    additionalProperties: false
    properties:
      PreferenceNumber:
        type: integer
        minimum: 0
        maximum: 4294967295
        description: >-
          <p>Priority of Household Contact in relation to this Person.</p>
      HouseholdContactId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>Local Household Id</p>
      HouseholdSalutation:
        type: string
        description: >-
          <p>Salutation to be used in addressing this household.</p>
      AddressList:
        allOf:
        - $ref: '#/definitions/AddressList'
      EmailList:
        allOf:
        - $ref: '#/definitions/EmailList'
        - description: >-
            <p>List of Email elements.</p>
      PhoneNumberList:
        allOf:
        - $ref: '#/definitions/PhoneNumberList'
        - description: >-
            <p>List of PhoneNumber elements.</p>

  # ///////////////////////////////// list ////////////////////////////
  HouseholdList:
    description: >-
      <p>A list of HouseholdContactIds, from the Student's HouseholdContactInfoList that the StudentContact is also a member of.</p>
    type: object
    additionalProperties: false
    properties:
      HouseholdId:
       type: array
       items:
          $ref: '#/definitions/LocalId'

  # ////////////////////////////// default sequence ///////////////////////////////
  EduOrganisation:
    description: >-
      <p>Generic organisation that operates within the education sector. For example Providers, Communities of Learning, Ministry local offices, etc.</p>
    type: object
    additionalProperties: false
    properties:
      AddressList:
        allOf:
        - $ref: '#/definitions/AddressList'
        - description: >-
            <p>The set of postal and other addresses that the Organisation uses</p>
      CommunicationChannelList:
        allOf:
        - $ref: '#/definitions/CommunicationChannelList'
        - description: >-
            <p>A list of one or more methods of communication with the organisation</p>
      ContactList:
        allOf:
        - $ref: '#/definitions/ContactList'
        - description: >-
            <p>A list of one or more cotact persons related to the organisation</p>
      EducationRegion:
        allOf:
        - $ref: '#/definitions/NZCodeSetsEducationRegion'
        - description: >-
            <p>A region of New Zealand defined by the Ministry of Education for adminstrative purposes</p>
            <ul>
                <li>'TAIT' - Tai Tokerau - Tai Tokerau</li>
                <li>'AUCK' - Auckland - Tāmaki Makaurau</li>
                <li>'WAIK' - Waikato - Waikato</li>
                <li>'BOPW' - Bay of Plenty, Waiariki - Te Moana a Toitehuatahi, Waiariki</li>
                <li>'HAWK' - Hawke's Bay, Tairāwhiti - Te Matau a Māui, Tairāwhiti</li>
                <li>'TARA' - Taranaki, Whanganui, Manawatū - Taranaki, Whanganui, Manawatū</li>
                <li>'WELL' - Wellington - Te Whanganui a Tara</li>
                <li>'NELS' - Nelson, Marlborough, West Coast - Whakatū, Te Tau Ihu o te Waka-a-Māui, Te Tai Poutini</li>
                <li>'CANT' - Canterbury, Chatham Islands - Waitaha, Wharekauri</li>
                <li>'OTAG' - Otago, Southland - Otākou, Murihiku</li>
                <li>'12000' - Missing</li>
                <li>'12005' - Correspondence</li>
            </ul>
              plus 11 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsEducationRegionType">NZCodeSetsEducationRegionType<a>
      SpecialEducationDistrict:
        allOf:
        - $ref: '#/definitions/NZCodeSetsSpecialEducationDistrict'
        - description: >-
            <p>The special education district the provider belongs to.</p>
            <ul>
                <li>'182000' - Tai Tokerau - Tai Tokerau</li>
                <li>'182001' - North West</li>
                <li>'182002' - Manukau</li>
                <li>'182003' - Auckland - Tāmaki Makaurau</li>
                <li>'182004' - Waikato - Waikato</li>
                <li>'182005' - Bay of Plenty West</li>
                <li>'182006' - Bay of Plenty, Waiariki - Te Moana a Toitehuatahi, Waiariki</li>
                <li>'182007' - Gisborne</li>
                <li>'182008' - Hawke's Bay, Tairāwhiti - Te Matau a Māui, Tairāwhiti</li>
                <li>'182009' - Taranaki - Taranaki</li>
                <li>'182010' - Taranaki, Whanganui, Manawatū - Taranaki, Whanganui, Manawatū</li>
                <li>'182011' - Wellington - Te Whanganui a Tara</li>
            </ul>
              plus 4 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsSpecialEducationDistrictType">NZCodeSetsSpecialEducationDistrictType<a>
      EmailList:
        allOf:
        - $ref: '#/definitions/EmailList'
        - description: >-
            <p>The set of contact email addresses that the Organisation uses</p>
      EntityClose:
        type: string
        format: date
        description: >-
          <p>Closing date of entity. Only present for closed providers.</p>
      EntityOpen:
        type: string
        format: date
        description: >-
          <p>Opening date of entity. For proposed schools this will be the projected opening date. For open schools this may not be present.</p>
      LocationList:
        allOf:
        - $ref: '#/definitions/LocationList'
        - description: >-
            <p>A list of one or more locations, from which the organisation operates or provides a service.</p>
      Name:
        type: string
        description: >-
          <p>The normal business name of the Organisation</p>
      PhoneNumberList:
        allOf:
        - $ref: '#/definitions/PhoneNumberList'
        - description: >-
            <p>The set of contact phone numbers that the Organisation uses</p>
      RelatedOrganisationList:
        allOf:
        - $ref: '#/definitions/RelatedOrganisationList'
        - description: >-
            <p>A list of other organisations that are related to the Provider</p>
      OperationalStatus:
        allOf:
        - $ref: '#/definitions/NZCodeSetsOperationalStatus'
        - description: >-
            <p>Current status of the Provider</p>
            <ul>
                <li>'C' - Closed</li>
                <li>'O' - Open</li>
                <li>'P' - Proposed</li>
                <li>'28000' - Proposed</li>
                <li>'28001' - Open</li>
                <li>'28002' - Closed</li>
                <li>'28003' - Active</li>
                <li>'28004' - Inactive</li>
                <li>'28005' - Dissolved while Commissioner in place</li>
                <li>'28006' - Operating with Limited Statutory Manager</li>
                <li>'28007' - Merging Board</li>
                <li>'28008' - Not Applicable</li>
            </ul>
              plus 3 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsOperationalStatusType">NZCodeSetsOperationalStatusType<a>
      OperationalStatusReason:
        allOf:
        - $ref: '#/definitions/NZCodeSetsOperationalStatusReason'
        - description: >-
            <p>The reason the operational status of the organisation was changed.</p>
            <ul>
                <li>'30000' - Merger</li>
                <li>'30001' - Change of Type</li>
                <li>'30002' - Declining Roll</li>
                <li>'30003' - Financial Reasons</li>
                <li>'30004' - Loss of Tenancy</li>
                <li>'30005' - Moved Premises</li>
                <li>'30006' - Never Opened</li>
                <li>'30007' - Licence Suspended</li>
                <li>'30008' - Ministry Withdrawal of Licence Due to Non-compliance</li>
                <li>'30009' - Owner Retired / Disestablished</li>
                <li>'30010' - Temporarily Closed</li>
                <li>'30011' - Merger of State Schools - Forced by Minister</li>
            </ul>
              plus 13 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsOperationalStatusReasonType">NZCodeSetsOperationalStatusReasonType<a>
      Type:
        allOf:
        - $ref: '#/definitions/NZCodeSetsOrganisationType'
        - description: >-
            <p>Describes the nature of the Organisation; for Schools this indicate the schooling levels offered. </p>
            <ul>
                <li>'35000' - Early Childhood Education (ECE) - Kura Kōhungahunga</li>
                <li>'10052' - Kindergarten Association</li>
                <li>'10053' - Playcentre Association</li>
                <li>'10054' - Commercial ECE Service Provider</li>
                <li>'10055' - Other ECE Service Provider</li>
                <li>'1' - Casual-Education and Care</li>
                <li>'2' - Free Kindergarten</li>
                <li>'3' - Hospital Based ECE</li>
                <li>'4' - Playcentre</li>
                <li>'6' - Education and Care Service</li>
                <li>'7' - Homebased Network</li>
                <li>'8' - Licence Exempt Kohanga Reo</li>
            </ul>
              plus 79 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsOrganisationTypeType">NZCodeSetsOrganisationTypeType<a>
      SectorRole:
        allOf:
        - $ref: '#/definitions/NZCodeSetsOrganisationSectorRole'
        - description: >-
            <p>Code denoting the role the organisation plays within the education sector, e.g. School Sector Institution, Learning Support Cluster, etc. </p>
            <ul>
                <li>'35000' - Licenced ECE Service</li>
                <li>'35001' - Playgroup</li>
                <li>'35002' - Tertiary Sector Institution</li>
                <li>'35003' - School Sector Institution</li>
                <li>'35004' - Other Organisation Type</li>
                <li>'35005' - ECE Service Provider</li>
                <li>'35006' - Board of Trustees</li>
                <li>'35007' - Local Office</li>
                <li>'35008' - Community of Schools</li>
                <li>'35009' - Learning Support Cluster</li>
            </ul>
      ProviderSMS:
        allOf:
        - $ref: '#/definitions/NZCodeSetsSchoolManagementSystem'
        - description: >-
            <p>The name of the School Management System (SMS) that the provider is currently using. Note: not all education providers use an SMS.</p>
            <ul>
                <li>'ASS' - Assembly</li>
                <li>'ETA' - eTAP</li>
                <li>'INT' - INTEGRATOR</li>
                <li>'KAM' - KAMAR</li>
                <li>'LIN' - LINC-ED</li>
                <li>'MUS' - MUSAC edge</li>
                <li>'PCS' - PCSchool</li>
                <li>'SYN' - Synergetic</li>
            </ul>
      TeRitoConfig:
        allOf:
        - $ref: '#/definitions/TeRitoConfiguration'
        - description: >-
            <p>Provides iinformation specific to Te Rito, e.g. which functionality in Te Rito an organisation (school, ECE etc.) is utilising. </p>
      IsLicencedECEServiceProvider:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Indicates whether or not an ECE Service Provider Organisation is a Licenced ECE Service Provider.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      IsPlaygroupServiceProvider:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Indicates whether or not an ECE Service Provider Organisation is a Playgroup Service Provider.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      ECEServiceProviderOwnershipType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsECEServiceProviderOwnershipType'
        - description: >-
            <p>The type of ECE Service Provider ownership, e.g. Sole Trader, Company, Charitable Trust etc.</p>
            <ul>
                <li>'18000' - Sole Trader</li>
                <li>'18001' - Company</li>
                <li>'18002' - Partnership</li>
                <li>'18004' - Incorporated Society</li>
                <li>'18005' - Statutory Trust</li>
                <li>'18006' - Private Trust</li>
                <li>'18007' - Community Trust</li>
                <li>'18008' - Government Department</li>
                <li>'18009' - State Owned Enterprise</li>
                <li>'18010' - Health Board</li>
                <li>'18011' - City Council/Local Authority Trading Enterprise</li>
                <li>'18012' - Public Education Institution</li>
            </ul>
              plus 2 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsECEServiceProviderOwnershipTypeType">NZCodeSetsECEServiceProviderOwnershipTypeType<a>

  # ////////////////////////////// default sequence ///////////////////////////////
  TeRitoConfiguration:
    description: >-
      <p>Indicates which features of the Te Rito platform the organisation has access to within the Te Rito platform.</p>
    type: object
    additionalProperties: false
    properties:
      DataAnalysisDashboardsInd:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Indicates whether or not the organisation has access to the data analysis dashboards within the Te Rito platform.</p>
      StandardisedLearningSupportRegisterInd:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Indicates whether or not the organisation has access to the within the Te Rito platform.</p>
      VirtualLearningEnvironmentInd:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Indicates whether or not the organisation has access to the VLE within the Te Rito platform.</p>

  # ///////////////////////////////// list ////////////////////////////
  ContactList:
    description: >-
      <p>A list of people's contact details</p>
    type: object
    additionalProperties: false
    properties:
      Contact:
       type: array
       items:
          $ref: '#/definitions/Contact'

  # ////////////////////////////// default sequence ///////////////////////////////
  Contact:
    description: >-
      <p>A particular person's contact details</p>
    type: object
    additionalProperties: false
    properties:
      Name:
        allOf:
        - $ref: '#/definitions/BaseName'
        - description: >-
            <p>The contact's name</p>
      PositionTitle:
        type: string
        description: >-
          <p>The title the contact has within the Organisation being contacted</p>
      Role:
        allOf:
        - $ref: '#/definitions/NZCodeSetsOrganisationContactRole'
        - description: >-
            <p>The role the contact plays within the Organisation being contacted</p>
            <ul>
                <li>'PRI' - Principal</li>
                <li>'ACT' - Acting Principal</li>
                <li>'DIR' - Director</li>
                <li>'ECE' - ECE Management Contact</li>
            </ul>
      AddressList:
        allOf:
        - $ref: '#/definitions/AddressList'
      EmailList:
        allOf:
        - $ref: '#/definitions/EmailList'
        - description: >-
            <p>List of Email elements.</p>
      PhoneNumberList:
        allOf:
        - $ref: '#/definitions/PhoneNumberList'
        - description: >-
            <p>List of PhoneNumber elements.</p>

  # ///////////////////////////////// list ////////////////////////////
  CommunicationChannelList:
    description: >-
      <p>A list of people/organisation's ccommunications channels</p>
    type: object
    additionalProperties: false
    properties:
      Channel:
       type: array
       items:
          $ref: '#/definitions/CommunicationChannel'

  # ////////////////////////////// extension ///////////////////////////////
  CommunicationChannel:
    description: >-
      <p>A particular person or organisation's communications method</p>
    type: object
    additionalProperties: false
    properties:
      allOf:
      - $ref: '#/definitions/BaseCommunicationChannel/properties'
      - Type:
          allOf:
          - $ref: '#/definitions/NZCodeSetsCommunicationChannelType'
          - description: >-
              <p>A code classifying the Communication's method</p>
              <ul>
                  <li>'WEB' - Website</li>
                  <li>'TWT' - Twitter</li>
                  <li>'FBK' - Facebook</li>
              </ul>
      - Value:
          type: string
          description: >-
            <p>The unique value that provides access to the channel. eg: URL for a website; Facebook page addess, Twitter handle.</p>

  # ///////////////////////////////// list ////////////////////////////
  RelatedOrganisationList:
    description: >-
      <p>A list of an Organisation's related organisations</p>
    type: object
    additionalProperties: false
    properties:
      RelatedOrganisation:
       type: array
       items:
          $ref: '#/definitions/RelatedOrganisation'

  # ////////////////////////////// extension ///////////////////////////////
  RelatedOrganisation:
    description: >-
      <p>Extends <code>ObjectReferenceType</code> to add an extra element, <code>OrganisationType</code>, describing the nature of the related organisation.</p>
    type: object
    additionalProperties: false
    properties:
      allOf:
      - $ref: '#/definitions/ObjectReference/properties'
      - StartDate:
          type: string
          format: date
          description: >-
            <p>The start date of the relationship between the two organisations</p>
      - EndDate:
          type: string
          format: date
          description: >-
            <p>The end date of the relationship between the two organisations</p>
      - Type:
          allOf:
          - $ref: '#/definitions/NZCodeSetsOrganisationRelationshipType'
          - description: >-
              <p>Code denoting the nature of the relationship between the two Organisations</p>
              <ul>
                  <li>'CAH' - Client and Host</li>
                  <li>'CAR' - Contributor and Receiver</li>
                  <li>'TPU' - Teen Parent Unit</li>
                  <li>'ACE' - Activity Centre</li>
                  <li>'LOF' - Local Office and Organisation</li>
                  <li>'EPL' - Playgroup - ECE Service Provider</li>
                  <li>'ESP' - Licenced ECEService - ECE Service Provider</li>
                  <li>'34008' - School and Attached Unit</li>
                  <li>'34028' - Community of Learning Funded Member</li>
                  <li>'34029' - Community of Learning Unfunded Member</li>
                  <li>'34037' - Learning Support Cluster Member</li>
                  <li>'34031' - School RTLB Cluster Member</li>
              </ul>

  # ////////////////////////////// default sequence ///////////////////////////////
  VerificationEvent:
    description: >-
      <p>A record of how information about a person has been verified. For example, verification of name, date of birth, citizenship.</p>
    type: object
    additionalProperties: false
    properties:
      Source:
        allOf:
        - $ref: '#/definitions/NZCodeSetsVerificationSource'
        - description: >-
            <p>Code denoting the source of the person's identity or eligibility verificaiton. Principally refers to an identity document type (eg passport) but may also include a type of business decision taken to accept an assertion of identity and eligibility status (eg principal discretion).</p>
            <ul>
                <li>'NZBIR' - NZ Birth Certificate</li>
                <li>'NZBCO' - NZ Birth Certificate (with confirmation of NZ Citizen by birth)</li>
                <li>'NZPAS' - NZ Passport</li>
                <li>'NZCIT' - NZ Citizenship Certificate</li>
                <li>'BIRCE' - Birth Certificate (COK, TKL, NIU)</li>
                <li>'BCCON' - Birth Certificate (COK, TKL, NIU) (with confirmation of NZ Citizen by birth)</li>
                <li>'CENAT' - Certification of Naturalisation (COK, TKL, NIU)</li>
                <li>'CAREG' - Certification of Registration (COK, TKL, NIU)</li>
                <li>'LETCO' - Letter of Confirmation (COK, TKL, NIU)</li>
                <li>'OTHPA' - Other Passport with NZ residence class Visa</li>
                <li>'AUSPA' - Australian Passport</li>
                <li>'VISDO' - Visa Domestic</li>
            </ul>
              plus 3 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsVerificationSourceType">NZCodeSetsVerificationSourceType<a>
      DocumentSerialNumber:
        type: string
        description: >-
          <p>The serial number on the document that was used to verify the name or birthdate.</p>
      DocumentExpiryDate:
        type: string
        format: date
        description: >-
          <p>The expiry date on the document that was used to verify the name or birthdate.</p>
      IsConfirmed:
        type: boolean
        description: >-
          <p>If true then verification has been confirmed by MoE.</p>
      Timestamp:
        type: string
        format: date-time
        description: >-
          <p>The date & time that the VerificationEvent took place.</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the provider (eg school) that provided the verification.</p>

  # ///////////////////////////////// list ////////////////////////////
  EthnicityList:
    description: >-
      <p>A list of one or more ethnic groups with which a person identifies.</p>
    type: object
    additionalProperties: false
    properties:
      Ethnicity:
       type: array
       items:
          $ref: '#/definitions/Ethnicity'

  # ////////////////////////////// default sequence ///////////////////////////////
  Ethnicity:
    description: >-
      <p>An ethnic group with which the person identifies, and if there is more than one, their order of preference.</p>
    type: object
    additionalProperties: false
    properties:
      PreferenceOrderNumber:
        type: integer
        minimum: -2147483648
        maximum: 2147483647
        description: >-
          <p>The order of preference for the person's ethnicity.</p>
      Code:
        allOf:
        - $ref: '#/definitions/NZCodeSetsEthnicity'
        - description: >-
            <p>An ethnic group with which the person identifies.</p>
            <ul>
                <li>'1' - European - Ūropi</li>
                <li>'10' - European nfd - Ūropi</li>
                <li>'100' - European nfd - Ūropi</li>
                <li>'10000' - European nfd - Ūropi</li>
                <li>'11' - New Zealand European - Pākehā</li>
                <li>'111' - New Zealand European - Pākehā</li>
                <li>'11111' - New Zealand European - Pākehā</li>
                <li>'12' - Other European</li>
                <li>'121' - British and Irish - Ingarangi me Airana</li>
                <li>'12100' - British nfd</li>
                <li>'12111' - Celtic nfd</li>
                <li>'12112' - Channel Islander</li>
            </ul>
              plus 303 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsEthnicityType">NZCodeSetsEthnicityType<a>

  # ///////////////////////////////// list ////////////////////////////
  IwiAffiliationList:
    description: >-
      <p>A list of one or more Iwi with which a person affiliates.</p>
    type: object
    additionalProperties: false
    properties:
      Iwi:
       type: array
       items:
          $ref: '#/definitions/Iwi'

  # ////////////////////////////// default sequence ///////////////////////////////
  Iwi:
    description: >-
      <p>An iwi the person is affiliated to.</p>
    type: object
    additionalProperties: false
    properties:
      Code:
        allOf:
        - $ref: '#/definitions/NZCodeSetsIwi'
        - description: >-
            <p>The code of the iwi the person is affiliated to.</p>
            <ul>
                <li>'NZS01' - Te Tai Tokerau/Tāmaki-makaurau (Northland/Auckland) Region Iwi - Te Tai Tokerau/Tāmaki-makaurau</li>
                <li>'NZS0101' - Te Aupōuri - Te Aupōuri</li>
                <li>'NZS0102' - Ngāti Kahu - Ngāti Kahu</li>
                <li>'NZS0103' - Ngāti Kurī - Ngāti Kurī</li>
                <li>'NZS0104' - Ngāpuhi - Ngāpuhi</li>
                <li>'NZS0105' - Ngāpuhi ki Whaingaroa-Ngāti Kahu ki Whaingaroa - Ngāpuhi ki Whaingaroa-Ngāti Kahu ki Whaingaroa</li>
                <li>'NZS0106' - Te Rarawa - Te Rarawa</li>
                <li>'NZS0107' - Ngāi Takoto - Ngāi Takoto</li>
                <li>'NZS0108' - Ngāti Wai - Ngāti Wai</li>
                <li>'NZS0109' - Ngāti Whātua (not Ōrākei or Kaipara) - Ngāti Whātua (i tua atu i Ōrākei, i Kaipara hoki)</li>
                <li>'NZS0110' - Te Kawerau ā Maki - Te Kawerau ā Maki</li>
                <li>'NZS0111' - Te Uri-o-Hau - Te Uri-o-Hau</li>
            </ul>
              plus 188 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsIwiType">NZCodeSetsIwiType<a>
      PreferenceOrderNumber:
        type: integer
        minimum: -2147483648
        maximum: 2147483647
        description: >-
          <p>Indicates the persons preferred Iwi. The order of preference for the person's Iwi. '1' is their first preference. If left NULL means no preference is set and defers to any Iwi with a preference of '1'.</p>
      HapuAffiliationList:
        allOf:
        - $ref: '#/definitions/HapuAffiliationList'
        - description: >-
            <p>A list of one or more affiliations of a person with a Hapū within an Iwi.</p>

  # ///////////////////////////////// list ////////////////////////////
  HapuAffiliationList:
    description: >-
      <p>A list of one or more affiliations of a person with a Hapū within an Iwi.</p>
    type: object
    additionalProperties: false
    properties:
      Hapu:
       type: array
       items:
          $ref: '#/definitions/Hapu'

  # ////////////////////////////// default sequence ///////////////////////////////
  Hapu:
    description: >-
      <p>An hapu the person is affiliated to.</p>
    type: object
    additionalProperties: false
    properties:
      HapuName:
        type: string
        description: >-
          <p>The name of a Hapū that the person is affiliated with.</p>
      PreferenceOrderNumber:
        type: integer
        minimum: -2147483648
        maximum: 2147483647
        description: >-
          <p>Indicates the persons preferred Hapu. The order of preference for the person's Hapu. '1' is their first preference. If left NULL means no preference is set and defers to any Hapu with a preference of '1'.</p>

  # ///////////////////////////////// list ////////////////////////////
  ReligiousAffiliationList:
    description: >-
      <p>A list of one or more religions with which a person affiliates.</p>
    type: object
    additionalProperties: false
    properties:
      ReligiousAffiliation:
       type: array
       items:
          $ref: '#/definitions/NZCodeSetsReligion'

  # ////////////////////////////// default sequence ///////////////////////////////
  HealthcareServiceInfo:
    description: >-
      <p>Details of a healthcare service provided by the student contact, for example if the contact is a doctor or dentist.</p>
    type: object
    additionalProperties: false
    properties:
      OrganisationName:
        type: string
        description: >-
          <p>The name of the healthcare service, eg: 'Martinborough Health Centre'</p>
      OrganisationPhoneNum:
        type: string
        description: >-
          <p>The name phone number of the healthcare service</p>
      Notes:
        type: string
        description: >-
          <p>Who at the healthservice is the Student's regular e.g. 'Dr Phillips'</p>
      Type:
        allOf:
        - $ref: '#/definitions/NZCodeSetsHealthcareServiceType'
        - description: >-
            <p>What kind of healthcare service is provided to the Student by the contact?</p>
            <ul>
                <li>'DOC' - Doctor</li>
                <li>'DEN' - Dentist</li>
                <li>'THE' - Therapist</li>
                <li>'OTH' - Other</li>
            </ul>

  # ///////////////////////////////// list ////////////////////////////
  RelatedToList:
    description: >-
      <p>List of objects that this document relates to, e.g. a Wellbeing Response or Characteristic, Physical Restraint.</p>
    type: object
    additionalProperties: false
    properties:
      RelatedTo:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  PersonDocumentRoleList:
    description: >-
      <p>The list of people associated to a document and their role in relation to it, e.g. author, owner, reviewer, subject of.</p>
    type: object
    additionalProperties: false
    properties:
      PersonDocumentRole:
       type: array
       items:
          $ref: '#/definitions/PersonDocumentRole'

  # ////////////////////////////// default sequence ///////////////////////////////
  PersonDocumentRole:
    description: >-
      <p>A person associated to a document and their role in relation to it, e.g. author, owner, reviewer, subject of.</p>
    type: object
    additionalProperties: false
    properties:
      Role:
        allOf:
        - $ref: '#/definitions/NZCodeSetsDocumentRole'
        - description: >-
            <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>
            <ul>
                <li>'OW' - Owner</li>
                <li>'AU' - Author</li>
                <li>'RE' - Reviewer</li>
                <li>'SU' - Subject Of</li>
                <li>'AD' - Added By</li>
            </ul>
      Person:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>A non student person associated to a document and their role in relation to it, e.g. author, owner, reviewer, subject of.</p>
      Student:
        allOf:
        - $ref: '#/definitions/StudentObjectReference'
        - description: >-
            <p>A student associated to a document and their role in relation to it, e.g. author, owner, reviewer, subject of.</p>

  # ///////////////////////////////// list ////////////////////////////
  MedicalNeedList:
    description: >-
      <p>A list of a persons known medical needs.</p>
    type: object
    additionalProperties: false
    properties:
      MedicalNeed:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  StudentSubjectChoiceList:
    description: >-
      <p>A list of subject areas choices that can be made, or have been made by a Student.</p>
    type: object
    additionalProperties: false
    properties:
      StudentSubjectChoice:
       type: array
       items:
          $ref: '#/definitions/StudentSubjectChoice'

  # ////////////////////////////// default sequence ///////////////////////////////
  StudentSubjectChoice:
    description: >-
      <p>An individual Subject choice that can be made, or has been made by a Student.</p>
    type: object
    additionalProperties: false
    properties:
      PreferenceNumber:
        type: integer
        minimum: 0
        maximum: 4294967295
        description: >-
          <p>The student's preference for this subject, with respect to the other subject choices in the list.</p>
      Code:
        allOf:
        - $ref: '#/definitions/NZCodeSetsSubjectArea'
        - description: >-
            <p>MoE code denoting the chosen subject / learning area.</p>
            <ul>
                <li>'GERM' - German</li>
                <li>'INDO' - Indonesian</li>
                <li>'JAPA' - Japanese</li>
                <li>'FREN' - French</li>
                <li>'REME' - English (Remedial)</li>
                <li>'ENGL' - English - Te Reo Pākeha</li>
                <li>'COOK' - Cook Island Maori</li>
                <li>'COMM' - Communication Skills</li>
                <li>'CHIN' - Chinese</li>
                <li>'KORE' - Korean</li>
                <li>'LATI' - Latin</li>
                <li>'NIUE' - Niuean</li>
            </ul>
              plus 86 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsSubjectAreaType">NZCodeSetsSubjectAreaType<a>

  # ////////////////////////////// default sequence ///////////////////////////////
  EarlyChildhoodEducation:
    description: >-
      <p>A summary of the early childhood education the student received before enrolling in their first school.</p>
    type: object
    additionalProperties: false
    properties:
      Type:
        allOf:
        - $ref: '#/definitions/NZCodeSetsEarlyChildhoodEducationType'
        - description: >-
            <p> The type of early childhood education the student received. </p>
            <ul>
                <li>'EKR' - Attended Kohanga Reo - I haere ki Te Kōhanga Reo</li>
                <li>'EPC' - Attended Playcentre - I tae ki te Playcentre</li>
                <li>'EKE' - Attended Kindergarden or Education and Care - I tae ki te Kura Kōhungahunga, ki Education and Care rānei</li>
                <li>'EHB' - Attended Home Based Service - I tae ki tētahi Ratonga ā-Kāinga</li>
                <li>'EPG' - Attended Playgroup or Pacific Islands EC Group - I tae ki ngā kāhui kōhungahunga Pasifika, Playgroup rānei</li>
                <li>'ECO' - Attended The Correspondence School - Te Aho o Te Kura Pounamu - I tae ki Te Aho o te Kura Pounamu</li>
                <li>'EOS' - Attended, but only outside New Zealand - I tae ake, engari i waho kē atu o Aotearoa</li>
                <li>'ETU' - Attended, but don't know what type of service - I tae ake engari kāre i mōhiotia te momo ratonga</li>
                <li>'ENA' - Did not attend - Kāre i tae ake</li>
                <li>'EUN' - Unable to establish if attended or not - Kāre e mōhio mēnā i tae atu kāore rānei</li>
            </ul>
      HoursAttended:
        type: integer
        minimum: -2147483648
        maximum: 2147483647
        description: >-
          <p>The total number of hours of early childhood education attended, prior to enrolling in their first school.</p>

  # ////////////////////////////// default sequence ///////////////////////////////
  StudentECEEnrolment:
    description: >-
      <p>Defines information related to a student's enrolment at an Early Childhood Education (ECE) Provider.</p> <p>Placeholder for future expansion.</p>
    type: object
    additionalProperties: false
    properties:
      ECEYearLevel:
        allOf:
        - $ref: '#/definitions/NZCodeSetsECEYearLevel'
        - description: >-
            <p>Code set denoting the year level of students attending early childhood education.</p>
            <ul>
                <li>'ABF' - 5 years and above - 5 te pakeke neke atu</li>
                <li>'FIV' - 5 year old - 5 te pakeke</li>
                <li>'FOU' - 4 year old - 4 te pakeke</li>
                <li>'ONE' - 1 year old - 1 te pakeke</li>
                <li>'THR' - 3 year old - 3 te pakeke</li>
                <li>'TWO' - 2 year old - 2 te pakeke</li>
                <li>'UNK' - Unknown - Kāre i mōhiotia</li>
                <li>'ZER' - Younger than 1 year old - Tau heke 1 te pakeke</li>
            </ul>
      Curriculum:
        allOf:
        - $ref: '#/definitions/NZCodeSetsCurriculum'
        - description: >-
            <p>Code denoting which part of the National Curriculum (NZ Curriculum or Te Marautanga o Aotearoa) the ECE learner is enrolled in.</p>
            <ul>
                <li>'NZC' - New Zealand Curriculum - New Zealand Curriculum</li>
                <li>'TMA' - Te Marautanga o Aotearoa - Te Marautanga o Aotearoa</li>
                <li>'ECE' - Te Whāriki - Te Whāriki</li>
                <li>'OTH' - Other Curriculum - Marau Kē</li>
            </ul>

  # ////////////////////////////// default sequence ///////////////////////////////
  StudentTertiaryEnrolment:
    description: >-
      <p>Defines information related to a student's enrolment at a Tertiary Education Provider.</p> <p>Placeholder for future expansion.</p>
    type: object
    additionalProperties: false
    properties:
      Type:
        type: string
        description: >-
          <p>The type of tertiary education the student is enrolling in.</p>

  # ///////////////////////////////// list ////////////////////////////
  StudentSchoolEnrolmentList:
    description: >-
      <p>A list of school enrolments, one for each academic year (or part thereof) that the Student was enroled at the particular Provider.</p>
    type: object
    additionalProperties: false
    properties:
      SchoolEnrolment:
       type: array
       items:
          $ref: '#/definitions/StudentSchoolEnrolment'

  # ////////////////////////////// default sequence ///////////////////////////////
  StudentSchoolEnrolment:
    description: >-
      <p>Defines information related to a student's enrolment at a school education Provider for a particular academic year (or part thereof)</p>
    type: object
    additionalProperties: false
    properties:
      SchoolCalendarYear:
        description: >-
          <p>School year for which this enrolment is applicable, expressed as the four-digit year in which the school year ends (eg 2018).</p>
      StartDate:
        type: string
        format: date
        description: >-
          <p> The date the student started at the school.</p>
      MembershipType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsSchoolEnrolmentType'
        - description: >-
            <p>The type of enrolment as it relates to this school, eg whether base school, co-enrolment. </p>
            <ul>
                <li>'BASE' - Base Enrolment</li>
                <li>'HOST' - Hosted Enrolment</li>
                <li>'REMO' - Remote/Distance Learning</li>
            </ul>
      YearLevel:
        type: integer
        description: >-
          <p>Represents the year level at which the student is considered to be predominantly taught. For example – Year 10, Year 11. Can only contain the values 1 through to 13 inclusive.</p>
        minimum: 1
        maximum: 13
      EligibilityCriteria:
        allOf:
        - $ref: '#/definitions/NZCodeSetsEligibilityCriteria'
        - description: >-
            <p>Records the Student's eligibility to enrol / for funding.</p>
            <ul>
                <li>'NZC' - NZ Citizen (incl. TKL, COK, NIU)</li>
                <li>'AUC' - AU Citizen</li>
                <li>'NZR' - NZ Resident</li>
                <li>'IFP' - International Fee Paying</li>
                <li>'GAE' - Govt. Approved Exchange Scheme</li>
                <li>'DTB' - Domestic Time-bound</li>
                <li>'MOE' - MoE Approved</li>
                <li>'DAY' - 28 Day Waiver</li>
                <li>'EXT' - Extended 28 Day Waiver</li>
            </ul>
      EligibilityVerification:
        allOf:
        - $ref: '#/definitions/VerificationEvent'
        - description: >-
            <p>Records how the Student's eligibility to enrol / for funding was verified by the school staff during the enrolment process.</p>
      FTE:
        type: number
        description: >-
          <p>Full-time equivalent numeric value of the student's course load during this enrollment, expressed in decimal form, where 1.00 represents a full-time enrolment.</p>
        minimum: 0
        maximum: 1
      FundingType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsStudentFundingType'
        - description: >-
            <p>The student classification for MoE funding purposes</p>
            <ul>
                <li>'FF' - International Fee-Paying Student - Ākonga ā-Ao Utu Urutomo</li>
                <li>'AE' - Student in Alternative Education - Ākonga Mātauranga Kē</li>
                <li>'EX' - International Exchange Student - Ākonga Whakawhiti ā-Ao</li>
                <li>'NF' - Not Funded - Kāore he pūtea āwhina</li>
                <li>'RA' - Adult Student - Ākonga Pakeke</li>
                <li>'AD' - Returning Adult Student - Ākonga Pakeke Hokingarua</li>
                <li>'RE' - Regular Student - Ākonga</li>
                <li>'TPREOM' - Teen Parent Regular Student Over Maximum Roll - Ranga Mātātahi, Ākonga kua aua atu i te taumata rārangi</li>
                <li>'TPRAOM' - Teen Parent Adult Student Over Maximum Roll - Ranga Mātātahi, Ākonga Pakeke kua aua atu i te taumata rārangi</li>
                <li>'TPAD' - Teen Parent Other Adult Student - Ranga Mātātahi, Ākonga Pakeke kē</li>
                <li>'TPRE' - Teen Parent Eligible and Enrolled Regular Student - Ranga Mātātahi me ngā Ākonga kua uru</li>
                <li>'TPRAE' - Teen Parent Enrolled Continuing Adult Student - Ranga Mātātahi kua uru hei Ākonga Pakeke e haere tonu ana</li>
            </ul>
              plus 4 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsStudentFundingTypeType">NZCodeSetsStudentFundingTypeType<a>
      FundingYearLevel:
        type: integer
        description: >-
          <p>Indicates the number of years for which funding has been provided by MoE. Must only contain values from 0 through to 15 inclusive.</p>
        minimum: 0
        maximum: 15
      Curriculum:
        allOf:
        - $ref: '#/definitions/NZCodeSetsCurriculum'
        - description: >-
            <p>Code denoting which half of the National Curriculum (NZ Curriculum or Te Marautanga o Aotearoa) the student is enrolled in.</p>
            <ul>
                <li>'NZC' - New Zealand Curriculum - New Zealand Curriculum</li>
                <li>'TMA' - Te Marautanga o Aotearoa - Te Marautanga o Aotearoa</li>
                <li>'ECE' - Te Whāriki - Te Whāriki</li>
                <li>'OTH' - Other Curriculum - Marau Kē</li>
            </ul>
      CurriculumLevel:
        type: integer
        description: >-
          <p>Which level of the National Curriculum (1-5) is the student enrolling in?</p>
        minimum: 1
        maximum: 5
      LanguageOfInstructionList:
        allOf:
        - $ref: '#/definitions/LanguageOfInstructionList'
        - description: >-
            <p>How much instruction has the student received in which languages?</p>
      TimeInImmersion:
        type: integer
        minimum: 0
        maximum: 4294967295
        description: >-
          <p>The number of years the student has been in Te Reo Māori immersion education.</p>
      Section9Agreement:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Indicates whether or not the student is enrolled under a Section 9 agreement</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      NZQA:
        allOf:
        - $ref: '#/definitions/NZQAEnrolment'
        - description: >-
            <p>NZQA details for a student for this school year.</p>
      OngoingResourceScheme:
        allOf:
        - $ref: '#/definitions/NZCodeSetsOngoingResourceScheme'
        - description: >-
            <p>Indicates the level of ORS funding the student receives.</p>
            <ul>
                <li>'H' - High ORS - Teitei te ORS</li>
                <li>'V' - Very High ORS - Tino Teitei te ORS</li>
                <li>'E' - Extension (Moderate to High) - Whakaroanga (Rewatanga ki Teitei)</li>
            </ul>
      SubjectChoiceList:
        allOf:
        - $ref: '#/definitions/StudentSubjectChoiceList'
        - description: >-
            <p>Student’s choice of general subjects and learning areas to be studied during the school year. Not to be confused with CourseChoiceList which allows students to choose specific courses.</p>
      CourseChoiceList:
        allOf:
        - $ref: '#/definitions/StudentCourseChoiceList'
        - description: >-
            <p>Student’s choice of courses to be studied during the school year. Not to be confused with SubjectChoiceList which allows students to choose general subjects and learning areas rather than specific courses.</p>
      CoEnrolment:
        allOf:
        - $ref: '#/definitions/StudentSchoolCoEnrolment'
        - description: >-
            <p>Describes the student's enrolment with their base school in the case where this enrolment is not a base school enrolment.</p>
      InternationalEnrolment:
        allOf:
        - $ref: '#/definitions/InternationalSchoolEnrolment'
        - description: >-
            <p>Additional information collected for international enrolments.</p>
      StudentConsentList:
        allOf:
        - $ref: '#/definitions/StudentConsentList'
        - description: >-
            <p>A list of student consent information.</p>
      AcademicAttainmentGoalList:
        allOf:
        - $ref: '#/definitions/AcademicAttainmentGoalList'
        - description: >-
            <p>The academic attainment goals of the student when they enrol, e.g. they wish to achieve a certain qualification.</p>
      PreEnrolmentCancellation:
        allOf:
        - $ref: '#/definitions/PreEnrolmentCancellation'
        - description: >-
            <p>Details of why the school pre-enrolment was cancelled.</p>

  # ////////////////////////////// default sequence ///////////////////////////////
  NZQAEnrolment:
    description: >-
      NZQA details for a student for this school year.
    type: object
    additionalProperties: false
    properties:
      EnrolmentId:
        type: string
        description: >-
          <p>The student's NZQA enrolment Id.</p>
      FeeAmount:
        type: number
        description: >-
          <p>Amount paid by student to school for current year's NZQA fees.</p>
      FinancialAssistance:
        allOf:
        - $ref: '#/definitions/NZCodeSetsNZQAFinancialAssistance'
        - description: >-
            <p>Code set denoting the type of financial assistance the student is receiving.</p>
            <ul>
                <li>'B' - Benefit</li>
                <li>'F' - Family</li>
                <li>'I' - Income</li>
            </ul>
      SortCode:
        type: string
        description: >-
          <p>Student’s NZQA sort code, e.g. 13AB. Sort order for admission slips. Often the form class of the student.</p>
      SubmitterName:
        type: string
        description: >-
          <p>Full name of person submitting student information to NZQA.</p>
      SubmitterEmailAddress:
        type: string
        description: >-
          <p>E-mail address of person submitting student information to NZQA.</p>
      WithdrawnAllAssessmentsInd:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Indicates that the student has withdrawn from all NZQA assessments.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>

  # ///////////////////////////////// list ////////////////////////////
  AcademicAttainmentGoalList:
    description: >-
      <p>The academic attainment goals of the student when they enrolment, e.g. they wish to achieve a certain qualification.</p>
    type: object
    additionalProperties: false
    properties:
      AttainmentGoal:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ////////////////////////////// default sequence ///////////////////////////////
  StudentSchoolCoEnrolment:
    description: >-
      <p>The identity of the other school where the Student is concurrently enrolled.</p>
    type: object
    additionalProperties: false
    properties:
      OtherProvider:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the other school where the student is concurrently enrolled.</p>
      CoEnrolmentType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsCoEnrolmentType'
        - description: >-
            <p> The type of CoEnrolment.</p>
            <ul>
                <li>'OTH' - Other</li>
            </ul>
      BehaviouralKeyIssuesNote:
        type: string
        description: >-
          <p>Free text note of key behavioural issues, made by the client school in relation to the student.</p>
      ClientSchoolConfidentialNote:
        type: string
        description: >-
          <p>Free text confidential note made by the client school in relation to the student.</p>
      GuardianConfidentialNote:
        type: string
        description: >-
          <p>Free text confidential note made by the parents/caregivers of the student.</p>

  # ////////////////////////////// default sequence ///////////////////////////////
  InternationalSchoolEnrolment:
    description: >-
      <p>Additional information collected for international enrolments.</p>
    type: object
    additionalProperties: false
    properties:
      NZArrivalDate:
        type: string
        format: date
        description: >-
          <p>The date the Student arrived in New Zealand.</p>
      TuitionWeeklyFee:
        type: number
        description: >-
          <p>The amount paid by the Student per Week (GST excl) as a tuition fee.</p>
      ExchangeScheme:
        allOf:
        - $ref: '#/definitions/NZCodeSetsExchangeScheme'
        - description: >-
            <p>Which government approved exchange scheme is the student part of?</p>
            <ul>
                <li>'AFS' - AFS Intercultural Programmes NZ Inc.</li>
                <li>'GSE' - NZ / German Student Exchange</li>
                <li>'IIU' - NZ Institute of International Understanding</li>
                <li>'RIN' - Rotary International NZ</li>
                <li>'STS' - STS High School Foundation</li>
                <li>'YFU' - YFU New Zealand Inc.</li>
                <li>'WYS' - World Youth Service Society (WYSS)</li>
                <li>'STA' - Student Exchange Australia New Zealand Ltd.</li>
                <li>'TAE' - Tahiti Exchange</li>
                <li>'NGE' - NZ - Germany Exchange - Düsseldorf</li>
                <li>'YED' - Your Education</li>
                <li>'NSE' - NZ Switzerland Exchange</li>
            </ul>
              plus 1 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsExchangeSchemeType">NZCodeSetsExchangeSchemeType<a>

  # ///////////////////////////////// list ////////////////////////////
  StudentCourseChoiceList:
    description: >-
      <p>A list of course choices that can be made, or have been made by a Student.</p>
    type: object
    additionalProperties: false
    properties:
      StudentCourseChoice:
       type: array
       items:
          $ref: '#/definitions/StudentCourseChoice'

  # ////////////////////////////// default sequence ///////////////////////////////
  StudentCourseChoice:
    description: >-
      <p>An individual Course choice that can be made, or has been made by a Student.</p>
    type: object
    additionalProperties: false
    properties:
      PreferenceNumber:
        type: integer
        minimum: 0
        maximum: 4294967295
        description: >-
          <p>The student's preference for this course, with respect to the other course choices in the list.</p>
      Course:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the Course the student has chosen to study during the year.</p>

  # ////////////////////////////// default sequence ///////////////////////////////
  PreEnrolmentCancellation:
    description: >-
      <p>Details around why a pre-enrolment for a school was cancelled.</p>
    type: object
    additionalProperties: false
    properties:
      NotifiedDate:
        type: string
        format: date
        description: >-
          <p>The date the Student was notified of the cancellation of the pre-enrolment.</p>
      CancellationMethod:
        allOf:
        - $ref: '#/definitions/NZCodeSetsPreEnrolmentExitType'
        - description: >-
            <p>A code describing how the student's pre-enrolment was terminated.</p>
            <ul>
                <li>'A' - Automated</li>
                <li>'M' - Manual</li>
            </ul>
      CancellationReason:
        allOf:
        - $ref: '#/definitions/NZCodeSetsPreEnrolmentCancellationReason'
        - description: >-
            <p>The reason the pre-enrolment was cancelled</p>
            <ul>
                <li>'SIE' - Student Incorrectly Enrolled</li>
                <li>'SDE' - Student Declined Enrolment</li>
                <li>'DEC' - Deceased</li>
                <li>'OTH' - Other - Please Specify</li>
            </ul>
      CancellationReasonOtherDesc:
        type: string
        description: >-
          <p>Free text reason the pre-enrolment was cancelled if the cancellation reason of other was selected.</p>

  # ////////////////////////////// default sequence ///////////////////////////////
  ProviderExit:
    description: >-
      <p>Details of the reasons, and interventions leading up to the student's enrolment being terminated.</p>
    type: object
    additionalProperties: false
    properties:
      Reason:
        allOf:
        - $ref: '#/definitions/NZCodeSetsEnrolmentExitType'
        - description: >-
            <p>A code describing how or why the student's enrolment was terminated.</p>
            <ul>
                <li>'S' - Transferred to Another School in NZ - Whakawhiti ki kura kē o Aotearoa</li>
                <li>'H' - Transferring to Home Schooling - Whakawhiti ki te kura-kāinga</li>
                <li>'O' - Gone Overseas - Haere ki tāwāhi</li>
                <li>'D' - Deceased - Kua mate</li>
                <li>'X' - Expulsion (for Students Aged 16 and Over Only) - I panaia (mō te hunga ākonga 16 te pakeke neke atu anake)</li>
                <li>'L' - End of Schooling (for Students Aged 16 and Over Only) - Kua mutu te kura (mō te hunga ākonga 16 te pakeke neke atu anake)</li>
                <li>'E' - Granted Early Exemption (Applies to Those Younger Than 16yrs Old) - Whakaaetia kia wāteatia mai (e pā ana ki ērā ākonga tau heke 16 te pakeke)</li>
                <li>'K' - Exclusion (for Students Aged Younger Than 16) - Whakarerenga (mō te hunga ākonga tau heke 16 te pakeke)</li>
                <li>'C' - Continuous Absence - Ka ngaro i ia te wā</li>
                <li>'J' - Eligibility Expired - Kua kati te māraurau</li>
                <li>'P' - Caregiver Decision - Whakarite a te Kaitiaki</li>
            </ul>
      PostSchoolActivity:
        allOf:
        - $ref: '#/definitions/NZCodeSetsPostSchoolActivity'
        - description: >-
            <p> The post school activity the student is moving on to once they have exited the school.</p>
            <ul>
                <li>'10' - Further education or training - Me whai mātauranga/whakangungu kē</li>
                <li>'11' - Employment and further education/training - Me whai mahi, mātauranga/whakangungu kē</li>
                <li>'12' - Employment - Me whai mahi</li>
                <li>'13' - Other - He mea kē</li>
                <li>'88' - Unknown - Kāre e mōhiotia</li>
            </ul>
      InterventionList:
        allOf:
        - $ref: '#/definitions/InterventionList'
        - description: >-
            <p>A list of references to Wellbeing Event, Response & Appeal data objects, that record the process of terminating a students enrolment.</p>
      PotentialDestinationSchoolList:
        allOf:
        - $ref: '#/definitions/PotentialDestinationSchoolList'
        - description: >-
            <p>List of potential destination schools for the departing student.</p>

  # ///////////////////////////////// list ////////////////////////////
  InterventionList:
    description: >-
      <p>A list of references to Wellbeing Event, Response & Appeal data objects, that record the process of terminating a students enrolment.</p>
    type: object
    additionalProperties: false
    properties:
      Intervention:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  PotentialDestinationSchoolList:
    description: >-
      <p>List of references to potential destination schools for the departing student.</p>
    type: object
    additionalProperties: false
    properties:
      School:
       type: array
       items:
          $ref: '#/definitions/OrganisationObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  ECEEducationHistoryList:
    description: >-
      <p>The list of the types of early childhood education the parent told a primary school that the student received and the hours per week and/or day the student attended.</p>
    type: object
    additionalProperties: false
    properties:
      ECEType:
       type: array
       items:
          $ref: '#/definitions/ECEHistory'

  # ////////////////////////////// default sequence ///////////////////////////////
  ECEHistory:
    description: >-
      <p>History of a type of early childhood education the student received and the hours per week and/or day the student attended.</p>
    type: object
    additionalProperties: false
    properties:
      Type:
        allOf:
        - $ref: '#/definitions/NZCodeSetsEarlyChildhoodEducationType'
        - description: >-
            <p>The type of early childhood education the student attended.</p>
            <ul>
                <li>'EKR' - Attended Kohanga Reo - I haere ki Te Kōhanga Reo</li>
                <li>'EPC' - Attended Playcentre - I tae ki te Playcentre</li>
                <li>'EKE' - Attended Kindergarden or Education and Care - I tae ki te Kura Kōhungahunga, ki Education and Care rānei</li>
                <li>'EHB' - Attended Home Based Service - I tae ki tētahi Ratonga ā-Kāinga</li>
                <li>'EPG' - Attended Playgroup or Pacific Islands EC Group - I tae ki ngā kāhui kōhungahunga Pasifika, Playgroup rānei</li>
                <li>'ECO' - Attended The Correspondence School - Te Aho o Te Kura Pounamu - I tae ki Te Aho o te Kura Pounamu</li>
                <li>'EOS' - Attended, but only outside New Zealand - I tae ake, engari i waho kē atu o Aotearoa</li>
                <li>'ETU' - Attended, but don't know what type of service - I tae ake engari kāre i mōhiotia te momo ratonga</li>
                <li>'ENA' - Did not attend - Kāre i tae ake</li>
                <li>'EUN' - Unable to establish if attended or not - Kāre e mōhio mēnā i tae atu kāore rānei</li>
            </ul>
      HoursPerDayAttended:
        type: integer
        minimum: -2147483648
        maximum: 2147483647
        description: >-
          <p>The number of hours per day the student attended this ECE Type.</p>
      HoursPerWeekAttended:
        type: integer
        minimum: -2147483648
        maximum: 2147483647
        description: >-
          <p>The number of hours per week the student attended this ECE Type.</p>

  # ///////////////////////////////// list ////////////////////////////
  ScheduleList:
    description: >-
      <p>A list of references to a set of Schedules</p>
    type: object
    additionalProperties: false
    properties:
      Schedule:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  ScheduleDayList:
    description: >-
      <p>A list of ScheduleDay object references.</p>
    type: object
    additionalProperties: false
    properties:
      ScheduleDay:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  BellScheduleList:
    description: >-
      <p>A list of BellSchedule object references.</p>
    type: object
    additionalProperties: false
    properties:
      BellSchedule:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  PeriodList:
    description: >-
      <p>A list of the object references to a set of SchedulePeriods</p>
    type: object
    additionalProperties: false
    properties:
      Period:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  ScheduleTermList:
    description: >-
      <p>A list of ScheduleTerm object references.</p>
    type: object
    additionalProperties: false
    properties:
      ScheduleTerm:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  TeachingGroupEventList:
    description: >-
      <p>A list generic references to a set of TeachingGroupEvents</p>
    type: object
    additionalProperties: false
    properties:
      Event:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  AcademicDayList:
    description: >-
      <p>A list of the academic days within this schedule</p>
    type: object
    additionalProperties: false
    properties:
      AcademicDay:
       type: array
       items:
          $ref: '#/definitions/AcademicDay'

  # ////////////////////////////// extension ///////////////////////////////
  AcademicDay:
    description: >-
      <p>An academic day that is part of this schedule</p>
    type: object
    additionalProperties: false
    properties:
      allOf:
      - $ref: '#/definitions/ObjectReference/properties'
      - BellSchedule:
          allOf:
          - $ref: '#/definitions/ObjectReference'
          - description: >-
              <p>The bell schedule this academic day is following.</p>
      - PeriodList:
          allOf:
          - $ref: '#/definitions/PeriodList'
          - description: >-
              <p>A list of the periods that make up this academic day, e.g. Period 1, Period 2 etc.</p>

  # ///////////////////////////////// list ////////////////////////////
  SchedulePeriodTimeList:
    description: >-
      <p>A list of the periods that make up the bell schedule and their start and end times.</p>
    type: object
    additionalProperties: false
    properties:
      SchedulePeriodTime:
       type: array
       items:
          $ref: '#/definitions/SchedulePeriodTime'

  # ////////////////////////////// default sequence ///////////////////////////////
  SchedulePeriodTime:
    description: >-
      <p>The definition of a SchedulePeriod start and end time, on a particular Bell Schedule.</p>
    type: object
    additionalProperties: false
    properties:
      Period:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic object reference to the schedule period whose start and end times are being defined.</p>
      StartTime:
        type: string
        format: time
        description: >-
          <p>The time the period starts.</p>
      EndTime:
        type: string
        format: time
        description: >-
          <p>The time the period ends.</p>

  # ///////////////////////////////// list ////////////////////////////
  ScheduleCustomDayPeriodList:
    description: >-
      <p>A list of generic object references to a set of SchedulePeriods, along with their custom start and end times, which are part of a 'CUSTOM' ScheduleEvent.</p> <p>Used in the creation of "one off" events defined in ScheduleEvent to have a custom set of SchedulePeriods, each with custom start and end times that don't match any particular bell schedule.</p> <p>Used for exception days in the school schedule, such as assembly days or activity days.</p>
    type: object
    additionalProperties: false
    properties:
      Period:
       type: array
       items:
          $ref: '#/definitions/ScheduleCustomDayPeriod'

  # ////////////////////////////// extension ///////////////////////////////
  ScheduleCustomDayPeriod:
    description: >-
      <p>Generic object reference to a single SchedulePeriod, along with its custom start and end times, which are part of a 'CUSTOM' ScheduleEvent.</p> <p>Used in the creation of "one off" events defined in ScheduleEvent to have a custom set of SchedulePeriods, each with custom start and end times that don't match any particular bell schedule.</p> <p>Used for exception days in the school schedule, such as assembly days or activity days.</p>
    type: object
    additionalProperties: false
    properties:
      allOf:
      - $ref: '#/definitions/ObjectReference/properties'
      - StartTime:
          type: string
          format: time
          description: >-
            <p>The time the custom schedule period starts.</p>
      - EndTime:
          type: string
          format: time
          description: >-
            <p>The time the custom schedule period ends.</p>

  # ///////////////////////////////// list ////////////////////////////
  AttendanceTimeList:
    description: >-
      <p>Breakdown of times that the student entered or returned to school.</p>
    type: object
    additionalProperties: false
    properties:
      AttendanceTime:
       type: array
       items:
          $ref: '#/definitions/AttendanceTime'

  # ////////////////////////////// default sequence ///////////////////////////////
  AttendanceTime:
    description: >-
      <p>Time span that the student entered or returned to school</p>
    type: object
    additionalProperties: false
    properties:
      AttendanceTimeLocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>The source system identifier of the attendance time list record.</p>
      AttendanceType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsAttendanceType'
        - description: >-
            <p>The type of attendance being recorded e.g. Scheduled or Ad Hoc. If it is a schedule attendance then the SchedulePeriod must also be provided. If it is an Ad Hoc attendance then StartDateTime and EndDateTime must also be provided.</p>
            <ul>
                <li>'ADH' - Ad Hoc</li>
                <li>'SCH' - Scheduled</li>
            </ul>
      AttendanceCodeGroup:
        allOf:
        - $ref: '#/definitions/NZCodeSetsAttendanceCodeGroup'
        - description: >-
            <p>The attendance code group the students attendance code belongs to.</p>
            <ul>
                <li>'J' - Justified - Parahau</li>
                <li>'P' - Present - I tae</li>
                <li>'U' - Unjustified - Parahau Kore</li>
            </ul>
      Code:
        allOf:
        - $ref: '#/definitions/NZCodeSetsAttendanceCode'
        - description: >-
            <p>MoE defined code for attendance or absence during the time period described.</p>
            <ul>
                <li>'A' - Attending Alternative Education - Te haere ki te Mātauranga Kē</li>
                <li>'L' - Late to class - Tae tōmuri ki te akomanga</li>
                <li>'P' - Present - I tae</li>
                <li>'S' - Sickbay - Taiwhanga tūroro</li>
                <li>'D' - Medical appointment – doctor or dentist - Te tiro tākuta, tākuta niho</li>
                <li>'I' - Internal school appointment or activity – Dean, DP, sports administrator, coach, attendance officer etc. - Te hui ki te Kura – Tumuaki Tuarua, Kaiako Hākinakina, Āpiha Kura etc.</li>
                <li>'E' - Absent with an explained but unjustified reason - I ngaro engari he kōrero i puta, kāre he take whakamana</li>
                <li>'M' - Absent due to short-term illness/medical reasons - He ngaronga nā runga i te māuiui</li>
                <li>'J' - Justified absence – reason for absence within the school policy - He ngaronga whakamana – ka taka mai i raro i te ritenga ā-kura</li>
                <li>'T' - No information provided – truant (or throw-away explanation) - Kāre he kōrero – he whakatau (whakamārama rānei)</li>
                <li>'V' - Examination or unsupervised study. Student is on the school-site - Whakamātautau, te ako noa rānei – ki te kura</li>
                <li>'N' - On a school based activity - He mahi ā-kura</li>
            </ul>
              plus 14 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsAttendanceCodeType">NZCodeSetsAttendanceCodeType<a>
      AttendanceDate:
        type: string
        format: date
        description: >-
          <p>The date the attendance is being record for.</p>
      SchedulePeriod:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The scheduled period this attendnance time list record is for. The SchedulePeriod must be provided if the AttendanceType = 'Scheduled'.</p>
      StartTime:
        type: string
        format: time
        description: >-
          <p>The Start Time of the students attendance for the provided Attendance Date. Mandatory for attendance records with a type of 'Ad Hoc'.</p>
      EndTime:
        type: string
        format: time
        description: >-
          <p>The End Time of the students attendance for the provided Attendance Date. Mandatory for attendance records with a type of 'Ad Hoc'.</p>
      SubmissionDateTime:
        type: string
        format: date-time
        description: >-
          <p>The date the students attendance for this date and time/period was submitted.</p>
      Note:
        type: string
        description: >-
          <p>Free text note about the students attendance for the provided date and time/period.</p>
      RecordAudit:
        allOf:
        - $ref: '#/definitions/RecordAudit'
        - description: >-
            <p>The audit details for a record, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>

  # ///////////////////////////////// list ////////////////////////////
  NoteList:
    description: >-
      <p>A list of notes that have been written about the associated subject matter.</p>
    type: object
    additionalProperties: false
    properties:
      Note:
       type: array
       items:
          $ref: '#/definitions/Note'

  # ////////////////////////////// default sequence ///////////////////////////////
  Note:
    description: >-
      <p>A free text note about the associated subject matter.</p>
    type: object
    additionalProperties: false
    properties:
      Note:
        type: string
        description: >-
          <p>Free text note.</p>
      CreatedDateTime:
        type: string
        format: date-time
        description: >-
          <p>The date and time the note was created.</p>
      LastUpdatedDateTime:
        type: string
        format: date-time
        description: >-
          <p>The date and time the note was last updated.</p>
      CreatedBy:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic reference to the user that created the note.</p>
      LastUpdatedBy:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic reference to the user that last updated the note.</p>

  # ///////////////////////////////// list ////////////////////////////
  MedicationList:
    description: >-
      <p>A list of the medications required for this Wellbeing Characteristic.</p>
    type: object
    additionalProperties: false
    properties:
      Medication:
       type: array
       items:
          $ref: '#/definitions/Medication'

  # ////////////////////////////// default sequence ///////////////////////////////
  Medication:
    description: >-
      <p>The medication, dosage and frequency, required by the student to manage the Wellbeing Characteristic.</p>
    type: object
    additionalProperties: false
    properties:
      MedicationName:
        type: string
        description: >-
          <p>Name of medication required for the student.</p>
      Dosage:
        type: string
        description: >-
          <p>Dosage and strength of medication required for the student.</p>
      Frequency:
        type: string
        description: >-
          <p>Frequency of Administration.</p>
      AdministrationInformation:
        type: string
        description: >-
          <p>Information about how the medication is to be administered.</p>
      Method:
        type: string
        description: >-
          <p>Method of administration.</p>
      MedicationConsentList:
        allOf:
        - $ref: '#/definitions/MedicationConsentList'

  # ///////////////////////////////// list ////////////////////////////
  MedicationConsentList:
    description: >-
      <p>A list consents that have been provided for administration of a medicine to a student.</p>
    type: object
    additionalProperties: false
    properties:
      MedicationConsent:
       type: array
       items:
          $ref: '#/definitions/MedicationConsent'

  # ////////////////////////////// default sequence ///////////////////////////////
  MedicationConsent:
    description: >-
      <p>Contains information about when, by whom, and who consent was given to for the administration of a medicine to a student.</p>
    type: object
    additionalProperties: false
    properties:
      StartDate:
        type: string
        format: date
        description: >-
          <p>The date from which the student or student caretaker consented to the medicine being administered to the student by a particular individual.</p>
      EndDate:
        type: string
        format: date
        description: >-
          <p>The date the consent for administration of the medicine ends or is revoked.</p>
      ConsentedBy:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The student or student caregiver that has consented to the medicine being administered to the student by the school.</p>
      ProviderApplicableTo:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The provider the medication administartion consent is applicable to.</p>
      AdministeredBy:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The staff member at the school that have been given permission by the student or the student's caregiver to administer the medicine to the student.</p>

  # ///////////////////////////////// list ////////////////////////////
  WellbeingEventCategoryList:
    description: >-
      <p>List of Categories of the WellbeingEvent.</p>
    type: object
    additionalProperties: false
    properties:
      EventCategory:
       type: array
       items:
          $ref: '#/definitions/WellbeingEventCategory'

  # ////////////////////////////// default sequence ///////////////////////////////
  WellbeingEventCategory:
    description: >-
      <p></p>
    type: object
    additionalProperties: false
    properties:
      Category:
        allOf:
        - $ref: '#/definitions/NZCodeSetsWellbeingEventCategory'
      EventSubCategoryList:
        allOf:
        - $ref: '#/definitions/WellbeingEventSubCategoryList'

  # ///////////////////////////////// list ////////////////////////////
  WellbeingEventSubCategoryList:
    description: >-
      <p>List of Categories of the WellbeingEvent.</p>
    type: object
    additionalProperties: false
    properties:
      EventSubCategory:
       type: array
       items:
          $ref: '#/definitions/WellbeingEventSubCategory'

  # ////////////////////////////// default sequence ///////////////////////////////
  WellbeingEventSubCategory:
    description: >-
      <p></p>
    type: object
    additionalProperties: false
    properties:
      SubCategory:
        allOf:
        - $ref: '#/definitions/NZCodeSetsWellbeingEventSubCategory'

  # ///////////////////////////////// list ////////////////////////////
  FollowUpActionList:
    description: >-
      <p>List of Actions where an action resulted and is known – maybe just a link to a WellbeingResponse Object</p>
    type: object
    additionalProperties: false
    properties:
      FollowUpAction:
       type: array
       items:
          $ref: '#/definitions/FollowUpAction'

  # ////////////////////////////// default sequence ///////////////////////////////
  FollowUpAction:
    description: >-
      <p>Repeatable Follow Up Action.</p>
    type: object
    additionalProperties: false
    properties:
      WellbeingResponseRefId:
        allOf:
        - $ref: '#/definitions/IdRef'
        - description: >-
            <p>The RefId of a WellbeingResponse Object if it exists.</p>
      FollowUpDetails:
        type: string
        description: >-
          <p>Optional free text to outline follow up.</p>
      FollowUpActionCategory:
        type: string
        description: >-
          <p>Category of Action - typing locally defined.</p>

  # ///////////////////////////////// list ////////////////////////////
  PersonInvolvementList:
    description: >-
      <p>List of People involved in the Wellbeing event/response. Mandatory if more people than the student to which this event/response occurs is involved.</p>
    type: object
    additionalProperties: false
    properties:
      PersonInvolvement:
       type: array
       items:
          $ref: '#/definitions/PersonInvolvement'

  # ////////////////////////////// extension ///////////////////////////////
  PersonInvolvement:
    description: >-
      <p>A repeatable element recording the identifier and details of another person that was involved in the Wellbeing Event/Response.</p>
    type: object
    additionalProperties: false
    properties:
      allOf:
      - $ref: '#/definitions/StudentObjectReference/properties'
      - HowInvolved:
          type: string
          description: >-
            <p>Optional free text detailing involvement.</p>
      - PersonType:
          allOf:
          - $ref: '#/definitions/NZCodeSetsPersonInvolvedType'
          - description: >-
              <p>The type of person that the person involved is, e.g. Teacher, Peers, etc.</p>
              <ul>
                  <li>'NONE' - None - Ko ia anake</li>
                  <li>'OTHE' - Other - Me t/ētahi noa atu</li>
                  <li>'PEER' - Peers - He hoa aropā</li>
                  <li>'STAF' - Staff - Me te/ngā kaimahi kura</li>
                  <li>'SUBS' - Substitute - Me te kairīwhi</li>
                  <li>'TEAC' - Teacher - Me te/ngā Kaiako</li>
                  <li>'UNKN' - Unknown - Kāre i mōhiotia</li>
              </ul>

  # ///////////////////////////////// list ////////////////////////////
  RecognitionList:
    description: >-
      <p>List of awards and other types of recognition given to the student for this activity. </p>
    type: object
    additionalProperties: false
    properties:
      Recognition:
       type: array
       items:
          type: string

  # ///////////////////////////////// list ////////////////////////////
  WithdrawalTimeList:
    description: >-
      <p>Where a student is to be removed or withdrawn partially for particular times in a week within the Start and End dates of the Response.</p>
    type: object
    additionalProperties: false
    properties:
      Withdrawal:
       type: array
       items:
          $ref: '#/definitions/Withdrawal'

  # ////////////////////////////// default sequence ///////////////////////////////
  Withdrawal:
    description: >-
      <p>Repeatable Withdrawal.</p>
    type: object
    additionalProperties: false
    properties:
      WithdrawalStartDate:
        type: string
        format: date
        description: >-
          <p>The start date of the withdrawal.</p>
      WithdrawalEndDate:
        type: string
        format: date
        description: >-
          <p>The end date of the withdrawal.</p>
      WithdrawalStartTime:
        type: string
        format: time
        description: >-
          <p>Start time of the Withdrawal on that day.</p>
      WithdrawalEndTime:
        type: string
        format: time
        description: >-
          <p>End time of the Withdrawal on that day.</p>
      SchoolTerm:
        type: integer
        description: >-
          <p>The school term the withdrawal took place in.</p>
      WithdrawalFrom:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Generic reference to the TeachingGroup, StudentActivity, or TimeTableSubject that the learner is withdrawn from.</p>

  # ////////////////////////////// default sequence ///////////////////////////////
  SuspensionContainer:
    description: >-
      <p>Container for details of a Removal/Suspension.</p>
    type: object
    additionalProperties: false
    properties:
      SuspensionCategory:
        allOf:
        - $ref: '#/definitions/NZCodeSetsSuspensionCategory'
        - description: >-
            <p>Categorisation of a Suspension record to fall into, In School, Withdrawal, Expulsion/Exclusion etc. In School is usually NOT formally recognised by a jurisdiction but managed at a school level where the student is temporarily withdrawn from normal classes. Expulsion/Exclusion may mean the student’s attendance at a school is terminated. </p>
            <ul>
                <li>'E' - Expulsion</li>
                <li>'WE' - Whole Exclusion</li>
                <li>'P' - Partial Exclusion</li>
                <li>'I' - In School</li>
                <li>'W' - Withdrawal</li>
                <li>'S' - Suspension</li>
                <li>'R' - Removal</li>
                <li>'O' - Other</li>
            </ul>
      WithdrawalTimeList:
        allOf:
        - $ref: '#/definitions/WithdrawalTimeList'
      Duration:
        type: number
        description: >-
          <p>The duration of a Suspension in days 0.00 – X.xx. (Half Day = 0.5, Full Day = 1.0 or the percentage of any day.) Must be provided for a Suspension when known.</p>
      AdvisementDate:
        type: string
        format: date
        description: >-
          <p>The date parent/carers were officially notified.</p>
      ResolutionMeetingTime:
        type: string
        format: date-time
        description: >-
          <p>The date and time at which a meeting with the student’s parents/carers was held to resolve the Suspension.</p>
      ResolutionNotes:
        type: string
        description: >-
          <p>Comments about how the Suspension has been resolved, including any reparative actions the student needs to take.</p>
      EarlyReturnDate:
        type: string
        format: date
        description: >-
          <p>The date at which the student was permitted to return to school earlier than the agreed duration would have allowed.</p>

  # ////////////////////////////// default sequence ///////////////////////////////
  DetentionContainer:
    description: >-
      <p>Container for details of a Detention.</p>
    type: object
    additionalProperties: false
    properties:
      DetentionCategory:
        allOf:
        - $ref: '#/definitions/NZCodeSetsDetentionCategory'
        - description: >-
            <p>Categorisation of a Detention.</p>
            <ul>
                <li>'B' - Before School</li>
                <li>'R' - Recess</li>
                <li>'MR' - Morning Recess</li>
                <li>'AR' - Afternoon Recess</li>
                <li>'A' - After School</li>
                <li>'L' - Lunch</li>
                <li>'O' - Other</li>
            </ul>
      DetentionDate:
        type: string
        format: date
        description: >-
          <p>The date of the detention.</p>
      DetentionLocation:
        type: string
        description: >-
          <p>Eventually to be typed for initial draft will be string to try and determine a valid code set.</p>
      DetentionNotes:
        type: string
        description: >-
          <p>Any notes that can be provided regarding the need/response that led to the detention.</p>

  # ///////////////////////////////// list ////////////////////////////
  PlanRequiredList:
    description: >-
      <p>List to contain information of any plans that may eventuate.</p>
    type: object
    additionalProperties: false
    properties:
      Plan:
       type: array
       items:
          $ref: '#/definitions/WellbeingPlan'

  # ////////////////////////////// default sequence ///////////////////////////////
  WellbeingPlan:
    description: >-
      <p>Repeatable Plan information.</p>
    type: object
    additionalProperties: false
    properties:
      PlanNotes:
        type: string
        description: >-
          <p>Any notes that can be provided regarding the need that led to the plan.</p>
      PlanDocument:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The GUID of a PersonalisedPlan Object if it exists and it can be provided.</p>

  # ////////////////////////////// default sequence ///////////////////////////////
  AwardContainer:
    description: >-
      <p>Container for details of an Award, where this response was in relation to a particular Award.</p>
    type: object
    additionalProperties: false
    properties:
      AwardDate:
        type: string
        format: date
        description: >-
          <p>Date when to be awarded.</p>
      AwardType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsWellbeingAwardType'
        - description: >-
            <p>Type of Award.</p>
            <ul>
                <li>'CER' - Certificate</li>
                <li>'TRO' - Trophy</li>
                <li>'LOR' - Letter of Recognition</li>
                <li>'OTH' - Other</li>
            </ul>
      AwardDescription:
        type: string
        description: >-
          <p>Description of the Award.</p>
      AwardNotes:
        type: string
        description: >-
          <p>Any comments/notes associated with the Award.</p>

  # ////////////////////////////// default sequence ///////////////////////////////
  OtherWellbeingResponseContainer:
    description: >-
      <p>Container for details of any other response that can not be classified by previous types.</p>
    type: object
    additionalProperties: false
    properties:
      OtherResponseDate:
        type: string
        format: date
        description: >-
          <p>Date of the other response</p>
      OtherResponseDescription:
        type: string
        description: >-
          <p>Description of the other response.</p>
      OtherResponseNotes:
        type: string
        description: >-
          <p>Any comments/notes associated with the other response.</p>

  # ///////////////////////////////// list ////////////////////////////
  AcknowledgementList:
    description: >-
      <p>A list of the providers and staff who have been sent the alerts and have acknowledged they have been read.</p>
    type: object
    additionalProperties: false
    properties:
      Acknowledgement:
       type: array
       items:
          $ref: '#/definitions/Acknowledgement'

  # ////////////////////////////// default sequence ///////////////////////////////
  Acknowledgement:
    description: >-
      <p>A provider or staff member that has been sent the alerts and have acknowledged they have been read.</p>
    type: object
    additionalProperties: false
    properties:
      Acknowledged:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Indicates whether or not a staff member has viewed the alerts.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      AcknowledgedDate:
        type: string
        format: date
        description: >-
          <p>The date the provider acknowledged a staff member has viewed the alerts.</p>
      Provider:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>A provider who has been sent the alerts and have acknowledged they have been read.</p>
      StaffMember:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>A staff member who has been sent the alerts and have acknowledged they have been read.</p>

  # ///////////////////////////////// list ////////////////////////////
  KeyContactList:
    description: >-
      <p>A list of key contacts for the alert.</p>
    type: object
    additionalProperties: false
    properties:
      KeyContact:
       type: array
       items:
          $ref: '#/definitions/KeyContact'

  # ////////////////////////////// default sequence ///////////////////////////////
  KeyContact:
    description: >-
      <p>A key contact for the Wellbeing Alert and their role, e.g. Parent, Doctor, Principal.</p>
    type: object
    additionalProperties: false
    properties:
      Role:
        allOf:
        - $ref: '#/definitions/NZCodeSetsKeyContactRole'
        - description: >-
            <p>The role of the key contact in relation to the Wellbeing Alert.</p>
            <ul>
                <li>'DOC' - Doctor</li>
                <li>'PAR' - Parent/Caregiver</li>
                <li>'PRI' - Principal</li>
            </ul>
      Contact:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>Details about the contact, e.g. Doctor, Parent, Principal.</p>

  # ///////////////////////////////// list ////////////////////////////
  WellbeingResponseList:
    description: >-
      <p>A list of relevant Wellbeing Responses for the student.</p>
    type: object
    additionalProperties: false
    properties:
      WellbeingResponse:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  WellbeingAppealList:
    description: >-
      <p>A list of relevant Wellbeing Appeals for the student.</p>
    type: object
    additionalProperties: false
    properties:
      WellbeingAppeal:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  WellbeingCharacteristicList:
    description: >-
      <p>A list of relevant Wellbeing Characteristics for the student.</p>
    type: object
    additionalProperties: false
    properties:
      WellbeingCharacteristic:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  WellbeingEventList:
    description: >-
      <p>A list of relevant Wellbeing Events for the student.</p>
    type: object
    additionalProperties: false
    properties:
      WellbeingEvent:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  WellbeingAlertList:
    description: >-
      <p>A list of relevant Wellbeing Alerts for the student.</p>
    type: object
    additionalProperties: false
    properties:
      WellbeingAlert:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  RelatedWellbeingEventList:
    description: >-
      <p>A Wellbeing Event gets created for every student involved in an event. This list links together all related Wellbeing Events.</p>
    type: object
    additionalProperties: false
    properties:
      RelatedWellbeingEvent:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  RestraintWitnessList:
    description: >-
      <p>A list of the people that witnessed the physical constraint.</p>
    type: object
    additionalProperties: false
    properties:
      Witness:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  RestraintAdministeredByList:
    description: >-
      <p>A list of the people who administered the physical restraint to the student.</p>
    type: object
    additionalProperties: false
    properties:
      RestraintAdministeredBy:
       type: array
       items:
          $ref: '#/definitions/RestraintAdministeredBy'

  # ////////////////////////////// default sequence ///////////////////////////////
  RestraintAdministeredBy:
    description: >-
      <p>The person who administered the physical restraint to the student.</p>
    type: object
    additionalProperties: false
    properties:
      AdministeredBy:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The person who administered the physical restraint to the student.</p>
      SafePhysicalRestraintTraining:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>Indicates whether or not the person involved has received training of the safe use of physical restraint.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      TrainingDescription:
        type: string
        description: >-
          <p>Free text providing additional information about any training the person has had on the safe use pf physical restraint.</p>
      Role:
        allOf:
        - $ref: '#/definitions/NZCodeSetsRestraintAdministeredByRole'
        - description: >-
            <p>The role of the person who administered the physical restraint to the student.</p>
            <ul>
                <li>'T' - Teacher</li>
                <li>'P' - Principal</li>
                <li>'O' - Other</li>
            </ul>

  # ///////////////////////////////// list ////////////////////////////
  BehaviourDirectedAtList:
    description: >-
      <p>The list of the people and/or property that the student, who was restrained, was directing their behaviour at.</p>
    type: object
    additionalProperties: false
    properties:
      BehaviourDirectedAt:
       type: array
       items:
          $ref: '#/definitions/BehaviourDirectedAt'

  # ////////////////////////////// default sequence ///////////////////////////////
  BehaviourDirectedAt:
    description: >-
      <p>The person and/or piece of property that the student, who was restrained, was directing their behaviour at.</p>
    type: object
    additionalProperties: false
    properties:
      DirectedAt:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The person the student's behaviour was directed at.</p>
      BehaviourDescription:
        type: string
        description: >-
          <p>Free text describing the behaviour the student showed towards a person of piece of property.</p>
      DirectedAtType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsBehaviourDirectedAtType'
        - description: >-
            <p>Code set denoting type of object or person the student was directing their behaviour at, e.g. Staff Member, Student, Desk, Chair.</p>
            <ul>
                <li>'STA' - Staff</li>
                <li>'STU' - Student</li>
                <li>'PRO' - Property</li>
                <li>'OTH' - Other</li>
            </ul>

  # ///////////////////////////////// list ////////////////////////////
  StaffReflectionList:
    description: >-
      <p>A list of the reflections made by the staff members who applied the physical restraint.</p>
    type: object
    additionalProperties: false
    properties:
      StaffReflection:
       type: array
       items:
          $ref: '#/definitions/StaffReflection'

  # ////////////////////////////// default sequence ///////////////////////////////
  StaffReflection:
    description: >-
      <p>The reflections performed by the staff member who applied the physical restraint to the student.</p>
    type: object
    additionalProperties: false
    properties:
      ReflectionDate:
        type: string
        format: date
        description: >-
          <p>The date the staff member performed their reflection on the use of physical restraint on the student.</p>
      WitnessedBy:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The staff member that witnessed the person who applied the restraint performing the staff reflections.</p>
      Staff:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The staff member who performed the staff reflection.</p>
      ReflectionList:
        allOf:
        - $ref: '#/definitions/ReflectionList'
        - description: >-
            <p>A list of the reflections the staff member performed.</p>

  # ///////////////////////////////// list ////////////////////////////
  ReflectionList:
    description: >-
      <p>A list of the reflections the staff member performed.</p>
    type: object
    additionalProperties: false
    properties:
      Reflection:
       type: array
       items:
          $ref: '#/definitions/Reflection'

  # ////////////////////////////// default sequence ///////////////////////////////
  Reflection:
    description: >-
      <p>A reflection that a staff member performed about the physical restraint incident.</p>
    type: object
    additionalProperties: false
    properties:
      ReflectionDescription:
        type: string
        description: >-
          <p>Free text outlining the staff members thoughts on a type of reflection.</p>
      Type:
        allOf:
        - $ref: '#/definitions/NZCodeSetsStaffRestraintReflectionType'
        - description: >-
            <p>The type of reflection that the staff member performed.</p>
            <ul>
                <li>'EVE' - Events leading to the incident</li>
                <li>'BEH' - Behaviour of the student</li>
                <li>'WHA' - What did you try before the restraint?</li>
                <li>'RES' - The restraint method used</li>
                <li>'MON' - Monitoring</li>
                <li>'AFT' - After the restraint ended</li>
                <li>'NEX' - If there's a next time</li>
                <li>'HOW' - How about you?</li>
            </ul>

  # ///////////////////////////////// list ////////////////////////////
  RestraintDebriefingList:
    description: >-
      <p>A list of the debriefings that took place after the physical restraint incident occurred.</p>
    type: object
    additionalProperties: false
    properties:
      RestraintDebriefing:
       type: array
       items:
          $ref: '#/definitions/RestraintDebriefing'

  # ////////////////////////////// default sequence ///////////////////////////////
  RestraintDebriefing:
    description: >-
      <p>A debriefing that took place after the physical restraint incident occurred. A debriefing can be with a staff member or with the student and their parent/caregiver.</p>
    type: object
    additionalProperties: false
    properties:
      DebriefingDate:
        type: string
        format: date
        description: >-
          <p>The date the debriefing about the use of physical restraint on the student occurred.</p>
      DebriefingTime:
        type: string
        format: time
        description: >-
          <p>The time the debriefing about the use of physical restraint on the student occurred.</p>
      Findings:
        type: string
        description: >-
          <p>Free text outlining the findings of the debriefing in the use of physical restraint on the student.</p>
      NextStepsActions:
        type: string
        description: >-
          <p>Free text about the next steps and/or actions that will be taken in as a result of the debriefing on the use of physical restraint on the student.</p>
      ParentCaregiverComment:
        type: string
        description: >-
          <p>Parent/caregiver comments made about the use physical restraint on the student.</p>
      StudentComment:
        type: string
        description: >-
          <p>Student comments made about the use physical restraint on the them.</p>
      DebriefingType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsRestraintDebriefingType'
        - description: >-
            <p>The type of debriefing that occurred, e.g. staff, or student and parent/caregiver.</p>
            <ul>
                <li>'S' - Staff</li>
                <li>'P' - Parent/Caregiver and Student</li>
            </ul>
      AttendeeList:
        allOf:
        - $ref: '#/definitions/AttendeeList'
        - description: >-
            <p>A list of the people that attended the debriefing.</p>

  # ///////////////////////////////// list ////////////////////////////
  AttendeeList:
    description: >-
      <p>The type of debriefing that occurred, e.g. staff, or student and parent/caregiver.</p>
    type: object
    additionalProperties: false
    properties:
      Attendee:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  RestraintQuestionList:
    description: >-
      <p>A list of questions and their answers about the physical restraint incident.</p>
    type: object
    additionalProperties: false
    properties:
      RestraintQuestion:
       type: array
       items:
          $ref: '#/definitions/RestraintQuestion'

  # ////////////////////////////// default sequence ///////////////////////////////
  RestraintQuestion:
    description: >-
      <p>A question and it's answer about the physical restraint incident that occurred. Additional free text information to support the answer may also be supplied.</p>
    type: object
    additionalProperties: false
    properties:
      Question:
        allOf:
        - $ref: '#/definitions/NZCodeSetsRestraintQuestion'
        - description: >-
            <p>The question asked about the physical restraint incident.</p>
            <ul>
                <li>'101' - First time the student has been physically restrained?</li>
                <li>'102' - The student was physically restrained more than once during the day?</li>
                <li>'103' - The student has an Individual Behaviour Plan?</li>
                <li>'104' - Physical restraint was a part of the plan?</li>
                <li>'105' - Were the parents notifed?</li>
                <li>'106' - Was anyone injured?</li>
                <li>'107' - Was the staff member who applied restraint a teacher or authorised staff member?</li>
                <li>'108' - Role of staff member who applied the restraint?</li>
                <li>'109' - Did the staff member who applied the restraint receive any training prior to the incident?</li>
            </ul>
      Answer:
        allOf:
        - $ref: '#/definitions/NZCodeSetsYesOrNoCategory'
        - description: >-
            <p>The answer to the question. Options are Yes or No.</p>
            <ul>
                <li>'N' - No - Kāo</li>
                <li>'Y' - Yes - Āe</li>
            </ul>
      AnswerSupportingDescription:
        type: string
        description: >-
          <p>A free text description providing additional information about the question if required.</p>

  # ///////////////////////////////// list ////////////////////////////
  SocialGoalList:
    description: >-
      <p>A list of social goals the student has set.</p>
    type: object
    additionalProperties: false
    properties:
      SocialGoal:
       type: array
       items:
          $ref: '#/definitions/BaseStudentGoal'

  # ///////////////////////////////// list ////////////////////////////
  CareerGoalList:
    description: >-
      <p>A list of career goals the student has set.</p>
    type: object
    additionalProperties: false
    properties:
      CareerGoal:
       type: array
       items:
          $ref: '#/definitions/BaseStudentGoal'

  # ///////////////////////////////// list ////////////////////////////
  AcademicGoalList:
    description: >-
      <p>A list of academic goals the student has set.</p>
    type: object
    additionalProperties: false
    properties:
      AcademicGoal:
       type: array
       items:
          $ref: '#/definitions/AcademicGoal'

  # ////////////////////////////// default sequence ///////////////////////////////
  BaseStudentGoal:
    description: >-
      <p>Base complex type defining elements common to all flavours of StudentGoal.</p>
    type: object
    additionalProperties: false
    properties:
      GoalRecordedDate:
        type: string
        format: date
        description: >-
          <p>The date the Student's goal was recorded.</p>
      GoalAchievedDate:
        type: string
        format: date
        description: >-
          <p>The date the Student achieved their goal.</p>
      GoalDescription:
        type: string
        description: >-
          <p>A description of the goal the student wants to achieve</p>
      GoalName:
        type: string
        description: >-
          <p>The name of the goal the student wants to achieve</p>

  # ////////////////////////////// extension ///////////////////////////////
  AcademicGoal:
    description: >-
      <p>Defining elements of the Academic flavour of student goal.</p>
    type: object
    additionalProperties: false
    properties:
      allOf:
      - $ref: '#/definitions/BaseStudentGoal/properties'
      - SubjectArea:
          allOf:
          - $ref: '#/definitions/NZCodeSetsSubjectArea'
          - description: >-
              <p>The subject are athe student's academic goal is for.</p>
              <ul>
                  <li>'GERM' - German</li>
                  <li>'INDO' - Indonesian</li>
                  <li>'JAPA' - Japanese</li>
                  <li>'FREN' - French</li>
                  <li>'REME' - English (Remedial)</li>
                  <li>'ENGL' - English - Te Reo Pākeha</li>
                  <li>'COOK' - Cook Island Maori</li>
                  <li>'COMM' - Communication Skills</li>
                  <li>'CHIN' - Chinese</li>
                  <li>'KORE' - Korean</li>
                  <li>'LATI' - Latin</li>
                  <li>'NIUE' - Niuean</li>
              </ul>
                plus 86 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsSubjectAreaType">NZCodeSetsSubjectAreaType<a>

  # ///////////////////////////////// list ////////////////////////////
  StudentInterestList:
    description: >-
      <p>A list of interestes the student has set.</p>
    type: object
    additionalProperties: false
    properties:
      StudentInterest:
       type: array
       items:
          $ref: '#/definitions/StudentInterest'

  # ////////////////////////////// default sequence ///////////////////////////////
  StudentInterest:
    description: >-
      <p>Object recording an interest the student has expressed.</p>
    type: object
    additionalProperties: false
    properties:
      InterestRecordedDate:
        type: string
        format: date
        description: >-
          <p>The date the Student's interest was recorded.</p>
      InterestDescription:
        type: string
        description: >-
          <p>A description of the interest the student wants to achieve</p>
      InterestName:
        type: string
        description: >-
          <p>The name of the interest the student has expressed</p>
      InterestType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsStudentInterestType'
        - description: >-
            <p>Code denoting the type of interest the student has expressed</p>
            <ul>
                <li>'SPO' - Sports</li>
                <li>'ART' - Arts</li>
                <li>'CUL' - Cultural</li>
                <li>'MUS' - Music</li>
                <li>'OTH' - Other</li>
            </ul>
      SubjectArea:
        allOf:
        - $ref: '#/definitions/NZCodeSetsSubjectArea'
        - description: >-
            <p>The subject area the student has expressed an interest in.</p>
            <ul>
                <li>'GERM' - German</li>
                <li>'INDO' - Indonesian</li>
                <li>'JAPA' - Japanese</li>
                <li>'FREN' - French</li>
                <li>'REME' - English (Remedial)</li>
                <li>'ENGL' - English - Te Reo Pākeha</li>
                <li>'COOK' - Cook Island Maori</li>
                <li>'COMM' - Communication Skills</li>
                <li>'CHIN' - Chinese</li>
                <li>'KORE' - Korean</li>
                <li>'LATI' - Latin</li>
                <li>'NIUE' - Niuean</li>
            </ul>
              plus 86 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsSubjectAreaType">NZCodeSetsSubjectAreaType<a>

  # ///////////////////////////////// list ////////////////////////////
  EventLocationList:
    description: >-
      <p>A list of the locations where the incident took place.</p>
    type: object
    additionalProperties: false
    properties:
      Location:
       type: array
       items:
          $ref: '#/definitions/NZCodeSetsWellbeingEventLocation'

  # ///////////////////////////////// list ////////////////////////////
  ActionTakenList:
    description: >-
      <p>A list of the actions taken as a result of this Wellbeing event.</p>
    type: object
    additionalProperties: false
    properties:
      ActionTaken:
       type: array
       items:
          $ref: '#/definitions/NZCodeSetsWellbeingEventActionTaken'

  # ///////////////////////////////// list ////////////////////////////
  PossibleMotivationList:
    description: >-
      <p>A list of the possible motivations that triggered the event.</p>
    type: object
    additionalProperties: false
    properties:
      PossibleMotivation:
       type: array
       items:
          $ref: '#/definitions/NZCodeSetsWellbeingEventPossibleMotivation'

  # ///////////////////////////////// list ////////////////////////////
  BehaviourIdentifiedList:
    description: >-
      <p>A list of the problem behaviours identified for the student as a result of the Wellbeing Event. There are both minor and major behaviours.</p>
    type: object
    additionalProperties: false
    properties:
      BehaviourIdentified:
       type: array
       items:
          $ref: '#/definitions/BehaviourIdentified'

  # ////////////////////////////// default sequence ///////////////////////////////
  BehaviourIdentified:
    description: >-
      <p>A problem behaviour identified for the student as a result of the Wellbeing Event.</p> <p>The severity of a behaviour may be minor or major. If it is minor only values from NZCodeSetsWellbeingEventMinorBehaviour are applicable. If it is majoronly values from NZCodeSetsWellbeingEventMajorBehaviour are applicable.</p>
    type: object
    additionalProperties: false
    properties:
      Severity:
        allOf:
        - $ref: '#/definitions/NZCodeSetsWellbeingEventSeverity'
        - description: >-
            <p>The severity of the Wellbeing Event.</p>
            <ul>
                <li>'MIN' - Minor - Iti te kaha</li>
                <li>'MAJ' - Major - Nui te kaha</li>
            </ul>
      MinorBehaviour:
        type: array
        items:
          allOf:
          - $ref: '#/definitions/NZCodeSetsWellbeingEventMinorBehaviour'
          - description: >-
              <p>The type of minor problem behaviour identified as a result of the Wellbeing Event.</p>
              <ul>
                  <li>'DEFIA' - Defiance/Disrespect/Non-Compliance - Ātete – Iti noa</li>
                  <li>'DISRE' - Disrespect - Tōtōā – Iti noa</li>
                  <li>'DISRU' - Disruption - Tauwhati – Iti noa</li>
                  <li>'DRESS' - Dress Code Violation - Ngā kākahu ā-Kura – Iti noa</li>
                  <li>'INAPP' - Inappropriate Language - He reo pakirara – Iti noa</li>
                  <li>'OTHER' - Other - He mea kē - Iti noa</li>
                  <li>'PHYSI' - Physical Contact/Physical Aggression - Te pa ā-ringa/Te tukituki – Iti noa</li>
                  <li>'PROPE' - Property Misuse - Te whakamahi hē i ngā taputapu ā-kura – Iti noa</li>
                  <li>'TARDY' - Tardy - Tōmuritanga – Iti noa</li>
                  <li>'TECHN' - Technology Violation - Te whakamahi hē i te hangarau – Iti noa</li>
              </ul>
      MajorBehaviour:
        type: array
        items:
          allOf:
          - $ref: '#/definitions/NZCodeSetsWellbeingEventMajorBehaviour'
          - description: >-
              <p>The type of major problem behaviour identified as a result of the Wellbeing Event.</p>
              <ul>
                  <li>'ABUSI' - Abusive Language/Inappropriate Language/Profanity - Reo whakataki/Reo Pakirara/ Reo kohukohu – Nui rawa</li>
                  <li>'ARSON' - Arson - Te tahu ahi – Nui rawa</li>
                  <li>'BOMBT' - Bomb Threat/False Alarm - Tuma Pāhu/Whakaaraara parau – Nui rawa</li>
                  <li>'BULLY' - Bullying - Te mahi poke – Nui rawa</li>
                  <li>'DEFIA' - Defiance/Disrespect/Insubordination/Non-Compliance - Ātete/Kāre e whakarongo/Kāre e aro mai – Nui rawa</li>
                  <li>'DISRE' - Disrespect - Tōtōā – Nui rawa</li>
                  <li>'DISRU' - Disruption - Tauwhati – Nui rawa</li>
                  <li>'DRESS' - Dress Code Violation - Ngā kākahu ā-Kura – Nui rawa</li>
                  <li>'FIGHT' - Fighting - Te whawhai – Nui rawa</li>
                  <li>'FORGE' - Forgery/Theft/Plagiarism - Te Tāwhai/Te whānako/Te Tuhi whānako – Nui rawa</li>
                  <li>'GANGA' - Gang Affiliation Display - Te mau kākahu Kēne – Nui rawa</li>
                  <li>'HARAS' - Harassment/Bullying - Inonotitanga – Nui rawa</li>
              </ul>
                plus 15 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsWellbeingEventMajorBehaviourType">NZCodeSetsWellbeingEventMajorBehaviourType<a>

  # ///////////////////////////////// list ////////////////////////////
  StudentVoiceList:
    description: >-
      <p>A list of the student's or their whānau's voice about their learning support in regards to the student 's interests, goals, and voice (comments, opinions).</p>
    type: object
    additionalProperties: false
    properties:
      StudentVoice:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  SupportNeedList:
    description: >-
      <p>A list of learning support needs that have been identified for the student.</p>
    type: object
    additionalProperties: false
    properties:
      SupportNeed:
       type: array
       items:
          $ref: '#/definitions/SupportNeed'

  # ////////////////////////////// default sequence ///////////////////////////////
  SupportNeed:
    description: >-
      <p>A learning support need that has been identified for the student.</p>
    type: object
    additionalProperties: false
    properties:
      Need:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>A learning support need that has been identified for the student.</p>
      ResponseList:
        allOf:
        - $ref: '#/definitions/SupportNeedResponseList'
        - description: >-
            <p>A list of responses made about a learning support need.</p>

  # ///////////////////////////////// list ////////////////////////////
  SupportNeedResponseList:
    description: >-
      <p>A list of responses made about a learning support need.</p>
    type: object
    additionalProperties: false
    properties:
      Response:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  SupportNeedResponseReviewList:
    description: >-
      <p>A list of the reviews made about the response.</p>
    type: object
    additionalProperties: false
    properties:
      Review:
       type: array
       items:
          $ref: '#/definitions/SupportNeedResponseReview'

  # ////////////////////////////// default sequence ///////////////////////////////
  SupportNeedResponseReview:
    description: >-
      <p>A review of a support need response.</p>
    type: object
    additionalProperties: false
    properties:
      Reviewer:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The staff member reviewed the response.</p>
      ReviewDate:
        type: string
        format: date
        description: >-
          <p>The date of the review.</p>
      ReviewComments:
        type: string
        description: >-
          <p>Free text comment about the review.</p>
      NextReviewDate:
        type: string
        format: date
        description: >-
          <p>The date of the next review.</p>
      AttachmentList:
        allOf:
        - $ref: '#/definitions/DocumentList'
        - description: >-
            <p>A list of attachments related to a learning support need response review.</p>

  # ////////////////////////////// default sequence ///////////////////////////////
  SupportNeedExternalResponse:
    description: >-
      <p>Additional information for an external response.</p>
    type: object
    additionalProperties: false
    properties:
      Provider:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLearningSupportExternalProvider'
        - description: >-
            <p>The response provider.</p>
            <ul>
                <li>'MOE' - MOE - Te Tāhuhu o te Mātauranga</li>
                <li>'MOH' - MOH - </li>
                <li>'ORA' - Oranga Tamariki - Oranga Tamariki</li>
                <li>'CLU' - Cluster organisation - Kāhui Whakahaere</li>
                <li>'NGO' - NGO - </li>
                <li>'OTH' - Other - He mea kē</li>
                <li>'RTB' - RTLB - </li>
                <li>'RTL' - RTLit - </li>
                <li>'RTM' - RT Māori - </li>
            </ul>
      ProviderDetail:
        type: string
        description: >-
          <p>Additional information about a provider.</p>
      Status:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLearningSupportExtResponseStatus'
        - description: >-
            <p>The status of the external response.</p>
            <ul>
                <li>'ACT' - Active - Tuwhera</li>
                <li>'CLO' - Closed - Kati</li>
            </ul>
      MOESpecialistService:
        allOf:
        - $ref: '#/definitions/NZCodeSetsMoESpecialistService'
        - description: >-
            <p>The MoE specialist service that has been selected as a response to a student's support need. Required if Response Detail = 'MOE' (MOE Specialists).</p>
            <ul>
                <li>'ACC' - Accessible Format Materials - Tānga Kōrero E Taea Ana</li>
                <li>'ACT' - Activity Centres - Pokapū Tūmahi</li>
                <li>'ADE' - ASSIST - Deaf Education Centres Regional Service</li>
                <li>'AED' - Alternative Education - Mātauranga Kē</li>
                <li>'AEI' - Alternative Early Intervention Service Providers - Kaituku Ratonga Wawaotanga Tōmua</li>
                <li>'ATE' - Assistive Technology (AT) Equipment</li>
                <li>'ATT' - Attendance Services (Non Enrolment Truancy Service (NETS) and DTS)</li>
                <li>'BEH' - Behaviour Service - Ratonga Whanonga</li>
                <li>'BIL' - Bilingual Support Workers - Kaimahi Tautoko Reorua</li>
                <li>'BLE' - BLENNZ</li>
                <li>'BOA' - Boarding Allowances</li>
                <li>'CHO' - Cholmondeley Children's Centre</li>
            </ul>
              plus 46 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsMoESpecialistServiceType">NZCodeSetsMoESpecialistServiceType<a>
      FundedBy:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLearningSupportExternalFunder'
        - description: >-
            <p>Who the response was funded by.</p>
            <ul>
                <li>'ACC' - ACC</li>
                <li>'BEH' - Behaviour Support - Tautoko whanonga</li>
                <li>'ESO' - ESOL</li>
                <li>'ESW' - ESW</li>
                <li>'ICS' - ICS</li>
                <li>'IWS' - IWS</li>
                <li>'ORS' - ORS</li>
                <li>'OTH' - Other - He mea kē</li>
                <li>'PCC' - PCCS</li>
                <li>'RTL' - RTLB</li>
                <li>'IRF' - IRF</li>
            </ul>
      FundedByDetail:
        type: string
        description: >-
          <p>Additional detail about a funder.</p>
      RequestMadeDate:
        type: string
        format: date
        description: >-
          <p>The date the request about funding was made.</p>
      FundingStatus:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLearningSupportFundingStatus'
        - description: >-
            <p>The status of the funding being provided for the response.</p>
            <ul>
                <li>'AP' - Approved - I whakaaetia</li>
                <li>'DE' - Declined - Kāre i whakaaetia</li>
                <li>'NO' - None - Kore</li>
                <li>'RE' - Referred on - I tonoa i</li>
                <li>'SU' - Submitted - Kua tukuna</li>
                <li>'WA' - Waiting list - Rārangi roa</li>
            </ul>
      FundingDeclinedReason:
        type: string
        description: >-
          <p>The reason funding was declined.</p>

  # ////////////////////////////// default sequence ///////////////////////////////
  SupportNeedInternalResponse:
    description: >-
      <p>Additional information for an internal response.</p>
    type: object
    additionalProperties: false
    properties:
      ProvidedBy:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLearningSupportInternalProvider'
        - description: >-
            <p>The response provider.</p>
            <ul>
                <li>'COU' - Counsellor - Kaitautāwhi</li>
                <li>'ESW' - ESW</li>
                <li>'HEA' - Health Professional - Mātanga Hauora</li>
                <li>'RTL' - RTLB</li>
                <li>'SEN' - SENCO</li>
                <li>'SWI' - SWIS</li>
                <li>'TAI' - Teacher Aide - Kairīwhi</li>
                <li>'TEA' - Teacher - Kaiako</li>
            </ul>
      ProvidedByName:
        type: string
        description: >-
          <p>The name of the person providing the response. Mandatory to be provided when the ProvidedBy = 'Teacher'.</p>
      Status:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLearningSupportIntResponseStatus'
        - description: >-
            <p>The status of the internal response.</p>
            <ul>
                <li>'CLO' - Closed - Kati</li>
                <li>'MON' - Monitoring - Te Aro turuki</li>
                <li>'OBS' - Observing - Te Mātaki</li>
            </ul>
      FundedBy:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLearningSupportInternalFunder'
        - description: >-
            <p>Who is funding the reponse.</p>
            <ul>
                <li>'BOA' - Board funded - Nā te Poari i tautoko</li>
                <li>'NTA' - Not applicable - Kāre i arohia</li>
                <li>'SEG' - SEG</li>
            </ul>

  # ///////////////////////////////// list ////////////////////////////
  OfficialDiagnosisList:
    description: >-
      <p>A list of official diagnoses that pertains to this wellbeing characteristic.</p>
    type: object
    additionalProperties: false
    properties:
      OfficialDiagnosis:
       type: array
       items:
          $ref: '#/definitions/OfficialDiagnosis'

  # ////////////////////////////// default sequence ///////////////////////////////
  OfficialDiagnosis:
    description: >-
      <p>An official diagnosis that pertains to this Wellbeing Characteristic.</p>
    type: object
    additionalProperties: false
    properties:
      DiagnosisType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsOfficialDiagnosisType'
        - description: >-
            <p>The official diagnosis type the student was given.</p>
            <ul>
                <li>'MED' - Medical - ā-rongoā</li>
                <li>'MEN' - Mental health and behavioural - ā-hauora Hinengaro, ā-whanonga hoki</li>
                <li>'NEU' - Neurodevelopmental - Whanaketanga ā-Ioio</li>
                <li>'PHY' - Physical - ā-tinana</li>
                <li>'SEN' - Sensory - ā-tairongo</li>
            </ul>
      DiagnosisSubType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsOfficialDiagnosisSubType'
        - description: >-
            <p>The official diagnosis sub-type the student was given.</p>
            <ul>
                <li>'DISO' - Disorders of intellectual development - He Whakaupa ā-hinengaro</li>
                <li>'DSLD' - Developmental speech or language disorders - He Tapepatanga Reo</li>
                <li>'ADHD' - Attention Deficit Hyperactivity Disorder - </li>
                <li>'ANXI' - Anxiety or fear-related disorders - Manawapā</li>
                <li>'OTHN' - Other neurodevelopmental disorders/developmental anomalies - </li>
                <li>'DLDI' - Developmental learning disorders e.g. dyslexia - </li>
                <li>'AUTI' - Autism Sprectrum Disorder - Takiwātanga</li>
                <li>'SUBS' - Substance abuse or addictive behaviours - He Whanonga Waranga</li>
                <li>'BLIN' - Blind or vision impaired - Kāpō, he atarua</li>
                <li>'DEAF' - Deaf or hard of hearing - Turi, he mate taringa</li>
                <li>'FEED' - Feeding or eating disorders - He māuiuitanga ā-kai</li>
                <li>'STRE' - Stress related disorders - Te Piringa Wara Whakapōauau</li>
            </ul>
              plus 6 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsOfficialDiagnosisSubTypeType">NZCodeSetsOfficialDiagnosisSubTypeType<a>
      OfficialDiagnosisDetail:
        type: string
        description: >-
          <p>Providers additional free text information about an official diagnosis. Mandatory when the Official Diagnosis Type selected is ‘Physical Impairments’, or ‘Medical Conditions’. Mandatory when the Official Diagnosis Sub-Type selected is ‘Other neurodevelopmental disorders/developmental anomalies’, Other mental health disorders’, or ‘Other sensory impairment’.</p>
      DocumentList:
        allOf:
        - $ref: '#/definitions/DocumentList'
        - description: >-
            <p>A list of documents that conatin information that pertain to this official diagnosis.</p>

  # ///////////////////////////////// list ////////////////////////////
  AssessmentTaskList:
    type: object
    additionalProperties: false
    properties:
      SubAssessmentTask:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ////////////////////////////// default sequence ///////////////////////////////
  NZQAAssessmentRegistration:
    description: >-
      Extra details to support NZQA assessment registration process
    type: object
    additionalProperties: false
    properties:
      EnrolmentId:
        type: string
      EntryId:
        type: string
        description: >-
          <p>The student's NZQA entry Id provided upon confirmation of the student's registration to be assessed against a unit or achievement standard. Identifies what entry the result is for to NZQA. </p>
      AssessmentRequestType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsAssessmentRequestType'
      PaperLanguage:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLanguage'
      AnswerLanguage:
        allOf:
        - $ref: '#/definitions/NZCodeSetsLanguage'

  # ///////////////////////////////// list ////////////////////////////
  SpecialAssessmentConditionList:
    description: >-
      <p>A list of Special Assessment Conditions (SACs) that may be applied, or excluded form a particular student's participation in an assessment task.</p>
    type: object
    additionalProperties: false
    properties:
      SpecialAssessmentCondition:
       type: array
       items:
          $ref: '#/definitions/NZCodeSetsSpecialAssessmentCondition'

  # ///////////////////////////////// list ////////////////////////////
  AssessmentResultScoreList:
    description: >-
      <p>A list of scores for the assessment task result.</p>
    type: object
    additionalProperties: false
    properties:
      ResultScore:
       type: array
       items:
          $ref: '#/definitions/AssessmentResultScore'

  # ////////////////////////////// default sequence ///////////////////////////////
  AssessmentResultScore:
    description: >-
      <p>An individual result score for the assessment task.</p>
    type: object
    additionalProperties: false
    properties:
      ScoreType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsScoreType'
        - description: >-
            <p>Either defines 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>
            <ul>
                <li>'INI' - Initial</li>
                <li>'INT' - Interim</li>
                <li>'MOD' - Moderated</li>
                <li>'FIN' - Final</li>
            </ul>
      Competency:
        type: string
        description: >-
          <p>String describing a particular competency that is being reported in the assessment.</p>
      ScoreMetric:
        allOf:
        - $ref: '#/definitions/NZCodeSetsScoreMetric'
        - description: >-
            <p>A code denoting the type of metric the ScoreValue represents.</p>
            <ul>
                <li>'RAW' - Raw - Taketake</li>
                <li>'SCA' - Scale - Āwhata</li>
                <li>'MAR' - Margin of Error - Pae Hapa</li>
                <li>'STA' - Stanine - Pouiwa</li>
                <li>'YEA' - Year Level - Taumata ā-Tau</li>
                <li>'CUR' - Curriculum Level - Taumata Marau</li>
                <li>'NKS' - Number Knowledge Stage</li>
                <li>'NA' - NA - NA</li>
                <li>'NAM' - NAME - NAME</li>
            </ul>
      ScoreValue:
        type: string
        description: >-
          <p>The score the student received for assessment task against that metric. If the result score is for an NZQA or International Baccalaureate then the ScoreResultCode using the enumeration NZCodeSetsAssessmentResultType must be used instead.</p>
      ScoreMax:
        type: number
        description: >-
          The maximum value possible for the score.
      ItemNumber:
        type: integer
        minimum: -2147483648
        maximum: 2147483647
        description: >-
          <p>The Item within an NZQA Assessment Task that the score is for. When a marker marks an external assessment (a paper for a standard in an examination, for example) they provide a score of 0-8 for each item (question) in the paper. </p> <p>Typically a paper will have 3 items for a total score of 24. However there can be more items than this.</p> <p>The individual item scores, and the total are then sent back to NZQA’s eQA system from the marking application. </p>

  # ///////////////////////////////// list ////////////////////////////
  JustificationList:
    description: >-
      <p>A list identifying the assessment task results that justify the student achieving this attainment.</p>
    type: object
    additionalProperties: false
    properties:
      Justification:
       type: array
       items:
          $ref: '#/definitions/Justification'

  # ////////////////////////////// extension ///////////////////////////////
  Justification:
    description: >-
      <p>Details of an assessment task result or other student attainment that justifies the student achieving this attainment. </p>
    type: object
    additionalProperties: false
    properties:
      allOf:
      - $ref: '#/definitions/ObjectReference/properties'
      - AssessmentType:
          allOf:
          - $ref: '#/definitions/NZCodeSetsAssessmentType'
          - description: >-
              <p>A Code denoting how the Justification assessment task was assessed</p>
              <ul>
                  <li>'INT' - Internal - Aromatawai ā-roto</li>
                  <li>'EXT' - External - Aromatawai ā-waho</li>
                  <li>'MOC' - Mock</li>
                  <li>'POR' - Portfolio</li>
                  <li>'PRA' - Practical</li>
                  <li>'OTJ' - Overall Teacher Judgement - Tā te Pouako i whakarite ai</li>
                  <li>'OTH' - Other</li>
              </ul>
      - Result:
          type: string
          description: >-
            <p>The final result of the assessment task that justifies the attainment.</p>
      - Date:
          type: string
          format: date
          description: >-
            <p>The date the justifying assessment task was achieved.</p>
      - CreditValue:
          type: number
          description: >-
            <p>The number of credits the justifying assessment task contributes towards this attainment.</p>

  # ////////////////////////////// default sequence ///////////////////////////////
  ObjectReference:
    description: >-
      <p>A reference to another SIF Data Object</p>
    type: object
    properties:
      RefId:
        allOf:
        - $ref: '#/definitions/IdRef'
        - description: >-
            <p>The GUUID of the referenced object</p>
      LocalId:
        allOf:
        - $ref: '#/definitions/LocalId'
        - description: >-
            <p>Local identifier representing the referenced object.</p>
      Name:
        type: string
        description: >-
          <p>The normal descriptive name of the referenced object.</p>
      ObjectType:
        allOf:
        - $ref: '#/definitions/NZCodeSetsReferrableDataObjects'
        - description: >-
            <p>The type of the referenced object:</p>
            <ul>
                <li>'Organisation' - Organisation</li>
                <li>'Provider' - Provider</li>
                <li>'AcademicDepartment' - AcademicDepartment</li>
                <li>'ProviderRelationship' - ProviderRelationship</li>
                <li>'ProviderCourse' - ProviderCourse</li>
                <li>'LearningStandard' - LearningStandard</li>
                <li>'Credential' - Credential</li>
                <li>'StaffPersonal' - StaffPersonal</li>
                <li>'StaffAssignment' - StaffAssignment</li>
                <li>'StaffTeachingGroupAssignment' - StaffTeachingGroupAssignment</li>
                <li>'StudentPersonal' - StudentPersonal</li>
                <li>'StudentContactPersonal' - StudentContactPersonal</li>
            </ul>
              plus 33 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsReferrableDataObjectsType">NZCodeSetsReferrableDataObjectsType<a>

  # ////////////////////////////// default sequence ///////////////////////////////
  ProviderObjectReference:
    description: >-
      <p>A reference to a Provider Data Object</p>
    type: object
    additionalProperties: false
    properties:
      RefId:
        allOf:
        - $ref: '#/definitions/MoEOrgId'
        - description: >-
            <p>The Ministry of Education Organisation Id of the referenced provider</p>
      Name:
        type: string
        description: >-
          <p>The normal descriptive name of the referenced object.</p>
      LocationNum:
        type: integer
        minimum: -2147483648
        maximum: 2147483647
        description: >-
          <p>Number identifying the individual location within the set of locations used by the Provider.</p>

  # ////////////////////////////// extension ///////////////////////////////
  StudentObjectReference:
    description: >-
      <p>A reference to a StudentPersonal Data Object, which may be via NSN rather than RefId or LocalId</p>
    type: object
    additionalProperties: false
    properties:
      allOf:
      - $ref: '#/definitions/ObjectReference/properties'
      - NationalStudentNumber:
          type: integer
          minimum: 1
          description: >-
            <p>The NSN of the referenced Student</p>
      - YearLevel:
          type: integer
          description: >-
            <p>The NSN of the referenced Student</p>
          minimum: 1
          maximum: 13

  # /////////////////////////////// empty extn ///////////////////////////
  OrganisationObjectReference:
    allOf:
      - $ref: '#/definitions/ProviderObjectReference'
      - type: object
        additionalProperties: false
      - description: >-
          <p>A reference to a Provider specific location at the Organisation; rather than the Provider as a whole.</p>

  # ////////////////////////////// default sequence ///////////////////////////////
  LearningStandardObjectReference:
    description: >-
      <p>A reference to a LearningStandard via Number and VersionNum</p>
    type: object
    additionalProperties: false
    properties:
      Number:
        type: integer
        minimum: -2147483648
        maximum: 2147483647
        description: >-
          <p>A unique number that is used to identify the learning standard. One use of this is for NZQA standard numbers which cannot be used as a unique identifier (in LocalId) on their own as they are versioned so are part of a composite key with VersionNo. </p>
      VersionNo:
        type: number
        description: >-
          <p>The version of the learning standard.</p>

  # ///////////////////////////////// list ////////////////////////////
  PrerequisiteList:
    description: >-
      <p>References to ProviderCourses, LearningStandards, Credentials, or AssessmentTasks that the student must have completed or passed to engage in futher courses, activities and assessment tasks.</p>
    type: object
    additionalProperties: false
    properties:
      Prerequisite:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  ProviderInvolvedList:
    description: >-
      <p>A list of the providers involved and their role, e.g. assessing provider, assessment provider, assessment location provider, registering provider.</p>
    type: object
    additionalProperties: false
    properties:
      ProviderInvolved:
       type: array
       items:
          $ref: '#/definitions/ProviderInvolved'

  # ////////////////////////////// extension ///////////////////////////////
  ProviderInvolved:
    description: >-
      <p>The provider and Location with the assessment task and the role they play, e.g. assessing provider, assessment location provider, assessment provider, registering provider.</p>
    type: object
    additionalProperties: false
    properties:
      allOf:
      - $ref: '#/definitions/ProviderObjectReference/properties'
      - ProviderRole:
          allOf:
          - $ref: '#/definitions/NZCodeSetsAssessmentProviderRole'
          - description: >-
              <p>The role of the provider in relation to the assessment task, e.g. assessing provider, assessment location provider, assessment provider, registering provider.</p>
              <ul>
                  <li>'ASR' - Assessor</li>
                  <li>'LOC' - Location Provider</li>
                  <li>'PRO' - Provider</li>
                  <li>'REG' - Registering Organisation</li>
              </ul>

  # ///////////////////////////////// list ////////////////////////////
  StaffInvolvedList:
    description: >-
      <p>A list of the staff involved and their role in relation to the assessment task, e.g. the staff member that created the assessment task, the moderator, the marker, the invigilator.</p>
    type: object
    additionalProperties: false
    properties:
      StaffInvolved:
       type: array
       items:
          $ref: '#/definitions/StaffInvolved'

  # ////////////////////////////// extension ///////////////////////////////
  StaffInvolved:
    description: >-
      <p>The staff member involved with the assessment task and their role, e.g. created the assessment task, moderator, marker.</p>
    type: object
    additionalProperties: false
    properties:
      allOf:
      - $ref: '#/definitions/ObjectReference/properties'
      - StaffRole:
          allOf:
          - $ref: '#/definitions/NZCodeSetsAssessmentStaffRole'
          - description: >-
              <p>NZCodeSetsAssessmentStaffRoleTYpe</p>
              <ul>
                  <li>'CRE' - Creator</li>
                  <li>'MOD' - Moderator</li>
                  <li>'ASS' - Assessor</li>
                  <li>'INV' - Invigilator</li>
                  <li>'OTH' - Other</li>
              </ul>

  # ///////////////////////////////// list ////////////////////////////
  DocumentList:
    description: >-
      <p>A list of documents relevent to the contents of the data object.</p>
    type: object
    additionalProperties: false
    properties:
      Document:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ///////////////////////////////// list ////////////////////////////
  StudentConsentList:
    description: >-
      <p>A list of student consent information.</p>
    type: object
    additionalProperties: false
    properties:
      StudentConsent:
       type: array
       items:
          $ref: '#/definitions/ObjectReference'

  # ////////////////////////////// default sequence ///////////////////////////////
  RecordAudit:
    description: >-
      <p>Holds the audit for a records, e.g. Created/Last Updated DateTime and Created/Last Updated By.</p>
    type: object
    additionalProperties: false
    properties:
      CreatedDateTime:
        type: string
        format: date-time
        description: >-
          <p>The date and time the record being sent through was created in the source system.</p>
      LastUpdatedDateTime:
        type: string
        format: date-time
        description: >-
          <p>The date and time the record was last updated.</p>
      DeletedDateTime:
        type: string
        format: date-time
        description: >-
          <p>The date and time the record was deleted.</p>
      CreatedBy:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The user that created the record in the source system.</p>
      LastUpdatedBy:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The user that last updated the record.</p>
      DeletedBy:
        allOf:
        - $ref: '#/definitions/ObjectReference'
        - description: >-
            <p>The user that deleted the record.</p>
      DeletedReason:
        allOf:
        - $ref: '#/definitions/NZCodeSetsDeletedReason'
        - description: >-
            <p>The reason the record was deleted.</p>
            <ul>
                <li>'LEA' - Learner created in error - I hē te tapiri a te Akonga</li>
                <li>'RES' - Response created in error - I hē te tāpiri i te whakautu</li>
                <li>'SUP' - Support need created in error - I hē te tāpiri i tēnei tautokotanga</li>
            </ul>

  # ////////////////////////////// xs:* no attrs ///////////////////////////////
  GUID:
    description: >-
      <p>SIF format for a UUID; as defined in rfc-4122</p>
    type: string
    pattern: '^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$'

  # ////////////////////////////// xs:* no attrs ///////////////////////////////
  MoEOrgId:
    description: >-
      1 to 5 digit Ministry Organisation Id, without leading zeros
    type: string
    pattern: '^[1-9][0-9]{0,4}$'

  # ////////////////////////////// another type ///////////////////////////////
  RefId:
    allOf:
    - $ref: '#/definitions/GUID'
    - description: >-
        An object or element identifier.

  # ////////////////////////////// another type ///////////////////////////////
  IdRef:
    allOf:
    - $ref: '#/definitions/RefId'
    - description: >-
        A reference to a RefId.

  # ////////////////////////////// xs:* no attrs ///////////////////////////////
  LocalId:
    description: >-
      <p> This is a common element used to define the locally assigned identifier associated with an entity. </p>
    type: string

  # /////////////////////////////////////////////////////////////
  NZCodeSetsYesOrNoCategory:
    type: string
    title: Yes Or No Category
    description: >-
      <p>A reusable code set for yes, and no.</p>
      <ul>
        <li>'N' - No - Kāo</li>
        <li>'Y' - Yes - Āe</li>
      </ul>
    oneOf:
    - const: "N"
      title*: 
        en: No
        mi: Kāo
    - const: "Y"
      title*: 
        en: Yes
        mi: Āe

  # /////////////////////////////////////////////////////////////
  NZCodeSetsYesNoNotRequired:
    type: string
    title: Yes No Not Required
    description: >-
      <p>A reusable code set for yes, no, and not required values.</p>
      <ul>
        <li>'N' - No - Kāo</li>
        <li>'R' - Not required - Kāre i hiahiatia</li>
        <li>'Y' - Yes - Āe</li>
      </ul>
    oneOf:
    - const: "N"
      title*: 
        en: No
        mi: Kāo
    - const: "R"
      title*: 
        en: Not required
        mi: Kāre i hiahiatia
    - const: "Y"
      title*: 
        en: Yes
        mi: Āe

  # /////////////////////////////////////////////////////////////
  NZCodeSetsReferrableDataObjects:
    type: string
    title: Referrable Data Objects
    description: >-
      <p>An enumeration of valid SIF DataObject names, to be included in Object References</p>
      <ul>
        <li>'Organisation' - Organisation</li>
        <li>'Provider' - Provider</li>
        <li>'AcademicDepartment' - AcademicDepartment</li>
        <li>'ProviderRelationship' - ProviderRelationship</li>
        <li>'ProviderCourse' - ProviderCourse</li>
        <li>'LearningStandard' - LearningStandard</li>
        <li>'Credential' - Credential</li>
        <li>'StaffPersonal' - StaffPersonal</li>
        <li>'StaffAssignment' - StaffAssignment</li>
        <li>'StaffTeachingGroupAssignment' - StaffTeachingGroupAssignment</li>
        <li>'StudentPersonal' - StudentPersonal</li>
        <li>'StudentContactPersonal' - StudentContactPersonal</li>
      </ul>
      plus 33 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsReferrableDataObjectsType">NZCodeSetsReferrableDataObjectsType<a>
    oneOf:
    - const: "Organisation"
      title: Organisation
      description: >-
        A generic organisation that operates within the education sector; but doesn’t provide education services.
    - const: "Provider"
      title: Provider
      description: >-
        A recognised provider of education services such as ECE Service, School or TEI
    - const: "AcademicDepartment"
      title: AcademicDepartment
      description: >-
        
    - const: "ProviderRelationship"
      title: ProviderRelationship
      description: >-
        A recognised relationship between two providers of education service.
    - const: "ProviderCourse"
      title: ProviderCourse
      description: >-
        A Provider defined course that Students enrol in, and may be assessed for, and achieve passes in.
    - const: "LearningStandard"
      title: LearningStandard
      description: >-
        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.
    - const: "Credential"
      title: Credential
      description: >-
        "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;"
    - const: "StaffPersonal"
      title: StaffPersonal
      description: >-
        All the personal, contact and demographic information relating to a staff member, who might be a teacher or other employee of a Provider.
    - const: "StaffAssignment"
      title: StaffAssignment
      description: >-
        Records assignment of a Staff member to a particular Role at a Provider or other EducationOrganisation.
    - const: "StaffTeachingGroupAssignment"
      title: StaffTeachingGroupAssignment
      description: >-
        
    - const: "StudentPersonal"
      title: StudentPersonal
      description: >-
        Contains all the personal information related to the student.
    - const: "StudentContactPersonal"
      title: StudentContactPersonal
      description: >-
        Contains all the personal information about a person who is a part of a Student's whānau.
    - const: "StudentContactRelationship"
      title: StudentContactRelationship
      description: >-
        A relationship between a person who is a part of a Student's whānau and that Student
    - const: "StudentProviderEnrolment"
      title: StudentProviderEnrolment
      description: >-
        A student’s association with an education provider for the purpose of receiving educational services.
    - const: "StudentTeachingGroupEnrolment"
      title: StudentTeachingGroupEnrolment
      description: >-
        
    - const: "TeachingGroup"
      title: TeachingGroup
      description: >-
        Identifies a particular class or other group of students.
    - const: "StudentAttendanceTimeList"
      title: StudentAttendanceTimeList
      description: >-
        Records detail about the attendance spans for a single student at a single provider during a single day.
    - const: "StudentAttendanceSummary"
      title: StudentAttendanceSummary
      description: >-
        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.
    - const: "AssessmentTask"
      title: AssessmentTask
      description: >-
        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.
    - const: "StudentAssessmentTaskRegistration"
      title: StudentAssessmentTaskRegistration
      description: >-
        The student's registration for an assessment task they are intending to participate in.
    - const: "StudentAssessmentTask"
      title: StudentAssessmentTask
      description: >-
        Record of a student's attempt at a particular assessment task.
    - const: "StudentAssessmentTaskResult"
      title: StudentAssessmentTaskResult
      description: >-
        Records the result achieved by a single student at a particular assessment task.
    - const: "StudentAttainment"
      title: StudentAttainment
      description: >-
        Records a student gaining an Attainment e.g. NCEA Qualification, Learning Standard etc.
    - const: "WellbeingAlert"
      title: WellbeingAlert
      description: >-
        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.
    - const: "WellbeingCharacteristic"
      title: WellbeingCharacteristic
      description: >-
        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.
    - const: "WellbeingEvent"
      title: WellbeingEvent
      description: >-
        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.
    - const: "WellbeingResponse"
      title: WellbeingResponse
      description: >-
        A record of the outcome and follow ups generated by a WellbeingEvent.
    - const: "WellbeingAppeal"
      title: WellbeingAppeal
      description: >-
        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.
    - const: "Document"
      title: Document
      description: >-
        
    - const: "StudentVoice"
      title: StudentVoice
      description: >-
        Information about a student's interests and academic, career and social goals.
    - const: "StudentActivityParticipation"
      title: StudentActivityParticipation
      description: >-
        Provides information on a co-curricular or extra-curricular activity in which a student participates during a given school year.
    - const: "StudentLearningSupport"
      title: StudentLearningSupport
      description: >-
        Contains information pertaining to a student's learning support.
    - const: "StudentLearningSupportResponse"
      title: StudentLearningSupportResponse
      description: >-
        Contains information pertaining to a response to a student's learning support need(s).
    - const: "StudentCurriculumProgressReport"
      title: StudentCurriculumProgressReport
      description: >-
        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.
    - const: "StudentPhysicalRestraint"
      title: StudentPhysicalRestraint
      description: >-
        
    - const: "StudentConsent"
      title: StudentConsent
      description: >-
        
    - const: "Schedule"
      title: Schedule
      description: >-
        
    - const: "BellSchedule"
      title: BellSchedule
      description: >-
        
    - const: "ScheduleDate"
      title: ScheduleDate
      description: >-
        
    - const: "SchedulePeriod"
      title: SchedulePeriod
      description: >-
        
    - const: "ScheduleEvent"
      title: ScheduleEvent
      description: >-
        
    - const: "ScheduleHoliday"
      title: ScheduleHoliday
      description: >-
        
    - const: "ScheduleAcademicDay"
      title: ScheduleAcademicDay
      description: >-
        
    - const: "ScheduleTerm"
      title: ScheduleTerm
      description: >-
        
    - const: "TeachingGroupEvent"
      title: TeachingGroupEvent
      description: >-
        

  # /////////////////////////////////////////////////////////////
  NZCodeSetsConsentGivenBy:
    type: string
    title: Consent Given By
    description: >-
      <p>Code set denoting the role of the person who gave consent on behalf of the student, e.g. Whānau, Student.</p>
      <ul>
        <li>'NOT' - Not provided - Kāre he whakaaetanga</li>
        <li>'STU' - Student - Ākonga</li>
        <li>'WHA' - Whānau - Whānau</li>
      </ul>
    oneOf:
    - const: "NOT"
      title*: 
        en: Not provided
        mi: Kāre he whakaaetanga
    - const: "STU"
      title*: 
        en: Student
        mi: Ākonga
    - const: "WHA"
      title*: 
        en: Whānau
        mi: Whānau

  # /////////////////////////////////////////////////////////////
  NZCodeSetsStudentConsentTo:
    type: string
    title: Student Consent To
    description: >-
      <p>Code set denoting what the student is consenting or not consenting to.</p>
      <ul>
        <li>'PHT' - Share Photos - </li>
        <li>'ART' - Share Art - </li>
        <li>'WRI' - Share Writing - </li>
        <li>'MED' - Medical Treatment - </li>
        <li>'ADM' - Panadol - </li>
        <li>'LSC' - Learning Support Cluster Sharing - Ratonga Tautoko Akoranga Tuari ā-Kahui</li>
        <li>'LSR' - Learning Support Receive Service - Ratonga Tautoko Akoranga Kua Whiwhia</li>
        <li>'PAR' - Parental Consent To Share With Next ECE Or School - Whakaaetanga Tuari ki te Kura Kōhungahunga, ki te Kura rānei</li>
        <li>'TRI' - Authority to release student's NZQA results to a tertiary institution</li>
      </ul>
    oneOf:
    - const: "PHT"
      title*: 
        en: Share Photos
        mi: 
      description: >-
        To use and share photographs of the student
    - const: "ART"
      title*: 
        en: Share Art
        mi: 
    - const: "WRI"
      title*: 
        en: Share Writing
        mi: 
    - const: "MED"
      title*: 
        en: Medical Treatment
        mi: 
      description: >-
        Seek medical treatment in an emergency when the caregiver cannot be contacted
    - const: "ADM"
      title*: 
        en: Panadol
        mi: 
      description: >-
        Administer Panadol
    - const: "LSC"
      title*: 
        en: Learning Support Cluster Sharing
        mi: Ratonga Tautoko Akoranga Tuari ā-Kahui
    - const: "LSR"
      title*: 
        en: Learning Support Receive Service
        mi: Ratonga Tautoko Akoranga Kua Whiwhia
    - const: "PAR"
      title*: 
        en: Parental Consent To Share With Next ECE Or School
        mi: Whakaaetanga Tuari ki te Kura Kōhungahunga, ki te Kura rānei
      description: >-
        This value is for learning support.
    - const: "TRI"
      title*: 
        en: Authority to release student's NZQA results to a tertiary institution

  # /////////////////////////////////////////////////////////////
  NZCodeSetsDeletedReason:
    type: string
    title: Deleted Reason
    description: >-
      <p>Code set denoting the reason a record was deleted.</p>
      <ul>
        <li>'LEA' - Learner created in error - I hē te tapiri a te Akonga</li>
        <li>'RES' - Response created in error - I hē te tāpiri i te whakautu</li>
        <li>'SUP' - Support need created in error - I hē te tāpiri i tēnei tautokotanga</li>
      </ul>
    oneOf:
    - const: "LEA"
      title*: 
        en: Learner created in error
        mi: I hē te tapiri a te Akonga
    - const: "RES"
      title*: 
        en: Response created in error
        mi: I hē te tāpiri i te whakautu
    - const: "SUP"
      title*: 
        en: Support need created in error
        mi: I hē te tāpiri i tēnei tautokotanga

  # /////////////////////////////////////////////////////////////
  NZCodeSetsRelationshipToStudent:
    type: string
    title: Relationship To Student
    description: >-
      <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>
      <ul>
        <li>'FAT' - Father - Pāpā</li>
        <li>'UNC' - Uncle - Matua Kēkē</li>
        <li>'LEG' - Legal Guardian - Kaitiaki ā-ture</li>
        <li>'HOS' - Host Parent - Whānau Tiaki</li>
        <li>'BRO' - Brother - Tungāne</li>
        <li>'FRI' - Family Friend - Hoa o te whānau</li>
        <li>'SIS' - Sister - Tuahine</li>
        <li>'OTH' - Other - He mea kē</li>
        <li>'MOT' - Mother - Māmā</li>
        <li>'GRM' - Grandmother - Kuia</li>
        <li>'AUN' - Aunt - Whaea</li>
        <li>'STF' - Stepfather - Pāpā Whakaangi</li>
      </ul>
      plus 22 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsRelationshipToStudentType">NZCodeSetsRelationshipToStudentType<a>
    oneOf:
    - const: "FAT"
      title*: 
        en: Father
        mi: Pāpā
    - const: "UNC"
      title*: 
        en: Uncle
        mi: Matua Kēkē
    - const: "LEG"
      title*: 
        en: Legal Guardian
        mi: Kaitiaki ā-ture
    - const: "HOS"
      title*: 
        en: Host Parent
        mi: Whānau Tiaki
    - const: "BRO"
      title*: 
        en: Brother
        mi: Tungāne
    - const: "FRI"
      title*: 
        en: Family Friend
        mi: Hoa o te whānau
    - const: "SIS"
      title*: 
        en: Sister
        mi: Tuahine
    - const: "OTH"
      title*: 
        en: Other
        mi: He mea kē
      description: >-
        Please Specify
    - const: "MOT"
      title*: 
        en: Mother
        mi: Māmā
    - const: "GRM"
      title*: 
        en: Grandmother
        mi: Kuia
    - const: "AUN"
      title*: 
        en: Aunt
        mi: Whaea
    - const: "STF"
      title*: 
        en: Stepfather
        mi: Pāpā Whakaangi
    - const: "NOT"
      title*: 
        en: Not Provided
        mi: Kāre i whakaratoa
      x-endDate: 2020-05-20
    - const: "GRF"
      title*: 
        en: Grandfather
        mi: Koroua
    - const: "STM"
      title*: 
        en: Stepmother
        mi: Whaea Whakaangi
    - const: "WHA"
      title*: 
        en: Whāngai Parent
        mi: Matua Whāngai
    - const: "CAS"
      title*: 
        en: Case Worker
    - const: "EXT"
      title*: 
        en: Extended Family
    - const: "FOF"
      title*: 
        en: Foster Father
    - const: "FOM"
      title*: 
        en: Foster Mother
    - const: "FOS"
      title*: 
        en: Foster Parent
    - const: "GDF"
      title*: 
        en: Godfather
    - const: "GDM"
      title*: 
        en: Godmother
    - const: "GDP"
      title*: 
        en: Godparent
    - const: "HOF"
      title*: 
        en: Host Father
    - const: "HOM"
      title*: 
        en: Host Mother
    - const: "INT"
      title*: 
        en: International Liasion
    - const: "PAI"
      title*: 
        en: Paid Child Help
    - const: "PAP"
      title*: 
        en: Parent's Partner
    - const: "PAR"
      title*: 
        en: Parent
    - const: "GRP"
      title*: 
        en: Grandparent
    - const: "SIB"
      title*: 
        en: Sibling
    - const: "STP"
      title*: 
        en: Step-parent
    - const: "TRU"
      title*: 
        en: Truancy Officer

  # /////////////////////////////////////////////////////////////
  NZCodeSetsStudentContactRelationshipStatus:
    type: string
    title: Student Contact Relationship Status
    description: >-
      <p>Code set denoting the status of the student contact's relationship.</p> <p>Set to Active when: StartDate => today's date and EndDate is NULL or EndDate > than today's date.</p> <p>Set to Inactive when: StartDate < today's date or EndDate =< today's date.</p>
      <ul>
        <li>'A' - Active</li>
        <li>'I' - Inactive</li>
      </ul>
    oneOf:
    - const: "A"
      title: Active
    - const: "I"
      title: Inactive

  # /////////////////////////////////////////////////////////////
  NZCodeSetsNameUsageType:
    type: string
    title: Name Usage Type
    description: >-
      <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>
      <ul>
        <li>'PRF' - Preferred Name</li>
        <li>'FON' - Foreign Official Name</li>
        <li>'PRV' - Previous name</li>
        <li>'AKA' - Also Known As</li>
        <li>'BTH' - Name at Birth</li>
        <li>'LGL' - Legal Name</li>
      </ul>
    oneOf:
    - const: "PRF"
      title: Preferred Name
      description: >-
        <p>The name by which an individual prefers to be known and addressed.</p> <p>Only usage type applicable for student name usage (other types are not supported by NSI).</p>
    - const: "FON"
      title: Foreign Official Name
      description: >-
        <p>Included for future usage in NZ, especially for tertiary students.</p>
    - const: "PRV"
      title: Previous name
    - const: "AKA"
      title: Also Known As
      description: >-
        AKA or Alias
    - const: "BTH"
      title: Name at Birth
    - const: "LGL"
      title: Legal Name
      description: >-
        <p>Legal Name or Official Name as defined by the organisation which collects it (legal name is not defined in this standard)</p>

  # /////////////////////////////////////////////////////////////
  NZCodeSetsEmailType:
    type: string
    title: Email Type
    description: >-
      <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>
      <ul>
        <li>'PRIM' - Primary</li>
        <li>'WORK' - Work</li>
        <li>'PERS' - Personal</li>
        <li>'ALT1' - Alternate 1</li>
        <li>'ALT2' - Alternate 2</li>
        <li>'ALT3' - Alternate 3</li>
        <li>'ALT4' - Alternate 4</li>
      </ul>
    oneOf:
    - const: "PRIM"
      title: Primary
      description: >-
        Applicable to organisations, eg schools
    - const: "WORK"
      title: Work
      description: >-
        Only used for persons
    - const: "PERS"
      title: Personal
      description: >-
        Only used for persons
    - const: "ALT1"
      title: Alternate 1
    - const: "ALT2"
      title: Alternate 2
    - const: "ALT3"
      title: Alternate 3
    - const: "ALT4"
      title: Alternate 4

  # /////////////////////////////////////////////////////////////
  NZCodeSetsTelephoneNumberType:
    type: string
    title: Telephone Number Type
    description: >-
      <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>
      <ul>
        <li>'MAI' - Main Telephone Number</li>
        <li>'FAX' - Facsimile Number</li>
        <li>'HTE' - Home Telephone Number</li>
        <li>'HMO' - Home Mobile</li>
        <li>'MOB' - Mobile</li>
        <li>'WMO' - Work Mobile</li>
        <li>'WTE' - Work Telephone Number</li>
      </ul>
    oneOf:
    - const: "MAI"
      title: Main Telephone Number
    - const: "FAX"
      title: Facsimile Number
    - const: "HTE"
      title: Home Telephone Number
      description: >-
        Person usage only
    - const: "HMO"
      title: Home Mobile
      description: >-
        Person usage only
    - const: "MOB"
      title: Mobile
    - const: "WMO"
      title: Work Mobile
    - const: "WTE"
      title: Work Telephone Number

  # /////////////////////////////////////////////////////////////
  NZCodeSetsGender:
    type: string
    title: Gender
    description: >-
      <p>A Person may identify as having a Gender (or Gender Identity). Biological sex and sexual orientation are related but different concepts. Sourced from Statistics NZ Standard for Gender Identity</p>
      <ul>
        <li>'1' - Male - Tāne</li>
        <li>'2' - Female - Wahine</li>
        <li>'3' - Gender Diverse - Ira tāngata kōwhiri kore</li>
        <li>'31' - Transgender Male to Female - Whakawahine</li>
        <li>'32' - Transgender Female to Male - Tangata ira tāne</li>
        <li>'9' - Not Willing to Disclose - Kāre e taea te Whakaatu</li>
      </ul>
    oneOf:
    - const: "1"
      title*: 
        en: Male
        mi: Tāne
    - const: "2"
      title*: 
        en: Female
        mi: Wahine
    - const: "3"
      title*: 
        en: Gender Diverse
        mi: Ira tāngata kōwhiri kore
      description: >-
        But not further defined
    - const: "31"
      title*: 
        en: Transgender Male to Female
        mi: Whakawahine
      description: >-
        "Can be rolled up to 3:Gender Diverse"
    - const: "32"
      title*: 
        en: Transgender Female to Male
        mi: Tangata ira tāne
      description: >-
        "Can be rolled up to 3:Gender Diverse"
    - const: "9"
      title*: 
        en: Not Willing to Disclose
        mi: Kāre e taea te Whakaatu

  # /////////////////////////////////////////////////////////////
  NZCodeSetsCitizenshipStatus:
    type: string
    title: Citizenship Status
    description: >-
      <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>
      <ul>
        <li>'AUCI' - Australian citizen</li>
        <li>'NZCI' - NZ citizen</li>
        <li>'OTOV' - Other overseas</li>
        <li>'NZRE' - NZ resident</li>
        <li>'NOPR' - Not provided</li>
      </ul>
    oneOf:
    - const: "AUCI"
      title: Australian citizen
    - const: "NZCI"
      title: NZ citizen
    - const: "OTOV"
      title: Other overseas
      description: >-
        Indicates a residency other than NZ or Australia
    - const: "NZRE"
      title: NZ resident
      description: >-
        Includes Australian residents classified as NZ resident once arrived in NZ
    - const: "NOPR"
      title: Not provided

  # /////////////////////////////////////////////////////////////
  NZCodeSetsVerificationSource:
    type: string
    title: Verification Source
    description: >-
      <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>
      <ul>
        <li>'NZBIR' - NZ Birth Certificate</li>
        <li>'NZBCO' - NZ Birth Certificate (with confirmation of NZ Citizen by birth)</li>
        <li>'NZPAS' - NZ Passport</li>
        <li>'NZCIT' - NZ Citizenship Certificate</li>
        <li>'BIRCE' - Birth Certificate (COK, TKL, NIU)</li>
        <li>'BCCON' - Birth Certificate (COK, TKL, NIU) (with confirmation of NZ Citizen by birth)</li>
        <li>'CENAT' - Certification of Naturalisation (COK, TKL, NIU)</li>
        <li>'CAREG' - Certification of Registration (COK, TKL, NIU)</li>
        <li>'LETCO' - Letter of Confirmation (COK, TKL, NIU)</li>
        <li>'OTHPA' - Other Passport with NZ residence class Visa</li>
        <li>'AUSPA' - Australian Passport</li>
        <li>'VISDO' - Visa Domestic</li>
      </ul>
      plus 3 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsVerificationSourceType">NZCodeSetsVerificationSourceType<a>
    oneOf:
    - const: "NZBIR"
      title: NZ Birth Certificate
      description: >-
        Applies if the child was born before 1 Jan 2006
    - const: "NZBCO"
      title: NZ Birth Certificate (with confirmation of NZ Citizen by birth)
      description: >-
        Applies if the child was born on or after 1 Jan 2006
    - const: "NZPAS"
      title: NZ Passport
      description: >-
        Including COK, TKL or NIU. (Current or Expired)
    - const: "NZCIT"
      title: NZ Citizenship Certificate
    - const: "BIRCE"
      title: Birth Certificate (COK, TKL, NIU)
      description: >-
        If the child was born before 1 Jan 2006
    - const: "BCCON"
      title: Birth Certificate (COK, TKL, NIU) (with confirmation of NZ Citizen by birth)
      description: >-
        Applies if the child was born on or after 1 Jan 2006.
    - const: "CENAT"
      title: Certification of Naturalisation (COK, TKL, NIU)
    - const: "CAREG"
      title: Certification of Registration (COK, TKL, NIU)
    - const: "LETCO"
      title: Letter of Confirmation (COK, TKL, NIU)
    - const: "OTHPA"
      title: Other Passport with NZ residence class Visa
      description: >-
        Or other evidence of NZ residency
    - const: "AUSPA"
      title: Australian Passport
      description: >-
        (Current or Expired)
    - const: "VISDO"
      title: Visa Domestic
    - const: "VISST"
      title: Visa with conditions of study
    - const: "PRINC"
      title: Principal Discretion
    - const: "MOEAP"
      title: MoE Approval

  # /////////////////////////////////////////////////////////////
  NZCodeSetsLanguageUsage:
    type: string
    title: Language Usage
    description: >-
      <p>A standardised method of describing the usage of a language by a person, potentially indicating capability and preference for the language.</p>
      <ul>
        <li>'FL' - First Language - Reo Tuatahi</li>
        <li>'SL' - Secondary Language - Reo Tuarua</li>
        <li>'SH' - Spoken At Home - Reo Kāinga</li>
      </ul>
    oneOf:
    - const: "FL"
      title*: 
        en: First Language
        mi: Reo Tuatahi
    - const: "SL"
      title*: 
        en: Secondary Language
        mi: Reo Tuarua
    - const: "SH"
      title*: 
        en: Spoken At Home
        mi: Reo Kāinga

  # /////////////////////////////////////////////////////////////
  NZCodeSetsLanguage:
    type: string
    title: Language
    description: >-
      <p>Language refers to recognised human communication systems, typically oral and/or written. Sourced from Statistics NZ - Language Standard Classification 1999 v2.0.0</p>
      <ul>
        <li>'NZS01' - Germanic</li>
        <li>'NZS011' - West Germanic</li>
        <li>'NZS01100' - West Germanic not further defined</li>
        <li>'NZS01110' - Afrikaans</li>
        <li>'NZS01111' - Dutch</li>
        <li>'NZS01112' - English - Pākehā</li>
        <li>'NZS01113' - German</li>
        <li>'NZS01114' - Friesian</li>
        <li>'NZS01115' - Yiddish</li>
        <li>'NZS01116' - Scots</li>
        <li>'NZS01199' - West Germanic not elsewhere classified</li>
        <li>'NZS012' - North Germanic</li>
      </ul>
      plus 252 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsLanguageType">NZCodeSetsLanguageType<a>
    oneOf:
    - const: "NZS01"
      title*: 
        en: Germanic
    - const: "NZS011"
      title*: 
        en: West Germanic
    - const: "NZS01100"
      title*: 
        en: West Germanic not further defined
    - const: "NZS01110"
      title*: 
        en: Afrikaans
    - const: "NZS01111"
      title*: 
        en: Dutch
    - const: "NZS01112"
      title*: 
        en: English
        mi: Pākehā
    - const: "NZS01113"
      title*: 
        en: German
    - const: "NZS01114"
      title*: 
        en: Friesian
    - const: "NZS01115"
      title*: 
        en: Yiddish
    - const: "NZS01116"
      title*: 
        en: Scots
    - const: "NZS01199"
      title*: 
        en: West Germanic not elsewhere classified
    - const: "NZS012"
      title*: 
        en: North Germanic
    - const: "NZS01200"
      title*: 
        en: North Germanic not further defined
    - const: "NZS01210"
      title*: 
        en: Danish
    - const: "NZS01211"
      title*: 
        en: Norwegian
    - const: "NZS01212"
      title*: 
        en: Swedish
    - const: "NZS01213"
      title*: 
        en: Icelandic
    - const: "NZS01299"
      title*: 
        en: North Germanic not elsewhere classified
    - const: "NZS02"
      title*: 
        en: Romance
    - const: "NZS021"
      title*: 
        en: Romance
    - const: "NZS02100"
      title*: 
        en: Romance not further defined
    - const: "NZS02110"
      title*: 
        en: French
    - const: "NZS02111"
      title*: 
        en: Catalan
    - const: "NZS02112"
      title*: 
        en: Portuguese
    - const: "NZS02113"
      title*: 
        en: Spanish
    - const: "NZS02114"
      title*: 
        en: Italian
    - const: "NZS02115"
      title*: 
        en: Romanian
    - const: "NZS02199"
      title*: 
        en: Romance not elsewhere classified
    - const: "NZS03"
      title*: 
        en: Greek
    - const: "NZS031"
      title*: 
        en: Greek
    - const: "NZS03110"
      title*: 
        en: Greek
    - const: "NZS04"
      title*: 
        en: Balto-Slavic
    - const: "NZS041"
      title*: 
        en: Baltic
    - const: "NZS04100"
      title*: 
        en: Baltic not further defined
    - const: "NZS04110"
      title*: 
        en: Latvian
    - const: "NZS04111"
      title*: 
        en: Lithuanian
    - const: "NZS04199"
      title*: 
        en: Baltic not elsewhere classified
    - const: "NZS042"
      title*: 
        en: Slavic
    - const: "NZS04200"
      title*: 
        en: Slavic not further defined
    - const: "NZS04210"
      title*: 
        en: Belorussian
    - const: "NZS04211"
      title*: 
        en: Russian
    - const: "NZS04212"
      title*: 
        en: Ukrainian
    - const: "NZS04213"
      title*: 
        en: Bulgarian
    - const: "NZS04214"
      title*: 
        en: Macedonian
    - const: "NZS04215"
      title*: 
        en: Serbo-Croatian
    - const: "NZS04216"
      title*: 
        en: Slovene
    - const: "NZS04217"
      title*: 
        en: Czech
    - const: "NZS04218"
      title*: 
        en: Polish
    - const: "NZS04219"
      title*: 
        en: Slovak
    - const: "NZS04299"
      title*: 
        en: Slavic not elsewhere classified
    - const: "NZS05"
      title*: 
        en: Albanian
    - const: "NZS051"
      title*: 
        en: Albanian
    - const: "NZS05110"
      title*: 
        en: Albanian
    - const: "NZS06"
      title*: 
        en: Armenian
    - const: "NZS061"
      title*: 
        en: Armenian
    - const: "NZS06110"
      title*: 
        en: Armenian
    - const: "NZS07"
      title*: 
        en: Indo-Aryan
    - const: "NZS071"
      title*: 
        en: Indo-Aryan
    - const: "NZS07100"
      title*: 
        en: Indo-Aryan not further defined
    - const: "NZS07110"
      title*: 
        en: Hindi
    - const: "NZS07111"
      title*: 
        en: Urdu
    - const: "NZS07112"
      title*: 
        en: Fiji Hindi
    - const: "NZS07113"
      title*: 
        en: Bengali
    - const: "NZS07114"
      title*: 
        en: Oriya
    - const: "NZS07115"
      title*: 
        en: Nepalese
    - const: "NZS07116"
      title*: 
        en: Panjabi
    - const: "NZS07117"
      title*: 
        en: Sindhi
    - const: "NZS07118"
      title*: 
        en: Kashmiri
    - const: "NZS07119"
      title*: 
        en: Sinhala
    - const: "NZS07120"
      title*: 
        en: Gujarati
    - const: "NZS07121"
      title*: 
        en: Konkani
    - const: "NZS07122"
      title*: 
        en: Marathi
    - const: "NZS07123"
      title*: 
        en: Romani
    - const: "NZS07199"
      title*: 
        en: Indo-Aryan not elsewhere classified
    - const: "NZS08"
      title*: 
        en: Celtic
    - const: "NZS081"
      title*: 
        en: Celtic
    - const: "NZS08100"
      title*: 
        en: Celtic not further defined
    - const: "NZS08110"
      title*: 
        en: Welsh
    - const: "NZS08111"
      title*: 
        en: Scottish Gaelic
    - const: "NZS08112"
      title*: 
        en: Irish
    - const: "NZS08113"
      title*: 
        en: Breton
    - const: "NZS08199"
      title*: 
        en: Celtic not elsewhere classified
    - const: "NZS09"
      title*: 
        en: Iranian
    - const: "NZS091"
      title*: 
        en: Iranian
    - const: "NZS09100"
      title*: 
        en: Iranian not further defined
    - const: "NZS09110"
      title*: 
        en: Persian
    - const: "NZS09111"
      title*: 
        en: Kurdish
    - const: "NZS09112"
      title*: 
        en: Pashto
    - const: "NZS09199"
      title*: 
        en: Iranian not elsewhere classified
    - const: "NZS10"
      title*: 
        en: Turko-Altaic
    - const: "NZS101"
      title*: 
        en: Turko-Altaic
    - const: "NZS10100"
      title*: 
        en: Turko-Altaic not further defined
    - const: "NZS10110"
      title*: 
        en: Turkish
    - const: "NZS10111"
      title*: 
        en: Azeri
    - const: "NZS10199"
      title*: 
        en: Turko-Altaic not elsewhere classified
    - const: "NZS11"
      title*: 
        en: Uralic
    - const: "NZS111"
      title*: 
        en: Uralic
    - const: "NZS11100"
      title*: 
        en: Uralic not further defined
    - const: "NZS11110"
      title*: 
        en: Estonian
    - const: "NZS11111"
      title*: 
        en: Finnish
    - const: "NZS11112"
      title*: 
        en: Hungarian
    - const: "NZS11199"
      title*: 
        en: Uralic not elsewhere classified
    - const: "NZS12"
      title*: 
        en: Dravidian
    - const: "NZS121"
      title*: 
        en: Dravidian
    - const: "NZS12100"
      title*: 
        en: Dravidian not further defined
    - const: "NZS12110"
      title*: 
        en: Kannada
    - const: "NZS12111"
      title*: 
        en: Malayalam
    - const: "NZS12112"
      title*: 
        en: Tamil
    - const: "NZS12113"
      title*: 
        en: Telugu
    - const: "NZS12199"
      title*: 
        en: Dravidian not elsewhere classified
    - const: "NZS13"
      title*: 
        en: Sino-Tibeto-Burman
    - const: "NZS131"
      title*: 
        en: Sinitic
    - const: "NZS13100"
      title*: 
        en: Sinitic not further defined
    - const: "NZS13110"
      title*: 
        en: Cantonese (Yue)
    - const: "NZS13111"
      title*: 
        en: Hakka
    - const: "NZS13112"
      title*: 
        en: Min
    - const: "NZS13113"
      title*: 
        en: Mandarin (Northern Chinese)
    - const: "NZS13114"
      title*: 
        en: Wu
    - const: "NZS13115"
      title*: 
        en: Tieu-Chow
    - const: "NZS13199"
      title*: 
        en: Sinitic not elsewhere classified
    - const: "NZS132"
      title*: 
        en: Tibeto-Lolo-Burman
    - const: "NZS13200"
      title*: 
        en: Tibeto-Lolo-Burman not further defined
    - const: "NZS13210"
      title*: 
        en: Burmese
    - const: "NZS13211"
      title*: 
        en: Tibetan
    - const: "NZS13299"
      title*: 
        en: Tibeto-Lolo-Burman not elsewhere classified
    - const: "NZS14"
      title*: 
        en: Austroasiatic
    - const: "NZS141"
      title*: 
        en: Mon-Khmer
    - const: "NZS14100"
      title*: 
        en: Mon-Khmer not further defined
    - const: "NZS14110"
      title*: 
        en: Khmer
    - const: "NZS14199"
      title*: 
        en: Mon-Khmer not elsewhere classified
    - const: "NZS142"
      title*: 
        en: Viet-Muong
    - const: "NZS14200"
      title*: 
        en: Viet-Muong not further defined
    - const: "NZS14210"
      title*: 
        en: Vietnamese
    - const: "NZS14299"
      title*: 
        en: Viet-Muong not elsewhere classified
    - const: "NZS15"
      title*: 
        en: Tai-Kadai
    - const: "NZS151"
      title*: 
        en: Tai-Kadai
    - const: "NZS15100"
      title*: 
        en: Tai-Kadai not further defined
    - const: "NZS15110"
      title*: 
        en: Lao
    - const: "NZS15111"
      title*: 
        en: Thai
    - const: "NZS15112"
      title*: 
        en: Shan
    - const: "NZS15199"
      title*: 
        en: Tai-Kadai not elsewhere classified
    - const: "NZS16"
      title*: 
        en: Central-Eastern Malayo-Polynesian
    - const: "NZS161"
      title*: 
        en: Central Pacific
    - const: "NZS16100"
      title*: 
        en: Central Pacific not further defined
    - const: "NZS16110"
      title*: 
        en: Māori
        mi: Te Reo Māori
    - const: "NZS16111"
      title*: 
        en: Samoan
    - const: "NZS16112"
      title*: 
        en: Tongan
    - const: "NZS16113"
      title*: 
        en: Cook Islands Maori
    - const: "NZS16114"
      title*: 
        en: Niuean
    - const: "NZS16115"
      title*: 
        en: Tokelauan
    - const: "NZS16116"
      title*: 
        en: Tuvaluan
    - const: "NZS16117"
      title*: 
        en: Tahitian
    - const: "NZS16118"
      title*: 
        en: Pukapukan
    - const: "NZS16119"
      title*: 
        en: Fijian
    - const: "NZS16120"
      title*: 
        en: Rotuman
    - const: "NZS16199"
      title*: 
        en: Central Pacific not elsewhere classified
    - const: "NZS162"
      title*: 
        en: Solomon Islands Languages (Non-Central-Pacific)
    - const: "NZS16210"
      title*: 
        en: Solomon Islands Languages (Non-Central-Pacific)
    - const: "NZS163"
      title*: 
        en: Micronesian
    - const: "NZS16300"
      title*: 
        en: Micronesian not further defined
    - const: "NZS16310"
      title*: 
        en: Kiribati
    - const: "NZS16311"
      title*: 
        en: Nauruan
    - const: "NZS16399"
      title*: 
        en: Micronesian not elsewhere classified
    - const: "NZS164"
      title*: 
        en: Vanuatu Languages
    - const: "NZS16410"
      title*: 
        en: Vanuatu Languages
    - const: "NZS17"
      title*: 
        en: Western Malayo-Polynesian
    - const: "NZS171"
      title*: 
        en: Western Malayo-Polynesian
    - const: "NZS17100"
      title*: 
        en: Western Malayo-Polynesian not further defined
    - const: "NZS17110"
      title*: 
        en: Bisayan
    - const: "NZS17111"
      title*: 
        en: Cebuano
    - const: "NZS17112"
      title*: 
        en: Ilokano
    - const: "NZS17113"
      title*: 
        en: Bahasa Indonesia
    - const: "NZS17114"
      title*: 
        en: Malaysian
    - const: "NZS17115"
      title*: 
        en: Tagalog
    - const: "NZS17116"
      title*: 
        en: Javanese
    - const: "NZS17199"
      title*: 
        en: Western Malayo-Polynesian not elsewhere classified
    - const: "NZS18"
      title*: 
        en: Afro-Asiatic
    - const: "NZS181"
      title*: 
        en: Cushitic
    - const: "NZS18100"
      title*: 
        en: Cushitic not further defined
    - const: "NZS18110"
      title*: 
        en: Somali
    - const: "NZS18199"
      title*: 
        en: Cushitic not elsewhere classified
    - const: "NZS182"
      title*: 
        en: Semitic
    - const: "NZS18200"
      title*: 
        en: Semitic not further defined
    - const: "NZS18210"
      title*: 
        en: Assyrian
    - const: "NZS18211"
      title*: 
        en: Arabic
    - const: "NZS18212"
      title*: 
        en: Maltese
    - const: "NZS18213"
      title*: 
        en: Amharic
    - const: "NZS18214"
      title*: 
        en: Tigrinya
    - const: "NZS18215"
      title*: 
        en: Hebrew
    - const: "NZS18299"
      title*: 
        en: Semitic not elsewhere classified
    - const: "NZS183"
      title*: 
        en: Chadic
    - const: "NZS18300"
      title*: 
        en: Chadic not further defined
    - const: "NZS18310"
      title*: 
        en: Hausa
    - const: "NZS18399"
      title*: 
        en: Chadic not elsewhere classified
    - const: "NZS19"
      title*: 
        en: Niger-Congo (Congo-Kordafanian)
    - const: "NZS191"
      title*: 
        en: Bantu languages
    - const: "NZS19100"
      title*: 
        en: Bantu not further defined
    - const: "NZS19110"
      title*: 
        en: Swahili
    - const: "NZS19111"
      title*: 
        en: Yoruba
    - const: "NZS19112"
      title*: 
        en: Zulu
    - const: "NZS19199"
      title*: 
        en: Bantu, not elsewhere classified
    - const: "NZS192"
      title*: 
        en: Other Niger-Congo
    - const: "NZS19200"
      title*: 
        en: Other Niger-Congo not further defined
    - const: "NZS19210"
      title*: 
        en: Fulani
    - const: "NZS19299"
      title*: 
        en: Other Niger-Congo not elsewhere classified
    - const: "NZS20"
      title*: 
        en: Pidgins and Creoles
    - const: "NZS201"
      title*: 
        en: Pidgins and Creoles
    - const: "NZS20100"
      title*: 
        en: Pidgins and Creoles not further defined
    - const: "NZS20110"
      title*: 
        en: Creole
    - const: "NZS20111"
      title*: 
        en: French Creole
    - const: "NZS20112"
      title*: 
        en: Pidgin English
    - const: "NZS20113"
      title*: 
        en: Neo Melanesian
    - const: "NZS20114"
      title*: 
        en: Mauritian Creole
    - const: "NZS20115"
      title*: 
        en: Tok Pisin
    - const: "NZS20116"
      title*: 
        en: Hindi Bat
    - const: "NZS20117"
      title*: 
        en: Solomon Islands Pidgin
    - const: "NZS20118"
      title*: 
        en: Bislama
    - const: "NZS20199"
      title*: 
        en: Pidgins and Creoles not elsewhere classified
    - const: "NZS21"
      title*: 
        en: Language Isolates
    - const: "NZS211"
      title*: 
        en: Japanese
    - const: "NZS21110"
      title*: 
        en: Japanese
    - const: "NZS212"
      title*: 
        en: Korean
    - const: "NZS21210"
      title*: 
        en: Korean
    - const: "NZS213"
      title*: 
        en: Basque
    - const: "NZS21310"
      title*: 
        en: Basque
    - const: "NZS219"
      title*: 
        en: Language Isolates not elsewhere classified
    - const: "NZS21999"
      title*: 
        en: Language Isolates not elsewhere classified
    - const: "NZS22"
      title*: 
        en: Miscellaneous Language Groupings
    - const: "NZS221"
      title*: 
        en: Papuan
    - const: "NZS22110"
      title*: 
        en: Papuan
    - const: "NZS222"
      title*: 
        en: Nilo-Saharan languages
    - const: "NZS22210"
      title*: 
        en: Nilo-Saharan
    - const: "NZS223"
      title*: 
        en: Miaow-Yao
    - const: "NZS22310"
      title*: 
        en: Miaow-Yao
    - const: "NZS224"
      title*: 
        en: Caucasian
    - const: "NZS22400"
      title*: 
        en: Caucasian not further defined
    - const: "NZS22410"
      title*: 
        en: Georgian
    - const: "NZS22499"
      title*: 
        en: Caucasian not elsewhere classified
    - const: "NZS225"
      title*: 
        en: Australian
    - const: "NZS22510"
      title*: 
        en: Australian
    - const: "NZS226"
      title*: 
        en: Amerind
    - const: "NZS22610"
      title*: 
        en: Amerind
    - const: "NZS229"
      title*: 
        en: Other Miscellaneous Languages
    - const: "NZS22910"
      title*: 
        en: Other Miscellaneous Languages
    - const: "NZS23"
      title*: 
        en: Artificial Languages
    - const: "NZS231"
      title*: 
        en: Artificial Languages
    - const: "NZS23100"
      title*: 
        en: Artificial Languages not further defined
    - const: "NZS23110"
      title*: 
        en: Esperanto
    - const: "NZS23199"
      title*: 
        en: Artificial Languages not elsewhere classified
    - const: "NZS24"
      title*: 
        en: Sign Language
    - const: "NZS241"
      title*: 
        en: Sign Language
    - const: "NZS24100"
      title*: 
        en: Sign Language not further defined
    - const: "NZS24110"
      title*: 
        en: New Zealand Sign Language
    - const: "NZS24111"
      title*: 
        en: Signed English
    - const: "NZS24112"
      title*: 
        en: American Sign Language
    - const: "NZS24113"
      title*: 
        en: Australian Sign Language
    - const: "NZS24114"
      title*: 
        en: British Sign Language
    - const: "NZS24199"
      title*: 
        en: Sign Language not elsewhere classified
    - const: "NZS44"
      title*: 
        en: Don't Know
    - const: "NZS55"
      title*: 
        en: Refused to Answer
    - const: "NZS66"
      title*: 
        en: None (eg too young to talk)
    - const: "NZS77"
      title*: 
        en: Response Unidentifiable
    - const: "NZS88"
      title*: 
        en: Response Outside Scope
    - const: "NZS99"
      title*: 
        en: Not Stated

  # /////////////////////////////////////////////////////////////
  NZCodeSetsEthnicity:
    type: string
    title: Ethnicity
    description: >-
      <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 Statistics NZ - Ethnicity New Zealand Standard Classification 2005 v2.0.0 Depending on usage, ethnicity may be defined at levels 1 to 4. </p>
      <ul>
        <li>'1' - European - Ūropi</li>
        <li>'10' - European nfd - Ūropi</li>
        <li>'100' - European nfd - Ūropi</li>
        <li>'10000' - European nfd - Ūropi</li>
        <li>'11' - New Zealand European - Pākehā</li>
        <li>'111' - New Zealand European - Pākehā</li>
        <li>'11111' - New Zealand European - Pākehā</li>
        <li>'12' - Other European</li>
        <li>'121' - British and Irish - Ingarangi me Airana</li>
        <li>'12100' - British nfd</li>
        <li>'12111' - Celtic nfd</li>
        <li>'12112' - Channel Islander</li>
      </ul>
      plus 303 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsEthnicityType">NZCodeSetsEthnicityType<a>
    oneOf:
    - const: "1"
      title*: 
        en: European
        mi: Ūropi
    - const: "10"
      title*: 
        en: European nfd
        mi: Ūropi
    - const: "100"
      title*: 
        en: European nfd
        mi: Ūropi
    - const: "10000"
      title*: 
        en: European nfd
        mi: Ūropi
    - const: "11"
      title*: 
        en: New Zealand European
        mi: Pākehā
    - const: "111"
      title*: 
        en: New Zealand European
        mi: Pākehā
    - const: "11111"
      title*: 
        en: New Zealand European
        mi: Pākehā
    - const: "12"
      title*: 
        en: Other European
    - const: "121"
      title*: 
        en: British and Irish
        mi: Ingarangi me Airana
    - const: "12100"
      title*: 
        en: British nfd
    - const: "12111"
      title*: 
        en: Celtic nfd
    - const: "12112"
      title*: 
        en: Channel Islander
    - const: "12113"
      title*: 
        en: Cornish
    - const: "12114"
      title*: 
        en: English
    - const: "12115"
      title*: 
        en: Gaelic
    - const: "12116"
      title*: 
        en: Irish
    - const: "12117"
      title*: 
        en: Manx
    - const: "12118"
      title*: 
        en: Orkney Islander
    - const: "12119"
      title*: 
        en: Scottish
    - const: "12120"
      title*: 
        en: Shetland Islander
    - const: "12121"
      title*: 
        en: Welsh
    - const: "12199"
      title*: 
        en: British nec
    - const: "122"
      title*: 
        en: Dutch
        mi: Tati
    - const: "12211"
      title*: 
        en: Dutch
        mi: Tati
    - const: "123"
      title*: 
        en: Greek
        mi: Kirihi
    - const: "12311"
      title*: 
        en: Greek
        mi: Kirihi
    - const: "124"
      title*: 
        en: Polish
        mi: Pōrihi
    - const: "12411"
      title*: 
        en: Polish
        mi: Pōrihi
    - const: "125"
      title*: 
        en: South Slav
        mi: South Slav
    - const: "12500"
      title*: 
        en: South Slav nfd
    - const: "12511"
      title*: 
        en: Croatian
    - const: "12512"
      title*: 
        en: Dalmatian
    - const: "12513"
      title*: 
        en: Macedonian
    - const: "12514"
      title*: 
        en: Serbian
    - const: "12515"
      title*: 
        en: Slovenian
    - const: "12516"
      title*: 
        en: Bosnian
    - const: "12599"
      title*: 
        en: South Slav nec
    - const: "126"
      title*: 
        en: Italian
        mi: Itāria
    - const: "12611"
      title*: 
        en: Italian
        mi: Itāria
    - const: "127"
      title*: 
        en: German
        mi: Tiamana
    - const: "12711"
      title*: 
        en: German
        mi: Tiamana
    - const: "128"
      title*: 
        en: Australian
    - const: "12811"
      title*: 
        en: Australian
    - const: "129"
      title*: 
        en: Other European
        mi: Tauiwi Kē
    - const: "12911"
      title*: 
        en: Albanian
    - const: "12912"
      title*: 
        en: Armenian
    - const: "12913"
      title*: 
        en: Austrian
    - const: "12914"
      title*: 
        en: Belgian
    - const: "12915"
      title*: 
        en: Bulgarian
    - const: "12916"
      title*: 
        en: Belorussian
    - const: "12917"
      title*: 
        en: Corsican
    - const: "12918"
      title*: 
        en: Cypriot nfd
    - const: "12919"
      title*: 
        en: Czech
    - const: "12920"
      title*: 
        en: Danish
    - const: "12921"
      title*: 
        en: Estonian
    - const: "12922"
      title*: 
        en: Finnish
    - const: "12923"
      title*: 
        en: Flemish
    - const: "12924"
      title*: 
        en: French
    - const: "12925"
      title*: 
        en: Greenlander
    - const: "12926"
      title*: 
        en: Hungarian
    - const: "12927"
      title*: 
        en: Icelandic
    - const: "12928"
      title*: 
        en: Latvian
    - const: "12929"
      title*: 
        en: Lithuanian
    - const: "12930"
      title*: 
        en: Maltese
    - const: "12931"
      title*: 
        en: Norwegian
    - const: "12932"
      title*: 
        en: Portuguese
    - const: "12933"
      title*: 
        en: Romanian
    - const: "12934"
      title*: 
        en: Gypsy
    - const: "12935"
      title*: 
        en: Russian
    - const: "12936"
      title*: 
        en: Sardinian
    - const: "12937"
      title*: 
        en: Slavic
    - const: "12938"
      title*: 
        en: Slovak
    - const: "12939"
      title*: 
        en: Spanish
    - const: "12940"
      title*: 
        en: Swedish
    - const: "12941"
      title*: 
        en: Swiss
    - const: "12942"
      title*: 
        en: Ukrainian
    - const: "12943"
      title*: 
        en: American
    - const: "12944"
      title*: 
        en: Burgher
    - const: "12945"
      title*: 
        en: Canadian
    - const: "12946"
      title*: 
        en: Falkland Islander
    - const: "12947"
      title*: 
        en: New Caledonian
    - const: "12948"
      title*: 
        en: South African nec
    - const: "12949"
      title*: 
        en: Afrikaner
    - const: "12950"
      title*: 
        en: Zimbabwean
    - const: "12999"
      title*: 
        en: European nec
    - const: "2"
      title*: 
        en: Māori
    - const: "21"
      title*: 
        en: Māori
        mi: Māori
    - const: "211"
      title*: 
        en: Māori
        mi: Māori
    - const: "21111"
      title*: 
        en: Māori
        mi: Māori
    - const: "3"
      title*: 
        en: Pacific Peoples
        mi: Ngā Iwi Pasifika
    - const: "30"
      title*: 
        en: Pacific Peoples nfd
        mi: Ngā Iwi Pasifika
    - const: "300"
      title*: 
        en: Pacific Peoples nfd
        mi: Ngā Iwi Pasifika
    - const: "30000"
      title*: 
        en: Pacific Peoples nfd
        mi: Ngā Iwi Pasifika
    - const: "31"
      title*: 
        en: Samoan
        mi: Hamoa
    - const: "311"
      title*: 
        en: Samoan
        mi: Hamoa
    - const: "31111"
      title*: 
        en: Samoan
        mi: Hamoa
    - const: "32"
      title*: 
        en: Cook Islands Maori
        mi: Kuki Airani
    - const: "321"
      title*: 
        en: Cook Islands Maori
        mi: Kuki Airani
    - const: "32100"
      title*: 
        en: Cook Islands Maori nfd
        mi: Kuki Airani
    - const: "32111"
      title*: 
        en: Aitutaki Islander
    - const: "32112"
      title*: 
        en: Atiu Islander
    - const: "32113"
      title*: 
        en: Mangaia Islander
    - const: "32114"
      title*: 
        en: Manihiki Islander
    - const: "32115"
      title*: 
        en: Mauke Islander
    - const: "32116"
      title*: 
        en: Mitiaro Islander
    - const: "32117"
      title*: 
        en: Palmerston Islander
    - const: "32118"
      title*: 
        en: Penrhyn Islander
    - const: "32119"
      title*: 
        en: Pukapuka Islander
    - const: "32120"
      title*: 
        en: Rakahanga Islander
    - const: "32121"
      title*: 
        en: Rarotongan
    - const: "33"
      title*: 
        en: Tongan
        mi: Tonga
    - const: "331"
      title*: 
        en: Tongan
        mi: Tonga
    - const: "33111"
      title*: 
        en: Tongan
        mi: Tonga
    - const: "34"
      title*: 
        en: Niuean
        mi: Niue
    - const: "341"
      title*: 
        en: Niuean
        mi: Niue
    - const: "34111"
      title*: 
        en: Niuean
        mi: Niue
    - const: "35"
      title*: 
        en: Tokelauan
        mi: Tokerau
    - const: "351"
      title*: 
        en: Tokelauan
        mi: Tokerau
    - const: "35111"
      title*: 
        en: Tokelauan
        mi: Tokerau
    - const: "36"
      title*: 
        en: Fijian
        mi: Whītiana
    - const: "361"
      title*: 
        en: Fijian
        mi: Whītiana
    - const: "36111"
      title*: 
        en: Fijian
        mi: Whītiana
    - const: "37"
      title*: 
        en: Other Pacific Peoples
        mi: Hunga Pasifika Kē
    - const: "371"
      title*: 
        en: Other Pacific Peoples
        mi: Hunga Pasifika Kē
    - const: "37111"
      title*: 
        en: Admiralty Islander
    - const: "37112"
      title*: 
        en: Australian Aboriginal
    - const: "37113"
      title*: 
        en: Austral Islander
    - const: "37114"
      title*: 
        en: Palau Islander
    - const: "37115"
      title*: 
        en: Bismark Archipelagoan
    - const: "37116"
      title*: 
        en: Bougainvillean
    - const: "37117"
      title*: 
        en: Caroline Islander
    - const: "37118"
      title*: 
        en: Easter Islander
    - const: "37119"
      title*: 
        en: Gambier Islander
    - const: "37120"
      title*: 
        en: Guadalcanalian
    - const: "37121"
      title*: 
        en: Chamorro
    - const: "37122"
      title*: 
        en: Hawaiian
    - const: "37123"
      title*: 
        en: Kanak
    - const: "37124"
      title*: 
        en: Kiribati
    - const: "37125"
      title*: 
        en: Malatian
    - const: "37126"
      title*: 
        en: Manus Islander
    - const: "37127"
      title*: 
        en: Marianas Islander
    - const: "37128"
      title*: 
        en: Marquesas Islander
    - const: "37129"
      title*: 
        en: Marshall Islander
    - const: "37130"
      title*: 
        en: Nauruan
    - const: "37131"
      title*: 
        en: New Britain Islander
    - const: "37132"
      title*: 
        en: New Georgian
    - const: "37133"
      title*: 
        en: New Irelander
    - const: "37134"
      title*: 
        en: Banaban
    - const: "37135"
      title*: 
        en: Papua New Guinean
    - const: "37136"
      title*: 
        en: Phoenix Islander
    - const: "37137"
      title*: 
        en: Pitcairn Islander
    - const: "37138"
      title*: 
        en: Rotuman
    - const: "37139"
      title*: 
        en: Santa Cruz Islander
    - const: "37140"
      title*: 
        en: Tahitian
    - const: "37141"
      title*: 
        en: Solomon Islander
    - const: "37142"
      title*: 
        en: Torres Strait Islander
    - const: "37143"
      title*: 
        en: Tuamotu Islander
    - const: "37144"
      title*: 
        en: Tuvaluan
    - const: "37145"
      title*: 
        en: Ni Vanuatu
    - const: "37146"
      title*: 
        en: Wake Islander
    - const: "37147"
      title*: 
        en: Wallis Islander
    - const: "37148"
      title*: 
        en: Yap Islander
    - const: "37199"
      title*: 
        en: Pacific Peoples nec
    - const: "4"
      title*: 
        en: Asian
        mi: Āhia
    - const: "40"
      title*: 
        en: Asian nfd
        mi: Āhia
    - const: "400"
      title*: 
        en: Asian nfd
        mi: Āhia
    - const: "40000"
      title*: 
        en: Asian nfd
        mi: Āhia
    - const: "41"
      title*: 
        en: South East Asian
        mi: Hunga Āhia ki te Tonga
    - const: "410"
      title*: 
        en: South East Asian nfd
        mi: Hunga Āhia ki te Tonga
    - const: "41000"
      title*: 
        en: South East Asian nfd
        mi: Hunga Āhia ki te Tonga
    - const: "411"
      title*: 
        en: Filipino
        mi: Piripīni
    - const: "41111"
      title*: 
        en: Filipino
        mi: Piripīni
    - const: "412"
      title*: 
        en: Cambodian
        mi: Kamapōtia
    - const: "41211"
      title*: 
        en: Cambodian
        mi: Kamapōtia
    - const: "413"
      title*: 
        en: Vietnamese
        mi: Whitināmu
    - const: "41311"
      title*: 
        en: Vietnamese
        mi: Whitināmu
    - const: "414"
      title*: 
        en: Other Southeast Asian
        mi: Hunga Āhia ki te Tonga Kē
    - const: "41411"
      title*: 
        en: Burmese
    - const: "41412"
      title*: 
        en: Indonesian
    - const: "41413"
      title*: 
        en: Laotian
    - const: "41414"
      title*: 
        en: Malay
    - const: "41415"
      title*: 
        en: Thai
    - const: "41499"
      title*: 
        en: Southeast Asian nec
    - const: "42"
      title*: 
        en: Chinese
        mi: Hainamana
    - const: "421"
      title*: 
        en: Chinese
        mi: Hainamana
    - const: "42100"
      title*: 
        en: Chinese nfd
        mi: Hainamana
    - const: "42111"
      title*: 
        en: Hong Kong Chinese
    - const: "42112"
      title*: 
        en: Cambodian Chinese
    - const: "42113"
      title*: 
        en: Malaysian Chinese
    - const: "42114"
      title*: 
        en: Singaporean Chinese
    - const: "42115"
      title*: 
        en: Vietnamese Chinese
    - const: "42116"
      title*: 
        en: Taiwanese
    - const: "42199"
      title*: 
        en: Chinese nec
    - const: "43"
      title*: 
        en: Indian
        mi: Iniana
    - const: "431"
      title*: 
        en: Indian
        mi: Iniana
    - const: "43100"
      title*: 
        en: Indian nfd
        mi: Iniana
    - const: "43111"
      title*: 
        en: Bengali
    - const: "43112"
      title*: 
        en: Fijian Indian
    - const: "43113"
      title*: 
        en: Gujarati
    - const: "43114"
      title*: 
        en: Indian Tamil
    - const: "43115"
      title*: 
        en: Punjabi
    - const: "43116"
      title*: 
        en: Sikh
    - const: "43117"
      title*: 
        en: Anglo Indian
    - const: "43199"
      title*: 
        en: Indian nec
    - const: "44"
      title*: 
        en: Other Asian
    - const: "441"
      title*: 
        en: Sri Lankan
        mi: Hiri Rānaka
    - const: "44100"
      title*: 
        en: Sri Lankan nfd
        mi: Hiri Rānaka
    - const: "44111"
      title*: 
        en: Sinhalese
    - const: "44112"
      title*: 
        en: Sri Lankan Tamil
    - const: "44199"
      title*: 
        en: Sri Lankan nec
    - const: "442"
      title*: 
        en: Japanese
        mi: Hapanihi
    - const: "44211"
      title*: 
        en: Japanese
        mi: Hapanihi
    - const: "443"
      title*: 
        en: Korean
        mi: Kōrea
    - const: "44311"
      title*: 
        en: Korean
        mi: Kōrea
    - const: "444"
      title*: 
        en: Other Asian
        mi: Iwi Āhia Kē
    - const: "44411"
      title*: 
        en: Afghani
    - const: "44412"
      title*: 
        en: Bangladeshi
    - const: "44413"
      title*: 
        en: Nepalese
    - const: "44414"
      title*: 
        en: Pakistani
    - const: "44415"
      title*: 
        en: Tibetan
    - const: "44416"
      title*: 
        en: Eurasian
    - const: "44499"
      title*: 
        en: Asian nec
    - const: "5"
      title*: 
        en: Middle Eastern/Latin American/African
    - const: "51"
      title*: 
        en: Middle Eastern
        mi: Middle Eastern
    - const: "511"
      title*: 
        en: Middle Eastern
        mi: Middle Eastern
    - const: "51100"
      title*: 
        en: Middle Eastern nfd
        mi: Middle Eastern
    - const: "51111"
      title*: 
        en: Algerian
    - const: "51112"
      title*: 
        en: Arab
    - const: "51113"
      title*: 
        en: Assyrian
    - const: "51114"
      title*: 
        en: Egyptian
    - const: "51115"
      title*: 
        en: Iranian/Persian
    - const: "51116"
      title*: 
        en: Iraqi
    - const: "51117"
      title*: 
        en: Israeli/Jewish
    - const: "51118"
      title*: 
        en: Jordanian
    - const: "51119"
      title*: 
        en: Kurd
    - const: "51120"
      title*: 
        en: Lebanese
    - const: "51121"
      title*: 
        en: Libyan
    - const: "51122"
      title*: 
        en: Moroccan
    - const: "51123"
      title*: 
        en: Omani
    - const: "51124"
      title*: 
        en: Palestinian
    - const: "51125"
      title*: 
        en: Syrian
    - const: "51126"
      title*: 
        en: Tunisian
    - const: "51127"
      title*: 
        en: Turkish
    - const: "51128"
      title*: 
        en: Yemeni
    - const: "51199"
      title*: 
        en: Middle Eastern nec
    - const: "52"
      title*: 
        en: Latin American
        mi: Rātini Amerikana
    - const: "521"
      title*: 
        en: Latin American
        mi: Rātini Amerikana
    - const: "52100"
      title*: 
        en: Latin American nfd
        mi: Rātini Amerikana
    - const: "52111"
      title*: 
        en: Argentinian
    - const: "52112"
      title*: 
        en: Bolivian
    - const: "52113"
      title*: 
        en: Brazilian
    - const: "52114"
      title*: 
        en: Chilean
    - const: "52115"
      title*: 
        en: Colombian
    - const: "52116"
      title*: 
        en: Costa Rican
    - const: "52117"
      title*: 
        en: Latin American Creole
    - const: "52118"
      title*: 
        en: Ecuadorian
    - const: "52119"
      title*: 
        en: Guatemalan
    - const: "52120"
      title*: 
        en: Guyanese
    - const: "52121"
      title*: 
        en: Honduran
    - const: "52122"
      title*: 
        en: Malvinian
    - const: "52123"
      title*: 
        en: Mexican
    - const: "52124"
      title*: 
        en: Nicaraguan
    - const: "52125"
      title*: 
        en: Panamanian
    - const: "52126"
      title*: 
        en: Paraguayan
    - const: "52127"
      title*: 
        en: Peruvian
    - const: "52128"
      title*: 
        en: Puerto Rican
    - const: "52129"
      title*: 
        en: Uruguayan
    - const: "52130"
      title*: 
        en: Venezuelan
    - const: "52199"
      title*: 
        en: Latin American nec
    - const: "53"
      title*: 
        en: African
        mi: Awherika
    - const: "531"
      title*: 
        en: African
        mi: Awherika
    - const: "53100"
      title*: 
        en: African nfd
        mi: Awherika
    - const: "53112"
      title*: 
        en: United States Creole
    - const: "53113"
      title*: 
        en: Jamaican
    - const: "53114"
      title*: 
        en: Kenyan
    - const: "53115"
      title*: 
        en: Nigerian
    - const: "53116"
      title*: 
        en: African American
    - const: "53117"
      title*: 
        en: Ugangan
    - const: "53118"
      title*: 
        en: West Indian
    - const: "53119"
      title*: 
        en: Somali
    - const: "53120"
      title*: 
        en: Eritrean
    - const: "53121"
      title*: 
        en: Ethiopian
    - const: "53122"
      title*: 
        en: Ghanaian
    - const: "53199"
      title*: 
        en: African nec
    - const: "6"
      title*: 
        en: Other Ethnicity
        mi: Iwi kē
    - const: "61"
      title*: 
        en: Other Ethnicity
        mi: Iwi kē
    - const: "611"
      title*: 
        en: Other Ethnicity
        mi: Iwi kē
    - const: "61111"
      title*: 
        en: Central American Indian
    - const: "61112"
      title*: 
        en: Inuit
    - const: "61113"
      title*: 
        en: North American Indian
    - const: "61114"
      title*: 
        en: South American Indian
    - const: "61115"
      title*: 
        en: Mauritian
    - const: "61116"
      title*: 
        en: Seychellois
    - const: "61117"
      title*: 
        en: South African Coloured
    - const: "61118"
      title*: 
        en: New Zealander
    - const: "61199"
      title*: 
        en: Other Ethnicity nec
    - const: "9"
      title*: 
        en: Residual Categories
    - const: "94"
      title*: 
        en: Don't Know
        mi: Kāre i mōhiotia
    - const: "944"
      title*: 
        en: Don't Know
        mi: Kāre i mōhiotia
    - const: "94444"
      title*: 
        en: Don't Know
        mi: Kāre i mōhiotia
    - const: "95"
      title*: 
        en: Refused to Answer
        mi: Kāre i whakautu
    - const: "955"
      title*: 
        en: Refused to Answer
        mi: Kāre i whakautu
    - const: "95555"
      title*: 
        en: Refused to Answer
        mi: Kāre i whakautu
    - const: "96"
      title*: 
        en: Repeated Value
        mi: Uara Tārua
    - const: "966"
      title*: 
        en: Repeated Value
        mi: Uara Tārua
    - const: "96666"
      title*: 
        en: Repeated Value
        mi: Uara Tārua
    - const: "97"
      title*: 
        en: Response Unidentifiable
        mi: Urupare tē mōhiotia
    - const: "977"
      title*: 
        en: Response Unidentifiable
        mi: Urupare tē mōhiotia
    - const: "97777"
      title*: 
        en: Response Unidentifiable
        mi: Urupare tē mōhiotia
    - const: "98"
      title*: 
        en: Response Outside Scope
        mi: Urupare i waho atu i te aronga
    - const: "988"
      title*: 
        en: Response Outside Scope
        mi: Urupare i waho atu i te aronga
    - const: "98888"
      title*: 
        en: Response Outside Scope
        mi: Urupare i waho atu i te aronga
    - const: "99"
      title*: 
        en: Not Stated
        mi: Kāre i tohua
    - const: "999"
      title*: 
        en: Not Stated
        mi: Kāre i tohua
    - const: "99999"
      title*: 
        en: Not Stated
        mi: Kāre i tohua

  # /////////////////////////////////////////////////////////////
  NZCodeSetsIwi:
    type: string
    title: Iwi
    description: >-
      <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 Statistics NZ - Iwi and Iwi related groups statistical standard v1.0.0.0</p>
      <ul>
        <li>'NZS01' - Te Tai Tokerau/Tāmaki-makaurau (Northland/Auckland) Region Iwi - Te Tai Tokerau/Tāmaki-makaurau</li>
        <li>'NZS0101' - Te Aupōuri - Te Aupōuri</li>
        <li>'NZS0102' - Ngāti Kahu - Ngāti Kahu</li>
        <li>'NZS0103' - Ngāti Kurī - Ngāti Kurī</li>
        <li>'NZS0104' - Ngāpuhi - Ngāpuhi</li>
        <li>'NZS0105' - Ngāpuhi ki Whaingaroa-Ngāti Kahu ki Whaingaroa - Ngāpuhi ki Whaingaroa-Ngāti Kahu ki Whaingaroa</li>
        <li>'NZS0106' - Te Rarawa - Te Rarawa</li>
        <li>'NZS0107' - Ngāi Takoto - Ngāi Takoto</li>
        <li>'NZS0108' - Ngāti Wai - Ngāti Wai</li>
        <li>'NZS0109' - Ngāti Whātua (not Ōrākei or Kaipara) - Ngāti Whātua (i tua atu i Ōrākei, i Kaipara hoki)</li>
        <li>'NZS0110' - Te Kawerau ā Maki - Te Kawerau ā Maki</li>
        <li>'NZS0111' - Te Uri-o-Hau - Te Uri-o-Hau</li>
      </ul>
      plus 188 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsIwiType">NZCodeSetsIwiType<a>
    oneOf:
    - const: "NZS01"
      title*: 
        en: Te Tai Tokerau/Tāmaki-makaurau (Northland/Auckland) Region Iwi
        mi: Te Tai Tokerau/Tāmaki-makaurau
    - const: "NZS0101"
      title*: 
        en: Te Aupōuri
        mi: Te Aupōuri
    - const: "NZS0102"
      title*: 
        en: Ngāti Kahu
        mi: Ngāti Kahu
    - const: "NZS0103"
      title*: 
        en: Ngāti Kurī
        mi: Ngāti Kurī
    - const: "NZS0104"
      title*: 
        en: Ngāpuhi
        mi: Ngāpuhi
    - const: "NZS0105"
      title*: 
        en: Ngāpuhi ki Whaingaroa-Ngāti Kahu ki Whaingaroa
        mi: Ngāpuhi ki Whaingaroa-Ngāti Kahu ki Whaingaroa
    - const: "NZS0106"
      title*: 
        en: Te Rarawa
        mi: Te Rarawa
    - const: "NZS0107"
      title*: 
        en: Ngāi Takoto
        mi: Ngāi Takoto
    - const: "NZS0108"
      title*: 
        en: Ngāti Wai
        mi: Ngāti Wai
    - const: "NZS0109"
      title*: 
        en: Ngāti Whātua (not Ōrākei or Kaipara)
        mi: Ngāti Whātua (i tua atu i Ōrākei, i Kaipara hoki)
    - const: "NZS0110"
      title*: 
        en: Te Kawerau ā Maki
        mi: Te Kawerau ā Maki
    - const: "NZS0111"
      title*: 
        en: Te Uri-o-Hau
        mi: Te Uri-o-Hau
    - const: "NZS0112"
      title*: 
        en: Te Roroa
        mi: Te Roroa
    - const: "NZS0113"
      title*: 
        en: Ngāti Whātua o Kaipara
        mi: Ngāti Whātua o Kaipara
    - const: "NZS0114"
      title*: 
        en: Ngāti Whātua o Ōrākei
        mi: Ngāti Whātua o Ōrākei
    - const: "NZS0115"
      title*: 
        en: Ngāi Tai ki Tāmaki
        mi: Ngāi Tai ki Tāmaki
    - const: "NZS0116"
      title*: 
        en: Ngāti Hine (Te Tai Tokerau)
        mi: Ngāti Hine (Te Tai Tokerau)
    - const: "NZS0117"
      title*: 
        en: Te Paatu
        mi: Te Paatu
    - const: "NZS0118"
      title*: 
        en: Ngāti Manuhiri
        mi: Ngāti Manuhiri
    - const: "NZS0119"
      title*: 
        en: Ngāti Rēhua
        mi: Ngāti Rēhua
    - const: "NZS02"
      title*: 
        en: Hauraki (Coromandel) Region Iwi
        mi: Hauraki Rohenga
    - const: "NZS0201"
      title*: 
        en: Ngāti Hako
        mi: Ngāti Hako
    - const: "NZS0202"
      title*: 
        en: Ngāti Hei
        mi: Ngāti Hei
    - const: "NZS0203"
      title*: 
        en: Ngāti Maru (Hauraki)
        mi: Ngāti Maru (Hauraki)
    - const: "NZS0204"
      title*: 
        en: Ngāti Paoa
        mi: Ngāti Paoa
    - const: "NZS0205"
      title*: 
        en: Patukirikiri
        mi: Patukirikiri
    - const: "NZS0206"
      title*: 
        en: Ngāti Porou ki Harataunga ki Mataora
        mi: Ngāti Porou ki Harataunga ki Mataora
    - const: "NZS0207"
      title*: 
        en: Ngāti Pūkenga ki Waiau
        mi: Ngāti Pūkenga ki Waiau
    - const: "NZS0208"
      title*: 
        en: Ngāti Rāhiri Tumutumu
        mi: Ngāti Rāhiri Tumutumu
    - const: "NZS0210"
      title*: 
        en: Ngāti Tamaterā
        mi: Ngāti Tamaterā
    - const: "NZS0211"
      title*: 
        en: Ngāti Tara Tokanui
        mi: Ngāti Tara Tokanui
    - const: "NZS0212"
      title*: 
        en: Ngāti Whanaunga
        mi: Ngāti Whanaunga
    - const: "NZS03"
      title*: 
        en: Waikato/Te Rohe Pōtae (Waikato/King Country) Region Iwi
        mi: Waikato/Te Rohe Pōtae
    - const: "NZS0301"
      title*: 
        en: Ngāti Haua (Waikato)
        mi: Ngāti Haua (Waikato)
    - const: "NZS0302"
      title*: 
        en: Ngāti Maniapoto
        mi: Ngāti Maniapoto
    - const: "NZS0303"
      title*: 
        en: Raukawa (Waikato)
        mi: Raukawa (Waikato)
    - const: "NZS0304"
      title*: 
        en: Waikato
        mi: Waikato
    - const: "NZS0305"
      title*: 
        en: Ngāti Te Ata
        mi: Ngāti Te Ata
    - const: "NZS0306"
      title*: 
        en: Ngāti Hīkairo
        mi: Ngāti Hīkairo
    - const: "NZS0307"
      title*: 
        en: Rereahu
        mi: Rereahu
    - const: "NZS0308"
      title*: 
        en: Ngāti Tiipa
        mi: Ngāti Tiipa
    - const: "NZS0309"
      title*: 
        en: Ngāti Korokī Kahukura
        mi: Ngāti Korokī Kahukura
    - const: "NZS0310"
      title*: 
        en: Ngāti Tamaoho
        mi: Ngāti Tamaoho
    - const: "NZS0311"
      title*: 
        en: Te Ākitai-Waiohua
        mi: Te Ākitai-Waiohua
    - const: "NZS04"
      title*: 
        en: Te Arawa/Taupō (Rotorua/Taupō) Region Iwi
        mi: Te Arawa/Taupō
    - const: "NZS0401"
      title*: 
        en: Ngāti Pikiao (Te Arawa)
        mi: Ngāti Pikiao (Te Arawa)
    - const: "NZS0402"
      title*: 
        en: Ngāti Rangiteaorere (Te Arawa)
        mi: Ngāti Rangiteaorere (Te Arawa)
    - const: "NZS0403"
      title*: 
        en: Ngāti Rangitihi (Te Arawa)
        mi: Ngāti Rangitihi (Te Arawa)
    - const: "NZS0404"
      title*: 
        en: Ngāti Rangiwewehi (Te Arawa)
        mi: Ngāti Rangiwewehi (Te Arawa)
    - const: "NZS0405"
      title*: 
        en: Tapuika (Te Arawa)
        mi: Tapuika (Te Arawa)
    - const: "NZS0406"
      title*: 
        en: Ngāti Tarāwhai (Te Arawa)
        mi: Ngāti Tarāwhai (Te Arawa)
    - const: "NZS0407"
      title*: 
        en: Tūhourangi (Te Arawa)
        mi: Tūhourangi (Te Arawa)
    - const: "NZS0408"
      title*: 
        en: Uenuku-Kōpako (Te Arawa)
        mi: Uenuku-Kōpako (Te Arawa)
    - const: "NZS0409"
      title*: 
        en: Waitaha (Te Arawa)
        mi: Waitaha (Te Arawa)
    - const: "NZS0410"
      title*: 
        en: Ngāti Whakaue (Te Arawa)
        mi: Ngāti Whakaue (Te Arawa)
    - const: "NZS0411"
      title*: 
        en: Ngāti Tūwharetoa (ki Taupō)
        mi: Ngāti Tūwharetoa (ki Taupō)
    - const: "NZS0412"
      title*: 
        en: Ngāti Tahu-Ngāti Whaoa (Te Arawa)
        mi: Ngāti Tahu-Ngāti Whaoa (Te Arawa)
    - const: "NZS0413"
      title*: 
        en: Ngāti Mākino
        mi: Ngāti Mākino
    - const: "NZS0414"
      title*: 
        en: Ngāti Kearoa / Ngāti Tuarā
        mi: Ngāti Kearoa / Ngāti Tuarā
    - const: "NZS0415"
      title*: 
        en: Ngāti Rongomai (Te Arawa)
        mi: Ngāti Rongomai (Te Arawa)
    - const: "NZS05"
      title*: 
        en: Tauranga Moana/Mātaatua (Bay of Plenty) Region Iwi
        mi: Tauranga Moana/Mātaatua
    - const: "NZS0501"
      title*: 
        en: Ngāti Pūkenga
        mi: Ngāti Pūkenga
    - const: "NZS0502"
      title*: 
        en: Ngāi Te Rangi
        mi: Ngāi Te Rangi
    - const: "NZS0503"
      title*: 
        en: Ngāti Ranginui
        mi: Ngāti Ranginui
    - const: "NZS0504"
      title*: 
        en: Ngāti Awa
        mi: Ngāti Awa
    - const: "NZS0505"
      title*: 
        en: Ngāti Manawa
        mi: Ngāti Manawa
    - const: "NZS0506"
      title*: 
        en: Ngāi Tai (Tauranga Moana/Mātaatua)
        mi: Ngāi Tai (Tauranga Moana/Mātaatua)
    - const: "NZS0507"
      title*: 
        en: Tūhoe
        mi: Tūhoe
    - const: "NZS0508"
      title*: 
        en: Whakatōhea
        mi: Whakatōhea
    - const: "NZS0509"
      title*: 
        en: Te Whānau-ā-Apanui
        mi: Te Whānau-ā-Apanui
    - const: "NZS0510"
      title*: 
        en: Ngāti Whare
        mi: Ngāti Whare
    - const: "NZS0511"
      title*: 
        en: Ngā Pōtiki ā Tamapahore
        mi: Ngā Pōtiki ā Tamapahore
    - const: "NZS0512"
      title*: 
        en: Te Upokorehe
        mi: Te Upokorehe
    - const: "NZS0513"
      title*: 
        en: Ngāti Tūwharetoa ki Kawerau
        mi: Ngāti Tūwharetoa ki Kawerau
    - const: "NZS06"
      title*: 
        en: Te Tai Rāwhiti (East Coast) Region Iwi
        mi: Te Tai Rāwhiti Rohenga
    - const: "NZS0601"
      title*: 
        en: Ngāti Porou
        mi: Ngāti Porou
    - const: "NZS0602"
      title*: 
        en: Te Aitanga-a-Māhaki
        mi: Te Aitanga-a-Māhaki
    - const: "NZS0603"
      title*: 
        en: Rongowhakaata
        mi: Rongowhakaata
    - const: "NZS0604"
      title*: 
        en: Ngāi Tāmanuhiri
        mi: Ngāi Tāmanuhiri
    - const: "NZS0605"
      title*: 
        en: Te Aitanga ā Hauiti
        mi: Te Aitanga ā Hauiti
    - const: "NZS07"
      title*: 
        en: Te Matau-a-Māui/Wairarapa (Hawke's Bay/Wairarapa) Region Iwi
        mi: Te Matau-a-Māui/Wairarapa
    - const: "NZS0701"
      title*: 
        en: Rongomaiwahine (Te Māhia)
        mi: Rongomaiwahine (Te Māhia)
    - const: "NZS0702"
      title*: 
        en: Ngāti Kahungunu ki Te Wairoa
        mi: Ngāti Kahungunu ki Te Wairoa
    - const: "NZS0703"
      title*: 
        en: Ngāti Kahungunu ki Heretaunga
        mi: Ngāti Kahungunu ki Heretaunga
    - const: "NZS0704"
      title*: 
        en: Ngāti Kahungunu ki Wairarapa
        mi: Ngāti Kahungunu ki Wairarapa
    - const: "NZS0706"
      title*: 
        en: Rangitāne (Te Matau-a-Māui/Hawke's Bay/Wairarapa)
        mi: Rangitāne (Te Matau-a-Māui/Wairarapa)
    - const: "NZS0707"
      title*: 
        en: Ngāti Kahungunu ki Te Whanganui-a-Orotu
        mi: Ngāti Kahungunu ki Te Whanganui-a-Orotu
    - const: "NZS0708"
      title*: 
        en: Ngāti Kahungunu ki Tamatea
        mi: Ngāti Kahungunu ki Tamatea
    - const: "NZS0709"
      title*: 
        en: Ngāti Kahungunu ki Tamakinui a Rua
        mi: Ngāti Kahungunu ki Tamakinui a Rua
    - const: "NZS0710"
      title*: 
        en: Ngāti Pāhauwera
        mi: Ngāti Pāhauwera
    - const: "NZS0711"
      title*: 
        en: Ngāti Rākaipaaka
        mi: Ngāti Rākaipaaka
    - const: "NZS0712"
      title*: 
        en: Ngāti Hineuru
        mi: Ngāti Hineuru
    - const: "NZS0713"
      title*: 
        en: Maungaharuru Tangitū
        mi: Maungaharuru Tangitū
    - const: "NZS0714"
      title*: 
        en: Rangitāne o Tamaki nui ā Rua
        mi: Rangitāne o Tamaki nui ā Rua
    - const: "NZS0715"
      title*: 
        en: Ngāti Ruapani ki Waikaremoana
        mi: Ngāti Ruapani ki Waikaremoana
    - const: "NZS0716"
      title*: 
        en: Te Hika o Pāpāuma
        mi: Te Hika o Pāpāuma
    - const: "NZS08"
      title*: 
        en: Taranaki Region Iwi
        mi: Taranaki
    - const: "NZS0801"
      title*: 
        en: Te Atiawa (Taranaki)
        mi: Te Atiawa (Taranaki)
    - const: "NZS0802"
      title*: 
        en: Ngāti Maru (Taranaki)
        mi: Ngāti Maru (Taranaki)
    - const: "NZS0803"
      title*: 
        en: Ngāti Mutunga (Taranaki)
        mi: Ngāti Mutunga (Taranaki)
    - const: "NZS0804"
      title*: 
        en: Ngā Rauru
        mi: Ngā Rauru
    - const: "NZS0805"
      title*: 
        en: Ngā Ruahine
        mi: Ngā Ruahine
    - const: "NZS0806"
      title*: 
        en: Ngāti Ruanui
        mi: Ngāti Ruanui
    - const: "NZS0807"
      title*: 
        en: Ngāti Tama (Taranaki)
        mi: Ngāti Tama (Taranaki)
    - const: "NZS0808"
      title*: 
        en: Taranaki
        mi: Taranaki
    - const: "NZS0809"
      title*: 
        en: Tangāhoe
        mi: Tangāhoe
    - const: "NZS0810"
      title*: 
        en: Pakakohi
        mi: Pakakohi
    - const: "NZS09"
      title*: 
        en: Whanganui/Rangitīkei (Wanganui/Rangitīkei) Region Iwi
        mi: Whanganui/Rangitīkei
    - const: "NZS0901"
      title*: 
        en: Ngāti Apa (Rangitīkei)
        mi: Ngāti Apa (Rangitīkei)
    - const: "NZS0902"
      title*: 
        en: Te Ati Haunui-a-Pāpārangi
        mi: Te Ati Haunui-a-Pāpārangi
    - const: "NZS0903"
      title*: 
        en: Ngāti Haua (Taumarunui)
        mi: Ngāti Haua (Taumarunui)
    - const: "NZS0904"
      title*: 
        en: Ngāti Hauiti (Rangitīkei)
        mi: Ngāti Hauiti (Rangitīkei)
    - const: "NZS0905"
      title*: 
        en: Ngāti Whitikaupeka (Rangitīkei)
        mi: Ngāti Whitikaupeka (Rangitīkei)
    - const: "NZS0906"
      title*: 
        en: Ngāi Te Ohuake (Rangitīkei)
        mi: Ngāi Te Ohuake (Rangitīkei)
    - const: "NZS0907"
      title*: 
        en: Ngāti Tamakōpiri (Rangitīkei)
        mi: Ngāti Tamakōpiri (Rangitīkei)
    - const: "NZS0908"
      title*: 
        en: Ngāti Rangi (Ruapehu, Whanganui)
        mi: Ngāti Rangi (Ruapehu, Whanganui)
    - const: "NZS0909"
      title*: 
        en: Uenuku (Ruapehu, Waimarino)
        mi: Uenuku (Ruapehu, Waimarino)
    - const: "NZS0910"
      title*: 
        en: Tamahaki (Ruapehu, Waimarino)
        mi: Tamahaki (Ruapehu, Waimarino)
    - const: "NZS0911"
      title*: 
        en: Tamakana (Ruapehu, Waimarino)
        mi: Tamakana (Ruapehu, Waimarino)
    - const: "NZS10"
      title*: 
        en: Manawatū/Horowhenua/Te Whanganui-a-Tara (Manawatū/Horowhenua/Wellington) Region Iwi
        mi: Manawatū/Horowhenua/Te Whanganui-a-Tara
    - const: "NZS1001"
      title*: 
        en: Te Atiawa (Te Whanganui-a-Tara/Wellington)
        mi: Te Atiawa (Te Whanganui-a-Tara)
    - const: "NZS1002"
      title*: 
        en: Muaūpoko
        mi: Muaūpoko
    - const: "NZS1003"
      title*: 
        en: Rangitāne (Manawatū)
        mi: Rangitāne (Manawatū)
    - const: "NZS1004"
      title*: 
        en: Ngāti Raukawa (Horowhenua/Manawatū)
        mi: Ngāti Raukawa (Horowhenua/Manawatū)
    - const: "NZS1005"
      title*: 
        en: Ngāti Toarangatira (Te Whanganui-a-Tara/Wellington)
        mi: Ngāti Toarangatira (Te Whanganui-a-Tara)
    - const: "NZS1006"
      title*: 
        en: Te Atiawa ki Whakarongotai
        mi: Te Atiawa ki Whakarongotai
    - const: "NZS1007"
      title*: 
        en: Ngāti Tama ki Te Upoko o Te Ika (Te Whanganui-a-Tara/Wellington)
        mi: Ngāti Tama ki Te Ūpoko o Te Ika (Te Whanganui-a-Tara)
    - const: "NZS1008"
      title*: 
        en: Ngāti Kauwhata
        mi: Ngāti Kauwhata
    - const: "NZS1009"
      title*: 
        en: Ngāti Tukorehe
        mi: Ngāti Tukorehe
    - const: "NZS11"
      title*: 
        en: Te Waipounamu/Wharekauri (South Island/Chatham Islands) Region Iwi
        mi: Te Waipounamu/Wharekauri
    - const: "NZS1101"
      title*: 
        en: Te Atiawa (Te Waipounamu/South Island)
        mi: Te Atiawa (Te Waipounamu)
    - const: "NZS1102"
      title*: 
        en: Ngāti Koata
        mi: Ngāti Koata
    - const: "NZS1103"
      title*: 
        en: Ngāti Kuia
        mi: Ngāti Kuia
    - const: "NZS1104"
      title*: 
        en: Kāti Māmoe
        mi: Kāti Māmoe
    - const: "NZS1105"
      title*: 
        en: Moriori
        mi: Moriori
    - const: "NZS1106"
      title*: 
        en: Ngāti Mutunga (Wharekauri/Chatham Islands)
        mi: Ngāti Mutunga (Wharekauri)
    - const: "NZS1107"
      title*: 
        en: Rangitāne (Te Waipounamu/South Island)
        mi: Rangitāne (Te Waipounamu)
    - const: "NZS1108"
      title*: 
        en: Ngāti Rārua
        mi: Ngāti Rārua
    - const: "NZS1109"
      title*: 
        en: Ngāi Tahu / Kāi Tahu
        mi: Ngāi Tahu / Kāi Tahu
    - const: "NZS1110"
      title*: 
        en: Ngāti Tama (Te Waipounamu/South Island)
        mi: Ngāti Tama (Te Waipounamu)
    - const: "NZS1111"
      title*: 
        en: Ngāti Toarangatira (Te Waipounamu/South Island)
        mi: Ngāti Toarangatira (Te Waipounamu)
    - const: "NZS1112"
      title*: 
        en: Waitaha (Te Waipounamu/South Island)
        mi: Waitaha (Te Waipounamu)
    - const: "NZS1113"
      title*: 
        en: Ngāti Apa ki Te Rā Tō
        mi: Ngāti Apa ki Te Rā Tō
    - const: "NZS20"
      title*: 
        en: Confederations and Waka, iwi not named
        mi: Ngā Whakaminenga me nga Waka, kāre i kīia te iwi
    - const: "NZS2001"
      title*: 
        en: Tainui, iwi not named
        mi: Tainui, kāre i kīia te iwi
    - const: "NZS2002"
      title*: 
        en: Te Arawa, iwi not named
        mi: Te Arawa, kāre i kīia te iwi
    - const: "NZS2003"
      title*: 
        en: Tākitimu, iwi not named
        mi: Tākitimu, kāre i kīia te iwi
    - const: "NZS2004"
      title*: 
        en: Aotea, iwi not named
        mi: Aotea, kāre i kīia te iwi
    - const: "NZS2005"
      title*: 
        en: Mātaatua, iwi not named
        mi: Mātaatua, kāre i kīia te iwi
    - const: "NZS2006"
      title*: 
        en: Mahuru, iwi not named
        mi: Mahuru, kāre i kīia te iwi
    - const: "NZS2007"
      title*: 
        en: Māmari, iwi not named
        mi: Māmari, kāre i kīia te iwi
    - const: "NZS2008"
      title*: 
        en: Ngātokimatawhaorua, iwi not named
        mi: Ngātokimatawhaorua, kāre i kīia te iwi
    - const: "NZS2009"
      title*: 
        en: Nukutere, iwi not named
        mi: Nukutere, kāre i kīia te iwi
    - const: "NZS2010"
      title*: 
        en: Tokomaru, iwi not named
        mi: Tokomaru, kāre i kīia te iwi
    - const: "NZS2011"
      title*: 
        en: Kurahaupō, iwi not named
        mi: Kurahaupō, kāre i kīia te iwi
    - const: "NZS2012"
      title*: 
        en: Muriwhenua, iwi not named
        mi: Muriwhenua, kāre i kīia te iwi
    - const: "NZS2013"
      title*: 
        en: Hauraki / Pare Hauraki, iwi not named
        mi: Hauraki / Pare Hauraki, kāre i kīia te iwi
    - const: "NZS2014"
      title*: 
        en: Tūranganui a Kiwa, iwi not named
        mi: Tūranganui a Kiwa, kāre i kīia te iwi
    - const: "NZS2015"
      title*: 
        en: Te Tauihu o Te Waka a Māui, iwi not named
        mi: Te Tauihu o Te Waka a Māui, kāre i kīia te iwi
    - const: "NZS2016"
      title*: 
        en: Tauranga Moana, iwi not named
        mi: Tauranga Moana, kāre i kīia te iwi
    - const: "NZS2017"
      title*: 
        en: Horouta, iwi not named
        mi: Horouta, kāre i kīia te iwi
    - const: "NZS2018"
      title*: 
        en: Mōkai Pātea, iwi not named
        mi: Mōkai Pātea, kāre i kīia te iwi
    - const: "NZS21"
      title*: 
        en: Iwi named, region not known
        mi: Ko te iwi noa iho
    - const: "NZS2101"
      title*: 
        en: Te Atiawa, region not known
        mi: Te Atiawa, kāre i mōhiotia te rohe
    - const: "NZS2102"
      title*: 
        en: Ngāti Haua, region not known
        mi: Ngāti Hauā, kāre i mōhiotia te rohe
    - const: "NZS2103"
      title*: 
        en: Ngāti Maru, region not known
        mi: Ngāti Maru, kāre i mōhiotia te rohe
    - const: "NZS2104"
      title*: 
        en: Ngāti Mutunga, region not known
        mi: Ngāti Mutunga, kāre i mōhiotia te rohe
    - const: "NZS2105"
      title*: 
        en: Rangitāne, region not known
        mi: Rangitāne, kāre i mōhiotia te rohe
    - const: "NZS2106"
      title*: 
        en: Ngāti Raukawa, region not known
        mi: Ngāti Raukawa, kāre i mōhiotia te rohe
    - const: "NZS2107"
      title*: 
        en: Ngāti Tama, region not known
        mi: Ngāti Tama, kāre i mōhiotia te rohe
    - const: "NZS2108"
      title*: 
        en: Ngāti Toa, region not known
        mi: Ngāti Toa, kāre i mōhiotia te rohe
    - const: "NZS2109"
      title*: 
        en: Waitaha, region not known
        mi: Waitaha, kāre i mōhiotia te rohe
    - const: "NZS2110"
      title*: 
        en: Ngāti Apa, region not known
        mi: Ngāti Apa, kāre i mōhiotia te rohe
    - const: "NZS2111"
      title*: 
        en: Ngāi Tai, region not known
        mi: Ngāi Tai, kāre i mōhiotia te rohe
    - const: "NZS2112"
      title*: 
        en: Ngāti Kahungunu, region not known
        mi: Ngāti Kahungunu, kāre i mōhiotia te rohe
    - const: "NZS2113"
      title*: 
        en: Ngāti Tūwharetoa, region not known
        mi: Ngāti Tūwharetoa, kāre i mōhiotia te rohe
    - const: "NZS22"
      title*: 
        en: Hapū affiliated to more than one iwi
        mi: Hapū he pānga ki iwi kē
    - const: "NZS2201"
      title*: 
        en: Hapū affiliated to more than one iwi
        mi: Hapū he pānga ki iwi kē
    - const: "NZS23"
      title*: 
        en: Region known, Iwi not named
        mi: Mōhiotia te rohe, kāre te iwi
    - const: "NZS2301"
      title*: 
        en: Te Tai Tokerau/Tāmaki-makaurau Region, Iwi not named
        mi: Te Tai Tokerau/Tāmaki-makaurau, kāre i kīia te iwi
    - const: "NZS2302"
      title*: 
        en: Hauraki Region, Iwi not named
        mi: Hauraki, kāre i kīia te iwi
    - const: "NZS2303"
      title*: 
        en: Waikato/Te Rohe Pōtae Region, Iwi not named
        mi: Waikato/Te Rohe Pōtae, kāre i kīia te iwi
    - const: "NZS2304"
      title*: 
        en: Te Arawa/Taupō Region, Iwi not named
        mi: Te Arawa/Taupō, kāre i kīia te iwi
    - const: "NZS2305"
      title*: 
        en: Tauranga Moana/Mātaatua Region, Iwi not named
        mi: Tauranga Moana/Mātaatua, kāre i kīia te iwi
    - const: "NZS2306"
      title*: 
        en: Te Tai Rāwhiti Region, Iwi not named
        mi: Te Tai Rāwhiti, kāre i kīia te iwi
    - const: "NZS2307"
      title*: 
        en: Te Matau-a-Māui/Wairarapa Region, Iwi not named
        mi: Te Matau-a-Māui/Wairarapa, kāre i kīia te iwi
    - const: "NZS2308"
      title*: 
        en: Taranaki Region, Iwi not named
        mi: Taranaki, kāre i kīia te iwi
    - const: "NZS2309"
      title*: 
        en: Whanganui/Rangitīkei Region, Iwi not named
        mi: Whanganui/Rangitīkei, kāre i kīia te iwi
    - const: "NZS2310"
      title*: 
        en: Manawatū/Horowhenua/Te Whanganui-a-Tara Region, Iwi not named
        mi: Manawatū/Horowhenua/Te Whanganui-a-Tara, kāre i kīia te iwi
    - const: "NZS2311"
      title*: 
        en: Te Waipounamu/Wharekauri Region, Iwi not named
        mi: Te Waipounamu/Wharekauri, kāre i kīia te iwi
    - const: "NZS44"
      title*: 
        en: Don't Know
        mi: Kāre i te mōhio
    - const: "NZS4444"
      title*: 
        en: Don't Know
        mi: Kāre i te mōhio
    - const: "NZS55"
      title*: 
        en: Refused To Answer
        mi: Kāre i whakautu
    - const: "NZS5555"
      title*: 
        en: Refused To Answer
        mi: Kāre i whakautu
    - const: "NZS77"
      title*: 
        en: Response Unidentifiable
        mi: Kāre i arohia te whakautu
    - const: "NZS7777"
      title*: 
        en: Response Unidentifiable
        mi: Kāre i arohia te whakautu
    - const: "NZS88"
      title*: 
        en: Response Outside Scope
        mi: Kāre te whakautu e hāngai
    - const: "NZS8888"
      title*: 
        en: Response Outside Scope
        mi: Kāre te whakautu e hāngai
    - const: "NZS99"
      title*: 
        en: Not Stated
        mi: Kāre i kīia
    - const: "NZS9999"
      title*: 
        en: Not Stated
        mi: Kāre i kīia

  # /////////////////////////////////////////////////////////////
  NZCodeSetsReligion:
    type: string
    title: Religion
    description: >-
      <p>Religious affiliation is the self-identified association of a person with a religion, denomination or sub-denominational religious group.</p> <p>Sourced from Statistics NZ - Religious Affiliation 1999 v1.0.0.0</p>
      <ul>
        <li>'NZS0' - No Religion</li>
        <li>'NZS1' - Buddhist</li>
        <li>'NZS101' - Buddhist</li>
        <li>'NZS10101' - Zen Buddhist</li>
        <li>'NZS10199' - Buddhist nec</li>
        <li>'NZS2' - Christian</li>
        <li>'NZS201' - Adventist</li>
        <li>'NZS20101' - Christadelphian</li>
        <li>'NZS20102' - Seventh Day Adventist</li>
        <li>'NZS20103' - Worldwide Church of God</li>
        <li>'NZS20199' - Adventist nec</li>
        <li>'NZS202' - Anglican</li>
      </ul>
      plus 117 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsReligionType">NZCodeSetsReligionType<a>
    oneOf:
    - const: "NZS0"
      title: No Religion
    - const: "NZS1"
      title: Buddhist
    - const: "NZS101"
      title: Buddhist
    - const: "NZS10101"
      title: Zen Buddhist
    - const: "NZS10199"
      title: Buddhist nec
    - const: "NZS2"
      title: Christian
    - const: "NZS201"
      title: Adventist
    - const: "NZS20101"
      title: Christadelphian
    - const: "NZS20102"
      title: Seventh Day Adventist
    - const: "NZS20103"
      title: Worldwide Church of God
    - const: "NZS20199"
      title: Adventist nec
    - const: "NZS202"
      title: Anglican
    - const: "NZS203"
      title: Asian Christian
    - const: "NZS20301"
      title: Chinese Christian
    - const: "NZS20302"
      title: Korean Christian
    - const: "NZS204"
      title: Baptist
    - const: "NZS20401"
      title: Bible Baptist
    - const: "NZS20402"
      title: Independent Baptist
    - const: "NZS20403"
      title: Reformed Baptist
    - const: "NZS20499"
      title: Baptist nec
    - const: "NZS205"
      title: Brethren
    - const: "NZS20501"
      title: Exclusive Brethren
    - const: "NZS20502"
      title: Open Brethren
    - const: "NZS20503"
      title: Plymouth Brethren
    - const: "NZS20599"
      title: Brethren nec
    - const: "NZS206"
      title: Catholic
    - const: "NZS20601"
      title: Roman Catholic
    - const: "NZS20699"
      title: Catholic nec
    - const: "NZS207"
      title: Church of Christ and Associated Churches of Christ
    - const: "NZS20701"
      title: Associated Churches of Christ
    - const: "NZS20799"
      title: Other Church of Christ and Churches of Christ nec
    - const: "NZS208"
      title: Evangelical, Born Again and Fundamentalist
    - const: "NZS20801"
      title: Evangelical
    - const: "NZS20802"
      title: Born Again
    - const: "NZS20803"
      title: Fundamentalist
    - const: "NZS20804"
      title: Independent Evangelical Churches
    - const: "NZS209"
      title: Jehovah's Witnesses
    - const: "NZS20901"
      title: Jehovah's Witnesses
    - const: "NZS210"
      title: Latter-day Saints
    - const: "NZS211"
      title: Lutheran
    - const: "NZS212"
      title: Methodist
    - const: "NZS21201"
      title: Tongan Methodist
    - const: "NZS21299"
      title: Methodist nec
    - const: "NZS213"
      title: Orthodox
    - const: "NZS21301"
      title: Assyrian Orthodox
    - const: "NZS21302"
      title: Coptic Orthodox
    - const: "NZS21303"
      title: Greek Orthodox
    - const: "NZS21304"
      title: Russian Orthodox
    - const: "NZS21305"
      title: Serbian Orthodox
    - const: "NZS21399"
      title: Orthodox nec
    - const: "NZS214"
      title: Pentecostal
    - const: "NZS21401"
      title: Apostolic Church of New Zealand
    - const: "NZS21402"
      title: Assemblies of God
    - const: "NZS21403"
      title: Christian Fellowship
    - const: "NZS21404"
      title: Christian Outreach
    - const: "NZS21405"
      title: Christian Revival Crusade
    - const: "NZS21406"
      title: Elim
    - const: "NZS21407"
      title: Full Gospel
    - const: "NZS21408"
      title: Independent Pentecostal
    - const: "NZS21409"
      title: New Life Centres
    - const: "NZS21410"
      title: Revival Centres
    - const: "NZS21411"
      title: United Pentecostal
    - const: "NZS21412"
      title: Vineyard Christian Fellowship
    - const: "NZS21499"
      title: Pentecostal nec
    - const: "NZS215"
      title: Presbyterian, Congregational and Reformed
    - const: "NZS21501"
      title: Presbyterian
    - const: "NZS21502"
      title: Congregational
    - const: "NZS21503"
      title: Cook Island Congregational
    - const: "NZS21504"
      title: Samoan Congregational
    - const: "NZS21505"
      title: Reformed
    - const: "NZS216"
      title: Protestant
    - const: "NZS217"
      title: Salvation Army
    - const: "NZS218"
      title: Uniting/Union Church and Ecumenical
    - const: "NZS21801"
      title: Uniting/Union Church
    - const: "NZS21802"
      title: Ecumenical
    - const: "NZS299"
      title: Other Christian
    - const: "NZS29901"
      title: Christian and Missionary Alliance
    - const: "NZS29902"
      title: Christian Science
    - const: "NZS29903"
      title: Church of God
    - const: "NZS29904"
      title: Commonwealth Covenant Church
    - const: "NZS29905"
      title: Liberal Catholic
    - const: "NZS29906"
      title: Metropolitan
    - const: "NZS29907"
      title: Nazarene
    - const: "NZS29908"
      title: Religious Society of Friends (Quaker)
    - const: "NZS29909"
      title: Unitarian
    - const: "NZS3"
      title: Hindu
    - const: "NZS30101"
      title: Hare Krishna
    - const: "NZS30102"
      title: Yoga
    - const: "NZS4"
      title: Islam/Muslim
    - const: "NZS40101"
      title: Sufi
    - const: "NZS5"
      title: Judaism/Jewish
    - const: "NZS6"
      title: Māori Christian
    - const: "NZS601"
      title: Ratana
    - const: "NZS602"
      title: Ringatū
    - const: "NZS609"
      title: Other Māori Christian
    - const: "NZS7"
      title: Spiritualism and New Age Religions
    - const: "NZS701"
      title: Church of Scientology
    - const: "NZS702"
      title: Nature and Earth Based Religions
    - const: "NZS70201"
      title: Animist
    - const: "NZS70202"
      title: Druid
    - const: "NZS70203"
      title: Pantheist
    - const: "NZS70204"
      title: Wiccan
    - const: "NZS703"
      title: Satanism
    - const: "NZS704"
      title: Spiritualist
    - const: "NZS709"
      title: Other New Age Religions
    - const: "NZS70901"
      title: Rastafarianism
    - const: "NZS8"
      title: Other Religions
    - const: "NZS801"
      title: Baha'i
    - const: "NZS802"
      title: Chinese Religions
    - const: "NZS80201"
      title: Confucianism
    - const: "NZS80202"
      title: Taoism
    - const: "NZS803"
      title: Jainism
    - const: "NZS804"
      title: Japanese Religion
    - const: "NZS80401"
      title: Mahikari
    - const: "NZS80402"
      title: Shinto
    - const: "NZS80403"
      title: Tenrikyo
    - const: "NZS805"
      title: Māori Religion
    - const: "NZS80501"
      title: Hauhau
    - const: "NZS806"
      title: Sikh
    - const: "NZS807"
      title: Theism
    - const: "NZS808"
      title: Zoroastrian
    - const: "NZS809"
      title: Other Religions
    - const: "NZS80901"
      title: Unification Church (Moonist)
    - const: "NZS80999"
      title: Other Religions nec
    - const: "NZS944"
      title: Don't Know
    - const: "NZS955"
      title: Object to answering
    - const: "NZS977"
      title: Religion Unidentifiable
    - const: "NZS988"
      title: Response Outside Scope
    - const: "NZS999"
      title: Not Stated

  # /////////////////////////////////////////////////////////////
  NZCodeSetsHealthcareServiceType:
    type: string
    title: Healthcare Service Type
    description: >-
      <p>Code denoting the type of healthcare service provided by a StudentContact.</p>
      <ul>
        <li>'DOC' - Doctor</li>
        <li>'DEN' - Dentist</li>
        <li>'THE' - Therapist</li>
        <li>'OTH' - Other</li>
      </ul>
    oneOf:
    - const: "DOC"
      title: Doctor
    - const: "DEN"
      title: Dentist
    - const: "THE"
      title: Therapist
    - const: "OTH"
      title: Other

  # /////////////////////////////////////////////////////////////
  NZCodeSetsLanguageProficiencyType:
    type: string
    title: Language Proficiency Type
    description: >-
      <p>Code set denoting a type of language proficiency, e.g. speaking, writing reading.</p>
      <ul>
        <li>'SP' - Speaking</li>
        <li>'RE' - Reading</li>
        <li>'WR' - Writing</li>
      </ul>
    oneOf:
    - const: "SP"
      title: Speaking
    - const: "RE"
      title: Reading
    - const: "WR"
      title: Writing

  # /////////////////////////////////////////////////////////////
  NZCodeSetsLanguageProficiencyLevel:
    type: string
    title: Language Proficiency Level
    description: >-
      <p>The language proficiency level.</p>
      <ul>
        <li>'NO' - None</li>
        <li>'BE' - Beginner</li>
        <li>'IN' - Intermediate</li>
        <li>'AD' - Advanced</li>
      </ul>
    oneOf:
    - const: "NO"
      title: None
    - const: "BE"
      title: Beginner
    - const: "IN"
      title: Intermediate
    - const: "AD"
      title: Advanced

  # /////////////////////////////////////////////////////////////
  NZCodeSetsDocumentType:
    type: string
    title: Document Type
    description: >-
      <p>Standard codes denoting the type of Document.</p>
      <ul>
        <li>'IBP' - Individualised Behavioural Plan - Mahere Whanonga mā te Ākonga</li>
        <li>'IEP' - Individualised Education Plan - Mahere Mātauranga mā te Ākonga</li>
        <li>'MED' - Medical - Toha rongoā</li>
        <li>'ATT' - Attendance - Te Tae ki te Kura</li>
        <li>'BEH' - Behavioural - Whanonga</li>
        <li>'ACA' - Academic - Mātauranga</li>
        <li>'LEG' - Legal - Ture</li>
        <li>'OTH' - Other - Mea kē</li>
        <li>'PHO' - Photo - Whakaahua</li>
        <li>'MEA' - Media (e.g. video) - Pāpāho (h.t. whitiata)</li>
        <li>'DOC' - Document - Tuhinga</li>
        <li>'NOT' - Note - Pito kōrero</li>
      </ul>
      plus 6 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsDocumentTypeType">NZCodeSetsDocumentTypeType<a>
    oneOf:
    - const: "IBP"
      title*: 
        en: Individualised Behavioural Plan
        mi: Mahere Whanonga mā te Ākonga
    - const: "IEP"
      title*: 
        en: Individualised Education Plan
        mi: Mahere Mātauranga mā te Ākonga
    - const: "MED"
      title*: 
        en: Medical
        mi: Toha rongoā
    - const: "ATT"
      title*: 
        en: Attendance
        mi: Te Tae ki te Kura
    - const: "BEH"
      title*: 
        en: Behavioural
        mi: Whanonga
    - const: "ACA"
      title*: 
        en: Academic
        mi: Mātauranga
    - const: "LEG"
      title*: 
        en: Legal
        mi: Ture
    - const: "OTH"
      title*: 
        en: Other
        mi: Mea kē
    - const: "PHO"
      title*: 
        en: Photo
        mi: Whakaahua
    - const: "MEA"
      title*: 
        en: Media (e.g. video)
        mi: Pāpāho (h.t. whitiata)
    - const: "DOC"
      title*: 
        en: Document
        mi: Tuhinga
    - const: "NOT"
      title*: 
        en: Note
        mi: Pito kōrero
    - const: "LSN"
      title*: 
        en: Learning Support Need - Supporting Document
        mi: Me whai tautoko akoranga
    - const: "PPH"
      title*: 
        en: Person Photo
        mi: Whakaahua
    - const: "NRA"
      title*: 
        en: Learning Support Need Response Attachment
        mi: Matea Ako - Tāpiringa Urupare
    - const: "NRC"
      title*: 
        en: Learning Support Need Response Closure Attachment
        mi: Matea Ako Urupare Whakakapi
    - const: "NRR"
      title*: 
        en: Learning Support Need Response Review Attachment
        mi: Matea Ako Urupare Arotake
    - const: "ODA"
      title*: 
        en: Official Diagnosis Attachment
        mi: Whakataunga Matua

  # /////////////////////////////////////////////////////////////
  NZCodeSetsDocumentClassification:
    type: string
    title: Document Classification
    description: >-
      <p>Standard codes denoting the classification of the Document.</p>
      <ul>
        <li>'IC' - In-Confidence - Noho muna</li>
        <li>'SE' - Sensitive - Āritarita</li>
        <li>'UC' - Unclassified - Kāre anō kia kōmakatia</li>
      </ul>
    oneOf:
    - const: "IC"
      title*: 
        en: In-Confidence
        mi: Noho muna
    - const: "SE"
      title*: 
        en: Sensitive
        mi: Āritarita
    - const: "UC"
      title*: 
        en: Unclassified
        mi: Kāre anō kia kōmakatia

  # /////////////////////////////////////////////////////////////
  NZCodeSetsDocumentRole:
    type: string
    title: Document Role
    description: >-
      <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>
      <ul>
        <li>'OW' - Owner</li>
        <li>'AU' - Author</li>
        <li>'RE' - Reviewer</li>
        <li>'SU' - Subject Of</li>
        <li>'AD' - Added By</li>
      </ul>
    oneOf:
    - const: "OW"
      title: Owner
    - const: "AU"
      title: Author
    - const: "RE"
      title: Reviewer
    - const: "SU"
      title: Subject Of
    - const: "AD"
      title: Added By

  # /////////////////////////////////////////////////////////////
  NZCodeSetsSchoolManagementSystem:
    type: string
    title: School Management System
    description: >-
      <p>A code list denoting the School Management Systems (SMS) that are in use by Providers.</p>
      <ul>
        <li>'ASS' - Assembly</li>
        <li>'ETA' - eTAP</li>
        <li>'INT' - INTEGRATOR</li>
        <li>'KAM' - KAMAR</li>
        <li>'LIN' - LINC-ED</li>
        <li>'MUS' - MUSAC edge</li>
        <li>'PCS' - PCSchool</li>
        <li>'SYN' - Synergetic</li>
      </ul>
    oneOf:
    - const: "ASS"
      title: Assembly
    - const: "ETA"
      title: eTAP
    - const: "INT"
      title: INTEGRATOR
    - const: "KAM"
      title: KAMAR
    - const: "LIN"
      title: LINC-ED
    - const: "MUS"
      title: MUSAC edge
    - const: "PCS"
      title: PCSchool
    - const: "SYN"
      title: Synergetic

  # /////////////////////////////////////////////////////////////
  NZCodeSetsBiographicChangeReason:
    type: string
    title: Biographic Change Reason
    description: >-
      <p>Code set denoting the reasons for which a persons biographical data may have changed.</p>
      <ul>
        <li>'CF' - Changed by family (PA request) - He Panoni Nā te Whānau</li>
        <li>'EI' - Entered incorrectly - I hē te whakauru</li>
        <li>'ON' - Official name change - Kua mana te panoni ingoa</li>
      </ul>
    oneOf:
    - const: "CF"
      title*: 
        en: Changed by family (PA request)
        mi: He Panoni Nā te Whānau
    - const: "EI"
      title*: 
        en: Entered incorrectly
        mi: I hē te whakauru
    - const: "ON"
      title*: 
        en: Official name change
        mi: Kua mana te panoni ingoa

  # /////////////////////////////////////////////////////////////
  NZCodeSetsAddressType:
    type: string
    title: Address Type
    description: >-
      <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>
      <ul>
        <li>'TH' - Thoroughfare</li>
        <li>'RU' - Rural Post Delivery</li>
        <li>'DE' - Delivery Service</li>
        <li>'WA' - Water</li>
        <li>'FO' - Foreign Address</li>
      </ul>
    oneOf:
    - const: "TH"
      title: Thoroughfare
      description: >-
        "<p>Also called 'Street' addresses, The most general, and widely used type of address, and can contain the widest variety of components</p> <p>In general a thoroughfare address will include components for a number, a roadname, and a locality.</p> <p>They cannot contain any of the components specific to a delivery service, rural post delivery, or water address.</p> <p>These addresses are used to find a location.</p> <p>Example: 30 - 40 Lambton Quay, Wellington, 6165</p>"
    - const: "RU"
      title: Rural Post Delivery
      description: >-
        "<p>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>They will have the same number and roadname components as the street address, and may have the same region component.</p> <p>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> <em>Example:</em> 121 Waitaha Road, RD 1, Ross, 7885</p>"
    - const: "DE"
      title: Delivery Service
      description: >-
        "<p>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> <em>Example:</em> Private Bag 2345, Auckland, 1142</p>"
    - const: "WA"
      title: Water
      description: >-
        "<p>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> <em>Example:</em> 235 Lochmara Bay, Queen Charlotte Sound, Marlborough Sounds</p>"
    - const: "FO"
      title: Foreign Address
      description: >-
        "<p>A foreign address identifies a location outside of New Zealand.</p> <p> <em>Example:</em> Rudolf-Diesel-Strasse 14, 54595 Prüm, Germany</p>"

  # /////////////////////////////////////////////////////////////
  NZCodeSetsAddressRole:
    type: string
    title: Address Role
    description: >-
      <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>
      <ul>
        <li>'PHY' - Physical Address</li>
        <li>'POS' - Postal Address</li>
      </ul>
    oneOf:
    - const: "PHY"
      title: Physical Address
      description: >-
        Applies to addresses associated with persons
    - const: "POS"
      title: Postal Address
      description: >-
        Applies to addresses associated with persons or organisations

  # /////////////////////////////////////////////////////////////
  NZCodeSetsSpatialUnitType:
    type: string
    title: Spatial Unit Type
    description: >-
      <p>A classification of geographical boundaries or statistical areas as defined by Statistics NZ’s geographic hierarchy.</p>
      <ul>
        <li>'AE' - Area Unit</li>
        <li>'GE' - General Electoral District</li>
        <li>'CB' - Community Board</li>
        <li>'ME' - Māori Electoral District</li>
        <li>'MB' - Mesh Block</li>
        <li>'RC' - Regional Council</li>
        <li>'TA' - Territorial Authority</li>
        <li>'UA' - Urban Area</li>
        <li>'WA' - Ward</li>
      </ul>
    oneOf:
    - const: "AE"
      title: Area Unit
      description: >-
        <p> 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> Statistics NZ Classification of Area Unit 2013 v1.0.0
    - const: "GE"
      title: General Electoral District
      description: >-
        <p>The general electoral districts as constituted under the Electoral Act 1993.</p> Statistics NZ General Electoral District 2014 v1.0.0
    - const: "CB"
      title: Community Board
      description: >-
        <p>(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> Statistics NZ Community Board 2013 v1.0.0
    - const: "ME"
      title: Māori Electoral District
      description: >-
        <p>Māori electoral districts are the voting districts for parliamentary elections for people who choose to be on the Māori Electoral Roll.</p> Statistics NZ Māori Electoral District 2014 v1.0.0
    - const: "MB"
      title: Mesh Block
      description: >-
        <p>A meshblock is the smallest geographic unit for which statistical data is collected and processed by Statistics New Zealand.</p> <p>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> Statistics NZ Statistical Standard for Meshblock 2013 v1.0.0
    - const: "RC"
      title: Regional Council
      description: >-
        <p>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> Statistics NZ Regional Council 2013 v1.0.0
    - const: "TA"
      title: Territorial Authority
      description: >-
        <p>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> Statistics NZ Territorial Authority 2013 v1.0.0
    - const: "UA"
      title: Urban Area
      description: >-
        "<p>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> Statistics NZ Urban Area 2013 v2.0.0"
    - const: "WA"
      title: Ward
      description: >-
        <p>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> Statistics NZ Ward 2013 v1.0.0

  # /////////////////////////////////////////////////////////////
  NZCodeSetsOperationalStatus:
    type: string
    title: Operational Status
    description: >-
      <p>Indicates the operational status of an organisation.</p>
      <ul>
        <li>'C' - Closed</li>
        <li>'O' - Open</li>
        <li>'P' - Proposed</li>
        <li>'28000' - Proposed</li>
        <li>'28001' - Open</li>
        <li>'28002' - Closed</li>
        <li>'28003' - Active</li>
        <li>'28004' - Inactive</li>
        <li>'28005' - Dissolved while Commissioner in place</li>
        <li>'28006' - Operating with Limited Statutory Manager</li>
        <li>'28007' - Merging Board</li>
        <li>'28008' - Not Applicable</li>
      </ul>
      plus 3 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsOperationalStatusType">NZCodeSetsOperationalStatusType<a>
    oneOf:
    - const: "C"
      title: Closed
      x-endDate: 2020-05-08
    - const: "O"
      title: Open
      x-endDate: 2020-05-08
    - const: "P"
      title: Proposed
      description: >-
        SIF AU uses the term ‘Pending’
      x-endDate: 2020-05-08
    - const: "28000"
      title: Proposed
    - const: "28001"
      title: Open
    - const: "28002"
      title: Closed
    - const: "28003"
      title: Active
    - const: "28004"
      title: Inactive
    - const: "28005"
      title: Dissolved while Commissioner in place
    - const: "28006"
      title: Operating with Limited Statutory Manager
    - const: "28007"
      title: Merging Board
    - const: "28008"
      title: Not Applicable
    - const: "28009"
      title: Approved
    - const: "28010"
      title: Formed
    - const: "28011"
      title: Disestablished

  # /////////////////////////////////////////////////////////////
  NZCodeSetsOperationalStatusReason:
    type: string
    title: Operational Status Reason
    description: >-
      <p>Code set denoting the reasons the operational status of an organisation may change.</p>
      <ul>
        <li>'30000' - Merger</li>
        <li>'30001' - Change of Type</li>
        <li>'30002' - Declining Roll</li>
        <li>'30003' - Financial Reasons</li>
        <li>'30004' - Loss of Tenancy</li>
        <li>'30005' - Moved Premises</li>
        <li>'30006' - Never Opened</li>
        <li>'30007' - Licence Suspended</li>
        <li>'30008' - Ministry Withdrawal of Licence Due to Non-compliance</li>
        <li>'30009' - Owner Retired / Disestablished</li>
        <li>'30010' - Temporarily Closed</li>
        <li>'30011' - Merger of State Schools - Forced by Minister</li>
      </ul>
      plus 13 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsOperationalStatusReasonType">NZCodeSetsOperationalStatusReasonType<a>
    oneOf:
    - const: "30000"
      title: Merger
    - const: "30001"
      title: Change of Type
    - const: "30002"
      title: Declining Roll
    - const: "30003"
      title: Financial Reasons
    - const: "30004"
      title: Loss of Tenancy
    - const: "30005"
      title: Moved Premises
    - const: "30006"
      title: Never Opened
    - const: "30007"
      title: Licence Suspended
    - const: "30008"
      title: Ministry Withdrawal of Licence Due to Non-compliance
    - const: "30009"
      title: Owner Retired / Disestablished
    - const: "30010"
      title: Temporarily Closed
    - const: "30011"
      title: Merger of State Schools - Forced by Minister
    - const: "30012"
      title: Changed Type or Number, or Became a Composite School
    - const: "30013"
      title: Closure of State School - Forced by Minister
    - const: "30014"
      title: Closure of State School - Voluntary
    - const: "30015"
      title: Closure - Voluntary of State or Private School
    - const: "30016"
      title: Cancellation of Integration Agreement
    - const: "30017"
      title: Re-numbered Continuing School in Merger
    - const: "30019"
      title: Dis-establishment
    - const: "30020"
      title: Loss of Registration
    - const: "30021"
      title: Network Review
    - const: "30022"
      title: Tertiary Education Provider that is taken over in a merger
    - const: "30024"
      title: Not Applicable
    - const: "30025"
      title: Changed to Standalone
    - const: "30026"
      title: Changed from Standalone

  # /////////////////////////////////////////////////////////////
  NZCodeSetsSchoolCoEdStatus:
    type: string
    title: School Co-Ed Status
    description: >-
      <p>A summary description of the gender of students that a school accepts, indicating the type of school from a gender perspective.</p>
      <ul>
        <li>'COED' - Co-Educational</li>
        <li>'GIRL' - Girls School</li>
        <li>'BOYS' - Boys School</li>
        <li>'PRCO' - Primary Co-Ed, Secondary Girls</li>
        <li>'JUBO' - Junior Boys, Senior Co-Ed</li>
      </ul>
    oneOf:
    - const: "COED"
      title: Co-Educational
    - const: "GIRL"
      title: Girls School
    - const: "BOYS"
      title: Boys School
    - const: "PRCO"
      title: Primary Co-Ed, Secondary Girls
    - const: "JUBO"
      title: Junior Boys, Senior Co-Ed

  # /////////////////////////////////////////////////////////////
  NZCodeSetsEducationRegion:
    type: string
    title: Education Region
    description: >-
      Regions of New Zealand defined by Ministry of Education for administrative purposes.
      <ul>
        <li>'TAIT' - Tai Tokerau - Tai Tokerau</li>
        <li>'AUCK' - Auckland - Tāmaki Makaurau</li>
        <li>'WAIK' - Waikato - Waikato</li>
        <li>'BOPW' - Bay of Plenty, Waiariki - Te Moana a Toitehuatahi, Waiariki</li>
        <li>'HAWK' - Hawke's Bay, Tairāwhiti - Te Matau a Māui, Tairāwhiti</li>
        <li>'TARA' - Taranaki, Whanganui, Manawatū - Taranaki, Whanganui, Manawatū</li>
        <li>'WELL' - Wellington - Te Whanganui a Tara</li>
        <li>'NELS' - Nelson, Marlborough, West Coast - Whakatū, Te Tau Ihu o te Waka-a-Māui, Te Tai Poutini</li>
        <li>'CANT' - Canterbury, Chatham Islands - Waitaha, Wharekauri</li>
        <li>'OTAG' - Otago, Southland - Otākou, Murihiku</li>
        <li>'12000' - Missing</li>
        <li>'12005' - Correspondence</li>
      </ul>
      plus 11 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsEducationRegionType">NZCodeSetsEducationRegionType<a>
    oneOf:
    - const: "TAIT"
      title*: 
        en: Tai Tokerau
        mi: Tai Tokerau
      x-endDate: 2020-05-18
    - const: "AUCK"
      title*: 
        en: Auckland
        mi: Tāmaki Makaurau
      x-endDate: 2020-05-18
    - const: "WAIK"
      title*: 
        en: Waikato
        mi: Waikato
      x-endDate: 2020-05-18
    - const: "BOPW"
      title*: 
        en: Bay of Plenty, Waiariki
        mi: Te Moana a Toitehuatahi, Waiariki
      x-endDate: 2020-05-18
    - const: "HAWK"
      title*: 
        en: Hawke's Bay, Tairāwhiti
        mi: Te Matau a Māui, Tairāwhiti
      x-endDate: 2020-05-18
    - const: "TARA"
      title*: 
        en: Taranaki, Whanganui, Manawatū
        mi: Taranaki, Whanganui, Manawatū
      x-endDate: 2020-05-18
    - const: "WELL"
      title*: 
        en: Wellington
        mi: Te Whanganui a Tara
      x-endDate: 2020-05-18
    - const: "NELS"
      title*: 
        en: Nelson, Marlborough, West Coast
        mi: Whakatū, Te Tau Ihu o te Waka-a-Māui, Te Tai Poutini
      x-endDate: 2020-05-18
    - const: "CANT"
      title*: 
        en: Canterbury, Chatham Islands
        mi: Waitaha, Wharekauri
      x-endDate: 2020-05-18
    - const: "OTAG"
      title*: 
        en: Otago, Southland
        mi: Otākou, Murihiku
      x-endDate: 2020-05-18
    - const: "12000"
      title*: 
        en: Missing
    - const: "12005"
      title*: 
        en: Correspondence
    - const: "12006"
      title*: 
        en: Not Applicable
    - const: "12007"
      title*: 
        en: Tai Tokerau
        mi: Tai Tokerau
    - const: "12008"
      title*: 
        en: Auckland
        mi: Tāmaki Makaurau
    - const: "12009"
      title*: 
        en: Waikato
        mi: Waikato
    - const: "12010"
      title*: 
        en: Bay of Plenty/Waiariki
        mi: Te Moana a Toitehuatahi/Waiariki
    - const: "12011"
      title*: 
        en: Taranaki/Whanganui/Manawatū
        mi: Taranaki/Whanganui/Manawatū
    - const: "12012"
      title*: 
        en: Hawke's Bay/Tairāwhiti
        mi: Te Matau a Māui/Tairāwhiti
    - const: "12013"
      title*: 
        en: Wellington
        mi: Te Whanganui a Tara
    - const: "12014"
      title*: 
        en: Nelson/Marlborough/West Coast
        mi: Whakatū/Te Tau Ihu o te Waka-a-Māui/Te Tai Poutini
    - const: "12015"
      title*: 
        en: Canterbury/Chatham Islands
        mi: Waitaha/Wharekauri
    - const: "12016"
      title*: 
        en: Otago/Southland
        mi: Otākou/Murihiku

  # /////////////////////////////////////////////////////////////
  NZCodeSetsSpecialEducationDistrict:
    type: string
    title: Special Education District
    description: >-
      Special Education district a provider may belong to
      <ul>
        <li>'182000' - Tai Tokerau - Tai Tokerau</li>
        <li>'182001' - North West</li>
        <li>'182002' - Manukau</li>
        <li>'182003' - Auckland - Tāmaki Makaurau</li>
        <li>'182004' - Waikato - Waikato</li>
        <li>'182005' - Bay of Plenty West</li>
        <li>'182006' - Bay of Plenty, Waiariki - Te Moana a Toitehuatahi, Waiariki</li>
        <li>'182007' - Gisborne</li>
        <li>'182008' - Hawke's Bay, Tairāwhiti - Te Matau a Māui, Tairāwhiti</li>
        <li>'182009' - Taranaki - Taranaki</li>
        <li>'182010' - Taranaki, Whanganui, Manawatū - Taranaki, Whanganui, Manawatū</li>
        <li>'182011' - Wellington - Te Whanganui a Tara</li>
      </ul>
      plus 4 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsSpecialEducationDistrictType">NZCodeSetsSpecialEducationDistrictType<a>
    oneOf:
    - const: "182000"
      title*: 
        en: Tai Tokerau
        mi: Tai Tokerau
    - const: "182001"
      title*: 
        en: North West
      x-endDate: 2020-05-08
    - const: "182002"
      title*: 
        en: Manukau
      x-endDate: 2020-05-08
    - const: "182003"
      title*: 
        en: Auckland
        mi: Tāmaki Makaurau
    - const: "182004"
      title*: 
        en: Waikato
        mi: Waikato
    - const: "182005"
      title*: 
        en: Bay of Plenty West
      x-endDate: 2020-05-08
    - const: "182006"
      title*: 
        en: Bay of Plenty, Waiariki
        mi: Te Moana a Toitehuatahi, Waiariki
    - const: "182007"
      title*: 
        en: Gisborne
      x-endDate: 2020-05-08
    - const: "182008"
      title*: 
        en: Hawke's Bay, Tairāwhiti
        mi: Te Matau a Māui, Tairāwhiti
    - const: "182009"
      title*: 
        en: Taranaki
        mi: Taranaki
      x-endDate: 2020-05-08
    - const: "182010"
      title*: 
        en: Taranaki, Whanganui, Manawatū
        mi: Taranaki, Whanganui, Manawatū
    - const: "182011"
      title*: 
        en: Wellington
        mi: Te Whanganui a Tara
    - const: "182012"
      title*: 
        en: Nelson, Marlborough, West Coast
        mi: Whakatū, Te Tau Ihu o te Waka-a-Māui, Te Tai Poutini
    - const: "182013"
      title*: 
        en: Canterbury, Chatham Islands
        mi: Waitaha, Wharekauri
    - const: "182014"
      title*: 
        en: Otago, Southland
        mi: Otākou, Murihiku
    - const: "182015"
      title*: 
        en: Southland
      x-endDate: 2020-05-08

  # /////////////////////////////////////////////////////////////
  NZCodeSetsOrganisationType:
    type: string
    title: Organisation Type
    description: >-
      Describes the organisation type of the provider, indicating the services provided, function or purpose of the organisation.
      <ul>
        <li>'35000' - Early Childhood Education (ECE) - Kura Kōhungahunga</li>
        <li>'10052' - Kindergarten Association</li>
        <li>'10053' - Playcentre Association</li>
        <li>'10054' - Commercial ECE Service Provider</li>
        <li>'10055' - Other ECE Service Provider</li>
        <li>'1' - Casual-Education and Care</li>
        <li>'2' - Free Kindergarten</li>
        <li>'3' - Hospital Based ECE</li>
        <li>'4' - Playcentre</li>
        <li>'6' - Education and Care Service</li>
        <li>'7' - Homebased Network</li>
        <li>'8' - Licence Exempt Kohanga Reo</li>
      </ul>
      plus 79 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsOrganisationTypeType">NZCodeSetsOrganisationTypeType<a>
    oneOf:
    - const: "35000"
      title*: 
        en: Early Childhood Education (ECE)
        mi: Kura Kōhungahunga
      x-endDate: 2020-05-08
    - const: "10052"
      title*: 
        en: Kindergarten Association
    - const: "10053"
      title*: 
        en: Playcentre Association
    - const: "10054"
      title*: 
        en: Commercial ECE Service Provider
    - const: "10055"
      title*: 
        en: Other ECE Service Provider
    - const: "1"
      title*: 
        en: Casual-Education and Care
    - const: "2"
      title*: 
        en: Free Kindergarten
    - const: "3"
      title*: 
        en: Hospital Based ECE
    - const: "4"
      title*: 
        en: Playcentre
    - const: "6"
      title*: 
        en: Education and Care Service
    - const: "7"
      title*: 
        en: Homebased Network
    - const: "8"
      title*: 
        en: Licence Exempt Kohanga Reo
    - const: "9"
      title*: 
        en: Te Kohanga Reo
        mi: Te Kohanga Reo
    - const: "10000"
      title*: 
        en: Casual-Education and Care
    - const: "10001"
      title*: 
        en: Free Kindergarten
    - const: "10002"
      title*: 
        en: Playcentre
    - const: "10003"
      title*: 
        en: Education and Care Service
    - const: "10004"
      title*: 
        en: Homebased Network
    - const: "10005"
      title*: 
        en: Te Kōhanga Reo
        mi: Te Kōhanga Reo
    - const: "10007"
      title*: 
        en: Licence Exempt Kōhanga Reo
      x-endDate: 2020-05-08
    - const: "10008"
      title*: 
        en: Hospital Based
    - const: "10009"
      title*: 
        en: Playgroup
    - const: "35003"
      title*: 
        en: School
        mi: Kura
      x-endDate: 2020-05-08
    - const: "10056"
      title*: 
        en: Board of Trustees
    - const: "10057"
      title*: 
        en: Private School Provider
    - const: "20"
      title*: 
        en: Full Primary (Year 1-8)
        mi: Kura Tuatahi (Tau 1 – 8)
    - const: "21"
      title*: 
        en: Contributing Primary (Year 1-6)
        mi: Kura Tuatahi (Tau 1 – 6)
    - const: "22"
      title*: 
        en: Intermediate School (Year 7-8)
        mi: Kura Takawaenga (Tau 7 me te 8)
    - const: "23"
      title*: 
        en: Special School
        mi: Kura Motuhake
    - const: "30"
      title*: 
        en: Secondary School (Year 7-15)
        mi: Kura Tuarua (Tau 7 – 15)
    - const: "32"
      title*: 
        en: Composite School (Year 1-15)
        mi: Kura Hiato (Tau 1 – 15)
    - const: "34"
      title*: 
        en: The Correspondence School
        mi: Te Kura
    - const: "35"
      title*: 
        en: Restricted Composite School (Year 7-10)
        mi: Kura Hiato (Tau 7 – 10)
    - const: "40"
      title*: 
        en: Secondary School (Year 9-15)
        mi: Kura Tuarua (Tau 9 – 15)
    - const: "41"
      title*: 
        en: Teen Parent Unit (Year 9-15)
        mi: Ranga Mātātahi (Tau 9 – 15)
    - const: "43"
      title*: 
        en: Activity Centre
        mi: Pokapū Mahi
    - const: "10023"
      title*: 
        en: Full Primary (Year 1-8)
        mi: Kura Tuatahi (Tau 1-8)
    - const: "10024"
      title*: 
        en: Contributing Primary (Year 1-6)
        mi: Kura Tuatahi (Tau 1-6)
    - const: "10025"
      title*: 
        en: Intermediate School (Year 7-8)
        mi: Kura Takawaenga (Tau 7 me te 8)
    - const: "10026"
      title*: 
        en: Special School
        mi: Kura Motuhake
    - const: "10027"
      title*: 
        en: Centre for Extra Support
    - const: "10028"
      title*: 
        en: Correspondance Unit
    - const: "10029"
      title*: 
        en: Secondary School (Year 7-15)
        mi: Kura Tuarua (Tau 7-15)
    - const: "10030"
      title*: 
        en: Composite School (Year 1-15)
        mi: Kura Hiato (Tau 1-15)
    - const: "10031"
      title*: 
        en: The Correspondence School
        mi: Te Kura
    - const: "10032"
      title*: 
        en: Restricted Composite School (Year 7-10)
        mi: Kura Hiato (Tau 7-10)
    - const: "10033"
      title*: 
        en: Secondary School (Year 9-15)
        mi: Kura Tuarua (Tau 9-15)
    - const: "10034"
      title*: 
        en: Teen Parent Unit (Year 9-15)
        mi: Ranga Mātātahi (Tau 9-15)
    - const: "10036"
      title*: 
        en: Activity Centre
        mi: Pokapū Mahi
    - const: "35002"
      title*: 
        en: Tertiary
        mi: Kura Wānanga
      x-endDate: 2020-05-08
    - const: "10010"
      title*: 
        en: Private Training Establishment
    - const: "10011"
      title*: 
        en: Government Training Establishment
    - const: "10012"
      title*: 
        en: Polytechnic
    - const: "10013"
      title*: 
        en: College of Education
    - const: "10014"
      title*: 
        en: University
    - const: "10015"
      title*: 
        en: Wānanga
    - const: "10016"
      title*: 
        en: Other Tertiary Education Provider
    - const: "10017"
      title*: 
        en: Industry Training Organisation
    - const: "10018"
      title*: 
        en: Other Certifying Authorities
    - const: "10019"
      title*: 
        en: OTEP Resource Centre
    - const: "10020"
      title*: 
        en: OTEP RS24
    - const: "10021"
      title*: 
        en: Government Agency
    - const: "10022"
      title*: 
        en: Peak Body
    - const: "10035"
      title*: 
        en: Alternative Education Provider
    - const: "10037"
      title*: 
        en: Kura Teina - Primary
    - const: "10038"
      title*: 
        en: Side-school
    - const: "10039"
      title*: 
        en: Special Unit
    - const: "10040"
      title*: 
        en: Kura Teina - Composite
    - const: "10041"
      title*: 
        en: Land Site
    - const: "10042"
      title*: 
        en: Manual Training Centre (Stand Alone)
    - const: "10043"
      title*: 
        en: Community Education/Resource/Youth Learning Centre
    - const: "10044"
      title*: 
        en: Rural Education Activities Programme (REAP)
    - const: "10045"
      title*: 
        en: Special Education Service Centre
    - const: "10047"
      title*: 
        en: Examination Centre
    - const: "10048"
      title*: 
        en: School Cluster for NZQA
    - const: "10049"
      title*: 
        en: School Camp
    - const: "10050"
      title*: 
        en: Subsidiary Provider
    - const: "10051"
      title*: 
        en: Miscellaneous
    - const: "10058"
      title*: 
        en: Campus
    - const: "10060"
      title*: 
        en: Special Unit Funded
    - const: "10062"
      title*: 
        en: Attachment to Kura Kaupapa Māori
    - const: "10063"
      title*: 
        en: Secondary (Year 9-10 Att.Int.)
    - const: "999"
      title*: 
        en: Ministry of Education Local Office
        mi: 
      x-endDate: 2020-03-24
    - const: "35007"
      title*: 
        en: Ministry of Education Local Office
        mi: 
      x-startDate: 2020-03-25
      x-endDate: 2020-05-08
    - const: "10059"
      title*: 
        en: Local Office
    - const: "998"
      title*: 
        en: Community of Learning | Kāhui Ako
        mi: Kāhui Ako
      x-endDate: 2020-03-24
    - const: "35008"
      title*: 
        en: Community of Learning | Kāhui Ako
        mi: Kāhui Ako
      x-startDate: 2020-03-25
      x-endDate: 2020-05-08
    - const: "10061"
      title*: 
        en: Community of Learning | Kāhui Ako
        mi: Kāhui Ako
    - const: "10065"
      title*: 
        en: Learning Support Cluster
        mi: Kāhui Akoranga Tautoko
    - const: "996"
      title*: 
        en: Learning Support Cluster
        mi: Kāhui Akoranga Tautoko
    - const: "10064"
      title*: 
        en: RTLB Cluster

  # /////////////////////////////////////////////////////////////
  NZCodeSetsOrganisationSectorRole:
    type: string
    title: Organisation Sector Role
    description: >-
      <p>Describes the roles for organisations within the education sector, e.g. School Sector Institution, Learnign Support Cluster, etc.</p>
      <ul>
        <li>'35000' - Licenced ECE Service</li>
        <li>'35001' - Playgroup</li>
        <li>'35002' - Tertiary Sector Institution</li>
        <li>'35003' - School Sector Institution</li>
        <li>'35004' - Other Organisation Type</li>
        <li>'35005' - ECE Service Provider</li>
        <li>'35006' - Board of Trustees</li>
        <li>'35007' - Local Office</li>
        <li>'35008' - Community of Schools</li>
        <li>'35009' - Learning Support Cluster</li>
      </ul>
    oneOf:
    - const: "35000"
      title*: 
        en: Licenced ECE Service
    - const: "35001"
      title*: 
        en: Playgroup
    - const: "35002"
      title*: 
        en: Tertiary Sector Institution
    - const: "35003"
      title*: 
        en: School Sector Institution
    - const: "35004"
      title*: 
        en: Other Organisation Type
    - const: "35005"
      title*: 
        en: ECE Service Provider
    - const: "35006"
      title*: 
        en: Board of Trustees
    - const: "35007"
      title*: 
        en: Local Office
    - const: "35008"
      title*: 
        en: Community of Schools
    - const: "35009"
      title*: 
        en: Learning Support Cluster

  # /////////////////////////////////////////////////////////////
  NZCodeSetsCommunicationChannelType:
    type: string
    title: Communication Channel Type
    description: >-
      <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; Twitter identifiers for a school.</p>
      <ul>
        <li>'WEB' - Website</li>
        <li>'TWT' - Twitter</li>
        <li>'FBK' - Facebook</li>
      </ul>
    oneOf:
    - const: "WEB"
      title: Website
      description: >-
        Typically refers to the home page for an entity
    - const: "TWT"
      title: Twitter
      description: >-
        Twitter handle
    - const: "FBK"
      title: Facebook
      description: >-
        Facebook page

  # /////////////////////////////////////////////////////////////
  NZCodeSetsCommunicationUsage:
    type: string
    title: Communication Usage
    description: >-
      <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>
      <ul>
        <li>'MED' - Medical Incident</li>
        <li>'SMS' - SMS/TXT</li>
        <li>'UNE' - Unexplained Absence</li>
        <li>'INT' - Intended Absence</li>
      </ul>
    oneOf:
    - const: "MED"
      title: Medical Incident
      description: >-
        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.
    - const: "SMS"
      title: SMS/TXT
      description: >-
        Allows the school to decide which of a caregiver's communication channels is to be used when sending an SMS (TXT) message.
    - const: "UNE"
      title: Unexplained Absence
      description: >-
        Allows the school to decide which of a caregiver's communication channels is to be used when reporting a learner's unexplained absence.
    - const: "INT"
      title: Intended Absence
      description: >-
        Allows the caregiver to decide which of a school's communication channels is to be used when notifying of a learner's intended absence.

  # /////////////////////////////////////////////////////////////
  NZCodeSetsOrganisationContactRole:
    type: string
    title: Organisation Contact Role
    description: >-
      <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>
      <ul>
        <li>'PRI' - Principal</li>
        <li>'ACT' - Acting Principal</li>
        <li>'DIR' - Director</li>
        <li>'ECE' - ECE Management Contact</li>
      </ul>
    oneOf:
    - const: "PRI"
      title: Principal
    - const: "ACT"
      title: Acting Principal
    - const: "DIR"
      title: Director
    - const: "ECE"
      title: ECE Management Contact

  # /////////////////////////////////////////////////////////////
  NZCodeSetsEnactedPolicy:
    type: string
    title: Enacted Policy
    description: >-
      <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>
      <ul>
        <li>'AE' - Age Entry</li>
        <li>'CE' - Cohort Entry</li>
      </ul>
    oneOf:
    - const: "AE"
      title: Age Entry
      description: >-
        Indicates that new starters will start on the next school day following their 5 birthday.
    - const: "CE"
      title: Cohort Entry
      description: >-
        Indicates that new starters will start in a cohort group only on specific notified dates after their 5th birthday.

  # /////////////////////////////////////////////////////////////
  NZCodeSetsProviderAuthority:
    type: string
    title: Provider Authority
    description: >-
      The authority by which the provider is authorised to provide education services. Describes the ownership/operation or registration status of an educational institution.
      <ul>
        <li>'STATE' - State</li>
        <li>'STINT' - State: Integrated</li>
        <li>'PRFUL' - Private: Fully Registered</li>
        <li>'PRPRO' - Private: Provisionally Registered</li>
        <li>'OTVOT' - Other: Vote Education</li>
        <li>'PASCH' - Partnership School</li>
      </ul>
    oneOf:
    - const: "STATE"
      title: State
      description: >-
        "Also known as 'State: Non-Integrated'"
    - const: "STINT"
      title: "State: Integrated"
    - const: "PRFUL"
      title: "Private: Fully Registered"
    - const: "PRPRO"
      title: "Private: Provisionally Registered"
    - const: "OTVOT"
      title: "Other: Vote Education"
      description: >-
        Owned by another organisation, funded from Vote Education.
    - const: "PASCH"
      title: Partnership School

  # /////////////////////////////////////////////////////////////
  NZCodeSetsSchoolClassification:
    type: string
    title: School Classification
    description: >-
      <p>Code set denoting the classifications that can be given to a school.</p>
      <ul>
        <li>'52000' - Kura Teina</li>
        <li>'52001' - Designated Charter School</li>
        <li>'52002' - Secondary Māori Boarding School</li>
        <li>'52003' - Bilingual School</li>
        <li>'52004' - Kura Kaupapa Māori</li>
        <li>'52005' - School with Side School</li>
        <li>'52006' - Alternative School</li>
        <li>'52007' - Contributing with Year 7 and 8 Bilingual Students</li>
        <li>'52008' - Restricted Composite (Year 7-9)</li>
        <li>'52009' - Restricted Composite (Year 7-10)</li>
        <li>'52010' - School with Boarding Facilities</li>
      </ul>
    oneOf:
    - const: "52000"
      title: Kura Teina
    - const: "52001"
      title: Designated Charter School
    - const: "52002"
      title: Secondary Māori Boarding School
    - const: "52003"
      title: Bilingual School
    - const: "52004"
      title: Kura Kaupapa Māori
    - const: "52005"
      title: School with Side School
    - const: "52006"
      title: Alternative School
    - const: "52007"
      title: Contributing with Year 7 and 8 Bilingual Students
    - const: "52008"
      title: Restricted Composite (Year 7-9)
    - const: "52009"
      title: Restricted Composite (Year 7-10)
    - const: "52010"
      title: School with Boarding Facilities

  # /////////////////////////////////////////////////////////////
  NZCodeSetsSchoolBoardingType:
    type: string
    title: School Boarding Type
    description: >-
      <p>Code set denoting if the school has boarding and if so, if it is for girls only, boys only or both.</p>
      <ul>
        <li>'56000' - Girls Only</li>
        <li>'56001' - Boys Only</li>
        <li>'56002' - Both Girls and Boys</li>
        <li>'56003' - None</li>
      </ul>
    oneOf:
    - const: "56000"
      title: Girls Only
    - const: "56001"
      title: Boys Only
    - const: "56002"
      title: Both Girls and Boys
    - const: "56003"
      title: None

  # /////////////////////////////////////////////////////////////
  NZCodeSetsSchoolingGender:
    type: string
    title: Schooling Gender
    description: >-
      <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>
      <ul>
        <li>'C' - Both Girls and Boys</li>
        <li>'F' - Girls Only</li>
        <li>'M' - Boys Only</li>
        <li>'55002' - Both Girls and Boys</li>
        <li>'55000' - Girls Only</li>
        <li>'55001' - Boys Only</li>
      </ul>
    oneOf:
    - const: "C"
      title: Both Girls and Boys
      x-endDate: 2020-05-08
    - const: "F"
      title: Girls Only
      x-endDate: 2020-05-08
    - const: "M"
      title: Boys Only
      x-endDate: 2020-05-08
    - const: "55002"
      title: Both Girls and Boys
    - const: "55000"
      title: Girls Only
    - const: "55001"
      title: Boys Only

  # /////////////////////////////////////////////////////////////
  NZCodeSetsECEServiceType:
    type: string
    title: ECEService Type
    description: >-
      <p>Codes denoting the nature of an Early Childhood Education service.</p>
      <ul>
        <li>'KG' - Kindergarten</li>
        <li>'PC' - Playcentre</li>
        <li>'KR' - Te Kohanga Reo</li>
      </ul>
    oneOf:
    - const: "KG"
      title: Kindergarten
    - const: "PC"
      title: Playcentre
    - const: "KR"
      title: Te Kohanga Reo

  # /////////////////////////////////////////////////////////////
  NZCodeSetsECEServiceProviderOwnershipType:
    type: string
    title: ECE Service Provider Ownership Type
    description: >-
      <p>Code set denoting the type of ECE Service Provider ownership, e.g. Sole Trader, Company, Charitable Trust etc.</p>
      <ul>
        <li>'18000' - Sole Trader</li>
        <li>'18001' - Company</li>
        <li>'18002' - Partnership</li>
        <li>'18004' - Incorporated Society</li>
        <li>'18005' - Statutory Trust</li>
        <li>'18006' - Private Trust</li>
        <li>'18007' - Community Trust</li>
        <li>'18008' - Government Department</li>
        <li>'18009' - State Owned Enterprise</li>
        <li>'18010' - Health Board</li>
        <li>'18011' - City Council/Local Authority Trading Enterprise</li>
        <li>'18012' - Public Education Institution</li>
      </ul>
      plus 2 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsECEServiceProviderOwnershipTypeType">NZCodeSetsECEServiceProviderOwnershipTypeType<a>
    oneOf:
    - const: "18000"
      title: Sole Trader
    - const: "18001"
      title: Company
    - const: "18002"
      title: Partnership
    - const: "18004"
      title: Incorporated Society
    - const: "18005"
      title: Statutory Trust
    - const: "18006"
      title: Private Trust
    - const: "18007"
      title: Community Trust
    - const: "18008"
      title: Government Department
    - const: "18009"
      title: State Owned Enterprise
    - const: "18010"
      title: Health Board
    - const: "18011"
      title: City Council/Local Authority Trading Enterprise
    - const: "18012"
      title: Public Education Institution
    - const: "18013"
      title: Crown
    - const: "18014"
      title: Not Categorised

  # /////////////////////////////////////////////////////////////
  NZCodeSetsOrganisationRelationshipType:
    type: string
    title: Organisation Relationship Type
    description: >-
      <p>A code describing the nature of the relationship between a pair of Organisations.</p>
      <ul>
        <li>'CAH' - Client and Host</li>
        <li>'CAR' - Contributor and Receiver</li>
        <li>'TPU' - Teen Parent Unit</li>
        <li>'ACE' - Activity Centre</li>
        <li>'LOF' - Local Office and Organisation</li>
        <li>'EPL' - Playgroup - ECE Service Provider</li>
        <li>'ESP' - Licenced ECEService - ECE Service Provider</li>
        <li>'34008' - School and Attached Unit</li>
        <li>'34028' - Community of Learning Funded Member</li>
        <li>'34029' - Community of Learning Unfunded Member</li>
        <li>'34037' - Learning Support Cluster Member</li>
        <li>'34031' - School RTLB Cluster Member</li>
      </ul>
    oneOf:
    - const: "CAH"
      title: Client and Host
      description: >-
        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.
    - const: "CAR"
      title: Contributor and Receiver
      description: >-
        Source Provider contributes learners to the related Provider, once the learners have completed education at the source Provider.
    - const: "TPU"
      title: Teen Parent Unit
      description: >-
        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.
      x-endDate: 2020-05-08
    - const: "ACE"
      title: Activity Centre
      description: >-
        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.
      x-endDate: 2020-05-08
    - const: "LOF"
      title: Local Office and Organisation
    - const: "EPL"
      title: Playgroup - ECE Service Provider
    - const: "ESP"
      title: Licenced ECEService - ECE Service Provider
    - const: "34008"
      title*: 
        en: School and Attached Unit
    - const: "34028"
      title*: 
        en: Community of Learning Funded Member
    - const: "34029"
      title*: 
        en: Community of Learning Unfunded Member
    - const: "34037"
      title*: 
        en: Learning Support Cluster Member
    - const: "34031"
      title*: 
        en: School RTLB Cluster Member

  # /////////////////////////////////////////////////////////////
  NZCodeSetsOrganisationRelationshipStatus:
    type: string
    title: Organisation Relationship Status
    description: >-
      <p>Code set denoting the status of the relationship between the two organisations.</p> <p>Set to Active when: EffectiveDate => today's date and ExpirationDate is NULL or ExpirationDate > than today's date.</p> <p>Set to Inactive when: EffectiveDate < today's date or ExpirationDate =< today's date.</p>
      <ul>
        <li>'A' - Active</li>
        <li>'I' - Inactive</li>
      </ul>
    oneOf:
    - const: "A"
      title: Active
    - const: "I"
      title: Inactive

  # /////////////////////////////////////////////////////////////
  NZCodeSetsSourceOrganisationRole:
    type: string
    title: Source Organisation Role
    description: >-
      <p>Code set denoting the role the source organisation is playing in this relationship.</p>
      <ul>
        <li>'COL' - Community of Learning - Kāhui Ako</li>
        <li>'ECE' - ECE Service Provider - Kura Kōhungahunga</li>
        <li>'LOC' - Local Office</li>
        <li>'LSC' - Learning Support Cluster - Kāhui Akoranga Tautoko</li>
        <li>'RTL' - RTLB Cluster</li>
        <li>'SCH' - School - Kura</li>
      </ul>
    oneOf:
    - const: "COL"
      title*: 
        en: Community of Learning
        mi: Kāhui Ako
    - const: "ECE"
      title*: 
        en: ECE Service Provider
        mi: Kura Kōhungahunga
    - const: "LOC"
      title*: 
        en: Local Office
    - const: "LSC"
      title*: 
        en: Learning Support Cluster
        mi: Kāhui Akoranga Tautoko
    - const: "RTL"
      title*: 
        en: RTLB Cluster
    - const: "SCH"
      title*: 
        en: School
        mi: Kura

  # /////////////////////////////////////////////////////////////
  NZCodeSetsRelatedOrganisationRole:
    type: string
    title: Related Organisation Role
    description: >-
      <p>Code set denoting the role the related organisation is playing in this relationship.</p>
      <ul>
        <li>'184000' - Standard Member</li>
        <li>'184001' - Employing Member</li>
        <li>'184002' - Accommodating Member</li>
        <li>'33038' - Approved Funded Member</li>
        <li>'33039' - Joined Funded Member</li>
        <li>'33040' - Approved Unfunded Member</li>
        <li>'33041' - Joined Unfunded Member</li>
        <li>'LOM' - Local Office Member</li>
        <li>'SPM' - ECE Service Provider Member</li>
        <li>'33046' - Attached Funded Unit</li>
        <li>'33047' - Activity Centre</li>
        <li>'33048' - Teen Parent Unit</li>
      </ul>
      plus 2 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsRelatedOrganisationRoleType">NZCodeSetsRelatedOrganisationRoleType<a>
    oneOf:
    - const: "184000"
      title: Standard Member
      description: >-
        Role applies to School/ECE's membership of Learning Support Cluster
    - const: "184001"
      title: Employing Member
      description: >-
        Role applies to School/ECE's membership of Learning Support Cluster
    - const: "184002"
      title: Accommodating Member
      description: >-
        Role applies to School/ECE's membership of Learning Support Cluster
    - const: "33038"
      title: Approved Funded Member
      description: >-
        Role applies to School/ECE's membershp of Kāhui Ako
    - const: "33039"
      title: Joined Funded Member
      description: >-
        Role applies to School/ECE's membershp of Kāhui Ako
    - const: "33040"
      title: Approved Unfunded Member
      description: >-
        Role applies to School/ECE's membershp of Kāhui Ako
    - const: "33041"
      title: Joined Unfunded Member
      description: >-
        Role applies to School/ECE's membershp of Kāhui Ako
    - const: "LOM"
      title: Local Office Member
      description: >-
        Role applies to School/ECE's membershp of Kāhui Ako
    - const: "SPM"
      title: ECE Service Provider Member
      description: >-
        Role applies to School/ECE's membershp of Kāhui Ako
    - const: "33046"
      title: Attached Funded Unit
    - const: "33047"
      title: Activity Centre
    - const: "33048"
      title: Teen Parent Unit
    - const: "33044"
      title: RTLB Cluster Leader
      description: >-
        Role applies to School/ECE's membershp of RTLB Cluster
    - const: "33045"
      title: RTLB Cluster Member
      description: >-
        Role applies to School/ECE's membershp of RTLB Cluster

  # /////////////////////////////////////////////////////////////
  NZCodeSetsStaffRole:
    type: string
    title: Staff Role
    description: >-
      <p>Describes the role a staff member has at a Provider or other EducationOrganisation.</p>
      <ul>
        <li>'1001' - Principal - Tumuaki</li>
        <li>'1002' - Deputy Principal</li>
        <li>'1003' - Associate Principal</li>
        <li>'1004' - Assistant Principal</li>
        <li>'1005' - Principal's Nominee (NZQA)</li>
        <li>'1006' - Enrolment Officer</li>
        <li>'1007' - Timetabler</li>
        <li>'1008' - Relief Coordinator</li>
        <li>'1009' - Office Manager</li>
        <li>'1010' - Office Assistant</li>
        <li>'1012' - Finance Assistant</li>
        <li>'1013' - IT Manager</li>
      </ul>
      plus 52 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsStaffRoleType">NZCodeSetsStaffRoleType<a>
    oneOf:
    - const: "1001"
      title*: 
        en: Principal
        mi: Tumuaki
    - const: "1002"
      title*: 
        en: Deputy Principal
    - const: "1003"
      title*: 
        en: Associate Principal
    - const: "1004"
      title*: 
        en: Assistant Principal
    - const: "1005"
      title*: 
        en: Principal's Nominee (NZQA)
    - const: "1006"
      title*: 
        en: Enrolment Officer
    - const: "1007"
      title*: 
        en: Timetabler
    - const: "1008"
      title*: 
        en: Relief Coordinator
    - const: "1009"
      title*: 
        en: Office Manager
    - const: "1010"
      title*: 
        en: Office Assistant
    - const: "1012"
      title*: 
        en: Finance Assistant
    - const: "1013"
      title*: 
        en: IT Manager
    - const: "1014"
      title*: 
        en: IT Assistant
    - const: "1015"
      title*: 
        en: Head Librarian
    - const: "1016"
      title*: 
        en: Assistant Librarian
    - const: "1017"
      title*: 
        en: Board of Trustees Member (Staff)
    - const: "1018"
      title*: 
        en: Board of Trustees Member (Parent)
    - const: "1101"
      title*: 
        en: Head of Department
    - const: "1102"
      title*: 
        en: Assistant Head of Department
    - const: "1103"
      title*: 
        en: Technician
    - const: "1201"
      title*: 
        en: Subject Teacher
    - const: "1302"
      title*: 
        en: STP Coordinator
    - const: "1303"
      title*: 
        en: Learning Support Coordinator
        mi: Kaiwhakahaere Akoranga Tautoko
    - const: "1304"
      title*: 
        en: Learning Support Staff
    - const: "1305"
      title*: 
        en: SAC Coordinator
    - const: "1306"
      title*: 
        en: Special Needs Coordinator (SENCO)
        mi: Kaiwhakarite Mātauranga Whāiti
    - const: "1307"
      title*: 
        en: Distance Education Coordinator
    - const: "1308"
      title*: 
        en: Resource Teacher Literacy (RTLit)
    - const: "1309"
      title*: 
        en: Resource Teacher Learning and Behaviour (RTLB)
    - const: "1310"
      title*: 
        en: Parent Help
    - const: "1401"
      title*: 
        en: Homeroom Teacher
    - const: "1402"
      title*: 
        en: Release Homeroom Teacher
    - const: "1403"
      title*: 
        en: Relief Homeroom Teacher
    - const: "1404"
      title*: 
        en: Pastoral Carer
    - const: "1405"
      title*: 
        en: Guidance Counsellor
    - const: "1406"
      title*: 
        en: Careers Advisor
    - const: "1407"
      title*: 
        en: Truancy Officer
    - const: "1408"
      title*: 
        en: Sickbay Nurse
    - const: "1409"
      title*: 
        en: Dental Nurse
    - const: "1410"
      title*: 
        en: Hostel Manager / Matron
    - const: "1411"
      title*: 
        en: Social Worker (In School)
    - const: "1501"
      title*: 
        en: Teacher in Charge
    - const: "1502"
      title*: 
        en: Coach
    - const: "2001"
      title*: 
        en: Kāhui Ako Lead Principal
    - const: "2002"
      title*: 
        en: Across School Teacher
        mi: Kaiako Takawaenga ā-kura
    - const: "2101"
      title*: 
        en: Kāhui Ako Support Facilitator
    - const: "2102"
      title*: 
        en: Kāhui Ako Expert Partner
    - const: "2103"
      title*: 
        en: Ministry - Learning Support Facilitator
    - const: "2104"
      title*: 
        en: Ministry - Strategic Advisor - Māori
    - const: "2105"
      title*: 
        en: Ministry - SAF
    - const: "2106"
      title*: 
        en: DHB Staff
    - const: "1301"
      title*: 
        en: Teacher Aide
    - const: "1203"
      title*: 
        en: Subject Relief Teacher
    - const: "1202"
      title*: 
        en: Subject Release Teacher
    - const: "1204"
      title*: 
        en: Subject Tutor
    - const: "1205"
      title*: 
        en: Classroom Teacher
    - const: "1206"
      title*: 
        en: Classroom Release teacher
    - const: "1207"
      title*: 
        en: Classroom Relief Teacher
    - const: "1208"
      title*: 
        en: Kāhui Ako within School Teacher
    - const: "1209"
      title*: 
        en: Itinerant Subject Teacher
    - const: "1210"
      title*: 
        en: Itinerant Subject Tutor
    - const: "1211"
      title*: 
        en: Specialist Classroom Teacher
    - const: "1011"
      title*: 
        en: Finance Manager
    - const: "2107"
      title*: 
        en: Dean

  # /////////////////////////////////////////////////////////////
  NZCodeSetsStaffStatus:
    type: string
    title: Staff Status
    description: >-
      <p>Describes the status of a staff member's employment at a Provider or other Organisation.</p>
      <ul>
        <li>'A' - Active</li>
        <li>'I' - Inactive</li>
        <li>'S' - Suspended</li>
        <li>'O' - On Leave</li>
      </ul>
    oneOf:
    - const: "A"
      title: Active
    - const: "I"
      title: Inactive
    - const: "S"
      title: Suspended
    - const: "O"
      title: On Leave

  # /////////////////////////////////////////////////////////////
  NZCodeSetsStaffAssignmentStatus:
    type: string
    title: Staff Assignment Status
    description: >-
      <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 => today's date and EndDate is NULL or EndDate > than today's date.</p> <p>Set to Inactive when: StartDate < today's date or EndDate =< today's date</p>
      <ul>
        <li>'A' - Active</li>
        <li>'I' - Inactive</li>
      </ul>
    oneOf:
    - const: "A"
      title: Active
    - const: "I"
      title: Inactive

  # /////////////////////////////////////////////////////////////
  NZCodeSetsTeachingGroupType:
    type: string
    title: Teaching Group Type
    description: >-
      <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>
      <ul>
        <li>'RC' - Roll Class</li>
        <li>'SC' - Subject Class</li>
        <li>'HR' - Home Room</li>
      </ul>
    oneOf:
    - const: "RC"
      title: Roll Class
      description: >-
        The TeachingGroup is a class only used for taking daily attendance.
    - const: "SC"
      title: Subject Class
      description: >-
        The TeachingGroup is a class only used for teaching.
    - const: "HR"
      title: Home Room
      description: >-
        The TeachingGroup is a class used for both teaching and roll taking.

  # /////////////////////////////////////////////////////////////
  NZCodeSetsStaffTeachingGroupRole:
    type: string
    title: Staff Teaching Group Role
    description: >-
      <p>Code set denoting the role the staff member is performing within the teaching group, e.g. Teacher, Teacher Aide, Student Teacher.</p>
      <ul>
        <li>'1201' - Subject Teacher</li>
        <li>'1202' - Subject Release Teacher</li>
        <li>'1203' - Subject Relief Teacher</li>
        <li>'1204' - Subject Tutor</li>
        <li>'1205' - Classroom Teacher</li>
        <li>'1206' - Classroom Release Teacher</li>
        <li>'1207' - Classroom Relief Teacher</li>
        <li>'1209' - Itinerant Subject Teacher</li>
        <li>'1210' - Itinerant Subject Tutor</li>
        <li>'1211' - Specialist Classroom Teacher</li>
        <li>'1401' - Homeroom Teacher</li>
        <li>'1402' - Release Homeroom Teacher</li>
      </ul>
      plus 2 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsStaffTeachingGroupRoleType">NZCodeSetsStaffTeachingGroupRoleType<a>
    oneOf:
    - const: "1201"
      title: Subject Teacher
    - const: "1202"
      title: Subject Release Teacher
    - const: "1203"
      title: Subject Relief Teacher
    - const: "1204"
      title: Subject Tutor
    - const: "1205"
      title: Classroom Teacher
    - const: "1206"
      title: Classroom Release Teacher
    - const: "1207"
      title: Classroom Relief Teacher
    - const: "1209"
      title: Itinerant Subject Teacher
    - const: "1210"
      title: Itinerant Subject Tutor
    - const: "1211"
      title: Specialist Classroom Teacher
    - const: "1401"
      title: Homeroom Teacher
    - const: "1402"
      title: Release Homeroom Teacher
    - const: "1403"
      title: Relief Homeroom Teacher
    - const: "1301"
      title: Teacher Aide

  # /////////////////////////////////////////////////////////////
  NZCodeSetsStaffTeachingGroupAssignmentStatus:
    type: string
    title: Staff Teaching Group Assignment Status
    description: >-
      <p>Code set denoting the status of the staff member's assignment to a teaching group.</p> <p>Set to Active when: StartDate => today's date and EndDate is NULL or EndDate > than today's date.</p> <p>Set to Inactive when: StartDate < today's date or EndDate =< today's date.</p>
      <ul>
        <li>'A' - Active</li>
        <li>'I' - Inactive</li>
      </ul>
    oneOf:
    - const: "A"
      title: Active
    - const: "I"
      title: Inactive

  # /////////////////////////////////////////////////////////////
  NZCodeSetsScheduleEffect:
    type: string
    title: Schedule Effect
    description: >-
      <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>
      <ul>
        <li>'NOEFFECT' - No Effect</li>
        <li>'RENUMBER' - Renumber Days</li>
        <li>'INSERT' - Insert Day</li>
        <li>'DISPLACE' - Displace Day</li>
        <li>'ENDSCHEDULE' - End Schedule</li>
        <li>'PAUSESCHEDULE' - Pause Schedule</li>
        <li>'RESUMESCHEDULE' - Resume Schedule</li>
        <li>'CANCEL' - Cancel Day</li>
        <li>'STARTTERM' - Start Term</li>
        <li>'ADD' - Additional Day</li>
        <li>'CUSTOM' - Custom Day Schedule</li>
      </ul>
    oneOf:
    - const: "NOEFFECT"
      title: No Effect
      description: >-
        <p>This event has no effect on the school calendar.</p>
    - const: "RENUMBER"
      title: Renumber Days
      description: >-
        <p>This event causes the day rotation on the school calendar to be renumbered, starting with any academic days specified in ScheduleDayList.</p> <p>If any terms are included in ScheduleTermList, those terms are activated effective on the start date of this event.</p>
    - const: "INSERT"
      title: Insert Day
      description: >-
        <p>This event causes an insertion into the normal academic day rotation of the school calendar.</p> <p>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>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>
    - const: "DISPLACE"
      title: Displace Day
      description: >-
        <p>This event causes a displacement in the normal academic day rotation of the school calendar.</p> <p>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>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>
    - const: "ENDSCHEDULE"
      title: End Schedule
      description: >-
        <p>This event terminates the academic schedule for any term(s) specified in ScheduleTermList, which is required when using this schedule effect.</p> <p>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>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>
    - const: "PAUSESCHEDULE"
      title: Pause Schedule
      description: >-
        <p>Temporarily suspend the academic day rotation until a subsequent "resumeSchedule" event occurs.</p>
    - const: "RESUMESCHEDULE"
      title: Resume Schedule
      description: >-
        <p>Resume an academic day rotation previously suspended using "pauseSchedule".</p>
    - const: "CANCEL"
      title: Cancel Day
      description: >-
        <p>Cancel one or more academic days, specified in ScheduleDayList, that would normally occur on this date.</p> <p>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>
    - const: "STARTTERM"
      title: Start Term
      description: >-
        <p>Start one or more terms, specified in ScheduleTermList, on this date without changing the academic day rotation.</p> <p>A ScheduleTermList value is required when using this schedule effect. </p>
    - const: "ADD"
      title: Additional Day
      description: >-
        <p>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>This can also be used to schedule school on a day on which it would not normally occur, such as a weekend.</p> <p>As a convenience, RemoveScheduleDayList specifies a set of academic days to be removed from the calendar while this event is in effect.</p>
    - const: "CUSTOM"
      title: Custom Day Schedule
      description: >-
        This event replaces the normal day rotation for the event date with a custom set of SchedulePeriods and bell times.

  # /////////////////////////////////////////////////////////////
  NZCodeSetsCurriculum:
    type: string
    title: Curriculum
    description: >-
      <p>Codes denoting the two curricula used in New Zealand. </p>
      <ul>
        <li>'NZC' - New Zealand Curriculum - New Zealand Curriculum</li>
        <li>'TMA' - Te Marautanga o Aotearoa - Te Marautanga o Aotearoa</li>
        <li>'ECE' - Te Whāriki - Te Whāriki</li>
        <li>'OTH' - Other Curriculum - Marau Kē</li>
      </ul>
    oneOf:
    - const: "NZC"
      title*: 
        en: New Zealand Curriculum
        mi: New Zealand Curriculum
      description*:
        en: >-
          Student is taught using the New Zealand Curriculum.
        mi: >-
          E whakaakohia ana te ākonga mā te New Zealand Curriculum.
    - const: "TMA"
      title*: 
        en: Te Marautanga o Aotearoa
        mi: Te Marautanga o Aotearoa
      description*:
        en: >-
          Student is taught using Te Marautanga o Aotearoa.
        mi: >-
          E whakaakohia ana te ākonga mā Te Marautanga o Aotearoa.
    - const: "ECE"
      title*: 
        en: Te Whāriki
        mi: Te Whāriki
      description*:
        en: >-
          Student is taught using Te Whāriki curriculum.
        mi: >-
          E whakaakohia ana te ākonga mā te marau o Te Whāriki.
    - const: "OTH"
      title*: 
        en: Other Curriculum
        mi: Marau Kē
      description*:
        en: >-
          Other (for schools using another curriculum).
        mi: >-
          Ētahi kē (Ngā kura e whakamahi ana i te marautanga kē).

  # /////////////////////////////////////////////////////////////
  NZCodeSetsCurriculumLevel:
    type: string
    title: Curriculum Level
    description: >-
      <p>Codes denoting the levels of the two Curricula used in New Zealand. </p>
      <ul>
        <li>'1' - Curriculum Level 1 - Taumata Marau 1</li>
        <li>'2' - Curriculum Level 2 - Taumata Marau 2</li>
        <li>'3' - Curriculum Level 3 - Taumata Marau 3</li>
        <li>'4' - Curriculum Level 4 - Taumata Marau 4</li>
        <li>'5' - Curriculum Level 5 - Taumata Marau 5</li>
        <li>'6' - Curriculum Level 6 - Taumata Marau 6</li>
        <li>'7' - Curriculum Level 7 - Taumata Marau 7</li>
        <li>'8' - Curriculum Level 8 - Taumata Marau 8</li>
      </ul>
    oneOf:
    - const: "1"
      title*: 
        en: Curriculum Level 1
        mi: Taumata Marau 1
      description*:
        en: >-
          Student is working at level 1 of the relevant curriculum.
        mi: >-
          E mahi ana i te Taumata 1 o te marau e hāngai ana.
    - const: "2"
      title*: 
        en: Curriculum Level 2
        mi: Taumata Marau 2
      description*:
        en: >-
          Student is working at level 2 of the relevant curriculum.
        mi: >-
          E mahi ana i te Taumata 2 o te marau e hāngai ana.
    - const: "3"
      title*: 
        en: Curriculum Level 3
        mi: Taumata Marau 3
      description*:
        en: >-
          Student is working at level 3 of the relevant curriculum.
        mi: >-
          E mahi ana i te Taumata 3 o te marau e hāngai ana.
    - const: "4"
      title*: 
        en: Curriculum Level 4
        mi: Taumata Marau 4
      description*:
        en: >-
          Student is working at level 4 of the relevant curriculum.
        mi: >-
          E mahi ana i te Taumata 4 o te marau e hāngai ana.
    - const: "5"
      title*: 
        en: Curriculum Level 5
        mi: Taumata Marau 5
      description*:
        en: >-
          Student is working at level 5 of the relevant curriculum.
        mi: >-
          E mahi ana i te Taumata 5 o te marau e hāngai ana
    - const: "6"
      title*: 
        en: Curriculum Level 6
        mi: Taumata Marau 6
      description*:
        en: >-
          Student is working at level 6 of the relevant curriculum.
        mi: >-
          E mahi ana i te Taumata 6 o te marau e hāngai ana.
    - const: "7"
      title*: 
        en: Curriculum Level 7
        mi: Taumata Marau 7
      description*:
        en: >-
          Student is working at level 7 of the relevant curriculum.
        mi: >-
          E mahi ana i te Taumata 7 o te marau e hāngai ana.
    - const: "8"
      title*: 
        en: Curriculum Level 8
        mi: Taumata Marau 8
      description*:
        en: >-
          Student is working at level 8 of the relevant curriculum.
        mi: >-
          E mahi ana i te Taumata 8 o te marau e hāngai ana.

  # /////////////////////////////////////////////////////////////
  NZCodeSetsLearningArea:
    type: string
    title: Learning Area
    description: >-
      <p>Codes denoting Learning Areas defined by the NZ Curriculum and Te Marautanga o Aotearoa. </p>
      <ul>
        <li>'HPE' - Health and Physical Education / Hauora</li>
        <li>'LAL' - Language and Languages / Ngā Reo</li>
        <li>'MAT' - Mathematics / Pangarau</li>
        <li>'SCI' - Science / Putaiao</li>
        <li>'SSC' - Social Sciences / Tikanga-a-iwi</li>
        <li>'TEC' - Technology / Hangarau</li>
        <li>'ART' - The Arts / Ngā Toi</li>
        <li>'TRP' - Te Reo Pākehā / English Language</li>
        <li>'TRM' - Te Reo Māori / Māori Language and Literature</li>
      </ul>
    oneOf:
    - const: "HPE"
      title: Health and Physical Education / Hauora
      description: >-
        Applicable to both the NZ Curriculum and Te Marautanga o Aotearoa.
    - const: "LAL"
      title: Language and Languages / Ngā Reo
      description: >-
        Applicable to both the NZ Curriculum and Te Marautanga o Aotearoa.
    - const: "MAT"
      title: Mathematics / Pangarau
      description: >-
        Applicable to both the NZ Curriculum and Te Marautanga o Aotearoa.
    - const: "SCI"
      title: Science / Putaiao
      description: >-
        Applicable to both the NZ Curriculum and Te Marautanga o Aotearoa.
    - const: "SSC"
      title: Social Sciences / Tikanga-a-iwi
      description: >-
        Applicable to both the NZ Curriculum and Te Marautanga o Aotearoa.
    - const: "TEC"
      title: Technology / Hangarau
      description: >-
        Applicable to both the NZ Curriculum and Te Marautanga o Aotearoa.
    - const: "ART"
      title: The Arts / Ngā Toi
      description: >-
        Applicable to both the NZ Curriculum and Te Marautanga o Aotearoa.
    - const: "TRP"
      title: Te Reo Pākehā / English Language
      description: >-
        Applicable to Te Marautanga o Aotearoa.
    - const: "TRM"
      title: Te Reo Māori / Māori Language and Literature
      description: >-
        Applicable to Te Marautanga o Aotearoa.

  # /////////////////////////////////////////////////////////////
  NZCodeSetsLearningStandardType:
    type: string
    title: Learning Standard Type
    description: >-
      <p>Code set denoting the type of standard e.g., unit standard, achievement standard.</p>
      <ul>
        <li>'US' - Unit Standard - Paerewa</li>
        <li>'AS' - Achievement Standard - Tutukitanga</li>
        <li>'SC' - Scholarship - Karahipi</li>
        <li>'OT' - Other</li>
      </ul>
    oneOf:
    - const: "US"
      title*: 
        en: Unit Standard
        mi: Paerewa
      description: >-
        <p>Developed by Industry Training Organisations or NZQA.</p>
    - const: "AS"
      title*: 
        en: Achievement Standard
        mi: Tutukitanga
      description: >-
        <p>Developed by MoE, derived from the achievement objectives of the NZ Curriculum or Te Marautanga o Aotearoa</p>
    - const: "SC"
      title*: 
        en: Scholarship
        mi: Karahipi
      description: >-
        Administered by NZQA as the highest level of assessment available, above NCEA
    - const: "OT"
      title: Other

  # /////////////////////////////////////////////////////////////
  NZCodeSetsLearningStandardFamily:
    type: string
    title: Learning Standard Family
    description: >-
      <p>Code set denoting the family the learning standard is part of, e.g. NCEA, International Baccalaureate, Cambridge etc.</p>
      <ul>
        <li>'NC' - NCEA</li>
        <li>'NZ' - NZQF</li>
        <li>'CA' - Cambridge International Education</li>
        <li>'IB' - International Baccalaureate</li>
        <li>'OT' - Other</li>
      </ul>
    oneOf:
    - const: "NC"
      title: NCEA
      description: >-
        <p>Administered by NZQA and contributes to NCEA qualifications</p>
    - const: "NZ"
      title: NZQF
      description: >-
        <p>Contributes to qualifications other than NCEA on the NZQF</p>
    - const: "CA"
      title: Cambridge International Education
      description: >-
        Administered by Cambridge International Education in the UK
    - const: "IB"
      title: International Baccalaureate
      description: >-
        Administered by the International Baccalaureate Organisation in Switzerland.
    - const: "OT"
      title: Other

  # /////////////////////////////////////////////////////////////
  NZCodeSetsLearningStandardStatus:
    type: string
    title: Learning Standard Status
    description: >-
      <p>A code denoting the status of the LearningStandard throughout its life-cycle.</p>
      <ul>
        <li>'CA' - Candidate</li>
        <li>'PU' - Published</li>
        <li>'SU' - Superceded</li>
        <li>'DI' - Discontinued</li>
      </ul>
    oneOf:
    - const: "CA"
      title: Candidate
      description: >-
        <p>The LearningStandard is being developed, and is not yet ready for use in teaching and assessment.</p>
    - const: "PU"
      title: Published
      description: >-
        <p>The LearningStandard is available for use in teaching and assessment.</p>
    - const: "SU"
      title: Superceded
      description: >-
        <p>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>
    - const: "DI"
      title: Discontinued
      description: >-
        <p>The LearningStandard is no longer available for use in teaching and assessment.</p>

  # /////////////////////////////////////////////////////////////
  NZCodeSetsLearningStandardRelationshipType:
    type: string
    title: Learning Standard Relationship Type
    description: >-
      <p>A code denoting the nature of the relationship with another LearningStandard</p>
      <ul>
        <li>'PREDEC' - Predecessor</li>
        <li>'SUCCES' - Successor</li>
        <li>'PREREQ' - Prerequisite</li>
        <li>'UNKNWN' - Unknown</li>
      </ul>
    oneOf:
    - const: "PREDEC"
      title: Predecessor
      description: >-
        <p>The related LearningStandard is a predecessor to this LearningStandard, and is superceded by it.</p>
    - const: "SUCCES"
      title: Successor
      description: >-
        <p>The related LearningStandard is a successor to this LearningStandard, and it supercedes this LearningStandard.</p>
    - const: "PREREQ"
      title: Prerequisite
      description: >-
        <p>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>
    - const: "UNKNWN"
      title: Unknown
      description: >-
        <p>The precise nature of the relationship between the two LearningStandards not known, but the fact that they are related is known.</p>

  # /////////////////////////////////////////////////////////////
  NZCodeSetsCredentialStatus:
    type: string
    title: Credential Status
    description: >-
      <p>A code denoting the status of the Credential throughout its life-cycle.</p>
      <ul>
        <li>'CA' - Candidate</li>
        <li>'PU' - Published</li>
        <li>'SU' - Superceded</li>
        <li>'DI' - Discontinued</li>
      </ul>
    oneOf:
    - const: "CA"
      title: Candidate
      description: >-
        <p>The Credential is being developed, and is not yet available for granting as an Attainment.</p>
    - const: "PU"
      title: Published
      description: >-
        <p>The Credential is available for granting as an Attainment</p>
    - const: "SU"
      title: Superceded
      description: >-
        <p>The Credential has been superceded (probably by a subsequent Credential) but this version is still available for granting as an Attainment.</p>
    - const: "DI"
      title: Discontinued
      description: >-
        <p>The Credential is no longer available granting as an Attainment</p>

  # /////////////////////////////////////////////////////////////
  NZCodeSetsSubjectArea:
    type: string
    title: Subject Area
    description: >-
      <p>Codes denoting Subject Areas defined by the NZ Curriculum and Te Marautanga o Aotearoa.</p>
      <ul>
        <li>'GERM' - German</li>
        <li>'INDO' - Indonesian</li>
        <li>'JAPA' - Japanese</li>
        <li>'FREN' - French</li>
        <li>'REME' - English (Remedial)</li>
        <li>'ENGL' - English - Te Reo Pākeha</li>
        <li>'COOK' - Cook Island Maori</li>
        <li>'COMM' - Communication Skills</li>
        <li>'CHIN' - Chinese</li>
        <li>'KORE' - Korean</li>
        <li>'LATI' - Latin</li>
        <li>'NIUE' - Niuean</li>
      </ul>
      plus 86 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsSubjectAreaType">NZCodeSetsSubjectAreaType<a>
    oneOf:
    - const: "GERM"
      title*: 
        en: German
      description: >-
        Applicable to both NZ Curriculum and Te Marautanga o Aotearoa
    - const: "INDO"
      title*: 
        en: Indonesian
      description: >-
        Applicable to both NZ Curriculum and Te Marautanga o Aotearoa
    - const: "JAPA"
      title*: 
        en: Japanese
      description: >-
        Applicable to both NZ Curriculum and Te Marautanga o Aotearoa
    - const: "FREN"
      title*: 
        en: French
      description: >-
        Applicable to both NZ Curriculum and Te Marautanga o Aotearoa
    - const: "REME"
      title*: 
        en: English (Remedial)
      description: >-
        Applicable to both NZ Curriculum and Te Marautanga o Aotearoa
    - const: "ENGL"
      title*: 
        en: English
        mi: Te Reo Pākeha
      description: >-
        Applicable to both NZ Curriculum and Te Marautanga o Aotearoa
    - const: "COOK"
      title*: 
        en: Cook Island Maori
      description: >-
        Applicable to both NZ Curriculum and Te Marautanga o Aotearoa
    - const: "COMM"
      title*: 
        en: Communication Skills
      description: >-
        Applicable to Te Marautanga o Aotearoa
    - const: "CHIN"
      title*: 
        en: Chinese
      description: >-
        Applicable to Te Marautanga o Aotearoa
    - const: "KORE"
      title*: 
        en: Korean
    - const: "LATI"
      title*: 
        en: Latin
    - const: "NIUE"
      title*: 
        en: Niuean
    - const: "OLAN"
      title*: 
        en: Other Languages
    - const: "PLAN"
      title*: 
        en: Pacific Language Studies
    - const: "RUSS"
      title*: 
        en: Russian
    - const: "SAMO"
      title*: 
        en: Samoan
    - const: "SPAN"
      title*: 
        en: Spanish
    - const: "MAOR"
      title*: 
        en: Te Reo Māori
        mi: Te Reo Māori
    - const: "RANG"
      title*: 
        en: Te Reo Rangatira
        mi: Te Reo Rangatira
    - const: "TOKE"
      title*: 
        en: Tokelauan
    - const: "TONG"
      title: Tongan
    - const: "ENSL"
      title*: 
        en: English as a Second Language
    - const: "MATH"
      title*: 
        en: Mathematics
        mi: Pāngarau
    - const: "MATC"
      title*: 
        en: Mathematics with Calculus
    - const: "MATS"
      title*: 
        en: Mathematics with Statistics
    - const: "REMM"
      title*: 
        en: Mathematics (Remedial)
    - const: "ACCO"
      title*: 
        en: Accounting
    - const: "SCIE"
      title*: 
        en: Science
        mi: Pūtaiao
    - const: "AGHO"
      title*: 
        en: Agriculture / Horticulture
    - const: "BIOL"
      title*: 
        en: Biology / Biological Science
    - const: "CHEM"
      title*: 
        en: Chemistry
    - const: "EAAS"
      title*: 
        en: Earth Science / Astronomy
    - const: "HUMB"
      title*: 
        en: Human Biology
    - const: "PHYS"
      title*: 
        en: Physics
    - const: "TECN"
      title*: 
        en: Technology
        mi: Hangarau
    - const: "BITE"
      title*: 
        en: Biotechnology
    - const: "COSC"
      title*: 
        en: Computer Science / Programming
    - const: "COMP"
      title*: 
        en: Computer Studies
    - const: "DEST"
      title*: 
        en: Design, Drawing and Graphics
    - const: "ELTE"
      title*: 
        en: Electronics and Control
    - const: "FOTE"
      title*: 
        en: Food Technology
    - const: "GRAP"
      title*: 
        en: Graphics
    - const: "INTE"
      title*: 
        en: Information and Communication Technology
    - const: "MTEC"
      title*: 
        en: Materials Technology
    - const: "STME"
      title*: 
        en: Structures and Mechanisms
    - const: "TIMA"
      title*: 
        en: Test and Information Management
    - const: "CLTX"
      title*: 
        en: Textiles / Clothing
    - const: "ARTA"
      title*: 
        en: The Arts
        mi: Ngā Toi
    - const: "ARTD"
      title*: 
        en: Art Design
    - const: "ARTH"
      title*: 
        en: Art History
    - const: "DANC"
      title*: 
        en: Dancing
    - const: "DRAM"
      title: Drama
    - const: "MUSC"
      title*: 
        en: Music / Music Studies
    - const: "MUSP"
      title*: 
        en: Music Practical / Performance
    - const: "ARPA"
      title*: 
        en: Painting
    - const: "APER"
      title*: 
        en: Performing Arts
    - const: "ARTP"
      title*: 
        en: Photography
    - const: "ARPR"
      title*: 
        en: Printmaking
    - const: "ARTS"
      title*: 
        en: Sculpture
    - const: "ARTC"
      title*: 
        en: Visial Arts
    - const: "SOST"
      title*: 
        en: Social Studies
        mi: Tikanga ā-iwi
    - const: "CLST"
      title*: 
        en: Classics / Classical Studies
    - const: "CMTY"
      title*: 
        en: Community Studies
    - const: "ECON"
      title*: 
        en: Economics
    - const: "SENV"
      title*: 
        en: Environmental Sustainability
    - const: "GEOG"
      title*: 
        en: Geography
    - const: "HIST"
      title*: 
        en: History
    - const: "LACU"
      title*: 
        en: Language and Cultural Studies
    - const: "MAOS"
      title*: 
        en: Māori Studies
    - const: "MEST"
      title*: 
        en: Media Studies
    - const: "SOSC"
      title*: 
        en: Other Social Sciences
    - const: "HEPH"
      title*: 
        en: Health and Physical Education
        mi: Hauora
    - const: "HEED"
      title*: 
        en: Health
    - const: "HOME"
      title*: 
        en: Home Economics
    - const: "OUED"
      title*: 
        en: Outdoor Education
    - const: "PHED"
      title*: 
        en: Physical Education
    - const: "SPOR"
      title*: 
        en: Sports Studies
    - const: "BUSS"
      title*: 
        en: Commerce Related
    - const: "DEFE"
      title*: 
        en: Defence
    - const: "EQUE"
      title*: 
        en: Equestrian
    - const: "FARM"
      title*: 
        en: Farming
    - const: "FISH"
      title*: 
        en: Fishing
    - const: "FOTY"
      title*: 
        en: Forestry
    - const: "INTR"
      title*: 
        en: Industrial Trades
    - const: "INTS"
      title*: 
        en: Integrated Studies
    - const: "LAWS"
      title*: 
        en: Legal / Law Related Studies
    - const: "LIFE"
      title*: 
        en: Life Skills / Personal Development
    - const: "REST"
      title*: 
        en: Religious Education / Studies
    - const: "REMS"
      title*: 
        en: Remedial Studies
    - const: "STPR"
      title*: 
        en: Secondary Tertiary Programme
    - const: "SETR"
      title*: 
        en: Service Trades
    - const: "SPPR"
      title*: 
        en: Special Needs Programme
    - const: "STDY"
      title*: 
        en: Study Skills
    - const: "TRAN"
      title*: 
        en: Transition / Pre-Employment
    - const: "THTR"
      title*: 
        en: Travel, Hospitality, Tourism
    - const: "CROS"
      title*: 
        en: Cross-Curricular
        mi: Marautanga Whakawhiti
    - const: "INSK"
      title*: 
        en: Information Skills
        mi: Pūkenga pārongo
    - const: "STUD"
      title*: 
        en: Student Engagement
        mi: Te Taute Ākonga

  # /////////////////////////////////////////////////////////////
  NZCodeSetsCurriculumProgressReportTimeframe:
    type: string
    title: Curriculum Progress Report Timeframe
    description: >-
      <p>Codes denoting the period of time that a Curriculum Progress Report applies to.</p>
      <ul>
        <li>'END' - End of Year</li>
        <li>'MID' - Mid-Year</li>
        <li>'SEM' - Semester</li>
        <li>'TRM' - Term</li>
        <li>'ONG' - Ongoing / As Available / Ad-Hoc</li>
      </ul>
    oneOf:
    - const: "END"
      title: End of Year
    - const: "MID"
      title: Mid-Year
    - const: "SEM"
      title: Semester
    - const: "TRM"
      title: Term
    - const: "ONG"
      title: Ongoing / As Available / Ad-Hoc

  # /////////////////////////////////////////////////////////////
  NZCodeSetsTechnologyClass:
    type: string
    title: Technology Class
    description: >-
      <p>Code set denoting a class or subject area from the technology curriculum that the progress report covers.</p>
      <ul>
        <li>'HM' - Hard Materials</li>
        <li>'FD' - Food</li>
        <li>'DE' - 3D Design</li>
        <li>'MM' - Multimedia</li>
      </ul>
    oneOf:
    - const: "HM"
      title: Hard Materials
    - const: "FD"
      title: Food
    - const: "DE"
      title: 3D Design
    - const: "MM"
      title: Multimedia

  # /////////////////////////////////////////////////////////////
  NZCodeSetsTechnologyLearningStrand:
    type: string
    title: Technology Learning Strand
    description: >-
      <p>Code list denoting the learning strands from the Technology curriculum that can be covered as part of a technology class.</p>
      <ul>
        <li>'TP' - Technological Practice</li>
        <li>'TK' - Technological Knowledge</li>
        <li>'NT' - Nature of Technology</li>
      </ul>
    oneOf:
    - const: "TP"
      title: Technological Practice
    - const: "TK"
      title: Technological Knowledge
    - const: "NT"
      title: Nature of Technology

  # /////////////////////////////////////////////////////////////
  NZCodeSetsStrandAchievementObjective:
    type: string
    title: Strand Achievement Objective
    description: >-
      <p>Code set denoting achievement objectives against which a student can be assessed within a Learning Strand.</p>
      <ul>
        <li>'BD' - Brief Development</li>
        <li>'PP' - Planning for Practice</li>
        <li>'OD' - Outcome Development and Evaluation</li>
        <li>'TM' - Technological Modelling</li>
        <li>'TP' - Technological Products</li>
        <li>'TS' - Technological Systems</li>
        <li>'CT' - Characteristics of Technology</li>
        <li>'CO' - Characteristics of Technological Outcomes</li>
      </ul>
    oneOf:
    - const: "BD"
      title: Brief Development
    - const: "PP"
      title: Planning for Practice
    - const: "OD"
      title: Outcome Development and Evaluation
    - const: "TM"
      title: Technological Modelling
    - const: "TP"
      title: Technological Products
    - const: "TS"
      title: Technological Systems
    - const: "CT"
      title: Characteristics of Technology
    - const: "CO"
      title: Characteristics of Technological Outcomes

  # /////////////////////////////////////////////////////////////
  NZCodeSetsStrandAchievementProgressLevel:
    type: string
    title: Strand Achievement Progress Level
    description: >-
      <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>
      <ul>
        <li>'B' - Beginner</li>
        <li>'P' - Proficient</li>
        <li>'A' - Advanced</li>
      </ul>
    oneOf:
    - const: "B"
      title: Beginner
    - const: "P"
      title: Proficient
    - const: "A"
      title: Advanced

  # /////////////////////////////////////////////////////////////
  NZCodeSetsTechnologyCurriculumLevel:
    type: string
    title: Technology Curriculum Level
    description: >-
      <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>
      <ul>
        <li>'2' - Level 2</li>
        <li>'3' - Level 3</li>
        <li>'4' - Level 4</li>
      </ul>
    oneOf:
    - const: "2"
      title: Level 2
    - const: "3"
      title: Level 3
    - const: "4"
      title: Level 4

  # /////////////////////////////////////////////////////////////
  NZCodeSetsNCEASubjectArea:
    type: string
    title: NCEA Subject Area
    description: >-
      <p>Codes denoting Subject Areas defined by the NZQA for NCEA.</p>
      <ul>
        <li>'10' - Communication Skills</li>
        <li>'103' - Solid Wood Processing</li>
        <li>'112' - Human Services</li>
        <li>'113' - Fire Fighting</li>
        <li>'116' - Journalism</li>
        <li>'129' - Health Studies</li>
        <li>'158' - Service Sector Skills</li>
        <li>'166' - Driving</li>
        <li>'174' - Tourism</li>
        <li>'175' - Transport Studies</li>
        <li>'182' - Clothing Manufacture</li>
        <li>'184' - Food Processing</li>
      </ul>
      plus 274 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsNCEASubjectAreaType">NZCodeSetsNCEASubjectAreaType<a>
    oneOf:
    - const: "10"
      title: Communication Skills
    - const: "103"
      title: Solid Wood Processing
    - const: "112"
      title: Human Services
    - const: "113"
      title: Fire Fighting
    - const: "116"
      title: Journalism
    - const: "129"
      title: Health Studies
    - const: "158"
      title: Service Sector Skills
    - const: "166"
      title: Driving
    - const: "174"
      title: Tourism
    - const: "175"
      title: Transport Studies
    - const: "182"
      title: Clothing Manufacture
    - const: "184"
      title: Food Processing
    - const: "185"
      title: Furniture Trades
    - const: "186"
      title: Glass and Glazing
    - const: "189"
      title: Outdoor Fabric Products
    - const: "190"
      title: Plastics Processing Technology
    - const: "191"
      title: Printing
    - const: "194"
      title: Textiles Manufacture
    - const: "198"
      title: Aeronautical Engineering
    - const: "204"
      title: Electrical Engineering
    - const: "212"
      title: Mechanical Engineering
    - const: "215"
      title: Telecommunications
    - const: "221"
      title: Architecture
    - const: "224"
      title: Construction Trades
    - const: "226"
      title: Joinery
    - const: "228"
      title: Painting and Decorating
    - const: "229"
      title: Plumbing, Gasfitting and Drainlaying
    - const: "230"
      title: Quantity Surveying
    - const: "231"
      title: Surveying
    - const: "240"
      title: Adult Education and Training
    - const: "245"
      title: Dairy Manufacturing
    - const: "246"
      title: Roading Technology
    - const: "247"
      title: Distribution
    - const: "249"
      title: Social Science Studies
    - const: "253"
      title: Core Generic
    - const: "257"
      title: Motor Industry
    - const: "258"
      title: Paperboard Case Manufacturing
    - const: "259"
      title: Wood Panels Manufacturing
    - const: "260"
      title: Footwear and Leather Trades
    - const: "261"
      title: Manufacturing Skills
    - const: "262"
      title: Film and Electronic Media
    - const: "263"
      title: Equine
    - const: "264"
      title: Cleaning and Caretaking
    - const: "265"
      title: Commercial Road Transport
    - const: "266"
      title: Fitness
    - const: "267"
      title: Sport
    - const: "268"
      title: Lifting Equipment
    - const: "269"
      title: Industrial Measurement and Control
    - const: "271"
      title: Reo Māori
    - const: "272"
      title: Pulp and Paper Manufacturing
    - const: "273"
      title: Meat Processing
    - const: "275"
      title: Educational Administration
    - const: "276"
      title: Māori Education and Training
    - const: "277"
      title: Industrial Machine Knitting
    - const: "278"
      title: Computing
    - const: "279"
      title: Special Education
    - const: "280"
      title: Te Matauranga Māori me te Whakangungu
    - const: "281"
      title: Maritime
    - const: "282"
      title: Energy and Chemical Plant
    - const: "285"
      title: Compliance and Law Enforcement
    - const: "286"
      title: Animal Care and Handling
    - const: "288"
      title: Electronics Technology
    - const: "289"
      title: Beauty Services
    - const: "290"
      title: Pork Production
    - const: "291"
      title: Diving
    - const: "292"
      title: Cranes
    - const: "293"
      title: Community Support
    - const: "294"
      title: Public Health
    - const: "295"
      title: Real Estate
    - const: "297"
      title: Wool Harvesting
    - const: "298"
      title: Statistics and Probability
    - const: "299"
      title: Seafood
    - const: "300"
      title: Rural Contracting
    - const: "301"
      title: Emergency Services
    - const: "303"
      title: Occupational Health and Safety
    - const: "304"
      title: Ngā Mahi a te Whare Pora
    - const: "305"
      title: Highway Construction and Maintenance
    - const: "306"
      title: Civil Plant Operation Management
    - const: "307"
      title: Civil Works and Services
    - const: "308"
      title: Pavement Surfacing
    - const: "309"
      title: Security
    - const: "310"
      title: Hospitality
    - const: "314"
      title: Religious Studies
    - const: "315"
      title: Food and Related Products Processing
    - const: "316"
      title: Science
    - const: "317"
      title: Home and Life Sciences
    - const: "318"
      title: Electricity Supply
    - const: "319"
      title: Social Services
    - const: "320"
      title: Generic Education and Training
    - const: "321"
      title: Petrochemical Industry
    - const: "322"
      title: Steel Manufacturing
    - const: "323"
      title: Extractive Industries
    - const: "324"
      title: Civil Defence
    - const: "325"
      title: Leather Manufacturing
    - const: "326"
      title: Funeral Services
    - const: "328"
      title: Early Childhood Education and Care
    - const: "329"
      title: Mana Wahine
    - const: "330"
      title: Technology
    - const: "331"
      title: Community Recreation
    - const: "332"
      title: Outdoor Recreation
    - const: "333"
      title: Ski
    - const: "334"
      title: Public Sector Services
    - const: "335"
      title: Economic Theory and Practice
    - const: "336"
      title: Poultry Production
    - const: "337"
      title: Aviation
    - const: "338"
      title: English
    - const: "342"
      title: Construction
    - const: "343"
      title: Masonry
    - const: "344"
      title: Boating Industries
    - const: "345"
      title: Gas Industry
    - const: "346"
      title: Tikanga
    - const: "347"
      title: General Education Māori
    - const: "349"
      title: Hauora
    - const: "351"
      title: Music
    - const: "352"
      title: Dance
    - const: "354"
      title: Stevedoring and Ports Industry
    - const: "355"
      title: Māori Business and Management
    - const: "356"
      title: Furniture
    - const: "357"
      title: Fire and Rescue Services
    - const: "358"
      title: Supported Learning
    - const: "359"
      title: Languages
    - const: "360"
      title: Engineering
    - const: "362"
      title: Retail and Wholesale
    - const: "363"
      title: Storekeeping and Warehousing
    - const: "364"
      title: Drama
    - const: "365"
      title: Performing Arts General
    - const: "366"
      title: Health and Physical Education
    - const: "367"
      title: Pacific Islands Early Childhood Education
    - const: "368"
      title: Career Practice
    - const: "370"
      title: Māori Performing Arts
    - const: "371"
      title: Meat Inspection Services
    - const: "372"
      title: Mental Health
    - const: "374"
      title: Environment
    - const: "375"
      title: Offender Management
    - const: "378"
      title: Film and Television
    - const: "380"
      title: Electronic Media
    - const: "384"
      title: Ngā Mahi a te Rēhia
    - const: "385"
      title: Whenua
    - const: "386"
      title: Call Centres
    - const: "387"
      title: Community and Workplace Fire and Emergency Management
    - const: "389"
      title: Sports Turf
    - const: "390"
      title: Pacific Studies
    - const: "392"
      title: Supply Chain Management
    - const: "393"
      title: Civil Engineering
    - const: "394"
      title: Seafood Māori
    - const: "395"
      title: Tourism Māori
    - const: "396"
      title: Wood Processing Technology
    - const: "397"
      title: Blaster Coating
    - const: "40"
      title: Mathematics
    - const: "400"
      title: Water Industry
    - const: "402"
      title: Visual Arts
    - const: "403"
      title: Snowsport
    - const: "405"
      title: Specialist Rescue
    - const: "406"
      title: Rail Transport
    - const: "407"
      title: Logistics
    - const: "408"
      title: Retail, Distribution, and Sales
    - const: "410"
      title: Reo Māori Media
    - const: "411"
      title: Māori Business and Management
    - const: "412"
      title: Electronic Engineering
    - const: "413"
      title: Coatings, Inks, and Adhesives
    - const: "414"
      title: Environment Māori
    - const: "415"
      title: Niue Arts and Crafts
    - const: "416"
      title: Museum Services
    - const: "419"
      title: Pharmaceutical and Allied Products
    - const: "420"
      title: Hot Dip Galvanizing
    - const: "421"
      title: Marae Catering
    - const: "422"
      title: Contact Centres
    - const: "423"
      title: Fibreboard Packaging
    - const: "424"
      title: Resource Recovery
    - const: "426"
      title: Cadet Forces
    - const: "428"
      title: Solid Wood Manufacturing
    - const: "429"
      title: Wood Fibre Manufacturing
    - const: "430"
      title: Wood Handling and Distribution
    - const: "431"
      title: Wood Manufacturing - Generic Skills
    - const: "433"
      title: Solid Waste
    - const: "435"
      title: Business Operations and Development
    - const: "436"
      title: Business Environment
    - const: "437"
      title: Industrial Textile Fabrication
    - const: "438"
      title: Concrete
    - const: "441"
      title: Animal Product Examination Services
    - const: "442"
      title: Financial Services
    - const: "444"
      title: Metalliferous Mining
    - const: "445"
      title: Greyhound Racing Industry
    - const: "446"
      title: Baking Yeasts Manufacturing
    - const: "447"
      title: Composites
    - const: "449"
      title: Explosive Atmospheres
    - const: "450"
      title: Civil Defence Emergency Management
    - const: "451"
      title: Infrastructure Civil Engineering
    - const: "452"
      title: Infrastructure Works
    - const: "453"
      title: Health, Disability, and Aged Support
    - const: "454"
      title: Zero Waste
    - const: "456"
      title: Public Sector Compliance
    - const: "457"
      title: Te Ara Nunumi - Bereavement Pathways Maori
    - const: "458"
      title: Primary Sector
    - const: "459"
      title: Recreation and Sport
    - const: "460"
      title: Manaaki Marae - Marae Hospitality
    - const: "464"
      title: Renewable Energy Systems
    - const: "465"
      title: Mau Rākau
    - const: "466"
      title: Fellmongery and Leather Processing
    - const: "467"
      title: Te Marautanga o Aotearoa
    - const: "468"
      title: Primary Products Food Processing
    - const: "469"
      title: Industrial Coatings
    - const: "470"
      title: Dairy Processing
    - const: "471"
      title: Sign Making
    - const: "472"
      title: Taonga Pūoro
    - const: "473"
      title: Exercise
    - const: "474"
      title: Te Ara Hou ki te Ora
    - const: "475"
      title: Inclusive Education
    - const: "5"
      title: Whakairo
    - const: "53"
      title: Design
    - const: "55"
      title: Graphic Arts
    - const: "71"
      title: Information Processing
    - const: "76"
      title: Accounting
    - const: "78"
      title: Business Administration
    - const: "79"
      title: Financial Management
    - const: "82"
      title: Information Management
    - const: "84"
      title: Management
    - const: "85"
      title: Marketing
    - const: "86"
      title: Office Systems
    - const: "92"
      title: Land Skills
    - const: "93"
      title: Agriculture
    - const: "96"
      title: Forestry
    - const: "97"
      title: Horticulture
    - const: "99"
      title: Pest Management
    - const: "ACCO"
      title: Accounting
      x-endDate: 2020-04-15
    - const: "AGHO"
      title: Agricultural and Horticultural Science
      x-endDate: 2020-04-15
    - const: "AGRI"
      title: Agribusiness (Business Studies)
      x-endDate: 2020-04-15
    - const: "ARTC"
      title: Visual Arts
      x-endDate: 2020-04-15
    - const: "ARTH"
      title: Art History
      x-endDate: 2020-04-15
    - const: "BIOL"
      title: Biology
      x-endDate: 2020-04-15
    - const: "BUST"
      title: Business Studies
      x-endDate: 2020-04-15
    - const: "CHEM"
      title: Chemistry
      x-endDate: 2020-04-15
    - const: "CHIN"
      title: Chinese
      x-endDate: 2020-04-15
    - const: "CLST"
      title: Classical Studies
      x-endDate: 2020-04-15
    - const: "COMP"
      title: Computing
      x-endDate: 2020-04-15
    - const: "COOK"
      title: Cook Island Māori
      x-endDate: 2020-04-15
    - const: "DANC"
      title: Dance
      x-endDate: 2020-04-15
    - const: "DLIC"
      title: Drivers Licence
      x-endDate: 2020-04-15
    - const: "DRAM"
      title: Drama
      x-endDate: 2020-04-15
    - const: "DTEC"
      title: Digital Technologies
      x-endDate: 2020-04-15
    - const: "EAAS"
      title: Earth and Space Science
      x-endDate: 2020-04-15
    - const: "ECON"
      title: Economics
      x-endDate: 2020-04-15
    - const: "ENAC"
      title: English for Academic Purposes
      x-endDate: 2020-04-15
    - const: "ENGL"
      title: English
      x-endDate: 2020-04-15
    - const: "ENSL"
      title: English Language (EL)
      x-endDate: 2020-04-15
    - const: "FIMA"
      title: Field Māori
      x-endDate: 2020-04-15
    - const: "FREN"
      title: French
      x-endDate: 2020-04-15
    - const: "GEOG"
      title: Geography
      x-endDate: 2020-04-15
    - const: "GERM"
      title: German
      x-endDate: 2020-04-15
    - const: "GRAP"
      title: Digital and Visual Communication (Graphics)
      x-endDate: 2020-04-15
    - const: "HANG"
      title: Hangarau
      x-endDate: 2020-04-15
    - const: "HAUO"
      title: Hauora
      x-endDate: 2020-04-15
    - const: "HEED"
      title: Health
      x-endDate: 2020-04-15
    - const: "HIST"
      title: History
      x-endDate: 2020-04-15
    - const: "HOME"
      title: Home Economics
      x-endDate: 2020-04-15
    - const: "JAPA"
      title: Japanese
      x-endDate: 2020-04-15
    - const: "KORE"
      title: Korean
      x-endDate: 2020-04-15
    - const: "LAFT"
      title: Lea Faka-Tonga
      x-endDate: 2020-04-15
    - const: "LATI"
      title: Latin
      x-endDate: 2020-04-15
    - const: "LAWS"
      title: Legal Studies
      x-endDate: 2020-04-15
    - const: "LITE"
      title: Literacy
      x-endDate: 2020-04-15
    - const: "MAOR"
      title: Te Reo Māori
      x-endDate: 2020-04-15
    - const: "MAST"
      title: Mathematics and Statistics
      x-endDate: 2020-04-15
    - const: "MEST"
      title: Media Studies
      x-endDate: 2020-04-15
    - const: "MPRT"
      title: Māori Performing Arts
      x-endDate: 2020-04-15
    - const: "MUSC"
      title: Music
      x-endDate: 2020-04-15
    - const: "NGAT"
      title: Ngā Toi
      x-endDate: 2020-04-15
    - const: "NUME"
      title: Numeracy
      x-endDate: 2020-04-15
    - const: "NZSL"
      title: New Zealand Sign Language
      x-endDate: 2020-04-15
    - const: "PANG"
      title: Pāngarau
      x-endDate: 2020-04-15
    - const: "PHED"
      title: Physical Education
      x-endDate: 2020-04-15
    - const: "PHYS"
      title: Physics
      x-endDate: 2020-04-15
    - const: "PLAN"
      title: Pacific Language Studies
      x-endDate: 2020-04-15
    - const: "PSYC"
      title: Psychology
      x-endDate: 2020-04-15
    - const: "PUTA"
      title: Pūtaiao
      x-endDate: 2020-04-15
    - const: "RANG"
      title: Te Reo Rangatira
      x-endDate: 2020-04-15
    - const: "REST"
      title: Religious Studies
      x-endDate: 2020-04-15
    - const: "SAMO"
      title: Samoan
      x-endDate: 2020-04-15
    - const: "SCIE"
      title: Science
      x-endDate: 2020-04-15
    - const: "SENV"
      title: Education for Sustainability
      x-endDate: 2020-04-15
    - const: "SOSC"
      title: Sociology
      x-endDate: 2020-04-15
    - const: "SOST"
      title: Social Studies
      x-endDate: 2020-04-15
    - const: "SPAN"
      title: Spanish
      x-endDate: 2020-04-15
    - const: "SULE"
      title: Supported Learning
      x-endDate: 2020-04-15
    - const: "TECN"
      title: Technology
      x-endDate: 2020-04-15
    - const: "TIKA"
      title: Tikanga-ā-iwi
      x-endDate: 2020-04-15

  # /////////////////////////////////////////////////////////////
  NZCodeSetsAssessmentMethodology:
    type: string
    title: Assessment Methodology
    description: >-
      <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>
      <ul>
        <li>'P' - Primary - Aromatawai ā-roto</li>
        <li>'S' - Secondary - Aromatawai ā-waho</li>
      </ul>
    oneOf:
    - const: "P"
      title*: 
        en: Primary
        mi: Aromatawai ā-roto
      description: >-
        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.
    - const: "S"
      title*: 
        en: Secondary
        mi: Aromatawai ā-waho
      description: >-
        Learner is being assessed in an externally provided qualification system such as NCEA, Cambridge Education, International Baccalaureate, or similar.

  # /////////////////////////////////////////////////////////////
  NZCodeSetsAssessmentType:
    type: string
    title: Assessment Type
    description: >-
      <p>Standard codes denoting the type of assessment the student is sitting for the assessment task.</p>
      <ul>
        <li>'INT' - Internal - Aromatawai ā-roto</li>
        <li>'EXT' - External - Aromatawai ā-waho</li>
        <li>'MOC' - Mock</li>
        <li>'POR' - Portfolio</li>
        <li>'PRA' - Practical</li>
        <li>'OTJ' - Overall Teacher Judgement - Tā te Pouako i whakarite ai</li>
        <li>'OTH' - Other</li>
      </ul>
    oneOf:
    - const: "INT"
      title*: 
        en: Internal
        mi: Aromatawai ā-roto
    - const: "EXT"
      title*: 
        en: External
        mi: Aromatawai ā-waho
    - const: "MOC"
      title*: 
        en: Mock
    - const: "POR"
      title*: 
        en: Portfolio
    - const: "PRA"
      title*: 
        en: Practical
    - const: "OTJ"
      title*: 
        en: Overall Teacher Judgement
        mi: Tā te Pouako i whakarite ai
    - const: "OTH"
      title*: 
        en: Other

  # /////////////////////////////////////////////////////////////
  NZCodeSetsAssessmentTool:
    type: string
    title: Assessment Tool
    description: >-
      <p>Standard codes denoting assessment tools that may be used in an assessment task.</p>
      <ul>
        <li>'EASMATH' - e-asTTle Mathematics</li>
        <li>'EASREAD' - e-asTTle Reading</li>
        <li>'PATCOMP' - PAT: Reading Comprehension</li>
        <li>'PATMATH' - PAT: Mathematics</li>
        <li>'STARREA' - STAR Reading</li>
      </ul>
    oneOf:
    - const: "EASMATH"
      title: e-asTTle Mathematics
    - const: "EASREAD"
      title: e-asTTle Reading
    - const: "PATCOMP"
      title: "PAT: Reading Comprehension"
    - const: "PATMATH"
      title: "PAT: Mathematics"
    - const: "STARREA"
      title: STAR Reading

  # /////////////////////////////////////////////////////////////
  NZCodeSetsAssessmentToolTest:
    type: string
    title: Assessment Tool Test
    description: >-
      <p>Standard code set denoting the tests available within an assessment tool that may be used in an assessment task.</p>
      <ul>
        <li>'PMT1' - PAT Maths - Test 1</li>
        <li>'PMT1A' - PAT Maths - Test 1A</li>
        <li>'PMT2' - PAT Maths - Test 2</li>
        <li>'PMT2A' - PAT Maths - Test 2A</li>
        <li>'PMT3' - PAT Maths - Test 3</li>
        <li>'PMT3A' - PAT Maths - Test 3A</li>
        <li>'PMT4' - PAT Maths - Test 4</li>
        <li>'PMT4A' - PAT Maths - Test 4A</li>
        <li>'PMT5' - PAT Maths - Test 5</li>
        <li>'PMT5A' - PAT Maths - Test 5A</li>
        <li>'PMT6' - PAT Maths - Test 6</li>
        <li>'PMT6A' - PAT Maths - Test 6A</li>
      </ul>
      plus 35 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsAssessmentToolTestType">NZCodeSetsAssessmentToolTestType<a>
    oneOf:
    - const: "PMT1"
      title: PAT Maths - Test 1
    - const: "PMT1A"
      title: PAT Maths - Test 1A
    - const: "PMT2"
      title: PAT Maths - Test 2
    - const: "PMT2A"
      title: PAT Maths - Test 2A
    - const: "PMT3"
      title: PAT Maths - Test 3
    - const: "PMT3A"
      title: PAT Maths - Test 3A
    - const: "PMT4"
      title: PAT Maths - Test 4
    - const: "PMT4A"
      title: PAT Maths - Test 4A
    - const: "PMT5"
      title: PAT Maths - Test 5
    - const: "PMT5A"
      title: PAT Maths - Test 5A
    - const: "PMT6"
      title: PAT Maths - Test 6
    - const: "PMT6A"
      title: PAT Maths - Test 6A
    - const: "PMT7"
      title: PAT Maths - Test 7
    - const: "PMT7A"
      title: PAT Maths - Test 7A
    - const: "PMT8A"
      title: PAT Maths - Test 8A
    - const: "PMTADA"
      title: PAT Maths - Adaptive
    - const: "PRCT1"
      title: PAT Reading Comp - Test 1
    - const: "PRCT2"
      title: PAT Reading Comp - Test 2
    - const: "PRCT3"
      title: PAT Reading Comp - Test 3
    - const: "PRCT4"
      title: PAT Reading Comp - Test 4
    - const: "PRCT5"
      title: PAT Reading Comp - Test 5
    - const: "PRCT6"
      title: PAT Reading Comp - Test 6
    - const: "PRCT7"
      title: PAT Reading Comp - Test 7
    - const: "SRT34A"
      title: STAR Reading - 3-4 A
    - const: "SRT34B"
      title: STAR Reading - 3-4 B
    - const: "SRT34C"
      title: STAR Reading - 3-4 C
    - const: "SRT56A"
      title: STAR Reading - 5-6 A
    - const: "SRT56B"
      title: STAR Reading - 5-6 B
    - const: "SRT56C"
      title: STAR Reading - 5-6 C
    - const: "SRT78A"
      title: STAR Reading - 7-8 A
    - const: "SRT78B"
      title: STAR Reading - 7-8 B
    - const: "SRT78C"
      title: STAR Reading - 7-8 C
    - const: "SRT9A"
      title: STAR Reading - 9A
    - const: "EMYR4"
      title: e-asTTle Maths – Year 4
    - const: "EMYR5"
      title: e-asTTle Maths – Year 5
    - const: "EMYR6"
      title: e-asTTle Maths – Year 6
    - const: "EMYR7"
      title: e-asTTle Maths – Year 7
    - const: "EMYR8"
      title: e-asTTle Maths – Year 8
    - const: "EMYR9"
      title: e-asTTle Maths – Year 9
    - const: "EMYR10"
      title: e-asTTle Maths – Year 10
    - const: "ERYR4"
      title: e-asTTle Reading – Year 4
    - const: "ERYR5"
      title: e-asTTle Reading – Year 5
    - const: "ERYR6"
      title: e-asTTle Reading – Year 6
    - const: "ERYR7"
      title: e-asTTle Reading – Year 7
    - const: "ERYR8"
      title: e-asTTle Reading – Year 8
    - const: "ERYR9"
      title: e-asTTle Reading – Year 9
    - const: "ERYR10"
      title: e-asTTle Reading – Year 10

  # /////////////////////////////////////////////////////////////
  NZCodeSetsAssessmentEvaluationType:
    type: string
    title: Assessment Evaluation Type
    description: >-
      <p>Code set denoting the type of assessment evaluation taking place, e.g. formative or summative.</p>
      <ul>
        <li>'F' - Formative - Arataki</li>
        <li>'S' - Summative - Whakakapi</li>
      </ul>
    oneOf:
    - const: "F"
      title*: 
        en: Formative
        mi: Arataki
    - const: "S"
      title*: 
        en: Summative
        mi: Whakakapi

  # /////////////////////////////////////////////////////////////
  NZCodeSetsAssessmentStatus:
    type: string
    title: Assessment Status
    description: >-
      <p>Codes denoting the current status of the assessment task.</p>
      <ul>
        <li>'MOD' - Moderated - Kua whakaōritehia</li>
        <li>'NOT' - Unmoderated - Kāre anō kia whakaōritehia</li>
        <li>'PUB' - Published - Kua tāia</li>
        <li>'ENT' - Entered - I whakaurungia</li>
        <li>'MAR' - Marked - Kua mākahia</li>
      </ul>
    oneOf:
    - const: "MOD"
      title*: 
        en: Moderated
        mi: Kua whakaōritehia
    - const: "NOT"
      title*: 
        en: Unmoderated
        mi: Kāre anō kia whakaōritehia
    - const: "PUB"
      title*: 
        en: Published
        mi: Kua tāia
    - const: "ENT"
      title*: 
        en: Entered
        mi: I whakaurungia
    - const: "MAR"
      title*: 
        en: Marked
        mi: Kua mākahia

  # /////////////////////////////////////////////////////////////
  NZCodeSetsAssessmentProviderRole:
    type: string
    title: Assessment Provider Role
    description: >-
      <p>Code set denoting the role of the provider in the assessment, e.g. Assessing Provider, Location Provider.</p>
      <ul>
        <li>'ASR' - Assessor</li>
        <li>'LOC' - Location Provider</li>
        <li>'PRO' - Provider</li>
        <li>'REG' - Registering Organisation</li>
      </ul>
    oneOf:
    - const: "ASR"
      title: Assessor
    - const: "LOC"
      title: Location Provider
    - const: "PRO"
      title: Provider
    - const: "REG"
      title: Registering Organisation

  # /////////////////////////////////////////////////////////////
  NZCodeSetsAssessmentStaffRole:
    type: string
    title: Assessment Staff Role
    description: >-
      
      <ul>
        <li>'CRE' - Creator</li>
        <li>'MOD' - Moderator</li>
        <li>'ASS' - Assessor</li>
        <li>'INV' - Invigilator</li>
        <li>'OTH' - Other</li>
      </ul>
    oneOf:
    - const: "CRE"
      title: Creator
    - const: "MOD"
      title: Moderator
    - const: "ASS"
      title: Assessor
    - const: "INV"
      title: Invigilator
    - const: "OTH"
      title: Other

  # /////////////////////////////////////////////////////////////
  NZCodeSetsScoreMetric:
    type: string
    title: Score Metric
    description: >-
      <p>The type of score metric used for an assessment task result.</p>
      <ul>
        <li>'RAW' - Raw - Taketake</li>
        <li>'SCA' - Scale - Āwhata</li>
        <li>'MAR' - Margin of Error - Pae Hapa</li>
        <li>'STA' - Stanine - Pouiwa</li>
        <li>'YEA' - Year Level - Taumata ā-Tau</li>
        <li>'CUR' - Curriculum Level - Taumata Marau</li>
        <li>'NKS' - Number Knowledge Stage</li>
        <li>'NA' - NA - NA</li>
        <li>'NAM' - NAME - NAME</li>
      </ul>
    oneOf:
    - const: "RAW"
      title*: 
        en: Raw
        mi: Taketake
    - const: "SCA"
      title*: 
        en: Scale
        mi: Āwhata
    - const: "MAR"
      title*: 
        en: Margin of Error
        mi: Pae Hapa
    - const: "STA"
      title*: 
        en: Stanine
        mi: Pouiwa
    - const: "YEA"
      title*: 
        en: Year Level
        mi: Taumata ā-Tau
    - const: "CUR"
      title*: 
        en: Curriculum Level
        mi: Taumata Marau
      description: >-
        "Student is assessed to be at one of the levels defined by The National Curriculum: 1A, 1B through 5A, 5B"
    - const: "NKS"
      title*: 
        en: Number Knowledge Stage
      description: >-
        "Recorded as either stage numbers 1-8 or 7 codes: E, CA, AC, EA, AA, AM, AP"
    - const: "NA"
      title*: 
        en: NA
        mi: NA
      description: >-
        "NZQA Unit Standards: Not Achieved, Achieved"
    - const: "NAM"
      title*: 
        en: NAME
        mi: NAME
      description: >-
        "NZQA Achievement Standards: Not Achieved, Achieved, Achieved with Merit, Achieved with Excellence"

  # /////////////////////////////////////////////////////////////
  NZCodeSetsScoreType:
    type: string
    title: Score Type
    description: >-
      <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>
      <ul>
        <li>'INI' - Initial</li>
        <li>'INT' - Interim</li>
        <li>'MOD' - Moderated</li>
        <li>'FIN' - Final</li>
      </ul>
    oneOf:
    - const: "INI"
      title: Initial
    - const: "INT"
      title: Interim
    - const: "MOD"
      title: Moderated
    - const: "FIN"
      title: Final

  # /////////////////////////////////////////////////////////////
  NZCodeSetsAssessmentRegistrationStatus:
    type: string
    title: Assessment Registration Status
    description: >-
      <p> Code set denoting the status of the student's registration for an assessment task, e.g. applied, approved, withdrawn.</p>
      <ul>
        <li>'ALD' - Applied</li>
        <li>'APD' - Approved</li>
        <li>'WTH' - Withdrawn</li>
      </ul>
    oneOf:
    - const: "ALD"
      title: Applied
    - const: "APD"
      title: Approved
    - const: "WTH"
      title: Withdrawn

  # /////////////////////////////////////////////////////////////
  NZCodeSetsAssessmentRequestType:
    type: string
    title: Assessment Request Type
    description: >-
      <p>Denotes the request type to NZQA for a Digital Exam/ Paper Exam or Digital Submission / Physical Submission.</p>
      <ul>
        <li>'DE' - Digital Exam</li>
        <li>'DS' - Digital Submission</li>
        <li>'NS' - Not Selected</li>
        <li>'PE' - Paper Exam</li>
        <li>'PS' - Physical Submission</li>
      </ul>
    oneOf:
    - const: "DE"
      title: Digital Exam
    - const: "DS"
      title: Digital Submission
    - const: "NS"
      title: Not Selected
    - const: "PE"
      title: Paper Exam
    - const: "PS"
      title: Physical Submission

  # /////////////////////////////////////////////////////////////
  NZCodeSetsNZQAFinancialAssistance:
    type: string
    title: NZQA Financial Assistance
    description: >-
      <p>Code set denoting the type of financial assistance the learner is receiving from NZQA</p>
      <ul>
        <li>'B' - Benefit</li>
        <li>'F' - Family</li>
        <li>'I' - Income</li>
      </ul>
    oneOf:
    - const: "B"
      title: Benefit
    - const: "F"
      title: Family
    - const: "I"
      title: Income

  # /////////////////////////////////////////////////////////////
  NZCodeSetsSpecialAssessmentCondition:
    type: string
    title: Special Assessment Condition
    description: >-
      <p>Standard codes denoting special assessment conditions that a student requires when sitting an assessment.</p>
      <ul>
        <li>'BRA' - Braille Paper</li>
        <li>'COM' - Computer OR Writer</li>
        <li>'ENL' - Enlarged Paper</li>
        <li>'EXT' - Extra Time</li>
        <li>'OTH' - Other</li>
        <li>'REA' - Reader</li>
        <li>'RES' - Rest Breaks</li>
        <li>'SEP' - Separate Accommodation</li>
        <li>'SIR' - Signing Reader</li>
        <li>'SIS' - Signing Supervisor</li>
        <li>'SPE' - Special Paper</li>
      </ul>
    oneOf:
    - const: "BRA"
      title: Braille Paper
    - const: "COM"
      title: Computer OR Writer
    - const: "ENL"
      title: Enlarged Paper
    - const: "EXT"
      title: Extra Time
    - const: "OTH"
      title: Other
    - const: "REA"
      title: Reader
    - const: "RES"
      title: Rest Breaks
    - const: "SEP"
      title: Separate Accommodation
    - const: "SIR"
      title: Signing Reader
    - const: "SIS"
      title: Signing Supervisor
    - const: "SPE"
      title: Special Paper

  # /////////////////////////////////////////////////////////////
  NZCodeSetsAssessmentTimeframe:
    type: string
    title: Assessment Timeframe
    description: >-
      <p>The timeframe of the assessment, e.g. Mid-Year, End of Year.</p>
      <ul>
        <li>'OTH' - Other</li>
        <li>'OUT' - Out of Cycle</li>
        <li>'INT' - Interim</li>
        <li>'END' - End of Year</li>
      </ul>
    oneOf:
    - const: "OTH"
      title: Other
    - const: "OUT"
      title: Out of Cycle
    - const: "INT"
      title: Interim
    - const: "END"
      title: End of Year

  # /////////////////////////////////////////////////////////////
  NZCodeSetsNCEAEndorsementLevel:
    type: string
    title: NCEA Endorsement Level
    description: >-
      <p>The level of NCEA endorsement the student received for the attainment.</p>
      <ul>
        <li>'E' - Excellence - Kairangi</li>
        <li>'M' - Merit - Kaiaka</li>
      </ul>
    oneOf:
    - const: "E"
      title*: 
        en: Excellence
        mi: Kairangi
    - const: "M"
      title*: 
        en: Merit
        mi: Kaiaka

  # /////////////////////////////////////////////////////////////
  NZCodeSetsAssessmentResult:
    type: string
    title: Assessment Result
    description: >-
      <p>Code set denoting final result and score values that are pre-defined for certain assessments, e.g. NCEA.</p>
      <ul>
        <li>'E' - Excellence - Kairangi</li>
        <li>'M' - Merit - Kaiaka</li>
        <li>'A' - Achieved - I tutuki</li>
        <li>'F' - Fail - Kāre i eke</li>
        <li>'N' - Not Achieved - Kāore i tutuki</li>
        <li>'P' - Pass - Paetae</li>
        <li>'NKS-EM' - Emergent</li>
        <li>'NKS-CA' - Counting All</li>
        <li>'NKS-AC' - Advanced Counting</li>
        <li>'NKS-EA' - Early Additive</li>
        <li>'NKS-AA' - Advanced Additive</li>
        <li>'NKS-AM' - Advanced Multiplicative</li>
      </ul>
      plus 1 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsAssessmentResultType">NZCodeSetsAssessmentResultType<a>
    oneOf:
    - const: "E"
      title*: 
        en: Excellence
        mi: Kairangi
    - const: "M"
      title*: 
        en: Merit
        mi: Kaiaka
    - const: "A"
      title*: 
        en: Achieved
        mi: I tutuki
    - const: "F"
      title*: 
        en: Fail
        mi: Kāre i eke
    - const: "N"
      title*: 
        en: Not Achieved
        mi: Kāore i tutuki
    - const: "P"
      title*: 
        en: Pass
        mi: Paetae
    - const: "NKS-EM"
      title*: 
        en: Emergent
      description: >-
        Number Knowledge Stage 1 - Emergent
    - const: "NKS-CA"
      title*: 
        en: Counting All
      description: >-
        Number Knowledge Stages 2-3 - Counting All
    - const: "NKS-AC"
      title*: 
        en: Advanced Counting
      description: >-
        Number Knowledge Stage 4 - Advanced Counting
    - const: "NKS-EA"
      title*: 
        en: Early Additive
      description: >-
        Number Knowledge Stage 5 - Early Additive
    - const: "NKS-AA"
      title*: 
        en: Advanced Additive
      description: >-
        Number Knowledge Stage 6 - Advanced Additive
    - const: "NKS-AM"
      title*: 
        en: Advanced Multiplicative
      description: >-
        Number Knowledge Stage 7 - Advanced Multiplicative
    - const: "NKS-AP"
      title*: 
        en: Advanced Proportional
      description: >-
        Number Knowledge Stage 8 - Advanced Proportional

  # /////////////////////////////////////////////////////////////
  NZCodeSetsSchoolEnrolmentType:
    type: string
    title: School Enrolment Type
    description: >-
      <p>A type of student enrolment with a school. Allows differentiation of concurrent enrolments, eg base vs other.</p>
      <ul>
        <li>'BASE' - Base Enrolment</li>
        <li>'HOST' - Hosted Enrolment</li>
        <li>'REMO' - Remote/Distance Learning</li>
      </ul>
    oneOf:
    - const: "BASE"
      title: Base Enrolment
      description: >-
        <p>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>
    - const: "HOST"
      title: Hosted Enrolment
      description: >-
        <p>Indicates an enrolment that is concurrent with the student's base enrolment at another school.</p>
    - const: "REMO"
      title: Remote/Distance Learning
      description: >-
        <p>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>

  # /////////////////////////////////////////////////////////////
  NZCodeSetsProviderEnrolmentStatus:
    type: string
    title: Provider Enrolment Status
    description: >-
      <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>
      <ul>
        <li>'APP' - Application</li>
        <li>'ACC' - Accepted</li>
        <li>'CAN' - Cancelled</li>
        <li>'ACT' - Active</li>
        <li>'WIT' - Withdrawn</li>
        <li>'PEN' - Pending</li>
      </ul>
    oneOf:
    - const: "APP"
      title: Application
      description: >-
        <p>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>
    - const: "ACC"
      title: Accepted
      description: >-
        <p>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>
    - const: "CAN"
      title: Cancelled
      description: >-
        <p>The enrolment application has been declined by the Provider, or discontinued by the Student, prior to becoming an ACTIVE enrolment.</p>
    - const: "ACT"
      title: Active
      description: >-
        <p>The student has taken up the enrolment, and has attended classes for the first time.</p>
    - const: "WIT"
      title: Withdrawn
      description: >-
        The Student has left the Provider, after the enrolment was made ACTIVE
    - const: "PEN"
      title: Pending
      description: >-
        <p>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>

  # /////////////////////////////////////////////////////////////
  NZCodeSetsStudentTeachingGroupEnrolmentStatus:
    type: string
    title: Student TeachingGroup Enrolment Status
    description: >-
      <p>Code set denoting the status of the student's teaching group enrolment.</p> <p>Set to Active when: StartDate => today's date and EndDate is NULL or EndDate > than today's date.</p> <p>Set to Inactive when: StartDate < today's date or EndDate =< today's date.</p>
      <ul>
        <li>'A' - Active</li>
        <li>'I' - Inactive</li>
      </ul>
    oneOf:
    - const: "A"
      title: Active
    - const: "I"
      title: Inactive

  # /////////////////////////////////////////////////////////////
  NZCodeSetsEnrolmentExitType:
    type: string
    title: Enrolment Exit Type
    description: >-
      <p>Enrolment Exit code, derived from code set used in School Roll Returns.</p>
      <ul>
        <li>'S' - Transferred to Another School in NZ - Whakawhiti ki kura kē o Aotearoa</li>
        <li>'H' - Transferring to Home Schooling - Whakawhiti ki te kura-kāinga</li>
        <li>'O' - Gone Overseas - Haere ki tāwāhi</li>
        <li>'D' - Deceased - Kua mate</li>
        <li>'X' - Expulsion (for Students Aged 16 and Over Only) - I panaia (mō te hunga ākonga 16 te pakeke neke atu anake)</li>
        <li>'L' - End of Schooling (for Students Aged 16 and Over Only) - Kua mutu te kura (mō te hunga ākonga 16 te pakeke neke atu anake)</li>
        <li>'E' - Granted Early Exemption (Applies to Those Younger Than 16yrs Old) - Whakaaetia kia wāteatia mai (e pā ana ki ērā ākonga tau heke 16 te pakeke)</li>
        <li>'K' - Exclusion (for Students Aged Younger Than 16) - Whakarerenga (mō te hunga ākonga tau heke 16 te pakeke)</li>
        <li>'C' - Continuous Absence - Ka ngaro i ia te wā</li>
        <li>'J' - Eligibility Expired - Kua kati te māraurau</li>
        <li>'P' - Caregiver Decision - Whakarite a te Kaitiaki</li>
      </ul>
    oneOf:
    - const: "S"
      title*: 
        en: Transferred to Another School in NZ
        mi: Whakawhiti ki kura kē o Aotearoa
    - const: "H"
      title*: 
        en: Transferring to Home Schooling
        mi: Whakawhiti ki te kura-kāinga
    - const: "O"
      title*: 
        en: Gone Overseas
        mi: Haere ki tāwāhi
    - const: "D"
      title*: 
        en: Deceased
        mi: Kua mate
    - const: "X"
      title*: 
        en: Expulsion (for Students Aged 16 and Over Only)
        mi: I panaia (mō te hunga ākonga 16 te pakeke neke atu anake)
    - const: "L"
      title*: 
        en: End of Schooling (for Students Aged 16 and Over Only)
        mi: Kua mutu te kura (mō te hunga ākonga 16 te pakeke neke atu anake)
    - const: "E"
      title*: 
        en: Granted Early Exemption (Applies to Those Younger Than 16yrs Old)
        mi: Whakaaetia kia wāteatia mai (e pā ana ki ērā ākonga tau heke 16 te pakeke)
    - const: "K"
      title*: 
        en: Exclusion (for Students Aged Younger Than 16)
        mi: Whakarerenga (mō te hunga ākonga tau heke 16 te pakeke)
    - const: "C"
      title*: 
        en: Continuous Absence
        mi: Ka ngaro i ia te wā
    - const: "J"
      title*: 
        en: Eligibility Expired
        mi: Kua kati te māraurau
    - const: "P"
      title*: 
        en: Caregiver Decision
        mi: Whakarite a te Kaitiaki

  # /////////////////////////////////////////////////////////////
  NZCodeSetsEligibilityCriteria:
    type: string
    title: Eligibility Criteria
    description: >-
      <p>The criteria used to determine the eligibility status of a student for enrolment and MoE funding purposes.</p>
      <ul>
        <li>'NZC' - NZ Citizen (incl. TKL, COK, NIU)</li>
        <li>'AUC' - AU Citizen</li>
        <li>'NZR' - NZ Resident</li>
        <li>'IFP' - International Fee Paying</li>
        <li>'GAE' - Govt. Approved Exchange Scheme</li>
        <li>'DTB' - Domestic Time-bound</li>
        <li>'MOE' - MoE Approved</li>
        <li>'DAY' - 28 Day Waiver</li>
        <li>'EXT' - Extended 28 Day Waiver</li>
      </ul>
    oneOf:
    - const: "NZC"
      title: NZ Citizen (incl. TKL, COK, NIU)
    - const: "AUC"
      title: AU Citizen
      description: >-
        Includes Australian permanent residents.
    - const: "NZR"
      title: NZ Resident
    - const: "IFP"
      title: International Fee Paying
    - const: "GAE"
      title: Govt. Approved Exchange Scheme
    - const: "DTB"
      title: Domestic Time-bound
    - const: "MOE"
      title: MoE Approved
    - const: "DAY"
      title: 28 Day Waiver
    - const: "EXT"
      title: Extended 28 Day Waiver

  # /////////////////////////////////////////////////////////////
  NZCodeSetsStudentFundingType:
    type: string
    title: Student Funding Type
    description: >-
      <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>
      <ul>
        <li>'FF' - International Fee-Paying Student - Ākonga ā-Ao Utu Urutomo</li>
        <li>'AE' - Student in Alternative Education - Ākonga Mātauranga Kē</li>
        <li>'EX' - International Exchange Student - Ākonga Whakawhiti ā-Ao</li>
        <li>'NF' - Not Funded - Kāore he pūtea āwhina</li>
        <li>'RA' - Adult Student - Ākonga Pakeke</li>
        <li>'AD' - Returning Adult Student - Ākonga Pakeke Hokingarua</li>
        <li>'RE' - Regular Student - Ākonga</li>
        <li>'TPREOM' - Teen Parent Regular Student Over Maximum Roll - Ranga Mātātahi, Ākonga kua aua atu i te taumata rārangi</li>
        <li>'TPRAOM' - Teen Parent Adult Student Over Maximum Roll - Ranga Mātātahi, Ākonga Pakeke kua aua atu i te taumata rārangi</li>
        <li>'TPAD' - Teen Parent Other Adult Student - Ranga Mātātahi, Ākonga Pakeke kē</li>
        <li>'TPRE' - Teen Parent Eligible and Enrolled Regular Student - Ranga Mātātahi me ngā Ākonga kua uru</li>
        <li>'TPRAE' - Teen Parent Enrolled Continuing Adult Student - Ranga Mātātahi kua uru hei Ākonga Pakeke e haere tonu ana</li>
      </ul>
      plus 4 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsStudentFundingTypeType">NZCodeSetsStudentFundingTypeType<a>
    oneOf:
    - const: "FF"
      title*: 
        en: International Fee-Paying Student
        mi: Ākonga ā-Ao Utu Urutomo
      description: >-
        An International student who meets full tuition costs on their own or from funds provided to them by sponsors other than NZAID.
    - const: "AE"
      title*: 
        en: Student in Alternative Education
        mi: Ākonga Mātauranga Kē
      description: >-
        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).
    - const: "EX"
      title*: 
        en: International Exchange Student
        mi: Ākonga Whakawhiti ā-Ao
      description: >-
        A student (and dependants) studying in New Zealand under an exchange programme approved by the New Zealand Government.
    - const: "NF"
      title*: 
        en: Not Funded
        mi: Kāore he pūtea āwhina
      description: >-
        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”.
    - const: "RA"
      title*: 
        en: Adult Student
        mi: Ākonga Pakeke
      description: >-
        "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."
    - const: "AD"
      title*: 
        en: Returning Adult Student
        mi: Ākonga Pakeke Hokingarua
      description: >-
        "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."
    - const: "RE"
      title*: 
        en: Regular Student
        mi: Ākonga
      description: >-
        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.
    - const: "TPREOM"
      title*: 
        en: Teen Parent Regular Student Over Maximum Roll
        mi: Ranga Mātātahi, Ākonga kua aua atu i te taumata rārangi
      description: >-
        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.
    - const: "TPRAOM"
      title*: 
        en: Teen Parent Adult Student Over Maximum Roll
        mi: Ranga Mātātahi, Ākonga Pakeke kua aua atu i te taumata rārangi
      description: >-
        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.
    - const: "TPAD"
      title*: 
        en: Teen Parent Other Adult Student
        mi: Ranga Mātātahi, Ākonga Pakeke kē
      description: >-
        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.
    - const: "TPRE"
      title*: 
        en: Teen Parent Eligible and Enrolled Regular Student
        mi: Ranga Mātātahi me ngā Ākonga kua uru
      description: >-
        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.
    - const: "TPRAE"
      title*: 
        en: Teen Parent Enrolled Continuing Adult Student
        mi: Ranga Mātātahi kua uru hei Ākonga Pakeke e haere tonu ana
      description: >-
        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.
    - const: "EM"
      title*: 
        en: External Student
        mi: Ākonga ā-waho
      description: >-
        A student who attends this school for some courses but is enrolled at another school where a majority of instruction occurs.
    - const: "SA"
      title*: 
        en: Student in a Satellite Class of a Special School
        mi: Ākonga o te akomanga kē o te Kura Motuhake
      description: >-
        Student who is in a Satellite class of a Special School.
    - const: "NA"
      title*: 
        en: Not Attending
        mi: Kāore i tae
      description: >-
        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.
    - const: "SF"
      title*: 
        en: Student in a Separately Funded Unit
        mi: Ākonga kei ranga whai pūtea motuhake
      description: >-
        Student is enrolled in a separately funded unit.

  # /////////////////////////////////////////////////////////////
  NZCodeSetsOngoingResourceScheme:
    type: string
    title: Ongoing Resource Scheme
    description: >-
      <p>Codes denoting the level of ORS funding a student may receive.</p>
      <ul>
        <li>'H' - High ORS - Teitei te ORS</li>
        <li>'V' - Very High ORS - Tino Teitei te ORS</li>
        <li>'E' - Extension (Moderate to High) - Whakaroanga (Rewatanga ki Teitei)</li>
      </ul>
    oneOf:
    - const: "H"
      title*: 
        en: High ORS
        mi: Teitei te ORS
    - const: "V"
      title*: 
        en: Very High ORS
        mi: Tino Teitei te ORS
    - const: "E"
      title*: 
        en: Extension (Moderate to High)
        mi: Whakaroanga (Rewatanga ki Teitei)

  # /////////////////////////////////////////////////////////////
  NZCodeSetsExchangeScheme:
    type: string
    title: Exchange Scheme
    description: >-
      <p>The type of exchange scheme for student enrolment where the Eligibility Criteria is "Student on Government approved exchange scheme" (5).</p>
      <ul>
        <li>'AFS' - AFS Intercultural Programmes NZ Inc.</li>
        <li>'GSE' - NZ / German Student Exchange</li>
        <li>'IIU' - NZ Institute of International Understanding</li>
        <li>'RIN' - Rotary International NZ</li>
        <li>'STS' - STS High School Foundation</li>
        <li>'YFU' - YFU New Zealand Inc.</li>
        <li>'WYS' - World Youth Service Society (WYSS)</li>
        <li>'STA' - Student Exchange Australia New Zealand Ltd.</li>
        <li>'TAE' - Tahiti Exchange</li>
        <li>'NGE' - NZ - Germany Exchange - Düsseldorf</li>
        <li>'YED' - Your Education</li>
        <li>'NSE' - NZ Switzerland Exchange</li>
      </ul>
      plus 1 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsExchangeSchemeType">NZCodeSetsExchangeSchemeType<a>
    oneOf:
    - const: "AFS"
      title: AFS Intercultural Programmes NZ Inc.
    - const: "GSE"
      title: NZ / German Student Exchange
    - const: "IIU"
      title: NZ Institute of International Understanding
    - const: "RIN"
      title: Rotary International NZ
    - const: "STS"
      title: STS High School Foundation
    - const: "YFU"
      title: YFU New Zealand Inc.
    - const: "WYS"
      title: World Youth Service Society (WYSS)
    - const: "STA"
      title: Student Exchange Australia New Zealand Ltd.
    - const: "TAE"
      title: Tahiti Exchange
    - const: "NGE"
      title: NZ - Germany Exchange - Düsseldorf
    - const: "YED"
      title: Your Education
    - const: "NSE"
      title: NZ Switzerland Exchange
    - const: "EXA"
      title: Exchange Agreement

  # /////////////////////////////////////////////////////////////
  NZCodeSetsPostSchoolActivity:
    type: string
    title: Post School Activity
    description: >-
      <p>The post school activity the student is moving on to once they have exited the school.</p>
      <ul>
        <li>'10' - Further education or training - Me whai mātauranga/whakangungu kē</li>
        <li>'11' - Employment and further education/training - Me whai mahi, mātauranga/whakangungu kē</li>
        <li>'12' - Employment - Me whai mahi</li>
        <li>'13' - Other - He mea kē</li>
        <li>'88' - Unknown - Kāre e mōhiotia</li>
      </ul>
    oneOf:
    - const: "10"
      title*: 
        en: Further education or training
        mi: Me whai mātauranga/whakangungu kē
    - const: "11"
      title*: 
        en: Employment and further education/training
        mi: Me whai mahi, mātauranga/whakangungu kē
    - const: "12"
      title*: 
        en: Employment
        mi: Me whai mahi
    - const: "13"
      title*: 
        en: Other
        mi: He mea kē
    - const: "88"
      title*: 
        en: Unknown
        mi: Kāre e mōhiotia

  # /////////////////////////////////////////////////////////////
  NZCodeSetsCoEnrolmentType:
    type: string
    title: CoEnrolment Type
    description: >-
      <p></p>
      <ul>
        <li>'OTH' - Other</li>
      </ul>
    oneOf:
    - const: "OTH"
      title: Other

  # /////////////////////////////////////////////////////////////
  NZCodeSetsPreEnrolmentExitType:
    type: string
    title: Pre Enrolment Exit Type
    description: >-
      <p>Code set denoting how the student's pre-enrolment was cancelled.</p>
      <ul>
        <li>'A' - Automated</li>
        <li>'M' - Manual</li>
      </ul>
    oneOf:
    - const: "A"
      title: Automated
    - const: "M"
      title: Manual

  # /////////////////////////////////////////////////////////////
  NZCodeSetsPreEnrolmentCancellationReason:
    type: string
    title: Pre Enrolment Cancellation Reason
    description: >-
      <p>Code set denoting why the student's pre-enrolment was cancelled.</p>
      <ul>
        <li>'SIE' - Student Incorrectly Enrolled</li>
        <li>'SDE' - Student Declined Enrolment</li>
        <li>'DEC' - Deceased</li>
        <li>'OTH' - Other - Please Specify</li>
      </ul>
    oneOf:
    - const: "SIE"
      title: Student Incorrectly Enrolled
    - const: "SDE"
      title: Student Declined Enrolment
    - const: "DEC"
      title: Deceased
    - const: "OTH"
      title: Other - Please Specify

  # /////////////////////////////////////////////////////////////
  NZCodeSetsEarlyChildhoodEducationType:
    type: string
    title: Early Childhood Education Type
    description: >-
      <p>The type of early childhood education the student received.</p>
      <ul>
        <li>'EKR' - Attended Kohanga Reo - I haere ki Te Kōhanga Reo</li>
        <li>'EPC' - Attended Playcentre - I tae ki te Playcentre</li>
        <li>'EKE' - Attended Kindergarden or Education and Care - I tae ki te Kura Kōhungahunga, ki Education and Care rānei</li>
        <li>'EHB' - Attended Home Based Service - I tae ki tētahi Ratonga ā-Kāinga</li>
        <li>'EPG' - Attended Playgroup or Pacific Islands EC Group - I tae ki ngā kāhui kōhungahunga Pasifika, Playgroup rānei</li>
        <li>'ECO' - Attended The Correspondence School - Te Aho o Te Kura Pounamu - I tae ki Te Aho o te Kura Pounamu</li>
        <li>'EOS' - Attended, but only outside New Zealand - I tae ake, engari i waho kē atu o Aotearoa</li>
        <li>'ETU' - Attended, but don't know what type of service - I tae ake engari kāre i mōhiotia te momo ratonga</li>
        <li>'ENA' - Did not attend - Kāre i tae ake</li>
        <li>'EUN' - Unable to establish if attended or not - Kāre e mōhio mēnā i tae atu kāore rānei</li>
      </ul>
    oneOf:
    - const: "EKR"
      title*: 
        en: Attended Kohanga Reo
        mi: I haere ki Te Kōhanga Reo
    - const: "EPC"
      title*: 
        en: Attended Playcentre
        mi: I tae ki te Playcentre
    - const: "EKE"
      title*: 
        en: Attended Kindergarden or Education and Care
        mi: I tae ki te Kura Kōhungahunga, ki Education and Care rānei
    - const: "EHB"
      title*: 
        en: Attended Home Based Service
        mi: I tae ki tētahi Ratonga ā-Kāinga
    - const: "EPG"
      title*: 
        en: Attended Playgroup or Pacific Islands EC Group
        mi: I tae ki ngā kāhui kōhungahunga Pasifika, Playgroup rānei
    - const: "ECO"
      title*: 
        en: Attended The Correspondence School - Te Aho o Te Kura Pounamu
        mi: I tae ki Te Aho o te Kura Pounamu
    - const: "EOS"
      title*: 
        en: Attended, but only outside New Zealand
        mi: I tae ake, engari i waho kē atu o Aotearoa
    - const: "ETU"
      title*: 
        en: Attended, but don't know what type of service
        mi: I tae ake engari kāre i mōhiotia te momo ratonga
    - const: "ENA"
      title*: 
        en: Did not attend
        mi: Kāre i tae ake
    - const: "EUN"
      title*: 
        en: Unable to establish if attended or not
        mi: Kāre e mōhio mēnā i tae atu kāore rānei

  # /////////////////////////////////////////////////////////////
  NZCodeSetsLanguageInstructionLevel:
    type: string
    title: Language Instruction Level
    description: >-
      <p>The level of instruction that is made in the selected language.</p>
      <ul>
        <li>'1' - 81-100% - 81-100%</li>
        <li>'2' - 51-80% - 51-80%</li>
        <li>'3' - 31-50% - 31-50%</li>
        <li>'4a' - 12-30% - 12-30%</li>
        <li>'4b' - 3 hours per week - 3 hāora i te wiki</li>
        <li>'5' - < 3 hours per week - iti iho 3 hāora i te wiki</li>
        <li>'6' - Taha Māori - Taha Māori</li>
      </ul>
    oneOf:
    - const: "1"
      title*: 
        en: 81-100%
        mi: 81-100%
      description*:
        en: >-
          Student is taught in the specified language for more than 20 and up to 25 hrs per week (81-100% of total time).
        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).
    - const: "2"
      title*: 
        en: 51-80%
        mi: 51-80%
      description*:
        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).
        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).
    - const: "3"
      title*: 
        en: 31-50%
        mi: 31-50%
      description*:
        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).
        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).
    - const: "4a"
      title*: 
        en: 12-30%
        mi: 12-30%
      description*:
        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).
        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)
    - const: "4b"
      title*: 
        en: 3 hours per week
        mi: 3 hāora i te wiki
      description*:
        en: >-
          Student is taught in the specified language for 3 hrs per week.
        mi: >-
          Ākonga i ākona ki tētahi reo mō te 3 hāora i te wiki
    - const: "5"
      title*: 
        en: < 3 hours per week
        mi: iti iho 3 hāora i te wiki
      description*:
        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).
        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).
    - const: "6"
      title*: 
        en: Taha Māori
        mi: Taha Māori
      description*:
        en: >-
          Student is learning Taha Māori.
        mi: >-
          E ako ana te Akonga i te Taha Māori.

  # /////////////////////////////////////////////////////////////
  NZCodeSetsECEYearLevel:
    type: string
    title: ECE Year Level
    description: >-
      <p>Code set denoting the year level of students attending early childhood education.</p>
      <ul>
        <li>'ABF' - 5 years and above - 5 te pakeke neke atu</li>
        <li>'FIV' - 5 year old - 5 te pakeke</li>
        <li>'FOU' - 4 year old - 4 te pakeke</li>
        <li>'ONE' - 1 year old - 1 te pakeke</li>
        <li>'THR' - 3 year old - 3 te pakeke</li>
        <li>'TWO' - 2 year old - 2 te pakeke</li>
        <li>'UNK' - Unknown - Kāre i mōhiotia</li>
        <li>'ZER' - Younger than 1 year old - Tau heke 1 te pakeke</li>
      </ul>
    oneOf:
    - const: "ABF"
      title*: 
        en: 5 years and above
        mi: 5 te pakeke neke atu
    - const: "FIV"
      title*: 
        en: 5 year old
        mi: 5 te pakeke
    - const: "FOU"
      title*: 
        en: 4 year old
        mi: 4 te pakeke
    - const: "ONE"
      title*: 
        en: 1 year old
        mi: 1 te pakeke
    - const: "THR"
      title*: 
        en: 3 year old
        mi: 3 te pakeke
    - const: "TWO"
      title*: 
        en: 2 year old
        mi: 2 te pakeke
    - const: "UNK"
      title*: 
        en: Unknown
        mi: Kāre i mōhiotia
    - const: "ZER"
      title*: 
        en: Younger than 1 year old
        mi: Tau heke 1 te pakeke

  # /////////////////////////////////////////////////////////////
  NZCodeSetsAttendanceType:
    type: string
    title: Attendance Type
    description: >-
      <p>Code set denoting the type of attendance being recorded for the student.</p>
      <ul>
        <li>'ADH' - Ad Hoc</li>
        <li>'SCH' - Scheduled</li>
      </ul>
    oneOf:
    - const: "ADH"
      title: Ad Hoc
    - const: "SCH"
      title: Scheduled

  # /////////////////////////////////////////////////////////////
  NZCodeSetsAttendanceCode:
    type: string
    title: Attendance Code
    description: >-
      <p>Code denoting presence, absence or the reason for non-attendance at school, or class.</p>
      <ul>
        <li>'A' - Attending Alternative Education - Te haere ki te Mātauranga Kē</li>
        <li>'L' - Late to class - Tae tōmuri ki te akomanga</li>
        <li>'P' - Present - I tae</li>
        <li>'S' - Sickbay - Taiwhanga tūroro</li>
        <li>'D' - Medical appointment – doctor or dentist - Te tiro tākuta, tākuta niho</li>
        <li>'I' - Internal school appointment or activity – Dean, DP, sports administrator, coach, attendance officer etc. - Te hui ki te Kura – Tumuaki Tuarua, Kaiako Hākinakina, Āpiha Kura etc.</li>
        <li>'E' - Absent with an explained but unjustified reason - I ngaro engari he kōrero i puta, kāre he take whakamana</li>
        <li>'M' - Absent due to short-term illness/medical reasons - He ngaronga nā runga i te māuiui</li>
        <li>'J' - Justified absence – reason for absence within the school policy - He ngaronga whakamana – ka taka mai i raro i te ritenga ā-kura</li>
        <li>'T' - No information provided – truant (or throw-away explanation) - Kāre he kōrero – he whakatau (whakamārama rānei)</li>
        <li>'V' - Examination or unsupervised study. Student is on the school-site - Whakamātautau, te ako noa rānei – ki te kura</li>
        <li>'N' - On a school based activity - He mahi ā-kura</li>
      </ul>
      plus 14 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsAttendanceCodeType">NZCodeSetsAttendanceCodeType<a>
    oneOf:
    - const: "A"
      title*: 
        en: Attending Alternative Education
        mi: Te haere ki te Mātauranga Kē
    - const: "L"
      title*: 
        en: Late to class
        mi: Tae tōmuri ki te akomanga
    - const: "P"
      title*: 
        en: Present
        mi: I tae
    - const: "S"
      title*: 
        en: Sickbay
        mi: Taiwhanga tūroro
    - const: "D"
      title*: 
        en: Medical appointment – doctor or dentist
        mi: Te tiro tākuta, tākuta niho
    - const: "I"
      title*: 
        en: Internal school appointment or activity – Dean, DP, sports administrator, coach, attendance officer etc.
        mi: Te hui ki te Kura – Tumuaki Tuarua, Kaiako Hākinakina, Āpiha Kura etc.
    - const: "E"
      title*: 
        en: Absent with an explained but unjustified reason
        mi: I ngaro engari he kōrero i puta, kāre he take whakamana
    - const: "M"
      title*: 
        en: Absent due to short-term illness/medical reasons
        mi: He ngaronga nā runga i te māuiui
    - const: "J"
      title*: 
        en: Justified absence – reason for absence within the school policy
        mi: He ngaronga whakamana – ka taka mai i raro i te ritenga ā-kura
    - const: "T"
      title*: 
        en: No information provided – truant (or throw-away explanation)
        mi: Kāre he kōrero – he whakatau (whakamārama rānei)
    - const: "V"
      title*: 
        en: Examination or unsupervised study. Student is on the school-site
        mi: Whakamātautau, te ako noa rānei – ki te kura
    - const: "N"
      title*: 
        en: On a school based activity
        mi: He mahi ā-kura
    - const: "Q"
      title*: 
        en: Attending an off-site school-organised activity such as a trip/camp
        mi: He haerenga nā te kura i whakarite pērā i te haerenga, i te noho puni
    - const: "W"
      title*: 
        en: Work experience
        mi: Mahi wheako
    - const: "R"
      title*: 
        en: Removed (temporarily) from regular class (internal school student isolation)
        mi: I tangohia (taupua nei) mai i te akomanga (he mahi ā-kura ki te whakawehe i te ākonga)
    - const: "X"
      title*: 
        en: Exam leave – unsupervised study – student is off-site
        mi: Haerenga whakamātautau – kei waho atu i te kura
    - const: "G"
      title*: 
        en: Holiday during term time
        mi: Te hararei i te wā o te kura
    - const: "O"
      title*: 
        en: Justified Overseas
        mi: Whakamanatia i tāwāhi
    - const: "K"
      title*: 
        en: Attending a Teen Parent Unit
        mi: Te haere ki tētahi Rāngai Mātātahi
    - const: "?"
      title*: 
        en: Unknown reason
        mi: Kāre he kōrero
      description: >-
        Unknown reason for absence
    - const: "Y"
      title*: 
        en: Attending an Activity Centre
        mi: Te haere ki te Pokapū Tūmahi
    - const: "F"
      title*: 
        en: Attending an off-site course/class
        mi: He akomanga/whakangungu kei wāhi kē
    - const: "H"
      title*: 
        en: Attending a Health Camp/Regional Health School/Residential School
        mi: Te Haere ki te Puni Hauora/Kura Hauora ā-Rohe/Kura Tūtahi
    - const: "C"
      title*: 
        en: Involved in Justice Court proceedings
        mi: Kua uru ki ngā tono ā-Kōti
    - const: "U"
      title*: 
        en: Stood down or suspended
        mi: Tāiritia
    - const: "Z"
      title*: 
        en: Secondary Tertiary Program (including Trades Academies)
        mi: Hōtaka Kura Tuarua, Kura Wānanga (me ngā Kura Ahumahi)

  # /////////////////////////////////////////////////////////////
  NZCodeSetsAttendanceCodeGroup:
    type: string
    title: Attendance Code Group
    description: >-
      <p>Code set denoting the possible attendance code groups, e.g. Present, Justified and Unjustified.</p>
      <ul>
        <li>'J' - Justified - Parahau</li>
        <li>'P' - Present - I tae</li>
        <li>'U' - Unjustified - Parahau Kore</li>
      </ul>
    oneOf:
    - const: "J"
      title*: 
        en: Justified
        mi: Parahau
    - const: "P"
      title*: 
        en: Present
        mi: I tae
    - const: "U"
      title*: 
        en: Unjustified
        mi: Parahau Kore

  # /////////////////////////////////////////////////////////////
  NZCodeSetsWellbeingStatus:
    type: string
    title: Wellbeing Status
    description: >-
      <p>Standard codes denoting the status of the Wellbeing Response.</p>
      <ul>
        <li>'U' - Unresolved</li>
        <li>'R' - Resolved</li>
        <li>'O' - Other</li>
      </ul>
    oneOf:
    - const: "U"
      title: Unresolved
    - const: "R"
      title: Resolved
    - const: "O"
      title: Other

  # /////////////////////////////////////////////////////////////
  NZCodeSetsWellbeingAlertCategory:
    type: string
    title: Wellbeing Alert Category
    description: >-
      <p>Standard codes denoting the category of the Wellbeing Alert.</p>
      <ul>
        <li>'ATT' - Attendance</li>
        <li>'MED' - Medical</li>
        <li>'LEG' - Legal</li>
        <li>'DIS' - Discipline</li>
        <li>'LEA' - Learning Support</li>
        <li>'PLA' - Plan Review</li>
        <li>'CUS' - Custodial</li>
        <li>'TRA' - Transient</li>
        <li>'OTH' - Other</li>
      </ul>
    oneOf:
    - const: "ATT"
      title: Attendance
    - const: "MED"
      title: Medical
      description: >-
        Includes Allergies
    - const: "LEG"
      title: Legal
      description: >-
        "Comes with sub-Categories: ProtectionOrder, CustodialOrder, etc."
    - const: "DIS"
      title: Discipline
    - const: "LEA"
      title: Learning Support
      description: >-
        Sub-categories Gifted and Talented, Disability, etc.
    - const: "PLA"
      title: Plan Review
    - const: "CUS"
      title: Custodial
    - const: "TRA"
      title: Transient
    - const: "OTH"
      title: Other

  # /////////////////////////////////////////////////////////////
  NZCodeSetsKeyContactRole:
    type: string
    title: Key Contact Role
    description: >-
      <p>The role of the key contact in the Wellbeing Alert.</p>
      <ul>
        <li>'DOC' - Doctor</li>
        <li>'PAR' - Parent/Caregiver</li>
        <li>'PRI' - Principal</li>
      </ul>
    oneOf:
    - const: "DOC"
      title: Doctor
    - const: "PAR"
      title: Parent/Caregiver
    - const: "PRI"
      title: Principal

  # /////////////////////////////////////////////////////////////
  NZCodeSetsWellbeingCharacteristicSubSubCategory:
    type: string
    title: Wellbeing Characteristic Sub Sub Category
    description: >-
      <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>
      <ul>
        <li>'LSN-ATT' - Attending and focusing</li>
        <li>'LSN-BLI' - Blind</li>
        <li>'LSN-COM' - Comprehension</li>
        <li>'LSN-DEA' - Deaf</li>
        <li>'LSN-EAT' - Eating</li>
        <li>'LSN-EXP' - Expressing emotion</li>
        <li>'LSN-FIN' - Fine</li>
        <li>'LSN-FOL' - Following instructions</li>
        <li>'LSN-GRO' - Gross</li>
        <li>'LSN-HAR' - Hard of Hearing</li>
        <li>'LSN-HYA' - Hyperactive</li>
        <li>'LSN-HYO' - Hypoactive</li>
      </ul>
      plus 33 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsWellbeingCharacteristicSubSubCategoryType">NZCodeSetsWellbeingCharacteristicSubSubCategoryType<a>
    oneOf:
    - const: "LSN-ATT"
      title*: 
        en: Attending and focusing
    - const: "LSN-BLI"
      title*: 
        en: Blind
    - const: "LSN-COM"
      title*: 
        en: Comprehension
    - const: "LSN-DEA"
      title*: 
        en: Deaf
    - const: "LSN-EAT"
      title*: 
        en: Eating
    - const: "LSN-EXP"
      title*: 
        en: Expressing emotion
    - const: "LSN-FIN"
      title*: 
        en: Fine
    - const: "LSN-FOL"
      title*: 
        en: Following instructions
    - const: "LSN-GRO"
      title*: 
        en: Gross
    - const: "LSN-HAR"
      title*: 
        en: Hard of Hearing
    - const: "LSN-HYA"
      title*: 
        en: Hyperactive
    - const: "LSN-HYO"
      title*: 
        en: Hypoactive
    - const: "LSN-INV"
      title*: 
        en: Inventing and experimenting
    - const: "LSN-LEM"
      title*: 
        en: Low energy and motivation
    - const: "LSN-LOW"
      title*: 
        en: Low mood/Signs of depression
    - const: "LSN-LVI"
      title*: 
        en: Low vision
    - const: "LSN-MAE"
      title*: 
        en: Managing anxiety (externalised response)
    - const: "LSN-MAK"
      title*: 
        en: Making choices and decisions
    - const: "LSN-MAN"
      title*: 
        en: Managing emotions/self control
    - const: "LSN-MAX"
      title*: 
        en: Managing anxiety (internalised response)
    - const: "LSN-MEM"
      title*: 
        en: Memory
    - const: "LSN-MPR"
      title*: 
        en: Managing peer relationships
    - const: "LSN-NUM"
      title*: 
        en: Number sense
    - const: "LSN-ONN"
      title*: 
        en: Other numeracy needs
    - const: "LSN-OPP"
      title*: 
        en: Oppositional
    - const: "LSN-ORN"
      title*: 
        en: Other reading needs
    - const: "LSN-OWN"
      title*: 
        en: Other writing needs
    - const: "LSN-PER"
      title*: 
        en: Perservering
    - const: "LSN-PHO"
      title*: 
        en: Phonological awareness
    - const: "LSN-PHY"
      title*: 
        en: Physical aggression
    - const: "LSN-PLA"
      title*: 
        en: Planning
    - const: "LSN-PLY"
      title*: 
        en: Playing and imagining
    - const: "LSN-PRO"
      title*: 
        en: Processing information
    - const: "LSN-PSP"
      title*: 
        en: Personal space
    - const: "LSN-REC"
      title*: 
        en: Recognising emotion
    - const: "LSN-RES"
      title*: 
        en: Resilience
    - const: "LSN-RPS"
      title*: 
        en: Reasoning and problem-solving
    - const: "LSN-RUN"
      title*: 
        en: Running away
    - const: "LSN-SEL"
      title*: 
        en: Self perception as a learner
    - const: "LSN-SEQ"
      title*: 
        en: Sequencing
    - const: "LSN-SHA"
      title*: 
        en: Self-harm
    - const: "LSN-SHO"
      title*: 
        en: Showing empathy
    - const: "LSN-SIW"
      title*: 
        en: Socially isolated/withdrawn
    - const: "LSN-TRA"
      title*: 
        en: Transcription
    - const: "LSN-VER"
      title*: 
        en: Verbal aggression

  # /////////////////////////////////////////////////////////////
  NZCodeSetsWellbeingCharacteristicSubCategory:
    type: string
    title: Wellbeing Characteristic Sub Category
    description: >-
      <p>Standard codes denoting the third level category of the Wellbeing Characteristic.</p>
      <ul>
        <li>'DIET-01' - Vegan</li>
        <li>'DIET-02' - Vegetarian</li>
        <li>'DIET-03' - Halal</li>
        <li>'DIET-04' - Kosher</li>
        <li>'DIET-05' - Pescetarian</li>
        <li>'DIET-06' - Gluten-free</li>
        <li>'LSN-ACT' - Activity</li>
        <li>'LSN-ADV' - Advanced learner | gifted</li>
        <li>'LSN-ATT' - Attendance and engagement</li>
        <li>'LSN-CHR' - Chronic Pain</li>
        <li>'LSN-CUL' - Cultural and linguistic diversity needs</li>
        <li>'LSN-EMO' - Emotional regulation</li>
      </ul>
      plus 108 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsWellbeingCharacteristicSubCategoryType">NZCodeSetsWellbeingCharacteristicSubCategoryType<a>
    oneOf:
    - const: "DIET-01"
      title*: 
        en: Vegan
    - const: "DIET-02"
      title*: 
        en: Vegetarian
    - const: "DIET-03"
      title*: 
        en: Halal
    - const: "DIET-04"
      title*: 
        en: Kosher
    - const: "DIET-05"
      title*: 
        en: Pescetarian
    - const: "DIET-06"
      title*: 
        en: Gluten-free
    - const: "LSN-ACT"
      title*: 
        en: Activity
    - const: "LSN-ADV"
      title*: 
        en: Advanced learner | gifted
    - const: "LSN-ATT"
      title*: 
        en: Attendance and engagement
    - const: "LSN-CHR"
      title*: 
        en: Chronic Pain
    - const: "LSN-CUL"
      title*: 
        en: Cultural and linguistic diversity needs
    - const: "LSN-EMO"
      title*: 
        en: Emotional regulation
    - const: "LSN-ENG"
      title*: 
        en: English language learner/emerging bilingual
    - const: "LSN-EXT"
      title*: 
        en: Externalised behavioural responses
    - const: "LSN-FLU"
      title*: 
        en: Fluency
    - const: "LSN-GLC"
      title*: 
        en: General Learning Challenges
    - const: "LSN-HEA"
      title*: 
        en: Hearing
    - const: "LSN-HYP"
      title*: 
        en: Hyperfocus
    - const: "LSN-INT"
      title*: 
        en: Internalised behavioural responses
    - const: "LSN-MED"
      title*: 
        en: Medical
    - const: "LSN-MOB"
      title*: 
        en: Mobility - accessibility
    - const: "LSN-MOT"
      title*: 
        en: Motor skills
    - const: "LSN-NUM"
      title*: 
        en: Numeracy
    - const: "LSN-NZS"
      title*: 
        en: NZ Sign Language
    - const: "LSN-REA"
      title*: 
        en: Reading
    - const: "LSN-SEL"
      title*: 
        en: Self-care (e.g. toileting)
    - const: "LSN-SEN"
      title*: 
        en: Sensory needs
    - const: "LSN-SLA"
      title*: 
        en: Social use of language
    - const: "LSN-SOC"
      title*: 
        en: Social awareness
    - const: "LSN-SPE"
      title*: 
        en: Speech
    - const: "LSN-SUB"
      title*: 
        en: Substance abuse
    - const: "LSN-UND"
      title*: 
        en: Understanding language
    - const: "LSN-USI"
      title*: 
        en: Using language
    - const: "LSN-VIS"
      title*: 
        en: Vision
    - const: "LSN-WRI"
      title*: 
        en: Writing
    - const: "MH-1"
      title*: 
        en: Adjustment Disorder
    - const: "MH-2"
      title*: 
        en: Anorexia
    - const: "MH-3"
      title*: 
        en: Anxiety Disorder
    - const: "MH-4"
      title*: 
        en: Attachment Disorder
    - const: "MH-5"
      title*: 
        en: Attention Deficit Hyperactivity Disorder (ADHD)
    - const: "MH-6"
      title*: 
        en: Bipolar Affective Disorder
    - const: "MH-7"
      title*: 
        en: Bulimia
    - const: "MH-8"
      title*: 
        en: Depression
    - const: "MH-9"
      title*: 
        en: Mixed Depression and Anxiety
    - const: "MH-10"
      title*: 
        en: Obsessive Compulsive Disorder
    - const: "MH-11"
      title*: 
        en: Oppositional Defiance Disorder
    - const: "MH-12"
      title*: 
        en: Paranoia
    - const: "MH-13"
      title*: 
        en: Post-Traumatic Stress Disorder
    - const: "MH-14"
      title*: 
        en: Reactive Attachment Disorder
    - const: "MH-15"
      title*: 
        en: Social Anxiety Disorder
    - const: "MH-16"
      title*: 
        en: Tic Disorder
    - const: "MH-17"
      title*: 
        en: Tourette’s Syndrome
    - const: "MH-18"
      title*: 
        en: Conduct Disorder
    - const: "MS-1"
      title*: 
        en: Absence seizures epilepsy
    - const: "MS-2"
      title*: 
        en: Tonic Clonic epilepsy
    - const: "MS-3"
      title*: 
        en: Myotonic epilepsy
    - const: "MS-4"
      title*: 
        en: Refractory epilepsy
    - const: "MAA-1"
      title*: 
        en: Antibiotics -specify type(s)
    - const: "MAA-2"
      title*: 
        en: Dairy
    - const: "MAA-3"
      title*: 
        en: Egg
    - const: "MAA-4"
      title*: 
        en: Fruit (specify)
    - const: "MAA-5"
      title*: 
        en: Insect bites - nfd
    - const: "MAA-6"
      title*: 
        en: Bees
    - const: "MAA-7"
      title*: 
        en: Ants
    - const: "MAA-8"
      title*: 
        en: Ticks
    - const: "MAA-9"
      title*: 
        en: Latex
    - const: "MAA-10"
      title*: 
        en: Peanuts
    - const: "MAA-11"
      title*: 
        en: Shellfish
    - const: "MAA-12"
      title*: 
        en: Tree nuts
    - const: "MAA-13"
      title*: 
        en: Wheat
    - const: "MAA-14"
      title*: 
        en: Other
    - const: "MAIM-1"
      title*: 
        en: Coeliac Disease - Gluten
    - const: "MAIM-2"
      title*: 
        en: Enterocolitis Syndrome
    - const: "MAIM-3"
      title*: 
        en: Food Protein Induced Syndrome
    - const: "MB-1"
      title*: 
        en: Anaemia
    - const: "MB-2"
      title*: 
        en: Haemophilia
    - const: "MB-3"
      title*: 
        en: Thalassemia
    - const: "MB-4"
      title*: 
        en: Vasculitis
    - const: "MB-5"
      title*: 
        en: Von Willebrand's Disease
    - const: "MMS-1"
      title*: 
        en: Ehlers Danlos
    - const: "MMS-2"
      title*: 
        en: Fibromyalgia - discuss
    - const: "MMS-3"
      title*: 
        en: Hip Dysplasia
    - const: "MMS-4"
      title*: 
        en: Joint Hypermobility
    - const: "MMS-5"
      title*: 
        en: Juvenile Arthritis
    - const: "MMS-6"
      title*: 
        en: Kohlers Disease
    - const: "MMS-7"
      title*: 
        en: Marfan Syndrome
    - const: "MMS-8"
      title*: 
        en: Meyers Dysplasia
    - const: "MMS-9"
      title*: 
        en: Neurofibromatosis type 1
    - const: "MMS-10"
      title*: 
        en: Osgood Schlatter Condition
    - const: "MMS-11"
      title*: 
        en: Osteo Imperfecta
    - const: "MMS-12"
      title*: 
        en: Scoliosis
    - const: "MMS-13"
      title*: 
        en: Severs Disease
    - const: "MMS-14"
      title*: 
        en: Talipes
    - const: "MMS-15"
      title*: 
        en: Von Eulenburg Disease
    - const: "MCM-1"
      title*: 
        en: Angelman Syndrome
    - const: "MCM-2"
      title*: 
        en: Charcot Marie Tooth
    - const: "MCM-3"
      title*: 
        en: Coffin Lowry Syndrome
    - const: "MCM-4"
      title*: 
        en: Coffin-Siris Syndrome
    - const: "MCM-5"
      title*: 
        en: Down Syndrome
    - const: "MCM-6"
      title*: 
        en: Foetal Alcohol Syndrome (FAS)
    - const: "MCM-7"
      title*: 
        en: Fragile X Syndrome
    - const: "MCM-8"
      title*: 
        en: G6 PD Deficiency
    - const: "MCM-9"
      title*: 
        en: Hyperglycemia
    - const: "MCM-10"
      title*: 
        en: Klinefelter Syndrome
    - const: "MCM-11"
      title*: 
        en: Malignant Hyperthermia
    - const: "MCM-12"
      title*: 
        en: MCADD - Metabolic disorder
    - const: "MCM-13"
      title*: 
        en: Non Ketotic
    - const: "MCM-14"
      title*: 
        en: Oculocutaneous Albinism
    - const: "MCM-15"
      title*: 
        en: Phelan-McDermid Syndrome
    - const: "MCM-16"
      title*: 
        en: Phenylketonuria
    - const: "MCM-17"
      title*: 
        en: Pierr Robyn Syndrome
    - const: "MCM-18"
      title*: 
        en: Potocki - Lupski Syndrome
    - const: "MCM-19"
      title*: 
        en: Prader Willi Syndrome
    - const: "MCM-20"
      title*: 
        en: Rubinstein-Taybi Syndrome
    - const: "MCM-21"
      title*: 
        en: ScN2A (Sodium Channel) Gene Mutation
    - const: "MCM-22"
      title*: 
        en: Trisomy - chromosome
    - const: "MCM-23"
      title*: 
        en: Trisomy 21/Down Syndrome
    - const: "MCM-24"
      title*: 
        en: Turners Syndrome
    - const: "MCM-25"
      title*: 
        en: Velocardiofacial Syndrome
    - const: "MCM-26"
      title*: 
        en: Wolf-Hirschhorn Syndrome

  # /////////////////////////////////////////////////////////////
  NZCodeSetsWellbeingCharacteristicCategory:
    type: string
    title: Wellbeing Characteristic Category
    description: >-
      <p>Standard codes denoting the second level category of the Wellbeing Characteristic.</p>
      <ul>
        <li>'MAO' - Allergies - other</li>
        <li>'DIET' - Dietary Preferences</li>
        <li>'LSN-COG' - Cognition and Learning</li>
        <li>'LSN-PHY' - Physical</li>
        <li>'LSN-SEN' - Sensory Needs</li>
        <li>'LSN-SOC' - Social, Emotional and Behavioural</li>
        <li>'LSN-SPE' - Speech, Language and Communication</li>
        <li>'MAIM' - Auto-immune/Immune Disorders</li>
        <li>'MRD' - Respiratory Disorder</li>
        <li>'MB' - Blood disorder</li>
        <li>'MMD' - Heart Disease/ Disorder</li>
        <li>'MMS' - Musculo – skeletal conditions</li>
      </ul>
      plus 22 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsWellbeingCharacteristicCategoryType">NZCodeSetsWellbeingCharacteristicCategoryType<a>
    oneOf:
    - const: "MAO"
      title*: 
        en: Allergies - other
    - const: "DIET"
      title*: 
        en: Dietary Preferences
    - const: "LSN-COG"
      title*: 
        en: Cognition and Learning
    - const: "LSN-PHY"
      title*: 
        en: Physical
    - const: "LSN-SEN"
      title*: 
        en: Sensory Needs
    - const: "LSN-SOC"
      title*: 
        en: Social, Emotional and Behavioural
    - const: "LSN-SPE"
      title*: 
        en: Speech, Language and Communication
    - const: "MAIM"
      title*: 
        en: Auto-immune/Immune Disorders
    - const: "MRD"
      title*: 
        en: Respiratory Disorder
    - const: "MB"
      title*: 
        en: Blood disorder
    - const: "MMD"
      title*: 
        en: Heart Disease/ Disorder
    - const: "MMS"
      title*: 
        en: Musculo – skeletal conditions
    - const: "MEM"
      title*: 
        en: Endocrine and Metabolic Disorders
    - const: "MC"
      title*: 
        en: Childhood cancer
    - const: "MAA"
      title*: 
        en: Allergy – Anaphylaxis
    - const: "MH"
      title*: 
        en: Mental and behavioural disorders
    - const: "MN"
      title*: 
        en: Diseases/conditions of the nervous system
    - const: "MS"
      title*: 
        en: Seizure disorders
    - const: "MCM"
      title*: 
        en: Congenital malformations, deformations and chromosomal abnormalities
    - const: "MI"
      title*: 
        en: Infectious Diseases
    - const: "MGI"
      title*: 
        en: Gastro Intestinal/Urinary conditions
    - const: "MND"
      title*: 
        en: Neuro/Developmental Disorders
    - const: "MO"
      title*: 
        en: Oral/Phalangeal Disorders
    - const: "MD"
      title*: 
        en: Deaf and Hard of Hearing
    - const: "MOP"
      title*: 
        en: Optical/ Vision Disorder
    - const: "M-OTHER"
      title*: 
        en: Medical Other
    - const: "D-OTHER"
      title*: 
        en: Disability Other
    - const: "S-OTHER"
      title*: 
        en: Special Needs Other
    - const: "OTHER"
      title*: 
        en: Other
    - const: "MDC-AST"
      title*: 
        en: Asthma
        mi: Mate Huango
    - const: "MDC-DIA"
      title*: 
        en: Diabetes
        mi: Mate Huka
    - const: "MDC-EPI"
      title*: 
        en: Epilepsy
        mi: Mate Hūhuki
    - const: "MDC-REG"
      title*: 
        en: Regular medication
        mi: Rongoā
    - const: "MDC-OTH"
      title*: 
        en: Other
        mi: Mate Kē Atu

  # /////////////////////////////////////////////////////////////
  NZCodeSetsWellbeingCharacteristicClass:
    type: string
    title: Wellbeing Characteristic Class
    description: >-
      <p>Standard codes denoting the first level category of the Wellbeing Characteristic. (Note: The second and third levels are Category and SubCategory)</p>
      <ul>
        <li>'OTH' - Other</li>
        <li>'MDC' - Medical</li>
        <li>'LSN' - Learning Support Need - Hiahia Tautoko Akoranga</li>
        <li>'ALG' - Allergy</li>
        <li>'DPR' - Dietary Preference</li>
      </ul>
    oneOf:
    - const: "OTH"
      title*: 
        en: Other
    - const: "MDC"
      title*: 
        en: Medical
    - const: "LSN"
      title*: 
        en: Learning Support Need
        mi: Hiahia Tautoko Akoranga
    - const: "ALG"
      title*: 
        en: Allergy
    - const: "DPR"
      title*: 
        en: Dietary Preference

  # /////////////////////////////////////////////////////////////
  NZCodeSetsWellbeingCharacteristicPriority:
    type: string
    title: Wellbeing Characteristic Priority
    description: >-
      <p>Codes denoting the priority level of the characteristic in relation to other characteristics within the same classification.</p>
      <ul>
        <li>'N' - Non-urgent - Nonoi kore</li>
        <li>'S' - Semi-urgent - Āhua Nonoi</li>
        <li>'U' - Urgent - Nonoi</li>
      </ul>
    oneOf:
    - const: "N"
      title*: 
        en: Non-urgent
        mi: Nonoi kore
    - const: "S"
      title*: 
        en: Semi-urgent
        mi: Āhua Nonoi
    - const: "U"
      title*: 
        en: Urgent
        mi: Nonoi

  # /////////////////////////////////////////////////////////////
  NZCodeSetsWellbeingCharacteristicStatus:
    type: string
    title: Wellbeing Characteristic Status
    description: >-
      <p>Code set denoting the status of the Wellbeing Characteristic.</p>
      <ul>
        <li>'ACTI' - Active - Tuwhera</li>
        <li>'CLOS' - Closed - Kati</li>
        <li>'AWAI' - Awaiting Consent - Tāria kia mana</li>
      </ul>
    oneOf:
    - const: "ACTI"
      title*: 
        en: Active
        mi: Tuwhera
    - const: "CLOS"
      title*: 
        en: Closed
        mi: Kati
    - const: "AWAI"
      title*: 
        en: Awaiting Consent
        mi: Tāria kia mana

  # /////////////////////////////////////////////////////////////
  NZCodeSetsOfficialDiagnosisSubType:
    type: string
    title: Official Diagnosis Sub Type
    description: >-
      <p>Code set denoting an official diagnosis sub-type a student is given for an identified wellbeing characteristic.</p>
      <ul>
        <li>'DISO' - Disorders of intellectual development - He Whakaupa ā-hinengaro</li>
        <li>'DSLD' - Developmental speech or language disorders - He Tapepatanga Reo</li>
        <li>'ADHD' - Attention Deficit Hyperactivity Disorder - </li>
        <li>'ANXI' - Anxiety or fear-related disorders - Manawapā</li>
        <li>'OTHN' - Other neurodevelopmental disorders/developmental anomalies - </li>
        <li>'DLDI' - Developmental learning disorders e.g. dyslexia - </li>
        <li>'AUTI' - Autism Sprectrum Disorder - Takiwātanga</li>
        <li>'SUBS' - Substance abuse or addictive behaviours - He Whanonga Waranga</li>
        <li>'BLIN' - Blind or vision impaired - Kāpō, he atarua</li>
        <li>'DEAF' - Deaf or hard of hearing - Turi, he mate taringa</li>
        <li>'FEED' - Feeding or eating disorders - He māuiuitanga ā-kai</li>
        <li>'STRE' - Stress related disorders - Te Piringa Wara Whakapōauau</li>
      </ul>
      plus 6 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsOfficialDiagnosisSubTypeType">NZCodeSetsOfficialDiagnosisSubTypeType<a>
    oneOf:
    - const: "DISO"
      title*: 
        en: Disorders of intellectual development
        mi: He Whakaupa ā-hinengaro
    - const: "DSLD"
      title*: 
        en: Developmental speech or language disorders
        mi: He Tapepatanga Reo
    - const: "ADHD"
      title*: 
        en: Attention Deficit Hyperactivity Disorder
        mi: 
    - const: "ANXI"
      title*: 
        en: Anxiety or fear-related disorders
        mi: Manawapā
    - const: "OTHN"
      title*: 
        en: Other neurodevelopmental disorders/developmental anomalies
        mi: 
    - const: "DLDI"
      title*: 
        en: Developmental learning disorders e.g. dyslexia
        mi: 
    - const: "AUTI"
      title*: 
        en: Autism Sprectrum Disorder
        mi: Takiwātanga
    - const: "SUBS"
      title*: 
        en: Substance abuse or addictive behaviours
        mi: He Whanonga Waranga
    - const: "BLIN"
      title*: 
        en: Blind or vision impaired
        mi: Kāpō, he atarua
    - const: "DEAF"
      title*: 
        en: Deaf or hard of hearing
        mi: Turi, he mate taringa
    - const: "FEED"
      title*: 
        en: Feeding or eating disorders
        mi: He māuiuitanga ā-kai
    - const: "STRE"
      title*: 
        en: Stress related disorders
        mi: Te Piringa Wara Whakapōauau
    - const: "DNDD"
      title*: 
        en: Disruptive behaviour or dissocial disorders
        mi: He Pōrearea
    - const: "OTHM"
      title*: 
        en: Other mental health disorders
        mi: He māuiui ā-hinengaro kē
    - const: "OTHS"
      title*: 
        en: Other sensory impairment
        mi: He Mate Aurongo Kē
    - const: "FOET"
      title*: 
        en: Foetal Alcohol Syndrome
        mi: 
    - const: "MOOD"
      title*: 
        en: Mood disorder
        mi: Māuiui Kare-ā-roto/Aurongo
    - const: "SCHI"
      title*: 
        en: Schizophrenia or psychotic disorders
        mi: Wairua Tuakoi / Māuiui Ahotea

  # /////////////////////////////////////////////////////////////
  NZCodeSetsOfficialDiagnosisType:
    type: string
    title: Official Diagnosis Type
    description: >-
      <p>Code set denoting an official diagnosis type a student is given for an identified wellbeing characteristic.</p>
      <ul>
        <li>'MED' - Medical - ā-rongoā</li>
        <li>'MEN' - Mental health and behavioural - ā-hauora Hinengaro, ā-whanonga hoki</li>
        <li>'NEU' - Neurodevelopmental - Whanaketanga ā-Ioio</li>
        <li>'PHY' - Physical - ā-tinana</li>
        <li>'SEN' - Sensory - ā-tairongo</li>
      </ul>
    oneOf:
    - const: "MED"
      title*: 
        en: Medical
        mi: ā-rongoā
    - const: "MEN"
      title*: 
        en: Mental health and behavioural
        mi: ā-hauora Hinengaro, ā-whanonga hoki
    - const: "NEU"
      title*: 
        en: Neurodevelopmental
        mi: Whanaketanga ā-Ioio
    - const: "PHY"
      title*: 
        en: Physical
        mi: ā-tinana
    - const: "SEN"
      title*: 
        en: Sensory
        mi: ā-tairongo

  # /////////////////////////////////////////////////////////////
  NZCodeSetsWellbeingEventCategory:
    type: string
    title: Wellbeing Event Category
    description: >-
      <p>Standard codes denoting the second level category of the Wellbeing Event. (Note: The first and third levels are CategoryClass and SubCategory)</p>
      <ul>
        <li>'B1' - Safe</li>
        <li>'B2' - Caring</li>
        <li>'B3' - Respectful</li>
        <li>'B4' - Responsible</li>
        <li>'B5' - Enterprising</li>
        <li>'B6' - Effort</li>
        <li>'B7' - Citizenship</li>
        <li>'B8' - Cooperation</li>
        <li>'B9' - Leadership</li>
        <li>'M1' - Aggressive physical contact against staff</li>
        <li>'M2' - Abuse, threats, harassment or intimidation of staff</li>
        <li>'M3' - Aggressive physical contact against a student</li>
      </ul>
      plus 7 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsWellbeingEventCategoryType">NZCodeSetsWellbeingEventCategoryType<a>
    oneOf:
    - const: "B1"
      title: Safe
    - const: "B2"
      title: Caring
    - const: "B3"
      title: Respectful
    - const: "B4"
      title: Responsible
    - const: "B5"
      title: Enterprising
    - const: "B6"
      title: Effort
    - const: "B7"
      title: Citizenship
    - const: "B8"
      title: Cooperation
    - const: "B9"
      title: Leadership
    - const: "M1"
      title: Aggressive physical contact against staff
    - const: "M2"
      title: Abuse, threats, harassment or intimidation of staff
    - const: "M3"
      title: Aggressive physical contact against a student
    - const: "M4"
      title: Abuse, threats, harassment or intimidation of a student
    - const: "M5"
      title: Damage to, or theft of property
    - const: "M6"
      title: Other violation of Code of Conduct (classroom managed)
    - const: "M7"
      title: Possession, use or supply of substances or objects with restricted sale
    - const: "M8"
      title: Possession, use or supply of illegal substances or objects
    - const: "M9"
      title: E-breaches
    - const: "OT"
      title: Other Behaviour

  # /////////////////////////////////////////////////////////////
  NZCodeSetsWellbeingEventSubCategory:
    type: string
    title: Wellbeing Event Sub Category
    description: >-
      <p>Standard codes denoting the third level category of the Wellbeing Event. (Note: The first and second levels are CategoryClass and Category)</p>
      <ul>
        <li>'B1A' - Resolves issues peacefully</li>
        <li>'B1B' - Plays in a friendly way</li>
        <li>'B1C' - Uses equipment safely</li>
        <li>'B1D' - Understands the purpose and need for rules</li>
        <li>'B1E' - Seeks help from a responsible adult</li>
        <li>'B1F' - Alerts others to risks and dangers</li>
        <li>'B1G' - Moves away from danger</li>
        <li>'B1H' - Uses protective interruption with peers</li>
        <li>'B1I' - Observes and listens before acting</li>
        <li>'B2A' - Helps someone or something in need</li>
        <li>'B2B' - Shows empathy</li>
        <li>'B2C' - Shows compassion</li>
      </ul>
      plus 166 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsWellbeingEventSubCategoryType">NZCodeSetsWellbeingEventSubCategoryType<a>
    oneOf:
    - const: "B1A"
      title: Resolves issues peacefully
    - const: "B1B"
      title: Plays in a friendly way
    - const: "B1C"
      title: Uses equipment safely
    - const: "B1D"
      title: Understands the purpose and need for rules
    - const: "B1E"
      title: Seeks help from a responsible adult
    - const: "B1F"
      title: Alerts others to risks and dangers
    - const: "B1G"
      title: Moves away from danger
    - const: "B1H"
      title: Uses protective interruption with peers
    - const: "B1I"
      title: Observes and listens before acting
    - const: "B2A"
      title: Helps someone or something in need
    - const: "B2B"
      title: Shows empathy
    - const: "B2C"
      title: Shows compassion
    - const: "B2D"
      title: Is forgiving
    - const: "B2E"
      title: Talks in a friendly way
    - const: "B3A"
      title: Shows intercultural understanding
    - const: "B3B"
      title: Acknowledges authority
    - const: "B3C"
      title: Shows courtesy
    - const: "B3D"
      title: Is polite
    - const: "B3E"
      title: Accepts difference
    - const: "B3F"
      title: Acknowledges the rights of others
    - const: "B3G"
      title: Uses appropriate language/tone
    - const: "B3H"
      title: Gives value to others' opinions
    - const: "B3I"
      title: Maintains appropriate personal space
    - const: "B3J"
      title: Shows consideration of impact of actions on others
    - const: "B4A"
      title: Is honest
    - const: "B4B"
      title: Acts with integrity
    - const: "B4C"
      title: Self regulates
    - const: "B4D"
      title: Co-regulates
    - const: "B4E"
      title: Helps others to regulate
    - const: "B4F"
      title: Is trustworthy
    - const: "B4G"
      title: Copes with frustration
    - const: "B4H"
      title: Accepts accountability
    - const: "B4I"
      title: Owns consequences of actions
    - const: "B4J"
      title: Is organised
    - const: "B5A"
      title: Thinks critically
    - const: "B5B"
      title: Is creative
    - const: "B5C"
      title: Is timely
    - const: "B5D"
      title: Takes considered risks
    - const: "B5E"
      title: Takes a problem solving approach
    - const: "B5F"
      title: Is adaptable
    - const: "B5G"
      title: Shows independence
    - const: "B5H"
      title: Takes initiative
    - const: "B5I"
      title: Shows persistence
    - const: "B5J"
      title: Shows courage
    - const: "B5K"
      title: Negotiates
    - const: "B5L"
      title: Is persuasive
    - const: "B5M"
      title: Builds social support (networks)
    - const: "B5N"
      title: Innovates
    - const: "B5O"
      title: Shows determination
    - const: "B6A"
      title: Pays attention
    - const: "B6B"
      title: Tries hard
    - const: "B6C"
      title: Completes work
    - const: "B6D"
      title: Perseveres
    - const: "B6E"
      title: Asks questions
    - const: "B6F"
      title: Shows desire to learn
    - const: "B6G"
      title: Stays on task
    - const: "B6H"
      title: Participates constructively
    - const: "B6I"
      title: Shows commitment to identified goals
    - const: "B7A"
      title: Promotes justice
    - const: "B7B"
      title: Follows rules and laws
    - const: "B7C"
      title: Stands up for others appropriately
    - const: "B7D"
      title: Puts others' needs before own
    - const: "B7E"
      title: Contributes to the school/class
    - const: "B7F"
      title: Contributes to the community
    - const: "B7G"
      title: Is involved
    - const: "B7H"
      title: Belongs
    - const: "B7I"
      title: Promotes harmony
    - const: "B7J"
      title: Gives back to the greater good
    - const: "B7K"
      title: Becomes informed
    - const: "B7L"
      title: Uses procedures and protocols
    - const: "B7M"
      title: Participates in democratic decision making
    - const: "B7N"
      title: Helps others to reach their goals
    - const: "B8A"
      title: Is fair
    - const: "B8B"
      title: Shows mutuality (sharing a feeling, action or relationship)
    - const: "B8C"
      title: Shows reciprocity ("I scratch your back, you scratch mine")
    - const: "B8D"
      title: Shows goodwill
    - const: "B8E"
      title: Is attentive to others' reactions
    - const: "B8F"
      title: Is open to dialogue/discussion
    - const: "B8G"
      title: Works to be a valued member of a team
    - const: "B8H"
      title: Offers others choices
    - const: "B9A"
      title: Inspires others
    - const: "B9B"
      title: Represents others
    - const: "B9C"
      title: Delegates to others
    - const: "B9D"
      title: Shows self confidence
    - const: "B9E"
      title: Shows assertiveness
    - const: "B9F"
      title: Stays positive
    - const: "B9G"
      title: Shoulders blame
    - const: "B9H"
      title: Sets an example
    - const: "B9I"
      title: Communicates effectively
    - const: "B9J"
      title: Shows wisdom
    - const: "M1A"
      title: Striking - Staff
    - const: "M1B"
      title: Pushing or barging - Staff
    - const: "M1C"
      title: Use of a weapon or object - Staff
    - const: "M1D"
      title: Projectile - Staff
    - const: "M1E"
      title: Struggling to be free of a physical restraint - Staff
    - const: "M1F"
      title: Unintentional but negligent contact - Staff
    - const: "M2A"
      title: Verbal abuse - Staff
    - const: "M2B"
      title: Non-Verbal abuse - Staff
    - const: "M2C"
      title: Verbal threat - Staff
    - const: "M2D"
      title: Threatening gesture - Staff
    - const: "M2E"
      title: Disrespectful or challenging language - Staff
    - const: "M2F"
      title: Malicious gossip - Staff
    - const: "M2G"
      title: Sexual harassment - Staff
    - const: "M3A"
      title: Striking - Student
    - const: "M3B"
      title: Pushing or barging - Student
    - const: "M3C"
      title: Use of a weapon or object - Student
    - const: "M3D"
      title: Projectile - Student
    - const: "M3E"
      title: Struggling to be free of violation of personal space or deprivation of liberty - Student
    - const: "M3F"
      title: Unintentional but negligent contact - Student
    - const: "M4A"
      title: Verbal abuse - Student
    - const: "M4B"
      title: Non-Verbal abuse - Student
    - const: "M4C"
      title: Verbal threat - Student
    - const: "M4D"
      title: Threatening gesture - Student
    - const: "M4E"
      title: Malicious gossip - Student
    - const: "M4F"
      title: Exclusion of peer - Student
    - const: "M4G"
      title: Teasing - Student
    - const: "M4H"
      title: Unhelpful bystander actions - Student
    - const: "M4I"
      title: Sexual harassment - Student
    - const: "M5A"
      title: Theft of personal property
    - const: "M5B"
      title: Theft of school property
    - const: "M5C"
      title: Deliberate damage to personal property
    - const: "M5D"
      title: Incidental damage through negligence
    - const: "M5E"
      title: Graffiti
    - const: "M5F"
      title: Buildings and glass
    - const: "M5G"
      title: Fittings and fixtures
    - const: "M5H"
      title: Furniture
    - const: "M5I"
      title: Equipment
    - const: "M5J"
      title: Vehicles
    - const: "M5K"
      title: Garden and plants
    - const: "M6A"
      title: Active refusal to follow reasonable instructions
    - const: "M6B"
      title: Passive non-compliance
    - const: "M6C"
      title: Disruptive
    - const: "M6D"
      title: Defiant
    - const: "M6E"
      title: Unclear boundaries
    - const: "M6F"
      title: Erratic
    - const: "M6G"
      title: Impulsive
    - const: "M6H"
      title: Uninterested
    - const: "M6I"
      title: Inattentive
    - const: "M6J"
      title: Unresponsive
    - const: "M6K"
      title: Unprepared
    - const: "M6L"
      title: Out of bounds
    - const: "M6N"
      title: Dress code breach without reasonable explanation
    - const: "M6O"
      title: Lateness
    - const: "M6P"
      title: Class-work avoidance
    - const: "M6Q"
      title: Unsafe
    - const: "M6R"
      title: Out of class without permission
    - const: "M6S"
      title: Annoying
    - const: "M6T"
      title: Inappropriate language
    - const: "M6U"
      title: Academic dishonesty
    - const: "M6V"
      title: Loud
    - const: "M6W"
      title: Out of seat
    - const: "M6X"
      title: Failure to use manners
    - const: "M6Y"
      title: Littering
    - const: "M6Z"
      title: Disorderly
    - const: "M7A"
      title: Cigarette / e-cigarette
    - const: "M7B"
      title: Alcohol
    - const: "M7C"
      title: Over-the-counter medication
    - const: "M7D"
      title: ADHD medication
    - const: "M7E"
      title: Other prescription medication
    - const: "M7F"
      title: Aerosol
    - const: "M7G"
      title: Solvents
    - const: "M7H"
      title: Inappropriate sexual material
    - const: "M8A"
      title: Knife or blade
    - const: "M8B"
      title: Firearm
    - const: "M8C"
      title: Amphetamines
    - const: "M8D"
      title: Marijuana
    - const: "M8E"
      title: Drug implement or paraphernalia
    - const: "M8F"
      title: Other illegal drug
    - const: "M8G"
      title: Other illegal weapon
    - const: "M9A"
      title: Cyberbullying
    - const: "M9B"
      title: Hacking
    - const: "M9C"
      title: Breach of Department acceptable use agreement
    - const: "M9D"
      title: Breach of Students Online Policy
    - const: "M9E"
      title: Persistent personal use of a MED when not permitted
    - const: "M9F"
      title: Inappropriate audio or video recording
    - const: "M9G"
      title: Inappropriate uploading of text, images or audio
    - const: "M9H"
      title: Public posting of messages that bring the school or Department into disrepute
    - const: "M9I"
      title: Copyright infringement or plagiarism

  # /////////////////////////////////////////////////////////////
  NZCodeSetsWellbeingEventTimePeriod:
    type: string
    title: Wellbeing Event Time Period
    description: >-
      <p>Standard codes denoting the time period of the Wellbeing Event.</p>
      <ul>
        <li>'AM' - AM - AM</li>
        <li>'PM' - PM - PM</li>
        <li>'R' - Recess - Wā moko</li>
        <li>'B' - Before School - I mua i te Kura</li>
        <li>'A' - After School - Muri i te Kura</li>
        <li>'Ex' - Excursion - Haerenga</li>
        <li>'W' - Weekend - Rā whakatā</li>
        <li>'O' - Other - Ētahi kē</li>
      </ul>
    oneOf:
    - const: "AM"
      title*: 
        en: AM
        mi: AM
    - const: "PM"
      title*: 
        en: PM
        mi: PM
    - const: "R"
      title*: 
        en: Recess
        mi: Wā moko
    - const: "B"
      title*: 
        en: Before School
        mi: I mua i te Kura
    - const: "A"
      title*: 
        en: After School
        mi: Muri i te Kura
    - const: "Ex"
      title*: 
        en: Excursion
        mi: Haerenga
    - const: "W"
      title*: 
        en: Weekend
        mi: Rā whakatā
    - const: "O"
      title*: 
        en: Other
        mi: Ētahi kē

  # /////////////////////////////////////////////////////////////
  NZCodeSetsWellbeingEventCategoryClass:
    type: string
    title: Wellbeing Event Category Class
    description: >-
      <p>Standard codes denoting the first level category of the Wellbeing Event. (Note: The second and third levels are Category and SubCategory)</p>
      <ul>
        <li>'POS' - Positive</li>
        <li>'NEG' - Negative</li>
        <li>'DAT' - Data Record Only</li>
        <li>'OTH' - Other</li>
      </ul>
    oneOf:
    - const: "POS"
      title: Positive
    - const: "NEG"
      title: Negative
    - const: "DAT"
      title: Data Record Only
    - const: "OTH"
      title: Other

  # /////////////////////////////////////////////////////////////
  NZCodeSetsBehaviourDirectedAtType:
    type: string
    title: Behaviour Directed At Type
    description: >-
      <p>Code set denoting type of object or person the student was directing their behaviour at, e.g. Staff Member, Student, Desk, Chair.</p>
      <ul>
        <li>'STA' - Staff</li>
        <li>'STU' - Student</li>
        <li>'PRO' - Property</li>
        <li>'OTH' - Other</li>
      </ul>
    oneOf:
    - const: "STA"
      title: Staff
    - const: "STU"
      title: Student
    - const: "PRO"
      title: Property
    - const: "OTH"
      title: Other

  # /////////////////////////////////////////////////////////////
  NZCodeSetsWellbeingEventActionTaken:
    type: string
    title: Wellbeing Event Action Taken
    description: >-
      <p>Code set denoting the actions that can be taken as a result of the Wellbeing event.</p>
      <ul>
        <li>'AASS' - Additional Attendance/Saturday School - Rā kura anō/Kura Rāhoroi</li>
        <li>'ACPE' - Action Pending - Te mahi e tārewa ana</li>
        <li>'ALPL' - Alternative Placement - Whakataunga noa atu</li>
        <li>'BUSU' - Bus Suspension - Kua rāhuitia i te pahi</li>
        <li>'COSE' - Community Service - Ratonga hapori</li>
        <li>'COST' - Conference with Student - Huihuinga matua, kaiako me te ākonga</li>
        <li>'EXPU' - Expulsion - Kua panaia</li>
        <li>'ININ' - Individualised Instruction - Tohutohu Takitahitia</li>
        <li>'ISSU' - In-School Suspension - Rāhuitia ki roto o te kura</li>
        <li>'LOPR' - Loss of Privilege - Kua ngaro te mana</li>
        <li>'OATA' - Other Action Taken - He mahi kē i mahia</li>
        <li>'OOSS' - Out-of-School Suspension - Rāhuitia ki waho o te Kura</li>
      </ul>
      plus 4 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsWellbeingEventActionTakenType">NZCodeSetsWellbeingEventActionTakenType<a>
    oneOf:
    - const: "AASS"
      title*: 
        en: Additional Attendance/Saturday School
        mi: Rā kura anō/Kura Rāhoroi
      description: >-
        Consequence for referral results in student attending classes on a Saturday.
    - const: "ACPE"
      title*: 
        en: Action Pending
        mi: Te mahi e tārewa ana
      description: >-
        Consequence for referral is pending. Referral will be modified when “action taken” is determined.
    - const: "ALPL"
      title*: 
        en: Alternative Placement
        mi: Whakataunga noa atu
      description: >-
        Consequence for referral results in student being placed in a different educational setting.
    - const: "BUSU"
      title*: 
        en: Bus Suspension
        mi: Kua rāhuitia i te pahi
      description: >-
        Consequence for referral results in 1-3 day period when student not allowed on the bus.
    - const: "COSE"
      title*: 
        en: Community Service
        mi: Ratonga hapori
      description: >-
        Consequence for referral results in involvement in community service activities or projects.
    - const: "COST"
      title*: 
        en: Conference with Student
        mi: Huihuinga matua, kaiako me te ākonga
      description: >-
        Consequence for referral results in student meeting with administrator, teacher, and/or parent (in any combination).
    - const: "EXPU"
      title*: 
        en: Expulsion
        mi: Kua panaia
      description: >-
        Consequence for referral results in student being dismissed from school permanently.
    - const: "ININ"
      title*: 
        en: Individualised Instruction
        mi: Tohutohu Takitahitia
      description: >-
        Consequence for referral results in student receiving individualized instruction specifically related to the student’s problem behaviors.
    - const: "ISSU"
      title*: 
        en: In-School Suspension
        mi: Rāhuitia ki roto o te kura
      description: >-
        Consequence for referral results in a period of time spent away from scheduled activities/classes during the school day.
    - const: "LOPR"
      title*: 
        en: Loss of Privilege
        mi: Kua ngaro te mana
      description: >-
        Consequence for referral results in student being unable to participate in some type of privilege.
    - const: "OATA"
      title*: 
        en: Other Action Taken
        mi: He mahi kē i mahia
      description: >-
        Consequence for referral results in administrative decision that is not listed. Staff using this area will specify the administrative action taken.
    - const: "OOSS"
      title*: 
        en: Out-of-School Suspension
        mi: Rāhuitia ki waho o te Kura
      description: >-
        Consequence for referral results in a 1-3 day period when student is not allowed on campus.
    - const: "PACO"
      title*: 
        en: Parent Contact
        mi: Te whakapā ki ngā Mātua
      description: >-
        Consequence for referral results in parent communication by phone, email, or person-to-person about the problem.
    - const: "RECS"
      title*: 
        en: Restitution
        mi: Te Utu
      description: >-
        Consequence for referral results in apologizing or compensating for loss, damage, or injury; community services.
    - const: "TIOF"
      title*: 
        en: Time in Office
        mi: Te noho ki te Tari
      description: >-
        Consequence for referral results in student spending time in the office away from scheduled activities/classes.
    - const: "TODE"
      title*: 
        en: Time Out/Detention
        mi: Te whakawehe/Tautāwhi
      description: >-
        Consequence for referral results in student spending time in a specified area away from scheduled activities/classes.

  # /////////////////////////////////////////////////////////////
  NZCodeSetsWellbeingEventRestraintType:
    type: string
    title: Wellbeing Event Restraint Type
    description: >-
      <p>Codes denoting the type of restraint used on a student during a Wellbeing Event.</p>
      <ul>
        <li>'NON' - None - Karekau</li>
        <li>'RES' - Restraint - Te pupuri</li>
        <li>'RAS' - Restraint and Seclusion - Te pupuri me te whakawehe</li>
        <li>'SEC' - Seclusion - Te whakawehe</li>
      </ul>
    oneOf:
    - const: "NON"
      title*: 
        en: None
        mi: Karekau
      description: >-
        No restraint or seclusion was used.
    - const: "RES"
      title*: 
        en: Restraint
        mi: Te pupuri
      description: >-
        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.
    - const: "RAS"
      title*: 
        en: Restraint and Seclusion
        mi: Te pupuri me te whakawehe
      description: >-
        The use of both restraint and seclusion.
    - const: "SEC"
      title*: 
        en: Seclusion
        mi: Te whakawehe
      description: >-
        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.

  # /////////////////////////////////////////////////////////////
  NZCodeSetsSuspensionCategory:
    type: string
    title: Suspension Category
    description: >-
      <p>Standard codes denoting the suspension category a Wellbeing Response belongs to.</p>
      <ul>
        <li>'E' - Expulsion</li>
        <li>'WE' - Whole Exclusion</li>
        <li>'P' - Partial Exclusion</li>
        <li>'I' - In School</li>
        <li>'W' - Withdrawal</li>
        <li>'S' - Suspension</li>
        <li>'R' - Removal</li>
        <li>'O' - Other</li>
      </ul>
    oneOf:
    - const: "E"
      title: Expulsion
    - const: "WE"
      title: Whole Exclusion
    - const: "P"
      title: Partial Exclusion
    - const: "I"
      title: In School
    - const: "W"
      title: Withdrawal
    - const: "S"
      title: Suspension
    - const: "R"
      title: Removal
    - const: "O"
      title: Other

  # /////////////////////////////////////////////////////////////
  NZCodeSetsDetentionCategory:
    type: string
    title: Detention Category
    description: >-
      <p>Standard codes denoting the detention category a Wellbeing Response belongs to.</p>
      <ul>
        <li>'B' - Before School</li>
        <li>'R' - Recess</li>
        <li>'MR' - Morning Recess</li>
        <li>'AR' - Afternoon Recess</li>
        <li>'A' - After School</li>
        <li>'L' - Lunch</li>
        <li>'O' - Other</li>
      </ul>
    oneOf:
    - const: "B"
      title: Before School
    - const: "R"
      title: Recess
    - const: "MR"
      title: Morning Recess
    - const: "AR"
      title: Afternoon Recess
    - const: "A"
      title: After School
    - const: "L"
      title: Lunch
    - const: "O"
      title: Other

  # /////////////////////////////////////////////////////////////
  NZCodeSetsWellbeingResponseCategory:
    type: string
    title: Wellbeing Response Category
    description: >-
      <p>Standard codes denoting the category a Wellbeing Response belongs to.</p>
      <ul>
        <li>'S' - Suspension</li>
        <li>'D' - Detention</li>
        <li>'A' - Award</li>
        <li>'P' - Plan Required</li>
        <li>'M' - Multiple Response</li>
        <li>'O' - Other</li>
      </ul>
    oneOf:
    - const: "S"
      title: Suspension
    - const: "D"
      title: Detention
    - const: "A"
      title: Award
    - const: "P"
      title: Plan Required
    - const: "M"
      title: Multiple Response
    - const: "O"
      title: Other

  # /////////////////////////////////////////////////////////////
  NZCodeSetsWellbeingAwardType:
    type: string
    title: Wellbeing Award Type
    description: >-
      <p>Standard codes denoting the type of award that has been achieved as part of a Wellbeing Response.</p>
      <ul>
        <li>'CER' - Certificate</li>
        <li>'TRO' - Trophy</li>
        <li>'LOR' - Letter of Recognition</li>
        <li>'OTH' - Other</li>
      </ul>
    oneOf:
    - const: "CER"
      title: Certificate
    - const: "TRO"
      title: Trophy
    - const: "LOR"
      title: Letter of Recognition
    - const: "OTH"
      title: Other

  # /////////////////////////////////////////////////////////////
  NZCodeSetsPersonInvolvedType:
    type: string
    title: Person Involved Type
    description: >-
      <p>Code set denoting the type of person that was involved.</p>
      <ul>
        <li>'NONE' - None - Ko ia anake</li>
        <li>'OTHE' - Other - Me t/ētahi noa atu</li>
        <li>'PEER' - Peers - He hoa aropā</li>
        <li>'STAF' - Staff - Me te/ngā kaimahi kura</li>
        <li>'SUBS' - Substitute - Me te kairīwhi</li>
        <li>'TEAC' - Teacher - Me te/ngā Kaiako</li>
        <li>'UNKN' - Unknown - Kāre i mōhiotia</li>
      </ul>
    oneOf:
    - const: "NONE"
      title*: 
        en: None
        mi: Ko ia anake
    - const: "OTHE"
      title*: 
        en: Other
        mi: Me t/ētahi noa atu
    - const: "PEER"
      title*: 
        en: Peers
        mi: He hoa aropā
    - const: "STAF"
      title*: 
        en: Staff
        mi: Me te/ngā kaimahi kura
    - const: "SUBS"
      title*: 
        en: Substitute
        mi: Me te kairīwhi
    - const: "TEAC"
      title*: 
        en: Teacher
        mi: Me te/ngā Kaiako
    - const: "UNKN"
      title*: 
        en: Unknown
        mi: Kāre i mōhiotia

  # /////////////////////////////////////////////////////////////
  NZCodeSetsWellbeingEventLocation:
    type: string
    title: Wellbeing Event Location
    description: >-
      <p>Code set denoting locations where a Wellbeing Event incident may have took place.</p>
      <ul>
        <li>'ARTR' - Art Room - Te Akomanga Toi</li>
        <li>'BATH' - Bathroom/Restroom - Nga Wharepaku</li>
        <li>'BUSL' - Bus Loading Zone - Te tūnga pahi</li>
        <li>'BUSS' - Bus - Te Pahi</li>
        <li>'CAFE' - Cafeteria - Te wharekai</li>
        <li>'CLAS' - Classroom - Akomanga</li>
        <li>'COMM' - Commons/Common Area - Ngā wāhi o te kura</li>
        <li>'COMP' - Computer Lab - Taiwhanga Rorohiko</li>
        <li>'GYMM' - Gym - Te Whare Hākinakina</li>
        <li>'HALL' - Hallway/Breezeway - Ngā huarahi haere ki ngā akomanga</li>
        <li>'LIBR' - Library - Te whare pukapuka</li>
        <li>'LOCK' - Locker Room - Te Rūma Rakanga</li>
      </ul>
      plus 10 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsWellbeingEventLocationType">NZCodeSetsWellbeingEventLocationType<a>
    oneOf:
    - const: "ARTR"
      title*: 
        en: Art Room
        mi: Te Akomanga Toi
      description: >-
        The area used for art classes and activities.
    - const: "BATH"
      title*: 
        en: Bathroom/Restroom
        mi: Nga Wharepaku
      description: >-
        Areas used by students for taking care of personal needs.
    - const: "BUSL"
      title*: 
        en: Bus Loading Zone
        mi: Te tūnga pahi
      description: >-
        The area used for bus loading and unloading.
    - const: "BUSS"
      title*: 
        en: Bus
        mi: Te Pahi
      description: >-
        The area inside the bus.
    - const: "CAFE"
      title*: 
        en: Cafeteria
        mi: Te wharekai
      description: >-
        The area used for breakfast and lunch.
    - const: "CLAS"
      title*: 
        en: Classroom
        mi: Akomanga
      description: >-
        Areas used for instructional purposes.
    - const: "COMM"
      title*: 
        en: Commons/Common Area
        mi: Ngā wāhi o te kura
      description: >-
        Areas shared by students and staff for specific activities.
    - const: "COMP"
      title*: 
        en: Computer Lab
        mi: Taiwhanga Rorohiko
      description: >-
        Area used for group computer classes and activities.
    - const: "GYMM"
      title*: 
        en: Gym
        mi: Te Whare Hākinakina
      description: >-
        Areas used for physical education activities.
    - const: "HALL"
      title*: 
        en: Hallway/Breezeway
        mi: Ngā huarahi haere ki ngā akomanga
      description: >-
        Areas designated for passing from one activity/class to another.
    - const: "LIBR"
      title*: 
        en: Library
        mi: Te whare pukapuka
      description: >-
        The area designated for research and study.
    - const: "LOCK"
      title*: 
        en: Locker Room
        mi: Te Rūma Rakanga
      description: >-
        The area used by students to prepare for and completing physical education classes and/or sporting events.
    - const: "MUSC"
      title*: 
        en: Music Room
        mi: Te Rūma Whakatangitangi
      description: >-
        The area used by students for music activities (e.g., music class, choir, band).
    - const: "OFFC"
      title*: 
        en: Off-Campus
        mi: A waho atu i te Kura
      description: >-
        An area beyond the property boundary of the school and not affiliated with a school activity.
    - const: "OFFI"
      title*: 
        en: Office
        mi: Te Tari
      description: >-
        The area used by school staff for primary school business and management.
    - const: "OTHE"
      title*: 
        en: Other Location
        mi: He wāhi kē
      description: >-
        The location for problem behavior event occurs in a location that is not listed.
    - const: "PARK"
      title*: 
        en: Parking Lot
        mi: Te tūnga waka
      description: >-
        Areas used for parking vehicles during school hours.
    - const: "PLAY"
      title*: 
        en: Playground
        mi: Te papatākaro
      description: >-
        The outside area used for recess breaks
    - const: "SPEC"
      title*: 
        en: Special Event/Assembly/Field Trip
        mi: He kaupapa motuhake, he huihuinga, he haerenga
      description: >-
        Areas used for infrequent activities that occur in and/or out of school.
    - const: "STAD"
      title*: 
        en: Stadium
        mi: Taiwhanga Hākinakina
      description: >-
        Area used for athletic/special events.
    - const: "UNKN"
      title*: 
        en: Unknown Location
        mi: Kāre e mōhiotia te wāhi
      description: >-
        The location of problem behavior event is not known or undetermined.
    - const: "VOCA"
      title*: 
        en: Vocational Room
        mi: Te rūma ahumahinga
      description: >-
        The area of a school used for vocational classes and activities.

  # /////////////////////////////////////////////////////////////
  NZCodeSetsWellbeingEventMinorBehaviour:
    type: string
    title: Wellbeing Event Minor Behaviour
    description: >-
      <p>Code set denoting the type of minor behaviour problem identified as part of the Wellbeing Event.</p>
      <ul>
        <li>'DEFIA' - Defiance/Disrespect/Non-Compliance - Ātete – Iti noa</li>
        <li>'DISRE' - Disrespect - Tōtōā – Iti noa</li>
        <li>'DISRU' - Disruption - Tauwhati – Iti noa</li>
        <li>'DRESS' - Dress Code Violation - Ngā kākahu ā-Kura – Iti noa</li>
        <li>'INAPP' - Inappropriate Language - He reo pakirara – Iti noa</li>
        <li>'OTHER' - Other - He mea kē - Iti noa</li>
        <li>'PHYSI' - Physical Contact/Physical Aggression - Te pa ā-ringa/Te tukituki – Iti noa</li>
        <li>'PROPE' - Property Misuse - Te whakamahi hē i ngā taputapu ā-kura – Iti noa</li>
        <li>'TARDY' - Tardy - Tōmuritanga – Iti noa</li>
        <li>'TECHN' - Technology Violation - Te whakamahi hē i te hangarau – Iti noa</li>
      </ul>
    oneOf:
    - const: "DEFIA"
      title*: 
        en: Defiance/Disrespect/Non-Compliance
        mi: Ātete – Iti noa
      description: >-
        Student engages in brief or low-intensity failure to follow directions or talks back.
    - const: "DISRE"
      title*: 
        en: Disrespect
        mi: Tōtōā – Iti noa
      description: >-
        Student delivers low-intensity, socially rude or dismissive messages to adults or students.
      x-endDate: 2020-04-09
    - const: "DISRU"
      title*: 
        en: Disruption
        mi: Tauwhati – Iti noa
      description: >-
        Student engages in low-intensity, but inappropriate disruption.
    - const: "DRESS"
      title*: 
        en: Dress Code Violation
        mi: Ngā kākahu ā-Kura – Iti noa
      description: >-
        Student wears clothing that is near, but not within, the dress code guidelines defined by the school/district.
    - const: "INAPP"
      title*: 
        en: Inappropriate Language
        mi: He reo pakirara – Iti noa
      description: >-
        Student engages in low-intensity instance of inappropriate language.
    - const: "OTHER"
      title*: 
        en: Other
        mi: He mea kē - Iti noa
      description: >-
        Student engages in any other minor problem behaviors that do not fall within the above categories.
    - const: "PHYSI"
      title*: 
        en: Physical Contact/Physical Aggression
        mi: Te pa ā-ringa/Te tukituki – Iti noa
      description: >-
        Student engages in non-serious, but inappropriate physical contact.
    - const: "PROPE"
      title*: 
        en: Property Misuse
        mi: Te whakamahi hē i ngā taputapu ā-kura – Iti noa
      description: >-
        Student engages in low-intensity misuse of property.
    - const: "TARDY"
      title*: 
        en: Tardy
        mi: Tōmuritanga – Iti noa
      description: >-
        Student arrives at class after the bell (or signal that class has started).
    - const: "TECHN"
      title*: 
        en: Technology Violation
        mi: Te whakamahi hē i te hangarau – Iti noa
      description: >-
        Student engages in non-serious, but inappropriate (as defined by school) use of cell phone, pager, music/video players, camera, and/or computer.

  # /////////////////////////////////////////////////////////////
  NZCodeSetsWellbeingEventMajorBehaviour:
    type: string
    title: Wellbeing Event Major Behaviour
    description: >-
      <p>Code set denoting the type of major behaviour problem identified as part of the Wellbeing Event.</p>
      <ul>
        <li>'ABUSI' - Abusive Language/Inappropriate Language/Profanity - Reo whakataki/Reo Pakirara/ Reo kohukohu – Nui rawa</li>
        <li>'ARSON' - Arson - Te tahu ahi – Nui rawa</li>
        <li>'BOMBT' - Bomb Threat/False Alarm - Tuma Pāhu/Whakaaraara parau – Nui rawa</li>
        <li>'BULLY' - Bullying - Te mahi poke – Nui rawa</li>
        <li>'DEFIA' - Defiance/Disrespect/Insubordination/Non-Compliance - Ātete/Kāre e whakarongo/Kāre e aro mai – Nui rawa</li>
        <li>'DISRE' - Disrespect - Tōtōā – Nui rawa</li>
        <li>'DISRU' - Disruption - Tauwhati – Nui rawa</li>
        <li>'DRESS' - Dress Code Violation - Ngā kākahu ā-Kura – Nui rawa</li>
        <li>'FIGHT' - Fighting - Te whawhai – Nui rawa</li>
        <li>'FORGE' - Forgery/Theft/Plagiarism - Te Tāwhai/Te whānako/Te Tuhi whānako – Nui rawa</li>
        <li>'GANGA' - Gang Affiliation Display - Te mau kākahu Kēne – Nui rawa</li>
        <li>'HARAS' - Harassment/Bullying - Inonotitanga – Nui rawa</li>
      </ul>
      plus 15 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsWellbeingEventMajorBehaviourType">NZCodeSetsWellbeingEventMajorBehaviourType<a>
    oneOf:
    - const: "ABUSI"
      title*: 
        en: Abusive Language/Inappropriate Language/Profanity
        mi: Reo whakataki/Reo Pakirara/ Reo kohukohu – Nui rawa
      description: >-
        Student delivers verbal messages that include swearing, name calling, or use of words in an inappropriate way.
    - const: "ARSON"
      title*: 
        en: Arson
        mi: Te tahu ahi – Nui rawa
      description: >-
        Student plans and/or participates in malicious burning of property.
    - const: "BOMBT"
      title*: 
        en: Bomb Threat/False Alarm
        mi: Tuma Pāhu/Whakaaraara parau – Nui rawa
      description: >-
        Student delivers a message of possible explosive materials being on-campus, near campus, and/or pending explosion.
    - const: "BULLY"
      title*: 
        en: Bullying
        mi: Te mahi poke – Nui rawa
      description: >-
        The delivery of direct or technology-based messages that involve intimidation, teasing, taunting, threats, or name calling.
      x-endDate: 2020-04-09
    - const: "DEFIA"
      title*: 
        en: Defiance/Disrespect/Insubordination/Non-Compliance
        mi: Ātete/Kāre e whakarongo/Kāre e aro mai – Nui rawa
      description: >-
        Student engages in refusal to follow directions or talks back.
    - const: "DISRE"
      title*: 
        en: Disrespect
        mi: Tōtōā – Nui rawa
      description: >-
        Student delivers socially rude or dismissive messages to adults or students.
      x-endDate: 2020-04-09
    - const: "DISRU"
      title*: 
        en: Disruption
        mi: Tauwhati – Nui rawa
      description: >-
        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.
    - const: "DRESS"
      title*: 
        en: Dress Code Violation
        mi: Ngā kākahu ā-Kura – Nui rawa
      description: >-
        Student wears clothing that does not fit within the dress code guidelines practiced by the school/district.
    - const: "FIGHT"
      title*: 
        en: Fighting
        mi: Te whawhai – Nui rawa
      description: >-
        Student is involved in mutual participation in an incident involving physical violence.
    - const: "FORGE"
      title*: 
        en: Forgery/Theft/Plagiarism
        mi: Te Tāwhai/Te whānako/Te Tuhi whānako – Nui rawa
      description: >-
        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.
    - const: "GANGA"
      title*: 
        en: Gang Affiliation Display
        mi: Te mau kākahu Kēne – Nui rawa
      description: >-
        Student uses gesture, dress, and/or speech to display affiliation with a gang.
    - const: "HARAS"
      title*: 
        en: Harassment/Bullying
        mi: Inonotitanga – Nui rawa
      description: >-
        The delivery of disrespectful messages in any format related to gender, ethnicity, sex, race, religion, disability, physical features, or other protected class.
    - const: "INADI"
      title*: 
        en: Inappropriate Display of Affection
        mi: Te whai aroha pakirara – Nui rawa
      description: >-
        Student engages in inappropriate, consensual (as defined by school) verbal and/or physical gestures/contact, of a sexual nature to another student/adult.
    - const: "INALO"
      title*: 
        en: Inappropriate Location/Out of Bounds Area
        mi: Tētahi wāhi pakirara/Wāhi rāhui – Nui rawa
      description: >-
        Student is in an area that is outside of school boundaries (as defined by school).
    - const: "LYING"
      title*: 
        en: Lying/Cheating
        mi: Te rūkahu/Te tāhae – Nui rawa
      description: >-
        Student delivers message that is untrue and/or deliberately violates rules.
    - const: "OTHER"
      title*: 
        en: Other Behaviour
        mi: Whanonga kē – Nui rawa
      description: >-
        Student engages in problem behavior not listed.
    - const: "PHYSI"
      title*: 
        en: Physical Aggression
        mi: Te tukituki –Nui rawa
      description: >-
        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.).
    - const: "PROPE"
      title*: 
        en: Property Damage/Vandalism
        mi: Wāwahi whare/Mahi Kaiauru – Nui rawa
      description: >-
        Student participates in an activity that results in destruction or disfigurement of property.
    - const: "SKIPC"
      title*: 
        en: Skip Class
        mi: Tōhipa akomanga – Nui rawa
      description: >-
        Student leaves or misses class without permission.
    - const: "TARDY"
      title*: 
        en: Tardy
        mi: Tōmuritanga – Nui rawa
      description: >-
        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).
    - const: "TECHN"
      title*: 
        en: Technology Violation
        mi: Te whakamahi hē i te hangarau – Nui rawa
      description: >-
        Student engages in inappropriate (as defined by school) use of cell phone, pager, music/video players, camera, and/or computer.
    - const: "TRUAN"
      title*: 
        en: Truancy
        mi: Whakatau – Nui rawa
      description: >-
        Student receives an ‘unexcused absence’ for ½ day or more.
    - const: "UPOAL"
      title*: 
        en: Use/Possession of Alcohol
        mi: Te kai/mau waipiro – Nui rawa
      description: >-
        Student is in possession of or is using alcohol.
    - const: "UPOCO"
      title*: 
        en: Use/Possession of Combustibles
        mi: Te kai/mau ngingiha – Nui rawa
      description: >-
        Student is/was in possession of substances/objects readily capable of causing bodily harm and/or property damage (matches, lighters, firecrackers, gasoline, lighter fluid).
    - const: "UPODR"
      title*: 
        en: Use/Possession of Drugs
        mi: Te kai/mau pōauau – Nui rawa
      description: >-
        Student is in possession of or is using illegal drugs/substances or imitations.
    - const: "UPOTO"
      title*: 
        en: Use/Possession of Tobacco
        mi: Te kai/mau tupeka – Nui rawa
      description: >-
        Student is in possession of or is using tobacco.
    - const: "UPOWE"
      title*: 
        en: Use/Possession of Weapons
        mi: Te kai/mau rākau riri – Nui rawa
      description: >-
        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.

  # /////////////////////////////////////////////////////////////
  NZCodeSetsWellbeingAppealStatus:
    type: string
    title: Wellbeing Appeal Status
    description: >-
      <p>Standard codes denoting the status of the Wellbeing Appeal.</p>
      <ul>
        <li>'IP' - In Progress</li>
        <li>'NS' - Not Specified</li>
        <li>'RE' - Rejected</li>
        <li>'SU' - Successful</li>
      </ul>
    oneOf:
    - const: "IP"
      title: In Progress
    - const: "NS"
      title: Not Specified
    - const: "RE"
      title: Rejected
    - const: "SU"
      title: Successful

  # /////////////////////////////////////////////////////////////
  NZCodeSetsAppealDeterminationBy:
    type: string
    title: Appeal Determination By
    description: >-
      <p>Code set denoting the type of individual or group that determined the appeal outcome.</p>
      <ul>
        <li>'BOT' - Board of Trustees</li>
        <li>'PRI' - Principal</li>
        <li>'DEP' - Deputy Principal</li>
        <li>'YEA' - Year Level Dean</li>
        <li>'HOM' - Home Room Teacher</li>
        <li>'MOE' - Ministry of Education</li>
      </ul>
    oneOf:
    - const: "BOT"
      title: Board of Trustees
    - const: "PRI"
      title: Principal
    - const: "DEP"
      title: Deputy Principal
    - const: "YEA"
      title: Year Level Dean
    - const: "HOM"
      title: Home Room Teacher
    - const: "MOE"
      title: Ministry of Education

  # /////////////////////////////////////////////////////////////
  NZCodeSetsLearningSupportLearnerStatus:
    type: string
    title: Learning Support Learner Status
    description: >-
      <p>Codes denoting the whether or not the learner is being actively managed for learning support.</p>
      <ul>
        <li>'ACT' - Active - E Tuwhera Ana</li>
        <li>'ARC' - Archived - Pūrangatia</li>
      </ul>
    oneOf:
    - const: "ACT"
      title*: 
        en: Active
        mi: E Tuwhera Ana
    - const: "ARC"
      title*: 
        en: Archived
        mi: Pūrangatia

  # /////////////////////////////////////////////////////////////
  NZCodeSetsLearningSupportCaseLead:
    type: string
    title: Learning Support Case Lead
    description: >-
      <p>Code set denoting the Agency taking the lead on a learning support need case, e.g. MOE, Police, Corrections etc.)</p>
      <ul>
        <li>'CO' - Corrections - Ara Poutama Aotearoa</li>
        <li>'IH' - IHC - IHC</li>
        <li>'MO' - MOE - Te Tāhuhu o te Mātauranga</li>
        <li>'OT' - Oranga Tamariki - Oranga Tamariki</li>
        <li>'OH' - Other - Rōpū kē</li>
        <li>'PO' - Police - Ngā Pirihimana o Aotearoa</li>
        <li>'RT' - RTLB - RTLB</li>
        <li>'AC' - ACC - ACC</li>
      </ul>
    oneOf:
    - const: "CO"
      title*: 
        en: Corrections
        mi: Ara Poutama Aotearoa
    - const: "IH"
      title*: 
        en: IHC
        mi: IHC
    - const: "MO"
      title*: 
        en: MOE
        mi: Te Tāhuhu o te Mātauranga
    - const: "OT"
      title*: 
        en: Oranga Tamariki
        mi: Oranga Tamariki
    - const: "OH"
      title*: 
        en: Other
        mi: Rōpū kē
    - const: "PO"
      title*: 
        en: Police
        mi: Ngā Pirihimana o Aotearoa
    - const: "RT"
      title*: 
        en: RTLB
        mi: RTLB
    - const: "AC"
      title*: 
        en: ACC
        mi: ACC

  # /////////////////////////////////////////////////////////////
  NZCodeSetsLearningSupportResponseOutcome:
    type: string
    title: Learning Support Response Outcome
    description: >-
      <p>Code set denoting the outcome for the student that the response is seeking to achieve for a learning support need.</p>
      <ul>
        <li>'FSR' - Further support required - Me Whai Tautoko Anō</li>
        <li>'GAC' - Goal achieved - Whāinga i tutuki</li>
        <li>'GNA' - Goal not achieved - Whāinga kāre i tutuki</li>
        <li>'RNA' - Response not effective - Urupare kāre i tika</li>
      </ul>
    oneOf:
    - const: "FSR"
      title*: 
        en: Further support required
        mi: Me Whai Tautoko Anō
    - const: "GAC"
      title*: 
        en: Goal achieved
        mi: Whāinga i tutuki
    - const: "GNA"
      title*: 
        en: Goal not achieved
        mi: Whāinga kāre i tutuki
    - const: "RNA"
      title*: 
        en: Response not effective
        mi: Urupare kāre i tika

  # /////////////////////////////////////////////////////////////
  NZCodeSetsLearningSupportResponseTier:
    type: string
    title: Learning Support Response Tier
    description: >-
      <p>Code set denoting the tier of response for a learning support need response.</p>
      <ul>
        <li>'IND' - Individual - Takitahi</li>
        <li>'TAR' - Targeted / Group - Hāngai/Rōpū</li>
        <li>'UNI' - Universal - Ao whānui</li>
      </ul>
    oneOf:
    - const: "IND"
      title*: 
        en: Individual
        mi: Takitahi
    - const: "TAR"
      title*: 
        en: Targeted / Group
        mi: Hāngai/Rōpū
    - const: "UNI"
      title*: 
        en: Universal
        mi: Ao whānui

  # /////////////////////////////////////////////////////////////
  NZCodeSetsLearningSupportResponseClosureStatus:
    type: string
    title: Learning Support Response Closure Status
    description: >-
      <p>Code set denoting the status of the learning support need response when it is closed.</p>
      <ul>
        <li>'COM' - Complete - Oti</li>
        <li>'ILM' - Incomplete (support no longer required) - Noho tārewa (Kāre ngā mahi tautoko i hiahiatia)</li>
        <li>'ISN' - Incomplete (learner moved from school) - Noho tārewa (kua haere te ākonga ki kura kē)</li>
        <li>'NLF' - No longer funded - Kāre he pūtea tautoko</li>
        <li>'OTH' - Other - He mea kē</li>
      </ul>
    oneOf:
    - const: "COM"
      title*: 
        en: Complete
        mi: Oti
    - const: "ILM"
      title*: 
        en: Incomplete (support no longer required)
        mi: Noho tārewa (Kāre ngā mahi tautoko i hiahiatia)
    - const: "ISN"
      title*: 
        en: Incomplete (learner moved from school)
        mi: Noho tārewa (kua haere te ākonga ki kura kē)
    - const: "NLF"
      title*: 
        en: No longer funded
        mi: Kāre he pūtea tautoko
    - const: "OTH"
      title*: 
        en: Other
        mi: He mea kē

  # /////////////////////////////////////////////////////////////
  NZCodeSetsLearningSupportResponseDetail:
    type: string
    title: Learning Support Response Detail
    description: >-
      <p>Code set denoting the additional detail about the response type provided to the student to support the need.</p>
      <ul>
        <li>'ACU' - Curriculum - Marau</li>
        <li>'ASC' - School property - Rawa ā-kura</li>
        <li>'HUP' - For help undertaking personal care tasks - Hei Āwhina i ngā Tūmahi Atawhai</li>
        <li>'MOE' - MOE specialists - Mātanga na Te Tāhuhu o te Mātauranga</li>
        <li>'OAN' - Other agency/NGO specialists - Umanga Kē/Mātanga NGO</li>
        <li>'ODS' - Other adaptation for access - Urutaunga Angitu Kē</li>
        <li>'OSS' - Other specialist support - Mātanga Tautoko Kē</li>
        <li>'OTA' - Other teacher aide support in the classroom - He Tautoko Kairīwhi Kē ki te Akomanga</li>
        <li>'OUD' - Other universal design - Hoahoatanga Whānui Kē</li>
        <li>'SCU' - Curriculum - Marau</li>
        <li>'SPC' - Support from community - Tautoko ā-hapori</li>
        <li>'SPI' - Support from Iwi - Tautoko ā-iwi</li>
      </ul>
      plus 2 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsLearningSupportResponseDetailType">NZCodeSetsLearningSupportResponseDetailType<a>
    oneOf:
    - const: "ACU"
      title*: 
        en: Curriculum
        mi: Marau
      description: >-
        Links to Adaptation for access Response Type.
    - const: "ASC"
      title*: 
        en: School property
        mi: Rawa ā-kura
      description: >-
        Links to Adaptation for access Response Type.
    - const: "HUP"
      title*: 
        en: For help undertaking personal care tasks
        mi: Hei Āwhina i ngā Tūmahi Atawhai
    - const: "MOE"
      title*: 
        en: MOE specialists
        mi: Mātanga na Te Tāhuhu o te Mātauranga
    - const: "OAN"
      title*: 
        en: Other agency/NGO specialists
        mi: Umanga Kē/Mātanga NGO
    - const: "ODS"
      title*: 
        en: Other adaptation for access
        mi: Urutaunga Angitu Kē
    - const: "OSS"
      title*: 
        en: Other specialist support
        mi: Mātanga Tautoko Kē
    - const: "OTA"
      title*: 
        en: Other teacher aide support in the classroom
        mi: He Tautoko Kairīwhi Kē ki te Akomanga
    - const: "OUD"
      title*: 
        en: Other universal design
        mi: Hoahoatanga Whānui Kē
    - const: "SCU"
      title*: 
        en: Curriculum
        mi: Marau
      description: >-
        Links to the Universal Design Response Type
    - const: "SPC"
      title*: 
        en: Support from community
        mi: Tautoko ā-hapori
    - const: "SPI"
      title*: 
        en: Support from Iwi
        mi: Tautoko ā-iwi
    - const: "SRL"
      title*: 
        en: To support and reinforce learning
        mi: Te tautoko me te taunaki akoako
    - const: "USC"
      title*: 
        en: School property
        mi: Rawa ā-kura
      description: >-
        Links to the Universal Design Response Type

  # /////////////////////////////////////////////////////////////
  NZCodeSetsLearningSupportResponseType:
    type: string
    title: Learning Support Response Type
    description: >-
      <p>Code set denoting the type of response provided to the student to support the need.</p>
      <ul>
        <li>'ACC' - Accessible technology - Hangarau Whakamahi</li>
        <li>'ADA' - Adaptation for Access - Urutaunga Tomo</li>
        <li>'INC' - In class strategies / school - Rautaki ā-akomanga, ā-kura</li>
        <li>'PRO' - Professional learning and upskilling - Whakahiki pūkenga</li>
        <li>'SCH' - School financial support - Tahua Tautoko ā-kura</li>
        <li>'SPE' - Specialist support - Tautoko Mātanga</li>
        <li>'TEA' - Teacher aide support in the classroom - Tautokotanga Kairīwhi ki te akomanga</li>
        <li>'UNI' - Universal Design - Hoahoatanga Whānui</li>
      </ul>
    oneOf:
    - const: "ACC"
      title*: 
        en: Accessible technology
        mi: Hangarau Whakamahi
    - const: "ADA"
      title*: 
        en: Adaptation for Access
        mi: Urutaunga Tomo
    - const: "INC"
      title*: 
        en: In class strategies / school
        mi: Rautaki ā-akomanga, ā-kura
    - const: "PRO"
      title*: 
        en: Professional learning and upskilling
        mi: Whakahiki pūkenga
    - const: "SCH"
      title*: 
        en: School financial support
        mi: Tahua Tautoko ā-kura
    - const: "SPE"
      title*: 
        en: Specialist support
        mi: Tautoko Mātanga
    - const: "TEA"
      title*: 
        en: Teacher aide support in the classroom
        mi: Tautokotanga Kairīwhi ki te akomanga
    - const: "UNI"
      title*: 
        en: Universal Design
        mi: Hoahoatanga Whānui

  # /////////////////////////////////////////////////////////////
  NZCodeSetsLearningSupportExternalFunder:
    type: string
    title: Learning Support External Funder
    description: >-
      <p>Code set denoting who can fund a learning support need external response.</p>
      <ul>
        <li>'ACC' - ACC</li>
        <li>'BEH' - Behaviour Support - Tautoko whanonga</li>
        <li>'ESO' - ESOL</li>
        <li>'ESW' - ESW</li>
        <li>'ICS' - ICS</li>
        <li>'IWS' - IWS</li>
        <li>'ORS' - ORS</li>
        <li>'OTH' - Other - He mea kē</li>
        <li>'PCC' - PCCS</li>
        <li>'RTL' - RTLB</li>
        <li>'IRF' - IRF</li>
      </ul>
    oneOf:
    - const: "ACC"
      title*: 
        en: ACC
    - const: "BEH"
      title*: 
        en: Behaviour Support
        mi: Tautoko whanonga
    - const: "ESO"
      title*: 
        en: ESOL
    - const: "ESW"
      title*: 
        en: ESW
    - const: "ICS"
      title*: 
        en: ICS
    - const: "IWS"
      title*: 
        en: IWS
    - const: "ORS"
      title*: 
        en: ORS
    - const: "OTH"
      title*: 
        en: Other
        mi: He mea kē
    - const: "PCC"
      title*: 
        en: PCCS
    - const: "RTL"
      title*: 
        en: RTLB
    - const: "IRF"
      title*: 
        en: IRF

  # /////////////////////////////////////////////////////////////
  NZCodeSetsLearningSupportExternalProvider:
    type: string
    title: Learning Support External Provider
    description: >-
      <p>Code set denoting the providers of an external response for a learning support need.</p>
      <ul>
        <li>'MOE' - MOE - Te Tāhuhu o te Mātauranga</li>
        <li>'MOH' - MOH - </li>
        <li>'ORA' - Oranga Tamariki - Oranga Tamariki</li>
        <li>'CLU' - Cluster organisation - Kāhui Whakahaere</li>
        <li>'NGO' - NGO - </li>
        <li>'OTH' - Other - He mea kē</li>
        <li>'RTB' - RTLB - </li>
        <li>'RTL' - RTLit - </li>
        <li>'RTM' - RT Māori - </li>
      </ul>
    oneOf:
    - const: "MOE"
      title*: 
        en: MOE
        mi: Te Tāhuhu o te Mātauranga
    - const: "MOH"
      title*: 
        en: MOH
        mi: 
    - const: "ORA"
      title*: 
        en: Oranga Tamariki
        mi: Oranga Tamariki
    - const: "CLU"
      title*: 
        en: Cluster organisation
        mi: Kāhui Whakahaere
    - const: "NGO"
      title*: 
        en: NGO
        mi: 
    - const: "OTH"
      title*: 
        en: Other
        mi: He mea kē
    - const: "RTB"
      title*: 
        en: RTLB
        mi: 
    - const: "RTL"
      title*: 
        en: RTLit
        mi: 
    - const: "RTM"
      title*: 
        en: RT Māori
        mi: 

  # /////////////////////////////////////////////////////////////
  NZCodeSetsLearningSupportFundingStatus:
    type: string
    title: Learning Support Funding Status
    description: >-
      <p>Code set denoting the status of the funding being provided for a learning support need external response.</p>
      <ul>
        <li>'AP' - Approved - I whakaaetia</li>
        <li>'DE' - Declined - Kāre i whakaaetia</li>
        <li>'NO' - None - Kore</li>
        <li>'RE' - Referred on - I tonoa i</li>
        <li>'SU' - Submitted - Kua tukuna</li>
        <li>'WA' - Waiting list - Rārangi roa</li>
      </ul>
    oneOf:
    - const: "AP"
      title*: 
        en: Approved
        mi: I whakaaetia
    - const: "DE"
      title*: 
        en: Declined
        mi: Kāre i whakaaetia
    - const: "NO"
      title*: 
        en: None
        mi: Kore
    - const: "RE"
      title*: 
        en: Referred on
        mi: I tonoa i
    - const: "SU"
      title*: 
        en: Submitted
        mi: Kua tukuna
    - const: "WA"
      title*: 
        en: Waiting list
        mi: Rārangi roa

  # /////////////////////////////////////////////////////////////
  NZCodeSetsLearningSupportExtResponseStatus:
    type: string
    title: Learning Support Ext Response Status
    description: >-
      <p>Code set denoting the status of the external response.</p>
      <ul>
        <li>'ACT' - Active - Tuwhera</li>
        <li>'CLO' - Closed - Kati</li>
      </ul>
    oneOf:
    - const: "ACT"
      title*: 
        en: Active
        mi: Tuwhera
    - const: "CLO"
      title*: 
        en: Closed
        mi: Kati

  # /////////////////////////////////////////////////////////////
  NZCodeSetsMoESpecialistService:
    type: string
    title: MoE Specialist Service
    description: >-
      <p>Code set denoting the MOE specialist services available to as a response to a students support need.</p>
      <ul>
        <li>'ACC' - Accessible Format Materials - Tānga Kōrero E Taea Ana</li>
        <li>'ACT' - Activity Centres - Pokapū Tūmahi</li>
        <li>'ADE' - ASSIST - Deaf Education Centres Regional Service</li>
        <li>'AED' - Alternative Education - Mātauranga Kē</li>
        <li>'AEI' - Alternative Early Intervention Service Providers - Kaituku Ratonga Wawaotanga Tōmua</li>
        <li>'ATE' - Assistive Technology (AT) Equipment</li>
        <li>'ATT' - Attendance Services (Non Enrolment Truancy Service (NETS) and DTS)</li>
        <li>'BEH' - Behaviour Service - Ratonga Whanonga</li>
        <li>'BIL' - Bilingual Support Workers - Kaimahi Tautoko Reorua</li>
        <li>'BLE' - BLENNZ</li>
        <li>'BOA' - Boarding Allowances</li>
        <li>'CHO' - Cholmondeley Children's Centre</li>
      </ul>
      plus 46 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#NZCodeSetsMoESpecialistServiceType">NZCodeSetsMoESpecialistServiceType<a>
    oneOf:
    - const: "ACC"
      title*: 
        en: Accessible Format Materials
        mi: Tānga Kōrero E Taea Ana
    - const: "ACT"
      title*: 
        en: Activity Centres
        mi: Pokapū Tūmahi
    - const: "ADE"
      title*: 
        en: ASSIST - Deaf Education Centres Regional Service
    - const: "AED"
      title*: 
        en: Alternative Education
        mi: Mātauranga Kē
    - const: "AEI"
      title*: 
        en: Alternative Early Intervention Service Providers
        mi: Kaituku Ratonga Wawaotanga Tōmua
    - const: "ATE"
      title*: 
        en: Assistive Technology (AT) Equipment
    - const: "ATT"
      title*: 
        en: Attendance Services (Non Enrolment Truancy Service (NETS) and DTS)
    - const: "BEH"
      title*: 
        en: Behaviour Service
        mi: Ratonga Whanonga
    - const: "BIL"
      title*: 
        en: Bilingual Support Workers
        mi: Kaimahi Tautoko Reorua
    - const: "BLE"
      title*: 
        en: BLENNZ
    - const: "BOA"
      title*: 
        en: Boarding Allowances
    - const: "CHO"
      title*: 
        en: Cholmondeley Children's Centre
    - const: "CLA"
      title*: 
        en: Class Funding
        mi: Tahua Akomanga
    - const: "COC"
      title*: 
        en: Cochlear Implant Habilitation
    - const: "COM"
      title*: 
        en: Communication Service (Language and Learning Intervention)
        mi: Ratonga Whakapānga (Wawaotanga ā-Reo, ā-Akoranga)
    - const: "CON"
      title*: 
        en: Conductive Education
        mi: Conductive Education
    - const: "DEC"
      title*: 
        en: Deaf Education Centres
        mi: Pokapū Akoranga Turi
    - const: "DHH"
      title*: 
        en: Deaf and Hard of Hearing Moderate Needs (not ORS)
    - const: "EDY"
      title*: 
        en: Education Services for Youth Courts
        mi: Education Services for Youth Courts
    - const: "EIN"
      title*: 
        en: Early Intervention
        mi: Wawaotanga Tōmua
    - const: "EIS"
      title*: 
        en: "Early Intervention: Specialist Services"
        mi: "Wawaotanga Tōmua: Ratonga Whāiti"
    - const: "ENG"
      title*: 
        en: Engaging Priority Families
        mi: Te Whakaanga ki ngā Whānau Tōmua
    - const: "ESO"
      title*: 
        en: ESOL (English for Speakers of Other Languages)
    - const: "FIR"
      title*: 
        en: First Signs
    - const: "ICS"
      title*: 
        en: In-Class Support (ICS) funding
    - const: "IMO"
      title*: 
        en: Intensive wraparound service (IWS) MOE provided
    - const: "IRF"
      title*: 
        en: Interim response fund (IRF)
    - const: "ITK"
      title*: 
        en: Intensive wraparound service (IWS) Te Kahutoi Assessment Hub
    - const: "NAT"
      title*: 
        en: National Mentoring Service (for Māori and Pasifika students)
        mi: Ratonga Kaitohutohu ā-Motu (ākonga Māori, ākonga Pasifika hoki)
    - const: "NZS"
      title*: 
        en: NZ Sign Language in Schools
        mi: Te Reo Turi i ngā Kura
    - const: "ORS"
      title*: 
        en: ORS
    - const: "PBA"
      title*: 
        en: PB4L (IY Autism)
    - const: "PBC"
      title*: 
        en: PB4L (check and connect)
    - const: "PBH"
      title*: 
        en: PB4L (Huakina Mai)
    - const: "PBI"
      title*: 
        en: PB4L (incredible Years Parents)
    - const: "PBR"
      title*: 
        en: PB4L (Restorative Practice)
    - const: "PBS"
      title*: 
        en: PB4L (School-Wide)
    - const: "PBT"
      title*: 
        en: PB4L (IY Teachers)
    - const: "PDM"
      title*: 
        en: Physical Disability Service (MOE provided)
        mi: Ratonga Hauā (nā te Tāhuhu o te Mātauranga)
    - const: "PDS"
      title*: 
        en: Physical Disability Service (Specialist service providers)
        mi: Ratonga Hauā (nā te kaituku ratonga motuhake)
    - const: "PFS"
      title*: 
        en: Programme for Students (PfS)
    - const: "REA"
      title*: 
        en: Reading Recovery
        mi: Te Pānui Tautāwhi
    - const: "REG"
      title*: 
        en: Regional Health Schools
        mi: Kura Hauora ā-Rohe
    - const: "RFF"
      title*: 
        en: Refugee Flexible Funding Pool
        mi: Te Tahua mō ngā Manene
    - const: "RPC"
      title*: 
        en: Refugee Pathway and Career Planning
        mi: Rapu Ara Mahi mō te Manene
    - const: "RTB"
      title*: 
        en: "Resource Teachers: Learning and Behaviour (RTLB)"
    - const: "RTD"
      title*: 
        en: "Resource Teachers: Deaf (RTD) Deaf Education Centres Regional Service"
    - const: "RTL"
      title*: 
        en: "Resource Teachers: Literacy (RTLit)"
    - const: "SCH"
      title*: 
        en: School High Health Needs Fund
        mi: Tahua Hauora mō ngā Kura
    - const: "SER"
      title*: 
        en: Service Academies
        mi: Rōpū Tuku Ratonga
    - const: "SES"
      title*: 
        en: Special Education Transport Assistance (SESTA)
    - const: "STA"
      title*: 
        en: STAND Children's Services
    - const: "STO"
      title*: 
        en: Specialist Teacher Outreach Service
        mi: Specialist Teacher Outreach Service
    - const: "STU"
      title*: 
        en: Study Support Centres
        mi: Pokapū Tautoko Ākonga
    - const: "TEK"
      title*: 
        en: Te Kura (Learning Support gateways)
        mi: Te Kura (Learning Support gateways)
    - const: "TIP"
      title*: 
        en: Tips for Autism
        mi: Tautoko mō te takiwātanga
    - const: "TPM"
      title*: 
        en: Teen Parents in the Mainstream
        mi: Rōpū Mātātahi Kura Auraki
    - const: "TPU"
      title*: 
        en: Teen Parent Unit (TPU)
        mi: Rangapū Mātua Mātātahi (TPU)

  # /////////////////////////////////////////////////////////////
  NZCodeSetsLearningSupportInternalFunder:
    type: string
    title: Learning Support Internal Funder
    description: >-
      <p>Code set denoting who can fund a learning support need internal response.</p>
      <ul>
        <li>'BOA' - Board funded - Nā te Poari i tautoko</li>
        <li>'NTA' - Not applicable - Kāre i arohia</li>
        <li>'SEG' - SEG</li>
      </ul>
    oneOf:
    - const: "BOA"
      title*: 
        en: Board funded
        mi: Nā te Poari i tautoko
    - const: "NTA"
      title*: 
        en: Not applicable
        mi: Kāre i arohia
    - const: "SEG"
      title*: 
        en: SEG

  # /////////////////////////////////////////////////////////////
  NZCodeSetsLearningSupportIntResponseStatus:
    type: string
    title: Learning Support Int Response Status
    description: >-
      <p>Code set denoting the status of the internal response.</p>
      <ul>
        <li>'CLO' - Closed - Kati</li>
        <li>'MON' - Monitoring - Te Aro turuki</li>
        <li>'OBS' - Observing - Te Mātaki</li>
      </ul>
    oneOf:
    - const: "CLO"
      title*: 
        en: Closed
        mi: Kati
    - const: "MON"
      title*: 
        en: Monitoring
        mi: Te Aro turuki
    - const: "OBS"
      title*: 
        en: Observing
        mi: Te Mātaki

  # /////////////////////////////////////////////////////////////
  NZCodeSetsLearningSupportInternalProvider:
    type: string
    title: Learning Support Internal Provider
    description: >-
      <p>Code set denoting the providers of an internal response for a learning support need.</p>
      <ul>
        <li>'COU' - Counsellor - Kaitautāwhi</li>
        <li>'ESW' - ESW</li>
        <li>'HEA' - Health Professional - Mātanga Hauora</li>
        <li>'RTL' - RTLB</li>
        <li>'SEN' - SENCO</li>
        <li>'SWI' - SWIS</li>
        <li>'TAI' - Teacher Aide - Kairīwhi</li>
        <li>'TEA' - Teacher - Kaiako</li>
      </ul>
    oneOf:
    - const: "COU"
      title*: 
        en: Counsellor
        mi: Kaitautāwhi
    - const: "ESW"
      title*: 
        en: ESW
    - const: "HEA"
      title*: 
        en: Health Professional
        mi: Mātanga Hauora
    - const: "RTL"
      title*: 
        en: RTLB
    - const: "SEN"
      title*: 
        en: SENCO
    - const: "SWI"
      title*: 
        en: SWIS
    - const: "TAI"
      title*: 
        en: Teacher Aide
        mi: Kairīwhi
    - const: "TEA"
      title*: 
        en: Teacher
        mi: Kaiako

  # /////////////////////////////////////////////////////////////
  NZCodeSetsStudentActivityGroup:
    type: string
    title: Student Activity Group
    description: >-
      <p>Standard codes denoting the group of the activity the student is participating in, e.g. sport, art, cultural, music.</p>
      <ul>
        <li>'SPO' - Sport</li>
        <li>'ART' - Art</li>
        <li>'CUL' - Cultural</li>
        <li>'MUS' - Music</li>
        <li>'OTH' - Other</li>
      </ul>
    oneOf:
    - const: "SPO"
      title: Sport
    - const: "ART"
      title: Art
    - const: "CUL"
      title: Cultural
    - const: "MUS"
      title: Music
    - const: "OTH"
      title: Other

  # /////////////////////////////////////////////////////////////
  NZCodeSetsStudentActivityType:
    type: string
    title: Student Activity Type
    description: >-
      <p>Standard codes denoting the type of activity the student is participating in, e.g. rugby, drama, Kapa Haka, Violin.</p>
      <ul>
        <li>'NET' - Netball</li>
        <li>'RUG' - Rugby</li>
        <li>'CRI' - Cricket</li>
        <li>'DRA' - Drama</li>
        <li>'DEB' - Debate</li>
        <li>'TER' - Te Reo</li>
        <li>'KAP' - Kapa Haka</li>
        <li>'GUI' - Guitar</li>
        <li>'VIO' - Violin</li>
        <li>'OTH' - Other</li>
      </ul>
    oneOf:
    - const: "NET"
      title: Netball
    - const: "RUG"
      title: Rugby
    - const: "CRI"
      title: Cricket
    - const: "DRA"
      title: Drama
    - const: "DEB"
      title: Debate
    - const: "TER"
      title: Te Reo
    - const: "KAP"
      title: Kapa Haka
    - const: "GUI"
      title: Guitar
    - const: "VIO"
      title: Violin
    - const: "OTH"
      title: Other

  # /////////////////////////////////////////////////////////////
  NZCodeSetsStudentInterestType:
    type: string
    title: Student Interest Type
    description: >-
      <p>Standard codes denoting the type of interest the student likes to do.</p>
      <ul>
        <li>'SPO' - Sports</li>
        <li>'ART' - Arts</li>
        <li>'CUL' - Cultural</li>
        <li>'MUS' - Music</li>
        <li>'OTH' - Other</li>
      </ul>
    oneOf:
    - const: "SPO"
      title: Sports
    - const: "ART"
      title: Arts
    - const: "CUL"
      title: Cultural
    - const: "MUS"
      title: Music
    - const: "OTH"
      title: Other

  # /////////////////////////////////////////////////////////////
  NZCodeSetsStudentVoiceType:
    type: string
    title: Student Voice Type
    description: >-
      <p>Code set denoting the type of student voice being heard, e.g. their interests, goals, voice (comments, opinions).</p>
      <ul>
        <li>'GOA' - Student Goal - Whainga Ākonga</li>
        <li>'INT' - Student Interest - Aronga Ākonga</li>
        <li>'VOI' - Student Voice - Reo Ākonga</li>
      </ul>
    oneOf:
    - const: "GOA"
      title*: 
        en: Student Goal
        mi: Whainga Ākonga
    - const: "INT"
      title*: 
        en: Student Interest
        mi: Aronga Ākonga
    - const: "VOI"
      title*: 
        en: Student Voice
        mi: Reo Ākonga

  # /////////////////////////////////////////////////////////////
  NZCodeSetsRestraintAdministeredByRole:
    type: string
    title: Restraint Administered By Role
    description: >-
      <p>Code set denoting the role of the person who administered the physical restraint to the student.</p>
      <ul>
        <li>'T' - Teacher</li>
        <li>'P' - Principal</li>
        <li>'O' - Other</li>
      </ul>
    oneOf:
    - const: "T"
      title: Teacher
    - const: "P"
      title: Principal
    - const: "O"
      title: Other

  # /////////////////////////////////////////////////////////////
  NZCodeSetsRestraintDebriefingType:
    type: string
    title: Restraint Debriefing Type
    description: >-
      <p>Code set denoting the type of debriefing that occurred, e.g. staff, or student and parent/caregiver.</p>
      <ul>
        <li>'S' - Staff</li>
        <li>'P' - Parent/Caregiver and Student</li>
      </ul>
    oneOf:
    - const: "S"
      title: Staff
    - const: "P"
      title: Parent/Caregiver and Student

  # /////////////////////////////////////////////////////////////
  NZCodeSetsRestraintQuestion:
    type: string
    title: Restraint Question
    description: >-
      <p>Code set denoting a question that was asked about a student physical restraint incident.</p>
      <ul>
        <li>'101' - First time the student has been physically restrained?</li>
        <li>'102' - The student was physically restrained more than once during the day?</li>
        <li>'103' - The student has an Individual Behaviour Plan?</li>
        <li>'104' - Physical restraint was a part of the plan?</li>
        <li>'105' - Were the parents notifed?</li>
        <li>'106' - Was anyone injured?</li>
        <li>'107' - Was the staff member who applied restraint a teacher or authorised staff member?</li>
        <li>'108' - Role of staff member who applied the restraint?</li>
        <li>'109' - Did the staff member who applied the restraint receive any training prior to the incident?</li>
      </ul>
    oneOf:
    - const: "101"
      title: First time the student has been physically restrained?
    - const: "102"
      title: The student was physically restrained more than once during the day?
    - const: "103"
      title: The student has an Individual Behaviour Plan?
    - const: "104"
      title: Physical restraint was a part of the plan?
    - const: "105"
      title: Were the parents notifed?
    - const: "106"
      title: Was anyone injured?
    - const: "107"
      title: Was the staff member who applied restraint a teacher or authorised staff member?
    - const: "108"
      title: Role of staff member who applied the restraint?
    - const: "109"
      title: Did the staff member who applied the restraint receive any training prior to the incident?

  # /////////////////////////////////////////////////////////////
  NZCodeSetsRestraintReason:
    type: string
    title: Restraint Reason
    description: >-
      <p>A code set denoting the reason physical restraint was used on the student.</p>
      <ul>
        <li>'SER' - Serious and imminent risk to safety</li>
        <li>'ACT' - Actual injury</li>
      </ul>
    oneOf:
    - const: "SER"
      title: Serious and imminent risk to safety
    - const: "ACT"
      title: Actual injury

  # /////////////////////////////////////////////////////////////
  NZCodeSetsStaffRestraintReflectionType:
    type: string
    title: Staff Restraint Reflection Type
    description: >-
      <p>Code set denoting the type of reflection that the staff member performed.</p>
      <ul>
        <li>'EVE' - Events leading to the incident</li>
        <li>'BEH' - Behaviour of the student</li>
        <li>'WHA' - What did you try before the restraint?</li>
        <li>'RES' - The restraint method used</li>
        <li>'MON' - Monitoring</li>
        <li>'AFT' - After the restraint ended</li>
        <li>'NEX' - If there's a next time</li>
        <li>'HOW' - How about you?</li>
      </ul>
    oneOf:
    - const: "EVE"
      title: Events leading to the incident
    - const: "BEH"
      title: Behaviour of the student
    - const: "WHA"
      title: What did you try before the restraint?
    - const: "RES"
      title: The restraint method used
    - const: "MON"
      title: Monitoring
    - const: "AFT"
      title: After the restraint ended
    - const: "NEX"
      title: If there's a next time
    - const: "HOW"
      title: How about you?

  # /////////////////////////////////////////////////////////////
  NZCodeSetsWellbeingAppealOutcome:
    type: string
    title: Wellbeing Appeal Outcome
    description: >-
      <p>Code set denoting the outcome of a wellbeing appeal.</p>
      <ul>
        <li>'OTH' - Other</li>
      </ul>
    oneOf:
    - const: "OTH"
      title: Other

  # /////////////////////////////////////////////////////////////
  NZCodeSetsWellbeingEventSeverity:
    type: string
    title: Wellbeing Event Severity
    description: >-
      <p>Code set denoting the severity of the Wellbeing Event.</p>
      <ul>
        <li>'MIN' - Minor - Iti te kaha</li>
        <li>'MAJ' - Major - Nui te kaha</li>
      </ul>
    oneOf:
    - const: "MIN"
      title*: 
        en: Minor
        mi: Iti te kaha
    - const: "MAJ"
      title*: 
        en: Major
        mi: Nui te kaha

  # /////////////////////////////////////////////////////////////
  NZCodeSetsWellbeingEventPossibleMotivation:
    type: string
    title: Wellbeing Event Possible Motivation
    description: >-
      <p>Code set denoting the possible motivation that triggered the Wellbeing Event.</p>
      <ul>
        <li>'AVAD' - Avoid Adult - Karo Mātua</li>
        <li>'AVPE' - Avoid Peer(s) - Karo Aropā</li>
        <li>'AVTA' - Avoid Tasks/Activities - Karo Tūmahi/Ngohe</li>
        <li>'OBAD' - Obtain Adult Attention - Whai Aronga Mātua</li>
        <li>'OBIT' - Obtain Items/Activities - Whai mea/tūmahi</li>
        <li>'OBPE' - Obtain Peer Attention - Whai aronga hunga aropā</li>
        <li>'OTHE' - Other - He āhua kē</li>
        <li>'UNKN' - Unknown Motivation - Kāore i mārama te take o ngā whanonga whakararu a te ākonga</li>
      </ul>
    oneOf:
    - const: "AVAD"
      title*: 
        en: Avoid Adult
        mi: Karo Mātua
    - const: "AVPE"
      title*: 
        en: Avoid Peer(s)
        mi: Karo Aropā
    - const: "AVTA"
      title*: 
        en: Avoid Tasks/Activities
        mi: Karo Tūmahi/Ngohe
    - const: "OBAD"
      title*: 
        en: Obtain Adult Attention
        mi: Whai Aronga Mātua
    - const: "OBIT"
      title*: 
        en: Obtain Items/Activities
        mi: Whai mea/tūmahi
    - const: "OBPE"
      title*: 
        en: Obtain Peer Attention
        mi: Whai aronga hunga aropā
    - const: "OTHE"
      title*: 
        en: Other
        mi: He āhua kē
    - const: "UNKN"
      title*: 
        en: Unknown Motivation
        mi: Kāore i mārama te take o ngā whanonga whakararu a te ākonga

  # /////////////////////////////////////////////////////////////
  ISO3166Country:
    type: string
    title: 3166 Country
    description: >-
      <p>A country is a geopolitical entity recognised by the New Zealand government. The term country may include</p> <ul> <li>Independent countries recognised by the New Zealand Government</li> <li>Units that are recognised geographic areas</li> <li>administrative subdivisions of the United Kingdom</li> <li>overseas dependencies, external territories of independent countries.</li> </ul> <p>Conforms to the International Standard ISO 3166 Codes for the Representation of Names of Countries and their Subdivisions (ISO 3166-1:2013). Education adopts the alpha-3 representation of this standard. </p>
      <ul>
        <li>'ABW' - Aruba</li>
        <li>'AFG' - Afghanistan</li>
        <li>'AGO' - Angola</li>
        <li>'AIA' - Anguilla</li>
        <li>'ALA' - Åland Islands</li>
        <li>'ALB' - Albania</li>
        <li>'AND' - Andorra</li>
        <li>'ARE' - United Arab Emirates</li>
        <li>'ARG' - Argentina</li>
        <li>'ARM' - Armenia</li>
        <li>'ASM' - American Samoa</li>
        <li>'ATA' - Antarctica</li>
      </ul>
      plus 237 more value(s) at <a href="http://specification.sifassociation.org/Implementation/NZ/3.1-rc5/CodeSets.html#ISO3166CountryType">ISO3166CountryType<a>
    oneOf:
    - const: "ABW"
      title: Aruba
    - const: "AFG"
      title: Afghanistan
    - const: "AGO"
      title: Angola
    - const: "AIA"
      title: Anguilla
    - const: "ALA"
      title: Åland Islands
    - const: "ALB"
      title: Albania
    - const: "AND"
      title: Andorra
    - const: "ARE"
      title: United Arab Emirates
    - const: "ARG"
      title: Argentina
    - const: "ARM"
      title: Armenia
    - const: "ASM"
      title: American Samoa
    - const: "ATA"
      title: Antarctica
    - const: "ATF"
      title: French Southern Territories
    - const: "ATG"
      title: Antigua and Barbuda
    - const: "AUS"
      title: Australia
    - const: "AUT"
      title: Austria
    - const: "AZE"
      title: Azerbaijan
    - const: "BDI"
      title: Burundi
    - const: "BEL"
      title: Belgium
    - const: "BEN"
      title: Benin
    - const: "BES"
      title: Bonaire, Sint Eustatius and Saba
    - const: "BFA"
      title: Burkina Faso
    - const: "BGD"
      title: Bangladesh
    - const: "BGR"
      title: Bulgaria
    - const: "BHR"
      title: Bahrain
    - const: "BHS"
      title: Bahamas
    - const: "BIH"
      title: Bosnia and Herzegovina
    - const: "BLM"
      title: Saint Barthélemy
    - const: "BLR"
      title: Belarus
    - const: "BLZ"
      title: Belize
    - const: "BMU"
      title: Bermuda
    - const: "BOL"
      title: Bolivia, Plurinational State of
    - const: "BRA"
      title: Brazil
    - const: "BRB"
      title: Barbados
    - const: "BRN"
      title: Brunei Darussalam
    - const: "BTN"
      title: Bhutan
    - const: "BVT"
      title: Bouvet Island
    - const: "BWA"
      title: Botswana
    - const: "CAF"
      title: Central African Republic
    - const: "CAN"
      title: Canada
    - const: "CCK"
      title: Cocos (Keeling) Islands
    - const: "CHE"
      title: Switzerland
    - const: "CHL"
      title: Chile
    - const: "CHN"
      title: China
    - const: "CIV"
      title: Côte d'Ivoire
    - const: "CMR"
      title: Cameroon
    - const: "COD"
      title: Congo, the Democratic Republic of the
    - const: "COG"
      title: Congo
    - const: "COK"
      title: Cook Islands
    - const: "COL"
      title: Colombia
    - const: "COM"
      title: Comoros
    - const: "CPV"
      title: Cabo Verde
    - const: "CRI"
      title: Costa Rica
    - const: "CUB"
      title: Cuba
    - const: "CUW"
      title: Curaçao
    - const: "CXR"
      title: Christmas Island
    - const: "CYM"
      title: Cayman Islands
    - const: "CYP"
      title: Cyprus
    - const: "CZE"
      title: Czechia
    - const: "DEU"
      title: Germany
    - const: "DJI"
      title: Djibouti
    - const: "DMA"
      title: Dominica
    - const: "DNK"
      title: Denmark
    - const: "DOM"
      title: Dominican Republic
    - const: "DZA"
      title: Algeria
    - const: "ECU"
      title: Ecuador
    - const: "EGY"
      title: Egypt
    - const: "ERI"
      title: Eritrea
    - const: "ESH"
      title: Western Sahara
    - const: "ESP"
      title: Spain
    - const: "EST"
      title: Estonia
    - const: "ETH"
      title: Ethiopia
    - const: "FIN"
      title: Finland
    - const: "FJI"
      title: Fiji
    - const: "FLK"
      title: Falkland Islands (Malvinas)
    - const: "FRA"
      title: France
    - const: "FRO"
      title: Faroe Islands
    - const: "FSM"
      title: Micronesia, Federated States of
    - const: "GAB"
      title: Gabon
    - const: "GBR"
      title: United Kingdom
    - const: "GEO"
      title: Georgia
    - const: "GGY"
      title: Guernsey
    - const: "GHA"
      title: Ghana
    - const: "GIB"
      title: Gibraltar
    - const: "GIN"
      title: Guinea
    - const: "GLP"
      title: Guadeloupe
    - const: "GMB"
      title: Gambia
    - const: "GNB"
      title: Guinea-Bissau
    - const: "GNQ"
      title: Equatorial Guinea
    - const: "GRC"
      title: Greece
    - const: "GRD"
      title: Grenada
    - const: "GRL"
      title: Greenland
    - const: "GTM"
      title: Guatemala
    - const: "GUF"
      title: French Guiana
    - const: "GUM"
      title: Guam
    - const: "GUY"
      title: Guyana
    - const: "HKG"
      title: Hong Kong
    - const: "HMD"
      title: Heard Island and McDonald Islands
    - const: "HND"
      title: Honduras
    - const: "HRV"
      title: Croatia
    - const: "HTI"
      title: Haiti
    - const: "HUN"
      title: Hungary
    - const: "IDN"
      title: Indonesia
    - const: "IMN"
      title: Isle of Man
    - const: "IND"
      title: India
    - const: "IOT"
      title: British Indian Ocean Territory
    - const: "IRL"
      title: Ireland
    - const: "IRN"
      title: Iran, Islamic Republic of
    - const: "IRQ"
      title: Iraq
    - const: "ISL"
      title: Iceland
    - const: "ISR"
      title: Israel
    - const: "ITA"
      title: Italy
    - const: "JAM"
      title: Jamaica
    - const: "JEY"
      title: Jersey
    - const: "JOR"
      title: Jordan
    - const: "JPN"
      title: Japan
    - const: "KAZ"
      title: Kazakhstan
    - const: "KEN"
      title: Kenya
    - const: "KGZ"
      title: Kyrgyzstan
    - const: "KHM"
      title: Cambodia
    - const: "KIR"
      title: Kiribati
    - const: "KNA"
      title: Saint Kitts and Nevis
    - const: "KOR"
      title: Korea, Republic of
    - const: "KWT"
      title: Kuwait
    - const: "LAO"
      title: Lao People's Democratic Republic
    - const: "LBN"
      title: Lebanon
    - const: "LBR"
      title: Liberia
    - const: "LBY"
      title: Libya
    - const: "LCA"
      title: Saint Lucia
    - const: "LIE"
      title: Liechtenstein
    - const: "LKA"
      title: Sri Lanka
    - const: "LSO"
      title: Lesotho
    - const: "LTU"
      title: Lithuania
    - const: "LUX"
      title: Luxembourg
    - const: "LVA"
      title: Latvia
    - const: "MAC"
      title: Macao
    - const: "MAF"
      title: Saint Martin (French part)
    - const: "MAR"
      title: Morocco
    - const: "MCO"
      title: Monaco
    - const: "MDA"
      title: Moldova, Republic of
    - const: "MDG"
      title: Madagascar
    - const: "MDV"
      title: Maldives
    - const: "MEX"
      title: Mexico
    - const: "MHL"
      title: Marshall Islands
    - const: "MKD"
      title: Macedonia, the former Yugoslav Republic of
    - const: "MLI"
      title: Mali
    - const: "MLT"
      title: Malta
    - const: "MMR"
      title: Myanmar
    - const: "MNE"
      title: Montenegro
    - const: "MNG"
      title: Mongolia
    - const: "MNP"
      title: Northern Mariana Islands
    - const: "MOZ"
      title: Mozambique
    - const: "MRT"
      title: Mauritania
    - const: "MSR"
      title: Montserrat
    - const: "MTQ"
      title: Martinique
    - const: "MUS"
      title: Mauritius
    - const: "MWI"
      title: Malawi
    - const: "MYS"
      title: Malaysia
    - const: "MYT"
      title: Mayotte
    - const: "NAM"
      title: Namibia
    - const: "NCL"
      title: New Caledonia
    - const: "NER"
      title: Niger
    - const: "NFK"
      title: Norfolk Island
    - const: "NGA"
      title: Nigeria
    - const: "NIC"
      title: Nicaragua
    - const: "NIU"
      title: Niue
    - const: "NLD"
      title: Netherlands
    - const: "NOR"
      title: Norway
    - const: "NPL"
      title: Nepal
    - const: "NRU"
      title: Nauru
    - const: "NZL"
      title: New Zealand
    - const: "OMN"
      title: Oman
    - const: "PAK"
      title: Pakistan
    - const: "PAN"
      title: Panama
    - const: "PCN"
      title: Pitcairn
    - const: "PER"
      title: Peru
    - const: "PHL"
      title: Philippines
    - const: "PLW"
      title: Palau
    - const: "PNG"
      title: Papua New Guinea
    - const: "POL"
      title: Poland
    - const: "PRI"
      title: Puerto Rico
    - const: "PRK"
      title: Korea, Democratic People's Republic of
    - const: "PRT"
      title: Portugal
    - const: "PRY"
      title: Paraguay
    - const: "PSE"
      title: Palestine, State of
    - const: "PYF"
      title: French Polynesia
    - const: "QAT"
      title: Qatar
    - const: "REU"
      title: Réunion
    - const: "ROU"
      title: Romania
    - const: "RUS"
      title: Russian Federation
    - const: "RWA"
      title: Rwanda
    - const: "SAU"
      title: Saudi Arabia
    - const: "SDN"
      title: Sudan
    - const: "SEN"
      title: Senegal
    - const: "SGP"
      title: Singapore
    - const: "SGS"
      title: South Georgia and the South Sandwich Islands
    - const: "SHN"
      title: Saint Helena, Ascension and Tristan da Cunha
    - const: "SJM"
      title: Svalbard and Jan Mayen
    - const: "SLB"
      title: Solomon Islands
    - const: "SLE"
      title: Sierra Leone
    - const: "SLV"
      title: El Salvador
    - const: "SMR"
      title: San Marino
    - const: "SOM"
      title: Somalia
    - const: "SPM"
      title: Saint Pierre and Miquelon
    - const: "SRB"
      title: Serbia
    - const: "SSD"
      title: South Sudan
    - const: "STP"
      title: Sao Tome and Principe
    - const: "SUR"
      title: Suriname
    - const: "SVK"
      title: Slovakia
    - const: "SVN"
      title: Slovenia
    - const: "SWE"
      title: Sweden
    - const: "SWZ"
      title: Swaziland
    - const: "SXM"
      title: Sint Maarten (Dutch part)
    - const: "SYC"
      title: Seychelles
    - const: "SYR"
      title: Syrian Arab Republic
    - const: "TCA"
      title: Turks and Caicos Islands
    - const: "TCD"
      title: Chad
    - const: "TGO"
      title: Togo
    - const: "THA"
      title: Thailand
    - const: "TJK"
      title: Tajikistan
    - const: "TKL"
      title: Tokelau
    - const: "TKM"
      title: Turkmenistan
    - const: "TLS"
      title: Timor-Leste
    - const: "TON"
      title: Tonga
    - const: "TTO"
      title: Trinidad and Tobago
    - const: "TUN"
      title: Tunisia
    - const: "TUR"
      title: Turkey
    - const: "TUV"
      title: Tuvalu
    - const: "TWN"
      title: Taiwan, Province of China
    - const: "TZA"
      title: Tanzania, United Republic of
    - const: "UGA"
      title: Uganda
    - const: "UKR"
      title: Ukraine
    - const: "UMI"
      title: United States Minor Outlying Islands
    - const: "URY"
      title: Uruguay
    - const: "USA"
      title: United States of America
    - const: "UZB"
      title: Uzbekistan
    - const: "VAT"
      title: Holy See
    - const: "VCT"
      title: Saint Vincent and the Grenadines
    - const: "VEN"
      title: Venezuela, Bolivarian Republic of
    - const: "VGB"
      title: Virgin Islands, British
    - const: "VIR"
      title: Virgin Islands, U.S.
    - const: "VNM"
      title: Viet Nam
    - const: "VUT"
      title: Vanuatu
    - const: "WLF"
      title: Wallis and Futuna
    - const: "WSM"
      title: Samoa
    - const: "YEM"
      title: Yemen
    - const: "ZAF"
      title: South Africa
    - const: "ZMB"
      title: Zambia
    - const: "ZWE"
      title: Zimbabwe
