© 2018 Capita Business Services Ltd. All rights reserved.

Capita Education Software Solutions is a trading name of Capita Business Services Ltd. Our Registered office is 30 Berners Street, London, W1T 3LR and our registered number is 02299747. Further information about Capita plc can be found in our legal statement.

Learner Information Domain Overview

The Learner information domain is critical for partners and is split into a number of sub domains.  Each sub domain effectively requires a separate call.

Learner Identifiers

This domain contains basic learner identity and is accessed via the security domain Learner.Indentifier. More detailed information is available along with sample output. This is one of the most important additions to the API list because it provides the data needed for a Learner Browse in a single call. This domain is read only.

Sample Call: <Stem>/V3/LearnerIdentifiers?$filter=OnRollState eq 'Current'

Learner Personal

This domain contains basic personal information and is accessed via the security domain Learner.Personal. More detailed information on GET is available along with sample output. This domain currently also supports PATCH.

Sample Call: <Stem>/V3/LearnerPersonals

Learner Cultural 

This domain contains information about the cultural background of the learner and is accessed via the security domain Learner.Cultural. More detailed information is available along with sample output. This information domain contains special category data under GDPR.

Sample Call: <Stem>/V3/LearnerCulturals

Learner Registration

This information domain is not currently available. Due for release by 10/8/2020.

This domain contains basic personal information and is accessed via the security domain Learner.Registration. More detailed information is available along with sample output and a sample output with enrolments.

Sample Call: <Stem>/V3/LearnerRegistrations?$expand=Enrolments($expand=EnrolmentStatuses)

Sample Call: <Stem>/V2/LearnerRegistations?expand=Enrolments,BoarderStatuses,PartTimeRecords,UPNHistory

NB: Primary Class, House and Year Groups are no longer within this information domain

Learner Groups

This domain contains information about learners and groups and has extended functionality useful to developers. information and is accessed via the security domain Learner.Groups. More detailed information is available and explains the extended functionality.

Sample Call :  <Stem>/Learner/v3/LearnerGroups

Learner Medical

This information domain is due for release 10/8/2020

This domain contains information about the medical background of the learner and is accessed via the security domain Learner.Medical. More detailed information is available along with sample outputThis information domain contains special category data under GDPR.

Sample Call: <Stem>/V3/LearnerMedicals?$expand=MedicalConditions,Disabilities,MedicalEvents,MedicalNotes,LearnerParamedicalSupports,MedicalProviders

Learner Dietary

This domain contains information about the dietary needs and entitlements of the learner and is accessed via the security domain Learner.Dietary. More detailed information is available along with sample output. This information domain contains special category data under GDPR.

Sample Call: <Stem>/V3LearnerDietarys?$expand=FreeMealEligibilityPeriods, FreeSchoolMilkEligibilityPeriods, MealPatterns, DietaryNeeds

Learner Transport

This domain contains information about how a learner gets to school / who pays for it and is accessed via the security domain Learner.Transport. More detailed information is available along with sample output.

Sample Call: <Stem>/V3/LearnerTransports

Learner Welfare

This information domain is not currently available.

This domain contains information about learner welfare and care plans. It is accessed via the security domain Learner.Welfares. More detailed information is available along with sample outputThis information domain contains special category data under GDPR.

Sample Call: <Stem>/V1/LearnerWelfares?$expand=ChildProtectionPlans,IncareDetails,PersonalEducationPlans

Learner Grants

This domain contains information about learner welfare grants. It is accessed via the security domain Learner.Grants. More detailed information is available along with sample outputThis information domain contains special category data under GDPR.

Sample Call: <Stem>/V1/LearnerGrants?$expand=ChildProtectionPlans,IncareDetails,PersonalEducationPlans

Learner Contact Details

This domain contains information about the contacts and family of a learner. It is accessed via the security domain Learner.ContactDetails. More detailed information is available along with sample outputThis information domain contains special category data under GDPR.

Sample Call: <Stem>/V1/LearnerContactDetails?$expand=Addresses,Telephones,Emails,LearnerContactRelationships

Learner SEN 

This domain contains information about the needs of a learner. It is accessed via the security domain Learner.SEN (Learner.SEN.Review / Learner.SEN.EHCP may also be needed for some queries). More detailed information is available along with sample outputThis information domain contains special category data under GDPR.

Sample Call: <Stem>/Learner/V3/LearnerSENs

Learner SEN Lookups

This domain contains information about the lookups in the SEN area for a learner. It is accessed via the security domain Learner.SEN. More detailed information is available along with sample output

Sample Call: <Stem>/Learner/V3/LearnerSENLookps

API Description

<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx">
  <edmx:DataServices>
    <Schema Namespace="SIMS" xmlns="http://docs.oasis-open.org/odata/ns/edm">
      <EntityType Name="LearnerIdentifier">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Forename" Type="Edm.String" />
        <Property Name="Surname" Type="Edm.String" />
        <Property Name="GenderCategory" Type="Edm.String" />
        <Property Name="AgeMonths" Type="Edm.Int32" />
        <Property Name="DoNotCommunicate" Type="Edm.Boolean" />
        <Property Name="CurrentYearGroup" Type="SIMS.CurrentGroupRef" />
        <Property Name="CurrentPrimaryClass" Type="SIMS.CurrentGroupRef" />
        <Property Name="CurrentHouse" Type="SIMS.CurrentGroupRef" />
        <Property Name="OnRollState" Type="Edm.String" />
        <Property Name="DateOfApplication" Type="Edm.DateTimeOffset" />
        <Property Name="Photograph" Type="Edm.String" />
      </EntityType>
      <EntityType Name="LearnerGroup">
        <Key>
          <PropertyRef Name="ExternalID" />
          <PropertyRef Name="GroupType" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="GroupType" Type="SIMS.GroupTypeEnum" Nullable="false" />
        <Property Name="ShortName" Type="Edm.String" />
        <Property Name="FullName" Type="Edm.String" />
        <Property Name="DisplayOrder" Type="Edm.Int32" Nullable="false" />
        <NavigationProperty Name="LearnerIdentifiers" Type="Collection(SIMS.LearnerIdentifier)" />
        <NavigationProperty Name="LearnerMedicals" Type="Collection(SIMS.LearnerMedical)" />
        <NavigationProperty Name="LearnerSENs" Type="Collection(SIMS.LearnerSEN)" />
        <NavigationProperty Name="LearnerDietarys" Type="Collection(SIMS.LearnerDietary)" />
        <NavigationProperty Name="LearnerCulturals" Type="Collection(SIMS.LearnerCultural)" />
        <NavigationProperty Name="LearnerPersonals" Type="Collection(SIMS.LearnerPersonal)" />
        <NavigationProperty Name="LearnerContactBasics" Type="Collection(SIMS.LearnerContactBasic)" />
        <NavigationProperty Name="LearnerContactContactDetails" Type="Collection(SIMS.LearnerContactContactDetails)" />
        <NavigationProperty Name="LearnerContactDetails" Type="Collection(SIMS.LearnerContactDetails)" />
        <NavigationProperty Name="LearnerGrants" Type="Collection(SIMS.LearnerGrant)" />
        <NavigationProperty Name="LearnerWelfares" Type="Collection(SIMS.LearnerWelfare)" />
        <NavigationProperty Name="LearnerConsents" Type="Collection(SIMS.LearnerConsent)" />
        <NavigationProperty Name="LearnerSENReviews" Type="Collection(SIMS.LearnerSENReview)" />
        <NavigationProperty Name="LearnerRegistrations" Type="Collection(SIMS.LearnerRegistration)" />
        <NavigationProperty Name="LearnerTransports" Type="Collection(SIMS.LearnerTransport)" />
        <NavigationProperty Name="LearnerPupilPremiumAwards" Type="Collection(SIMS.LearnerPupilPremiumAwards)" />
        <NavigationProperty Name="LearnerSchoolHistorys" Type="Collection(SIMS.LearnerSchoolHistory)" />
        <NavigationProperty Name="LearnerEHCPs" Type="Collection(SIMS.LearnerEHCP)" />
        <NavigationProperty Name="LearnerContactPersonals" Type="Collection(SIMS.LearnerContactPersonal)" />
        <NavigationProperty Name="LearnerSENEvents" Type="Collection(SIMS.LearnerSENEvent)" />
        <NavigationProperty Name="LearnerSENStatements" Type="Collection(SIMS.LearnerSENStatement)" />
        <NavigationProperty Name="ContactBasics" Type="Collection(SIMS.ContactBasic)" />
      </EntityType>
      <EntityType Name="LearnerLookup">
        <Key>
          <PropertyRef Name="ExternalID" />
          <PropertyRef Name="LookupType" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="LookupType" Type="SIMS.LookupType" Nullable="false" />
        <Property Name="ResourceProvider" Type="SIMS.ResourceProviderRef" />
        <Property Name="Code" Type="Edm.String" />
        <Property Name="Description" Type="Edm.String" />
        <Property Name="DisplayOrder" Type="Edm.Int32" Nullable="false" />
        <Property Name="IsVisible" Type="Edm.Boolean" />
      </EntityType>
      <EntityType Name="LearnerSENLookup">
        <Key>
          <PropertyRef Name="ExternalID" />
          <PropertyRef Name="LookupType" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="LookupType" Type="SIMS.LookupType" Nullable="false" />
        <Property Name="ResourceProvider" Type="SIMS.ResourceProviderRef" />
        <Property Name="Code" Type="Edm.String" />
        <Property Name="Description" Type="Edm.String" />
        <Property Name="DisplayOrder" Type="Edm.Int32" Nullable="false" />
        <Property Name="IsVisible" Type="Edm.Boolean" />
      </EntityType>
      <EntityType Name="LearnerMedical">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="NHSNumber" Type="Edm.String" />
        <Property Name="IsDisabled" Type="Edm.Boolean" />
        <Property Name="IsPregnant" Type="Edm.Boolean" />
        <NavigationProperty Name="MedicalConditions" Type="Collection(SIMS.LearnerMedicalCondition)" />
        <NavigationProperty Name="Disabilities" Type="Collection(SIMS.LearnerDisability)" />
        <NavigationProperty Name="MedicalEvents" Type="Collection(SIMS.LearnerMedicalEvent)" />
        <NavigationProperty Name="MedicalNotes" Type="Collection(SIMS.LearnerMedicalNote)" />
        <NavigationProperty Name="LearnerParamedicalSupports" Type="Collection(SIMS.LearnerParamedicalSupport)" />
        <NavigationProperty Name="MedicalProviders" Type="Collection(SIMS.MedicalProviderRef)" />
      </EntityType>
      <EntityType Name="LearnerMedicalCondition">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="InformationReceivedDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
        <Property Name="MedicalConditionNotes" Type="Collection(SIMS.LearnerMedicalConditionAttachment)" />
        <Property Name="MedicalCondition" Type="SIMS.MedicalConditionRef" />
        <Property Name="Summary" Type="Edm.String" />
      </EntityType>
      <EntityType Name="LearnerDisability">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
        <Property Name="Notes" Type="Edm.String" />
        <Property Name="DisabilityType" Type="SIMS.DisabilityTypeRef" />
      </EntityType>
      <EntityType Name="MedicalProviderRef">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </EntityType>
      <EntityType Name="LearnerMedicalEvent">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="EventDate" Type="Edm.DateTimeOffset" />
        <Property Name="FollowUpDate" Type="Edm.DateTimeOffset" />
        <Property Name="MedicalEventDescription" Type="SIMS.MedicalEventDescriptionRef" />
        <Property Name="MedicalEventType" Type="SIMS.MedicalEventTypeRef" />
        <Property Name="MedicalEventNotes" Type="Collection(SIMS.LearnerMedicalEventAttachment)" />
      </EntityType>
      <EntityType Name="LearnerMedicalNote">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Summary" Type="Edm.String" />
        <Property Name="Note" Type="Edm.String" />
        <Property Name="Confidential" Type="Edm.Boolean" />
        <Property Name="Attachments" Type="Collection(Edm.String)" />
      </EntityType>
      <EntityType Name="LearnerParamedicalSupport">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="ParamedicalSupportType" Type="SIMS.ParamedicalSupportTypeRef" />
      </EntityType>
      <EntityType Name="LearnerSEN">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="LearningStrategies" Type="Edm.String" />
        <Property Name="SENGroupingAndSupport" Type="SIMS.SENGroupingAndSupportRef" />
        <Property Name="SENCurriculumAndTeachingMethod" Type="SIMS.SENCurriculumAndTeachingMethodRef" />
        <Property Name="SENAdviceAndAssessment" Type="SIMS.SENAdviceAndAssessmentRef" />
        <NavigationProperty Name="SENNeeds" Type="Collection(SIMS.LearnerSENNeedTypes)" />
        <NavigationProperty Name="SENProvisions" Type="Collection(SIMS.LearnerSENProvisionType)" />
        <NavigationProperty Name="SENStatuses" Type="Collection(SIMS.LearnerSENStatus)" />
        <NavigationProperty Name="MostAbleSubjects" Type="Collection(SIMS.LearnerMostAble)" />
      </EntityType>
      <EntityType Name="LearnerSENNeedTypes">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Notes" Type="Collection(SIMS.LearnerSENNeedTypeNote)" />
        <Property Name="SENNeedType" Type="SIMS.SENNeedTypeRef" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
        <Property Name="Description" Type="Edm.String" />
        <Property Name="Rank" Type="Edm.Int32" />
      </EntityType>
      <EntityType Name="LearnerSENProvisionType">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
        <Property Name="Comment" Type="Edm.String" />
        <Property Name="Notes" Type="Collection(SIMS.SENProvisionAttachment)" />
        <Property Name="SENProvisionType" Type="SIMS.SENProvisionTypeRef" />
      </EntityType>
      <EntityType Name="LearnerSENStatus">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
        <Property Name="SENStatus" Type="SIMS.SENStatusRef" />
      </EntityType>
      <EntityType Name="LearnerMostAble">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="FromDate" Type="Edm.DateTimeOffset" />
        <Property Name="ToDate" Type="Edm.DateTimeOffset" />
        <Property Name="Notes" Type="Edm.String" />
        <Property Name="Subject" Type="SIMS.Subject" />
      </EntityType>
      <EntityType Name="LearnerCultural">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="DateOfEntryIntoEWBES" Type="Edm.DateTimeOffset" />
        <Property Name="PreviouslyEducatedInNEWBES" Type="Edm.Boolean" />
        <Property Name="IsTaughtThroughIrishMedium" Type="Edm.Boolean" />
        <Property Name="EnglishAsAdditional" Type="Edm.Boolean" />
        <Property Name="CountryOfBirth" Type="SIMS.CountryOfBirth" />
        <Property Name="Ethnicity" Type="SIMS.EthnicityRef" />
        <Property Name="EthnicDataSource" Type="SIMS.EthnicDataSourceRef" />
        <Property Name="Religion" Type="SIMS.ReligionRef" />
        <Property Name="AsylumSeeker" Type="SIMS.AsylumSeekerRef" />
        <Property Name="WelshDataSource" Type="SIMS.WelshDataSourceRef" />
        <Property Name="TaughtWelsh" Type="SIMS.TaughtWelshRef" />
        <Property Name="SpeaksWelshWithSiblings" Type="SIMS.SpeaksWelshWithSiblings" />
        <Property Name="SpeaksWelshWithParents" Type="SIMS.SpeaksWelshWithParents" />
        <Property Name="SpeaksWelshAtHome" Type="SIMS.SpeaksWelshAtHome" />
        <Property Name="SpeaksWelsh" Type="SIMS.SpeaksWelshRef" />
        <Property Name="NationalIdentifier" Type="SIMS.NationalIdentifierRef" />
        <NavigationProperty Name="LearnerLanguageDetails" Type="Collection(SIMS.LearnerLanguageDetail)" />
        <NavigationProperty Name="LearnerTravellerDetails" Type="Collection(SIMS.LearnerTravellerDetail)" />
        <NavigationProperty Name="LearnerNationalities" Type="Collection(SIMS.LearnerNationalities)" />
        <NavigationProperty Name="NationalLanguageProficiencyTests" Type="Collection(SIMS.LearnerProficiencyInNationalLanguage)" />
        <NavigationProperty Name="LearnerPassportDetails" Type="Collection(SIMS.LearnerPassportDetail)" />
        <NavigationProperty Name="NewcomerPeriods" Type="Collection(SIMS.LearnerNewcomerPeriod)" />
      </EntityType>
      <EntityType Name="LearnerLanguageDetail">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Language" Type="SIMS.LanguageRef" />
        <Property Name="LanguageUse" Type="SIMS.LanguageUseRef" />
        <Property Name="SourceOfInformation" Type="SIMS.SourceOfInformation" />
      </EntityType>
      <EntityType Name="LearnerTravellerDetail">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
        <Property Name="TravellerAccommodationType" Type="SIMS.TravellerAccommodationTypeRef" />
        <Property Name="TravellerSource" Type="SIMS.TravellerSourceRef" />
      </EntityType>
      <EntityType Name="LearnerProficiencyInNationalLanguage">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="DateAssessed" Type="Edm.DateTimeOffset" />
        <Property Name="LanguageProficiency" Type="SIMS.LanguageProficiencyRef" />
      </EntityType>
      <EntityType Name="LearnerPassportDetail">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="PassportNumber" Type="Edm.String" />
        <Property Name="NameOnPassport" Type="Edm.String" />
        <Property Name="IssueDate" Type="Edm.DateTimeOffset" />
        <Property Name="ExpiryDate" Type="Edm.DateTimeOffset" />
        <Property Name="PassportSeen" Type="Edm.Boolean" />
        <Property Name="HasBeenScanned" Type="Edm.Boolean" />
        <Property Name="PlaceOfBirth" Type="Edm.String" />
        <Property Name="CountryOfIssue" Type="SIMS.CountryOfIssue" />
      </EntityType>
      <EntityType Name="LearnerNewcomerPeriod">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
      </EntityType>
      <EntityType Name="LearnerNationalities">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </EntityType>
      <EntityType Name="LearnerDietary">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <NavigationProperty Name="DietaryNeeds" Type="Collection(SIMS.DietaryNeedRef)" />
        <NavigationProperty Name="FreeMealEligibilityPeriods" Type="Collection(SIMS.FreeMealEligibility)" />
        <NavigationProperty Name="MealPatterns" Type="Collection(SIMS.MealPatterns)" />
        <NavigationProperty Name="FreeSchoolMilkEligibilityPeriods" Type="Collection(SIMS.FreeSchoolMilkEligibility)" />
      </EntityType>
      <EntityType Name="DietaryNeedRef">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </EntityType>
      <EntityType Name="FreeMealEligibility">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
        <Property Name="ReviewDate" Type="Edm.DateTimeOffset" />
        <Property Name="Notes" Type="Edm.String" />
        <Property Name="UKCountry" Type="SIMS.UKCountryRef" />
        <Property Name="Protected" Type="Edm.Boolean" />
      </EntityType>
      <EntityType Name="MealPatterns">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
        <Property Name="MealPatternDiningSessions" Type="Collection(SIMS.MealPatternDiningSession)" />
      </EntityType>
      <EntityType Name="FreeSchoolMilkEligibility">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
      </EntityType>
      <EntityType Name="LearnerPersonal">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="PreferredForename" Type="Edm.String" />
        <Property Name="PreferredSurname" Type="Edm.String" />
        <Property Name="LegalForename" Type="Edm.String" />
        <Property Name="LegalMiddleNames" Type="Edm.String" />
        <Property Name="LegalSurname" Type="Edm.String" />
        <Property Name="DateOfBirth" Type="Edm.DateTimeOffset" />
        <Property Name="DateOfDeath" Type="Edm.DateTimeOffset" />
        <Property Name="QuickNote" Type="Edm.String" />
        <Property Name="BirthCertificateSeen" Type="Edm.Boolean" />
        <Property Name="Title" Type="SIMS.TitleRef" />
        <Property Name="Gender" Type="SIMS.GenderRef" />
        <Property Name="Photograph" Type="Edm.String" />
        <NavigationProperty Name="PreviousNames" Type="Collection(SIMS.PreviousName)" />
      </EntityType>
      <EntityType Name="PreviousName">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="DateChanged" Type="Edm.DateTimeOffset" />
        <Property Name="LegalForename" Type="Edm.String" />
        <Property Name="LegalMiddleNames" Type="Edm.String" />
        <Property Name="LegalSurname" Type="Edm.String" />
        <Property Name="ReasonForChange" Type="SIMS.ReasonForChangeRef" />
      </EntityType>
      <EntityType Name="LearnerContactBasic">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="LearnerContactMatchResult" Type="SIMS.LearnerContactMatchResult" />
        <NavigationProperty Name="LearnerContacts" Type="Collection(SIMS.LearnerContact)" ContainsTarget="true" />
      </EntityType>
      <EntityType Name="LearnerContact">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Forename" Type="Edm.String" />
        <Property Name="Surname" Type="Edm.String" />
        <Property Name="MiddleName" Type="Edm.String" />
        <Property Name="IsTranslatorRequired" Type="Edm.Boolean" />
        <Property Name="ParentalBallot" Type="Edm.Boolean" />
        <Property Name="Honours" Type="Edm.String" />
        <Property Name="Salutation" Type="Edm.String" />
        <Property Name="Addressee" Type="Edm.String" />
        <Property Name="PlaceOfWork" Type="Edm.String" />
        <Property Name="JobTitle" Type="Edm.String" />
        <Property Name="Title" Type="SIMS.TitleRef" />
        <Property Name="HomeLanguage" Type="SIMS.HomeLanguage" />
        <Property Name="Gender" Type="SIMS.GenderRef" />
        <Property Name="Occupation" Type="SIMS.OccupationRef" />
        <Property Name="Notes" Type="Collection(SIMS.Notes)" />
      </EntityType>
      <EntityType Name="LearnerContactContactDetails">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <NavigationProperty Name="LearnerContacts" Type="Collection(SIMS.LearnerContactContact)" ContainsTarget="true" />
      </EntityType>
      <EntityType Name="LearnerContactContact">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <NavigationProperty Name="Telephones" Type="Collection(SIMS.TelephoneRef)" ContainsTarget="true" />
        <NavigationProperty Name="Emails" Type="Collection(SIMS.EmailRef)" ContainsTarget="true" />
        <NavigationProperty Name="Addresses" Type="Collection(SIMS.Addresses)" ContainsTarget="true" />
      </EntityType>
      <EntityType Name="TelephoneRef">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="TelephoneNumber" Type="Edm.String" />
        <Property Name="IsFirstPointOfContact" Type="Edm.Boolean" />
        <Property Name="UseForAutomatedMessages" Type="Edm.Boolean" />
        <Property Name="Notes" Type="Edm.String" />
        <Property Name="LocationType" Type="SIMS.LocationTypeRef" />
      </EntityType>
      <EntityType Name="EmailRef">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="UseForAutomatedMessages" Type="Edm.Boolean" />
        <Property Name="Notes" Type="Edm.String" />
        <Property Name="IsMainEmail" Type="Edm.Boolean" />
        <Property Name="EmailAddress" Type="Edm.String" />
        <Property Name="LocationType" Type="SIMS.EmailLocationTypeRef" />
      </EntityType>
      <EntityType Name="Addresses">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
        <Property Name="Address" Type="SIMS.Address" />
        <Property Name="AddressType" Type="SIMS.ContactAddressTypeRef" />
      </EntityType>
      <EntityType Name="LearnerGrant">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="JobseekersAllowance" Type="Edm.Boolean" />
        <Property Name="UniformAllowance" Type="Edm.Boolean" />
        <Property Name="DisabilityAccessFund" Type="Edm.Boolean" />
        <NavigationProperty Name="Post16SupportSchemeAwards" Type="Collection(SIMS.Post16SupportSchemeAward)" />
        <NavigationProperty Name="HighNeedsFundingPeriods" Type="Collection(SIMS.HighNeedsFundingPeriod)" />
        <NavigationProperty Name="FundedChildCare" Type="Collection(SIMS.FundedChildCares)" />
        <NavigationProperty Name="EarlyYearsPupilPremiumEligibilitys" Type="Collection(SIMS.EarlyYearsPupilPremiumEligibility)" />
        <NavigationProperty Name="PupilPremiumEligibilitys" Type="Collection(SIMS.PupilPremiumEligibility)" />
        <NavigationProperty Name="LearnerUniformGrantEligibilitys" Type="Collection(SIMS.LearnerUniformGrantEligibility)" />
        <NavigationProperty Name="LearnerZeroRatedFundings" Type="Collection(SIMS.LearnerZeroRatedFunding)" />
      </EntityType>
      <EntityType Name="Post16SupportSchemeAward">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="DateAwarded" Type="Edm.String" />
        <Property Name="Note" Type="Edm.String" />
        <Property Name="Post16SupportScheme" Type="SIMS.Post16SupportSchemeRef" />
      </EntityType>
      <EntityType Name="HighNeedsFundingPeriod">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
        <Property Name="Notes" Type="Edm.String" />
      </EntityType>
      <EntityType Name="FundedChildCares">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
        <Property Name="CodeNumber" Type="Edm.String" />
        <Property Name="Notes" Type="Edm.String" />
      </EntityType>
      <EntityType Name="EarlyYearsPupilPremiumEligibility">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
        <Property Name="Notes" Type="Edm.String" />
        <Property Name="EarlyYearsPupilPremiumFundingBasis" Type="SIMS.EarlyYearsPupilPremiumFundingBasisRef" />
      </EntityType>
      <EntityType Name="PupilPremiumEligibility">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
        <Property Name="Note" Type="Edm.String" />
      </EntityType>
      <EntityType Name="LearnerUniformGrantEligibility">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
        <Property Name="Notes" Type="Edm.String" />
      </EntityType>
      <EntityType Name="LearnerZeroRatedFunding">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Note" Type="Edm.String" />
        <Property Name="AcademicYear" Type="SIMS.AcademicYear" />
      </EntityType>
      <EntityType Name="LearnerWelfare">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="ServiceChild" Type="SIMS.ServiceChildrenRef" />
        <Property Name="ServiceChildSource" Type="SIMS.ServiceChildSourceRef" />
        <NavigationProperty Name="IncareDetails" Type="Collection(SIMS.LearnerInCareDetail)" />
        <NavigationProperty Name="PersonalEducationPlans" Type="Collection(SIMS.PersonalEducationPlan)" />
        <NavigationProperty Name="YoungCarerPeriods" Type="Collection(SIMS.LearnerYoungCarer)" />
        <NavigationProperty Name="ChildProtectionPlans" Type="Collection(SIMS.LearnerChildProtectionPlan)" />
      </EntityType>
      <EntityType Name="LearnerInCareDetail">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
        <Property Name="CareAuthority" Type="SIMS.CareAuthorityRef" />
      </EntityType>
      <EntityType Name="PersonalEducationPlan">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
        <Property Name="InCareDetail" Type="Edm.Guid" />
        <Property Name="PersonalEducationPlanContributors" Type="Collection(SIMS.PersonalEducationPlanContributor)" />
        <Property Name="Notes" Type="Collection(SIMS.PersonalEducationPlanDocument)" />
      </EntityType>
      <EntityType Name="LearnerYoungCarer">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
        <Property Name="Notes" Type="Edm.String" />
      </EntityType>
      <EntityType Name="LearnerChildProtectionPlan">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
        <Property Name="Notes" Type="Edm.String" />
        <Property Name="CareAuthority" Type="SIMS.CareAuthorityRef" />
      </EntityType>
      <EntityType Name="LearnerConsent">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="YouthSupportServicesAgreement" Type="SIMS.YouthSupportService" />
        <NavigationProperty Name="LearnerConsentTypes" Type="Collection(SIMS.LearnerConsentType)" />
      </EntityType>
      <EntityType Name="LearnerConsentType">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="ConsentDate" Type="Edm.DateTimeOffset" />
        <Property Name="ConsentingAdult" Type="Edm.String" />
        <Property Name="Notes" Type="Edm.String" />
        <Property Name="ConsentType" Type="SIMS.ConsentTypeRef" />
        <Property Name="ConsentStatus" Type="SIMS.ConsentStatusRef" />
      </EntityType>
      <EntityType Name="LearnerSENReview">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <NavigationProperty Name="LearnerSENReviews" Type="Collection(SIMS.LearnerSENReviewDetail)" ContainsTarget="true" />
      </EntityType>
      <EntityType Name="LearnerSENReviewDetail">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="VenueName" Type="Edm.Guid" />
        <Property Name="LearnerConsultationDate" Type="Edm.DateTimeOffset" />
        <Property Name="ParentsConsultationDate" Type="Edm.DateTimeOffset" />
        <Property Name="OutcomeSENStatus" Type="Edm.Guid" />
        <Property Name="OutcomeComments" Type="Edm.String" />
        <Property Name="ReviewStatus" Type="Edm.Guid" />
        <Property Name="ReviewType" Type="Edm.Guid" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="StartTime" Type="Edm.Duration" />
        <Property Name="Venues" Type="SIMS.Venue" />
        <NavigationProperty Name="SENReviewParticipants" Type="Collection(SIMS.SENReviewParticipant)" ContainsTarget="true" />
      </EntityType>
      <EntityType Name="SENReviewParticipant">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Accepted" Type="Edm.Boolean" />
        <Property Name="Attended" Type="Edm.Boolean" />
        <Property Name="LearnerPersonInvolved" Type="Edm.Guid" />
        <Property Name="Invited" Type="Edm.Boolean" />
        <Property Name="SenPeopleInvolvedRelationship" Type="Edm.Guid" />
        <Property Name="Date" Type="Edm.DateTimeOffset" />
        <Property Name="LearnerPersonInvolvedInfo" Type="SIMS.LearnerPersonInvolved" />
        <NavigationProperty Name="SENPeopleInvolvedRelationship" Type="SIMS.SENPeopleInvolvedRelationship" />
      </EntityType>
      <EntityType Name="SENPeopleInvolvedRelationship">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="TenantID" Type="Edm.Int32" Nullable="false" />
        <Property Name="RoleID" Type="Edm.Guid" />
        <Property Name="Code" Type="Edm.String" />
        <Property Name="Description" Type="Edm.String" />
        <Property Name="EntityName" Type="Edm.String" />
      </EntityType>
      <EntityType Name="LearnerRegistration">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="AdmissionNumber" Type="Edm.String" />
        <Property Name="UniquePupilNumber" Type="Edm.String" />
        <Property Name="UniqueLearnerNumber" Type="Edm.String" />
        <Property Name="LocalUPN" Type="Edm.String" />
        <Property Name="IsEducatedAtAnotherSiteButNotInASchool" Type="Edm.Boolean" />
        <NavigationProperty Name="Enrolments" Type="Collection(SIMS.LearnerEnrolment)" />
        <NavigationProperty Name="BoarderStatuses" Type="Collection(SIMS.LearnerBoarderStatus)" />
        <NavigationProperty Name="PartTimeRecords" Type="Collection(SIMS.LearnerPartTimeRecord)" />
        <NavigationProperty Name="UPNHistory" Type="Collection(SIMS.LearnerUPNHistory)" />
      </EntityType>
      <EntityType Name="LearnerEnrolment">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="DateOfAdmission" Type="Edm.DateTimeOffset" />
        <Property Name="DateOfLeaviing" Type="Edm.DateTimeOffset" />
        <Property Name="Destination" Type="Edm.String" />
        <Property Name="DestinationStartDate" Type="Edm.DateTimeOffset" />
        <Property Name="ReasonForLeaving" Type="SIMS.ReasonForLeavingRef" />
        <Property Name="GroundsForRemoval" Type="SIMS.GroundsForRemovalRef" />
        <Property Name="DestinationEstablishment" Type="SIMS.DestinationEstablishment" />
        <NavigationProperty Name="EnrolmentStatuses" Type="Collection(SIMS.LearnerEnrolmentStatus)" ContainsTarget="true" />
      </EntityType>
      <EntityType Name="LearnerBoarderStatus">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="BoarderStatus" Type="SIMS.BoarderStatusRef" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
      </EntityType>
      <EntityType Name="LearnerEnrolmentStatus">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
        <Property Name="EnrolmentStatus" Type="SIMS.EnrolmentStatusRefObj" />
      </EntityType>
      <EntityType Name="LearnerPartTimeRecord">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
      </EntityType>
      <EntityType Name="LearnerUPNHistory">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="UniquePupilNumber" Type="Edm.String" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
      </EntityType>
      <EntityType Name="LearnerContactDetails">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="ParentalSalutation" Type="Edm.String" />
        <Property Name="ParentalAddressee" Type="Edm.String" />
        <Property Name="IsMailingPoint" Type="Edm.Boolean" />
        <NavigationProperty Name="LearnerContactRelationships" Type="Collection(SIMS.LearnerContactRelationship)" />
        <NavigationProperty Name="Addresses" Type="Collection(SIMS.LearnerAddress)" />
        <NavigationProperty Name="Telephones" Type="Collection(SIMS.TelephoneRef)" />
        <NavigationProperty Name="Emails" Type="Collection(SIMS.EmailRef)" />
      </EntityType>
      <EntityType Name="LearnerContactRelationship">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="HasCourtOrder" Type="Edm.Boolean" />
        <Property Name="HasParentalResponsibility" Type="Edm.Boolean" />
        <Property Name="LearnerContactRelationshipType" Type="SIMS.LearnerContactRelationshipTypeRef" />
        <Property Name="Priority" Type="Edm.Int32" />
        <Property Name="ReceivesCorrespondance" Type="Edm.Boolean" />
        <Property Name="ReceivesSchoolReport" Type="Edm.Boolean" />
        <Property Name="LearnerContact" Type="SIMS.LearnerContactDetail" />
      </EntityType>
      <EntityType Name="LearnerContactDtl">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
      </EntityType>
      <EntityType Name="LearnerAddress">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
        <Property Name="Note" Type="Edm.String" />
        <Property Name="AddressType" Type="SIMS.AddressTypeRef" />
        <Property Name="Address" Type="SIMS.Address" />
      </EntityType>
      <EntityType Name="LearnerTransport">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="ModeOfTravel" Type="SIMS.ModeOfTravelRef" />
        <Property Name="TravelRoute" Type="SIMS.TravelRouteRef" />
        <Property Name="LAProvidesTransport" Type="Edm.Boolean" />
      </EntityType>
      <EntityType Name="LearnerPupilPremiumAwards">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <NavigationProperty Name="PupilPremiumAwards" Type="Collection(SIMS.PupilPremiumAwards)" />
      </EntityType>
      <EntityType Name="PupilPremiumAwards">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
        <Property Name="Amount" Type="Edm.Decimal" />
        <Property Name="DeprivationPupil" Type="Edm.Boolean" />
        <Property Name="LookedAfter" Type="Edm.Boolean" />
        <Property Name="EarlyYears" Type="Edm.Boolean" />
        <Property Name="FullTimeEquivalent" Type="Edm.Boolean" />
        <Property Name="AdoptedFromCare" Type="Edm.Boolean" />
        <Property Name="ServicePupil" Type="Edm.Boolean" />
      </EntityType>
      <EntityType Name="LearnerSchoolHistory">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="RegisteredSureStart" Type="SIMS.RegisteredSureStartRef" />
        <Property Name="AttendedSureStart" Type="SIMS.AttendedSureStartRef" />
        <Property Name="PreSchoolExperience" Type="SIMS.PreSchoolExperienceRef" />
        <NavigationProperty Name="PreviousSchools" Type="Collection(SIMS.PreviousSchool)" />
      </EntityType>
      <EntityType Name="PreviousSchool">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
        <Property Name="EnrolmentStatus" Type="SIMS.EnrolmentStatusRef" />
        <Property Name="ReasonForLeaving" Type="SIMS.ReasonForLeavingRefObj" />
        <Property Name="School" Type="SIMS.School" />
        <NavigationProperty Name="AttendanceSummaries" Type="Collection(SIMS.AttendanceSummary)" />
      </EntityType>
      <EntityType Name="AttendanceSummary">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="PossibleSessions" Type="Edm.Int32" />
        <Property Name="AttendanceSessions" Type="Edm.Int32" />
        <Property Name="AuthorisedSessions" Type="Edm.Int32" />
        <Property Name="UnauthorisedSessions" Type="Edm.Int32" />
        <Property Name="Year" Type="Edm.String" />
      </EntityType>
      <EntityType Name="LearnerEHCP">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <NavigationProperty Name="EHCPs" Type="Collection(SIMS.EHCP)" ContainsTarget="true" />
      </EntityType>
      <EntityType Name="EHCP">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="DateRequestedforAssessment" Type="Edm.DateTimeOffset" />
        <Property Name="ParentConsultationDate" Type="Edm.DateTimeOffset" />
        <Property Name="Subjects" Type="Edm.String" />
        <Property Name="SubjectToAppealTribunal" Type="Edm.Boolean" />
        <Property Name="AppealNotes" Type="Edm.String" />
        <Property Name="DateFinalised" Type="Edm.DateTimeOffset" />
        <Property Name="DateCeased" Type="Edm.DateTimeOffset" />
        <Property Name="Comments" Type="Edm.String" />
        <Property Name="UndergoingSenMediation" Type="Edm.Boolean" />
        <Property Name="Learner" Type="SIMS.Learner" />
        <Property Name="EHCPAssessmentOutcome" Type="SIMS.EHCPAssessmentOutcomeRef" />
        <Property Name="EHCPAssessmentRequestStatus" Type="SIMS.EHCPAssessmentRequestStatusRef" />
        <Property Name="LAOfficer" Type="SIMS.LAOfficer" />
        <Property Name="Notes" Type="Collection(SIMS.EHCPNote)" />
      </EntityType>
      <EntityType Name="LearnerSENEvent">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <NavigationProperty Name="SENEvent" Type="Collection(SIMS.SENEvent)" />
      </EntityType>
      <EntityType Name="SENEvent">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Description" Type="Edm.String" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
        <Property Name="StartTime" Type="Edm.Duration" />
        <Property Name="EndTime" Type="Edm.Duration" />
        <Property Name="Notes" Type="Collection(SIMS.SENEventNote)" />
        <Property Name="SENEventType" Type="SIMS.SENEventTypeRef" />
      </EntityType>
      <EntityType Name="LearnerSENStatement">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="SENStatement" Type="Collection(SIMS.SENStatement)" />
      </EntityType>
      <EntityType Name="LearnerContactPersonal">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="DateOfBirth" Type="Edm.DateTimeOffset" />
        <Property Name="NationalInsuranceNumber" Type="Edm.String" />
      </EntityType>
      <EntityType Name="LearnerGeneralNote">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <NavigationProperty Name="Notes" Type="Collection(SIMS.LearnerNote)" />
      </EntityType>
      <EntityType Name="LearnerNote">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Summary" Type="Edm.String" />
        <Property Name="Note" Type="Edm.String" />
        <Property Name="Confidential" Type="Edm.Boolean" />
        <Property Name="Attachments" Type="Collection(Edm.String)" />
      </EntityType>
      <EntityType Name="ContactBasic">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Forename" Type="Edm.String" />
        <Property Name="Surname" Type="Edm.String" />
        <Property Name="MiddleName" Type="Edm.String" />
        <Property Name="IsTranslatorRequired" Type="Edm.Boolean" />
        <Property Name="ParentalBallot" Type="Edm.Boolean" />
        <Property Name="Honours" Type="Edm.String" />
        <Property Name="Salutation" Type="Edm.String" />
        <Property Name="Addressee" Type="Edm.String" />
        <Property Name="PlaceOfWork" Type="Edm.String" />
        <Property Name="JobTitle" Type="Edm.String" />
        <Property Name="Title" Type="SIMS.TitleRef" />
        <Property Name="HomeLanguage" Type="SIMS.HomeLanguageRef" />
        <Property Name="Gender" Type="SIMS.GenderRef" />
        <Property Name="Occupation" Type="SIMS.OccupationReference" />
        <NavigationProperty Name="Notes" Type="Collection(SIMS.ContactNotes)" />
      </EntityType>
      <EntityType Name="ContactNotes">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Summary" Type="Edm.String" />
        <Property Name="Note" Type="Edm.String" />
        <Property Name="Confidential" Type="Edm.Boolean" />
        <Property Name="Attachments" Type="Collection(Edm.String)" />
      </EntityType>
      <EntityType Name="ContactContactDetails">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Salutation" Type="Edm.String" />
        <Property Name="Addressee" Type="Edm.String" />
        <NavigationProperty Name="Telephones" Type="Collection(SIMS.TelephoneRef)" />
        <NavigationProperty Name="Emails" Type="Collection(SIMS.EmailRef)" />
        <NavigationProperty Name="Addresses" Type="Collection(SIMS.ContactAddresses)" />
        <NavigationProperty Name="LearnerRelationships" Type="Collection(SIMS.LearnerRelationship)" />
      </EntityType>
      <EntityType Name="ContactAddresses">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="StartDate" Type="Edm.DateTimeOffset" />
        <Property Name="EndDate" Type="Edm.DateTimeOffset" />
        <Property Name="Address" Type="SIMS.Address" />
        <Property Name="AddressType" Type="SIMS.ContactAddressTypeRef" />
      </EntityType>
      <EntityType Name="LearnerRelationship">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="HasCourtOrder" Type="Edm.Boolean" />
        <Property Name="HasParentalResponsibility" Type="Edm.Boolean" />
        <Property Name="LearnerContactRelationshipType" Type="SIMS.ContactLearnerRelationshipTypeRef" />
        <Property Name="Priority" Type="Edm.Int32" />
        <Property Name="ReceivesCorrespondance" Type="Edm.Boolean" />
        <Property Name="ReceivesSchoolReport" Type="Edm.Boolean" />
        <Property Name="Learner" Type="SIMS.LearnerDetail" />
      </EntityType>
      <EntityType Name="Contact">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Forename" Type="Edm.String" />
        <Property Name="MiddleNames" Type="Edm.String" />
        <Property Name="Surname" Type="Edm.String" />
        <Property Name="Title" Type="SIMS.TitleRef" />
        <Property Name="Gender" Type="SIMS.GenderRef" />
      </EntityType>
      <EntityType Name="ContactPersonal">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="DateOfBirth" Type="Edm.DateTimeOffset" />
        <Property Name="NationalInsuranceNumber" Type="Edm.String" />
        <Property Name="PlaceOfWork" Type="Edm.String" />
        <Property Name="JobTitle" Type="Edm.String" />
        <Property Name="Occupation" Type="SIMS.OccupationReference" />
        <Property Name="HomeLanguage" Type="SIMS.HomeLanguageRef" />
        <Property Name="Honours" Type="Edm.String" />
        <Property Name="IsTranslatorRequired" Type="Edm.Boolean" />
        <Property Name="ParentalBallot" Type="Edm.Boolean" />
        <NavigationProperty Name="Notes" Type="Collection(SIMS.ContactNote)" />
      </EntityType>
      <EntityType Name="ContactNote">
        <Key>
          <PropertyRef Name="ExternalID" />
        </Key>
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Summary" Type="Edm.String" />
        <Property Name="Note" Type="Edm.String" />
        <Property Name="Confidential" Type="Edm.Boolean" />
        <Property Name="Attachments" Type="Collection(Edm.String)" />
      </EntityType>
      <ComplexType Name="CurrentGroupRef">
        <Property Name="Description" Type="Edm.String" />
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="LearnerMedicalConditionAttachment">
        <Property Name="Summary" Type="Edm.String" />
        <Property Name="Note" Type="Edm.String" />
        <Property Name="Confidential" Type="Edm.Boolean" />
        <Property Name="Attachments" Type="Collection(Edm.String)" />
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
      </ComplexType>
      <ComplexType Name="MedicalConditionRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="DisabilityTypeRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="MedicalEventDescriptionRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="MedicalEventTypeRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="LearnerMedicalEventAttachment">
        <Property Name="Summary" Type="Edm.String" />
        <Property Name="Note" Type="Edm.String" />
        <Property Name="Confidential" Type="Edm.Boolean" />
        <Property Name="Attachments" Type="Collection(Edm.String)" />
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
      </ComplexType>
      <ComplexType Name="ParamedicalSupportTypeRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="SENGroupingAndSupportRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="SENCurriculumAndTeachingMethodRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="SENAdviceAndAssessmentRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="LearnerSENNeedTypeNote">
        <Property Name="Summary" Type="Edm.String" />
        <Property Name="Note" Type="Edm.String" />
        <Property Name="Confidential" Type="Edm.Boolean" />
        <Property Name="Attachments" Type="Collection(Edm.String)" />
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
      </ComplexType>
      <ComplexType Name="SENNeedTypeRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="SENProvisionAttachment">
        <Property Name="Summary" Type="Edm.String" />
        <Property Name="Note" Type="Edm.String" />
        <Property Name="Confidential" Type="Edm.Boolean" />
        <Property Name="Attachments" Type="Collection(Edm.String)" />
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
      </ComplexType>
      <ComplexType Name="SENProvisionTypeRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="SENStatusRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="Subject">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="UKCountryRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="MealPatternDiningSession">
        <Property Name="DayOfWeek" Type="Edm.Int32" />
        <Property Name="MealType" Type="SIMS.MealPatternDiningSessionRef" />
      </ComplexType>
      <ComplexType Name="MealPatternDiningSessionRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="CountryOfBirth">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="EthnicityRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="EthnicDataSourceRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="ReligionRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="AsylumSeekerRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="WelshDataSourceRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="TaughtWelshRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="SpeaksWelshWithSiblings">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="SpeaksWelshWithParents">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="SpeaksWelshAtHome">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="SpeaksWelshRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="NationalIdentifierRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="LanguageRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="LanguageUseRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="SourceOfInformation">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="TravellerAccommodationTypeRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="TravellerSourceRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="LanguageProficiencyRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="CountryOfIssue">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="TitleRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="GenderRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="ReasonForChangeRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="LearnerContactMatchResult">
        <Property Name="SourceLearnerContact" Type="SIMS.LearnerContactRecord" />
        <Property Name="DuplicateLearnerContacts" Type="Collection(SIMS.LearnerContactRecord)" />
      </ComplexType>
      <ComplexType Name="LearnerContactRecord">
        <Property Name="LearnerContactId" Type="Edm.Guid" Nullable="false" />
        <Property Name="Forename" Type="Edm.String" />
        <Property Name="Surname" Type="Edm.String" />
        <Property Name="EmailAddress" Type="Edm.String" />
        <Property Name="TelephoneNumber" Type="Edm.String" />
        <Property Name="PAONRange" Type="Edm.String" />
        <Property Name="PAONDescription" Type="Edm.String" />
        <Property Name="SAON" Type="Edm.String" />
        <Property Name="PostCode" Type="Edm.String" />
        <Property Name="FullAddress" Type="Edm.String" />
        <Property Name="Country" Type="Edm.String" />
        <Property Name="Street" Type="Edm.String" />
        <Property Name="Locality" Type="Edm.String" />
        <Property Name="Town" Type="Edm.String" />
        <Property Name="AdminArea" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="HomeLanguage">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="OccupationRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="Notes">
        <Property Name="Summary" Type="Edm.String" />
        <Property Name="Note" Type="Edm.String" />
        <Property Name="Confidential" Type="Edm.Boolean" />
        <Property Name="Attachments" Type="Collection(Edm.String)" />
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
      </ComplexType>
      <ComplexType Name="LocationTypeRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="EmailLocationTypeRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="Address">
        <Property Name="Apartment" Type="Edm.String" />
        <Property Name="BuildingNumber" Type="Edm.String" />
        <Property Name="BuildingName" Type="Edm.String" />
        <Property Name="Street" Type="Edm.String" />
        <Property Name="District" Type="Edm.String" />
        <Property Name="Town" Type="Edm.String" />
        <Property Name="AdministrativeArea" Type="Edm.String" />
        <Property Name="Postcode" Type="Edm.String" />
        <Property Name="CoordinateX" Type="Edm.String" />
        <Property Name="CoordinateY" Type="Edm.String" />
        <Property Name="USRN" Type="Edm.String" />
        <Property Name="UPRN" Type="Edm.String" />
        <Property Name="AddressIdentifier" Type="Edm.String" />
        <Property Name="LastValidated" Type="Edm.DateTimeOffset" />
        <Property Name="Country" Type="SIMS.CountryRef" />
        <Property Name="ResourceProvider" Type="SIMS.ResourceProviderRef" />
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
      </ComplexType>
      <ComplexType Name="CountryRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="ResourceProviderRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="ContactAddressTypeRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="LearnerContactRelationshipTypeRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="LearnerContactDetail">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="AddressTypeRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="Post16SupportSchemeRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="EarlyYearsPupilPremiumFundingBasisRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="AcademicYear">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="CareAuthorityRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="PersonalEducationPlanContributor">
        <Property Name="ContributorRole" Type="SIMS.ContributorRole" />
        <Property Name="Contributor" Type="SIMS.Contributor" />
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
      </ComplexType>
      <ComplexType Name="ContributorRole">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="Contributor">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="PersonalEducationPlanDocument">
        <Property Name="Summary" Type="Edm.String" />
        <Property Name="Note" Type="Edm.String" />
        <Property Name="Confidential" Type="Edm.Boolean" />
        <Property Name="Attachments" Type="Collection(Edm.String)" />
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
      </ComplexType>
      <ComplexType Name="ServiceChildrenRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="ServiceChildSourceRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="ConsentTypeRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="ConsentStatusRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="YouthSupportService">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="Venue">
        <Property Name="Name" Type="Edm.String" />
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
      </ComplexType>
      <ComplexType Name="LearnerPersonInvolved">
        <Property Name="LegalForename" Type="Edm.String" />
        <Property Name="LegalSurname" Type="Edm.String" />
        <Property Name="EntityName" Type="Edm.String" />
        <Property Name="OrganisationName" Type="Edm.String" />
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
      </ComplexType>
      <ComplexType Name="ReasonForLeavingRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="EnrolmentStatusRefObj">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="GroundsForRemovalRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="DestinationEstablishment">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="BoarderStatusRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="ModeOfTravelRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="TravelRouteRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="EnrolmentStatusRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="ReasonForLeavingRefObj">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="School">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="RegisteredSureStartRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="AttendedSureStartRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="PreSchoolExperienceRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="Learner">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="EHCPAssessmentOutcomeRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="EHCPAssessmentRequestStatusRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="LAOfficer">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="EHCPNote">
        <Property Name="Summary" Type="Edm.String" />
        <Property Name="Note" Type="Edm.String" />
        <Property Name="Confidential" Type="Edm.Boolean" />
        <Property Name="Attachments" Type="Collection(Edm.String)" />
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
      </ComplexType>
      <ComplexType Name="SENEventNote">
        <Property Name="Summary" Type="Edm.String" />
        <Property Name="Note" Type="Edm.String" />
        <Property Name="Confidential" Type="Edm.Boolean" />
        <Property Name="Attachments" Type="Collection(Edm.String)" />
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
      </ComplexType>
      <ComplexType Name="SENEventTypeRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="SENStatement">
        <Property Name="DateAssessmentRequested" Type="Edm.DateTimeOffset" />
        <Property Name="DateParentConsulted" Type="Edm.DateTimeOffset" />
        <Property Name="DateStatementCeased" Type="Edm.DateTimeOffset" />
        <Property Name="DateStatementFinalised" Type="Edm.DateTimeOffset" />
        <Property Name="AppealNotes" Type="Edm.String" />
        <Property Name="SubjectToAppeal" Type="Edm.String" />
        <Property Name="LocalAuthorityOfficer" Type="SIMS.LocalAuthorityOfficer" />
        <Property Name="Notes" Type="Collection(SIMS.SENStatementNote)" />
        <Property Name="AssessmentOutcome" Type="SIMS.SENStatutoryAssessmentRef" />
        <Property Name="AssessmentStatus" Type="SIMS.SENStatutoryStatementRef" />
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
      </ComplexType>
      <ComplexType Name="LocalAuthorityOfficer">
        <Property Name="Type" Type="Edm.String" />
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
      </ComplexType>
      <ComplexType Name="SENStatementNote">
        <Property Name="Summary" Type="Edm.String" />
        <Property Name="Note" Type="Edm.String" />
        <Property Name="Confidential" Type="Edm.Boolean" />
        <Property Name="Attachments" Type="Collection(Edm.String)" />
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
      </ComplexType>
      <ComplexType Name="SENStatutoryAssessmentRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="SENStatutoryStatementRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="HomeLanguageRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="OccupationReference">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <EntityType Name="House" BaseType="SIMS.LearnerGroup" />
      <EntityType Name="UserDefinedGroup" BaseType="SIMS.LearnerGroup" />
      <EntityType Name="CurriculumYear" BaseType="SIMS.LearnerGroup" />
      <EntityType Name="Enrolment" BaseType="SIMS.LearnerGroup" />
      <EntityType Name="PrimaryClass" BaseType="SIMS.LearnerGroup" />
      <EntityType Name="YearGroup" BaseType="SIMS.LearnerGroup" />
      <EntityType Name="AsylumSeeker" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="AttendedSureStart" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="ContactAddressType" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="DietaryNeed" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="DisabilityType" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="EarlyYearsPupilPremiumFundingBasis" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="EmailLocationType" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="Gender" BaseType="SIMS.LearnerLookup">
        <Property Name="ExternalCode" Type="Edm.String" />
      </EntityType>
      <EntityType Name="GroundsForRemoval" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="LanguageProficiency" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="LanguageSource" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="Nation" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="PEPPlanContributorRole" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="Post16SupportScheme" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="PreSchoolExperience" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="LearnerAddressType" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="RegisteredSureStart" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="ServiceChild" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="ServiceChildSource" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="SpeaksWelsh" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="SpeaksWelshWith" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="TaughtWelsh" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="UKCountry" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="WelshDataSource" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="YouthSupportServicesAgreement" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="CareAuthority" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="EthnicDataSource" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="LanguageUse" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="MealType" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="MedicalPracticeContactRole" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="ServiceChildrenSource" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="TravellerSource" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="TravelRoute" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="NationalIdentifier" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="ParamedicalSupportType" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="MedicalEventDescription" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="MedicalEventType" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="TravellerAccommodationType" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="ModeOfTravel" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="EnrolmentStatus" BaseType="SIMS.LearnerLookup">
        <Property Name="IsGuest" Type="Edm.Boolean" />
      </EntityType>
      <EntityType Name="BoarderStatus" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="LearnerDietaryNeed" BaseType="SIMS.LearnerLookup">
        <Property Name="Parent" Type="Edm.Guid" />
      </EntityType>
      <EntityType Name="ConsentType" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="ServiceChildren" BaseType="SIMS.LearnerLookup">
        <Property Name="Parent" Type="Edm.Guid" />
      </EntityType>
      <EntityType Name="LocationType" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="ConsentStatus" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="Title" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="LearnerDisabilityType" BaseType="SIMS.LearnerLookup">
        <Property Name="Parent" Type="Edm.Guid" />
      </EntityType>
      <EntityType Name="LearnerLookupWithCategory" BaseType="SIMS.LearnerLookup">
        <Property Name="Category" Type="SIMS.CategoryReference" />
      </EntityType>
      <ComplexType Name="CategoryReference">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <EntityType Name="ReasonForNameChange" BaseType="SIMS.LearnerLookupWithCategory">
        <Property Name="IsSchoolSelected" Type="Edm.Boolean" />
      </EntityType>
      <EntityType Name="Country" BaseType="SIMS.LearnerLookupWithCategory" />
      <EntityType Name="LearnerContactRelationshipType" BaseType="SIMS.LearnerLookupWithCategory" />
      <EntityType Name="ReasonForLeaving" BaseType="SIMS.LearnerLookupWithCategory" />
      <EntityType Name="Religion" BaseType="SIMS.LearnerLookupWithCategory" />
      <EntityType Name="Occupation" BaseType="SIMS.LearnerLookupWithCategory" />
      <EntityType Name="Ethnicity" BaseType="SIMS.LearnerLookupWithCategory">
        <Property Name="IsSchoolSelected" Type="Edm.Boolean" />
      </EntityType>
      <EntityType Name="Language" BaseType="SIMS.LearnerLookupWithCategory" />
      <EntityType Name="MedicalCondition" BaseType="SIMS.LearnerLookup" />
      <EntityType Name="EHCPAssessmentOutcome" BaseType="SIMS.LearnerSENLookup" />
      <EntityType Name="EHCPAssessmentRequestStatus" BaseType="SIMS.LearnerSENLookup" />
      <EntityType Name="SENAdviceAndAssessment" BaseType="SIMS.LearnerSENLookup" />
      <EntityType Name="SENCurriculumAndTeachingMethod" BaseType="SIMS.LearnerSENLookup" />
      <EntityType Name="SENEventType" BaseType="SIMS.LearnerSENLookup" />
      <EntityType Name="SENGroupingAndSupport" BaseType="SIMS.LearnerSENLookup" />
      <EntityType Name="SENStatutoryAssessment" BaseType="SIMS.LearnerSENLookup" />
      <EntityType Name="SENStatutoryStatement" BaseType="SIMS.LearnerSENLookup" />
      <EntityType Name="SENReviewStatus" BaseType="SIMS.LearnerSENLookup" />
      <EntityType Name="SENReviewType" BaseType="SIMS.LearnerSENLookup" />
      <EntityType Name="LearnerSENLookupWithCategory" BaseType="SIMS.LearnerSENLookup">
        <Property Name="Category" Type="SIMS.CategoryReference" />
      </EntityType>
      <EntityType Name="SENStatus" BaseType="SIMS.LearnerSENLookupWithCategory" />
      <EntityType Name="SENNeedType" BaseType="SIMS.LearnerSENLookupWithCategory" />
      <EntityType Name="SENProvisionType" BaseType="SIMS.LearnerSENLookup" />
      <ComplexType Name="ContactLearnerRelationshipTypeRef">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <ComplexType Name="LearnerDetail">
        <Property Name="ExternalID" Type="Edm.Guid" Nullable="false" />
        <Property Name="Type" Type="Edm.String" />
      </ComplexType>
      <EnumType Name="GroupTypeEnum">
        <Member Name="None" Value="0" />
        <Member Name="YearGroup" Value="1" />
        <Member Name="PrimaryClass" Value="2" />
        <Member Name="Enrolment" Value="3" />
        <Member Name="House" Value="4" />
        <Member Name="TeachingGroup" Value="5" />
        <Member Name="UserDefinedGroup" Value="6" />
        <Member Name="CurriculumYear" Value="7" />
      </EnumType>
      <EnumType Name="LookupType">
        <Member Name="LearnerAddressType" Value="0" />
        <Member Name="ContactAddressType" Value="1" />
        <Member Name="AsylumSeeker" Value="2" />
        <Member Name="AttendedSureStart" Value="3" />
        <Member Name="BoarderStatus" Value="4" />
        <Member Name="CareAuthority" Value="5" />
        <Member Name="ConsentStatus" Value="6" />
        <Member Name="ConsentType" Value="7" />
        <Member Name="Country" Value="8" />
        <Member Name="DietaryNeed" Value="9" />
        <Member Name="DisabilityType" Value="10" />
        <Member Name="EarlyYearsPupilPremiumFundingBasis" Value="11" />
        <Member Name="EmailLocationType" Value="12" />
        <Member Name="EnrolmentStatus" Value="13" />
        <Member Name="EthnicDataSource" Value="14" />
        <Member Name="Ethnicity" Value="15" />
        <Member Name="Gender" Value="16" />
        <Member Name="GroundsForRemoval" Value="17" />
        <Member Name="Language" Value="18" />
        <Member Name="LanguageProficiency" Value="19" />
        <Member Name="LanguageSource" Value="20" />
        <Member Name="LanguageUse" Value="21" />
        <Member Name="LearnerContactRelationshipType" Value="22" />
        <Member Name="LocationType" Value="23" />
        <Member Name="MealType" Value="24" />
        <Member Name="MedicalCondition" Value="25" />
        <Member Name="MedicalEventDescription" Value="26" />
        <Member Name="MedicalEventType" Value="27" />
        <Member Name="ModeOfTravel" Value="28" />
        <Member Name="Nation" Value="29" />
        <Member Name="NationalIdentifier" Value="30" />
        <Member Name="Occupation" Value="31" />
        <Member Name="ParamedicalSupportType" Value="32" />
        <Member Name="PEPPlanContributorRole" Value="33" />
        <Member Name="Post16SupportScheme" Value="34" />
        <Member Name="PreSchoolExperience" Value="35" />
        <Member Name="ReasonForLeaving" Value="36" />
        <Member Name="ReasonForNameChange" Value="37" />
        <Member Name="RegisteredSureStart" Value="38" />
        <Member Name="Religion" Value="39" />
        <Member Name="ServiceChild" Value="40" />
        <Member Name="ServiceChildSource" Value="41" />
        <Member Name="SpeaksWelsh" Value="42" />
        <Member Name="SpeaksWelshWith" Value="43" />
        <Member Name="TaughtWelsh" Value="44" />
        <Member Name="Title" Value="45" />
        <Member Name="TravellerAccommodationType" Value="46" />
        <Member Name="TravellerSource" Value="47" />
        <Member Name="TravelRoute" Value="48" />
        <Member Name="UKCountry" Value="49" />
        <Member Name="WelshDataSource" Value="50" />
        <Member Name="YouthSupportServicesAgreement" Value="51" />
        <Member Name="LearnerDietaryNeed" Value="52" />
        <Member Name="LearnerDisabilityType" Value="53" />
        <Member Name="MedicalPracticeContactRole" Value="54" />
        <Member Name="ServiceChildren" Value="55" />
        <Member Name="ServiceChildrenSource" Value="56" />
        <Member Name="EHCPAssessmentOutcome" Value="57" />
        <Member Name="EHCPAssessmentRequestStatus" Value="58" />
        <Member Name="SENAdviceAndAssessment" Value="59" />
        <Member Name="SENCurriculumAndTeachingMethod" Value="60" />
        <Member Name="SENEventType" Value="61" />
        <Member Name="SENGroupingAndSupport" Value="62" />
        <Member Name="SENNeedType" Value="63" />
        <Member Name="SENProvisionType" Value="64" />
        <Member Name="SENReviewStatus" Value="65" />
        <Member Name="SENReviewType" Value="66" />
        <Member Name="SENStatus" Value="67" />
        <Member Name="SENStatutoryAssessment" Value="68" />
        <Member Name="SENStatutoryStatement" Value="69" />
      </EnumType>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerIdentifier)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerIdentifier)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerIdentifier)" />
        <Parameter Name="LearnerIdentifiers" Type="Collection(SIMS.LearnerIdentifier)" />
        <ReturnType Type="SIMS.LearnerIdentifier" />
      </Action>
      <Function Name="ByGroup" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerIdentifier)" />
        <Parameter Name="grouptype" Type="Edm.String" />
        <Parameter Name="groupid" Type="Edm.Guid" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerIdentifier)" />
      </Function>
      <Action Name="CustomGroup" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerIdentifier)" />
        <Parameter Name="members" Type="Collection(Edm.Guid)" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerIdentifier)" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerLookup)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerLookup)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerLookup)" />
        <Parameter Name="LearnerLookups" Type="Collection(SIMS.LearnerLookup)" />
        <ReturnType Type="SIMS.LearnerLookup" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerSENLookup)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerSENLookup)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerSENLookup)" />
        <Parameter Name="LearnerSENLookups" Type="Collection(SIMS.LearnerSENLookup)" />
        <ReturnType Type="SIMS.LearnerSENLookup" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerMedical)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerMedical)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerMedical)" />
        <Parameter Name="LearnerMedicals" Type="Collection(SIMS.LearnerMedical)" />
        <ReturnType Type="SIMS.LearnerMedical" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerSEN)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerSEN)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerSEN)" />
        <Parameter Name="LearnerSENs" Type="Collection(SIMS.LearnerSEN)" />
        <ReturnType Type="SIMS.LearnerSEN" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerCultural)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerCultural)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerCultural)" />
        <Parameter Name="LearnerCulturals" Type="Collection(SIMS.LearnerCultural)" />
        <ReturnType Type="SIMS.LearnerCultural" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerDietary)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerDietary)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerDietary)" />
        <Parameter Name="LearnerDietarys" Type="Collection(SIMS.LearnerDietary)" />
        <ReturnType Type="SIMS.LearnerDietary" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerPersonal)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerPersonal)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerPersonal)" />
        <Parameter Name="LearnerPersonals" Type="Collection(SIMS.LearnerPersonal)" />
        <ReturnType Type="SIMS.LearnerPersonal" />
      </Action>
      <Action Name="CustomGroup" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerContactBasic)" />
        <Parameter Name="members" Type="Collection(Edm.Guid)" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerContactBasic)" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerContactBasic)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerContactBasic)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerContactBasic)" />
        <Parameter Name="LearnerContactBasics" Type="Collection(SIMS.LearnerContactBasic)" />
        <ReturnType Type="SIMS.LearnerContactBasic" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerContactContactDetails)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerContactContactDetails)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerContactContactDetails)" />
        <Parameter Name="LearnerContactContactDetails" Type="Collection(SIMS.LearnerContactContactDetails)" />
        <ReturnType Type="SIMS.LearnerContactContactDetails" />
      </Action>
      <Action Name="CustomGroup" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerContactContactDetails)" />
        <Parameter Name="members" Type="Collection(Edm.Guid)" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerContactContactDetails)" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerGrant)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerGrant)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerGrant)" />
        <Parameter Name="LearnerGrants" Type="Collection(SIMS.LearnerGrant)" />
        <ReturnType Type="SIMS.LearnerGrant" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerWelfare)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerWelfare)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerWelfare)" />
        <Parameter Name="LearnerWelfares" Type="Collection(SIMS.LearnerWelfare)" />
        <ReturnType Type="SIMS.LearnerWelfare" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerConsent)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerConsent)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerConsent)" />
        <Parameter Name="LearnerConsents" Type="Collection(SIMS.LearnerConsent)" />
        <ReturnType Type="SIMS.LearnerConsent" />
      </Action>
      <Action Name="CustomGroup" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerSENReview)" />
        <Parameter Name="members" Type="Collection(Edm.Guid)" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerSENReview)" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerSENReview)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerSENReview)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerSENReview)" />
        <Parameter Name="LearnerSENReviews" Type="Collection(SIMS.LearnerSENReview)" />
        <ReturnType Type="SIMS.LearnerSENReview" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerRegistration)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerRegistration)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerRegistration)" />
        <Parameter Name="LearnerRegistrations" Type="Collection(SIMS.LearnerRegistration)" />
        <ReturnType Type="SIMS.LearnerRegistration" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerContactDetails)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerContactDetails)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerContactDetails)" />
        <Parameter Name="LearnerContactDetails" Type="Collection(SIMS.LearnerContactDetails)" />
        <ReturnType Type="SIMS.LearnerContactDetails" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerTransport)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerTransport)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerTransport)" />
        <Parameter Name="LearnerTransports" Type="Collection(SIMS.LearnerTransport)" />
        <ReturnType Type="SIMS.LearnerTransport" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerPupilPremiumAwards)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerPupilPremiumAwards)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerPupilPremiumAwards)" />
        <Parameter Name="LearnerPupilPremiumAwards" Type="Collection(SIMS.LearnerPupilPremiumAwards)" />
        <ReturnType Type="SIMS.LearnerPupilPremiumAwards" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerSchoolHistory)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerSchoolHistory)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerSchoolHistory)" />
        <Parameter Name="LearnerSchoolHistorys" Type="Collection(SIMS.LearnerSchoolHistory)" />
        <ReturnType Type="SIMS.LearnerSchoolHistory" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerEHCP)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerEHCP)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerEHCP)" />
        <Parameter Name="LearnerEHCPs" Type="Collection(SIMS.LearnerEHCP)" />
        <ReturnType Type="SIMS.LearnerEHCP" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerSENEvent)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerSENEvent)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerSENEvent)" />
        <Parameter Name="LearnerSENEvents" Type="Collection(SIMS.LearnerSENEvent)" />
        <ReturnType Type="SIMS.LearnerSENEvent" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerSENStatement)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerSENStatement)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerSENStatement)" />
        <Parameter Name="LearnerSENStatements" Type="Collection(SIMS.LearnerSENStatement)" />
        <ReturnType Type="SIMS.LearnerSENStatement" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerContactPersonal)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerContactPersonal)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerContactPersonal)" />
        <Parameter Name="LearnerContactPersonals" Type="Collection(SIMS.LearnerContactPersonal)" />
        <ReturnType Type="SIMS.LearnerContactPersonal" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerGeneralNote)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.LearnerGeneralNote)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerGeneralNote)" />
        <Parameter Name="LearnerGeneralNotes" Type="Collection(SIMS.LearnerGeneralNote)" />
        <ReturnType Type="SIMS.LearnerGeneralNote" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.ContactBasic)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.ContactBasic)" />
      </Function>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.ContactBasic)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.ContactBasic)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.ContactBasic)" />
        <Parameter Name="ContactBasics" Type="Collection(SIMS.ContactBasic)" />
        <ReturnType Type="SIMS.ContactBasic" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.ContactContactDetails)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.ContactContactDetails)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.ContactContactDetails)" />
        <Parameter Name="ContactContactDetails" Type="Collection(SIMS.ContactContactDetails)" />
        <ReturnType Type="SIMS.ContactContactDetails" />
      </Action>
      <Action Name="CustomGroup" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.Contact)" />
        <Parameter Name="members" Type="Collection(Edm.Guid)" Nullable="false" />
        <ReturnType Type="Collection(SIMS.Contact)" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.Contact)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.Contact)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.Contact)" />
        <Parameter Name="Contacts" Type="Collection(SIMS.Contact)" />
        <ReturnType Type="SIMS.Contact" />
      </Action>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.ContactPersonal)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.ContactPersonal)" />
      </Function>
      <Function Name="Changes" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.ContactPersonal)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <ReturnType Type="Collection(SIMS.ContactPersonal)" />
      </Function>
      <Action Name="Import" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.ContactPersonal)" />
        <Parameter Name="ContactPersonals" Type="Collection(SIMS.ContactPersonal)" />
        <ReturnType Type="SIMS.ContactPersonal" />
      </Action>
      <EntityContainer Name="Container">
        <EntitySet Name="LearnerIdentifiers" EntityType="SIMS.LearnerIdentifier">
          <Annotation Term="Org.OData.Capabilities.V1.FilterRestrictions">
            <Record>
              <PropertyValue Property="Filterable" Bool="true" />
              <PropertyValue Property="RequiresFilter" Bool="true" />
              <PropertyValue Property="RequiredProperties">
                <Collection />
              </PropertyValue>
              <PropertyValue Property="NonFilterableProperties">
                <Collection>
                  <PropertyPath>Photograph</PropertyPath>
                </Collection>
              </PropertyValue>
            </Record>
          </Annotation>
          <Annotation Term="Org.OData.Capabilities.V1.SortRestrictions">
            <Record>
              <PropertyValue Property="Sortable" Bool="true" />
              <PropertyValue Property="AscendingOnlyProperties">
                <Collection />
              </PropertyValue>
              <PropertyValue Property="DescendingOnlyProperties">
                <Collection />
              </PropertyValue>
              <PropertyValue Property="NonSortableProperties">
                <Collection>
                  <PropertyPath>Photograph</PropertyPath>
                </Collection>
              </PropertyValue>
            </Record>
          </Annotation>
        </EntitySet>
        <EntitySet Name="LearnerGroups" EntityType="SIMS.LearnerGroup">
          <NavigationPropertyBinding Path="LearnerIdentifiers" Target="LearnerIdentifiers" />
          <NavigationPropertyBinding Path="LearnerMedicals" Target="LearnerMedicals" />
          <NavigationPropertyBinding Path="LearnerSENs" Target="LearnerSENs" />
          <NavigationPropertyBinding Path="LearnerDietarys" Target="LearnerDietarys" />
          <NavigationPropertyBinding Path="LearnerCulturals" Target="LearnerCulturals" />
          <NavigationPropertyBinding Path="LearnerPersonals" Target="LearnerPersonals" />
          <NavigationPropertyBinding Path="LearnerContactBasics" Target="LearnerContactBasics" />
          <NavigationPropertyBinding Path="LearnerContactContactDetails" Target="LearnerContactContactDetails" />
          <NavigationPropertyBinding Path="LearnerContactDetails" Target="LearnerContactDetails" />
          <NavigationPropertyBinding Path="LearnerGrants" Target="LearnerGrants" />
          <NavigationPropertyBinding Path="LearnerWelfares" Target="LearnerWelfares" />
          <NavigationPropertyBinding Path="LearnerConsents" Target="LearnerConsents" />
          <NavigationPropertyBinding Path="LearnerSENReviews" Target="LearnerSENReviews" />
          <NavigationPropertyBinding Path="LearnerRegistrations" Target="LearnerRegistrations" />
          <NavigationPropertyBinding Path="LearnerTransports" Target="LearnerTransports" />
          <NavigationPropertyBinding Path="LearnerPupilPremiumAwards" Target="LearnerPupilPremiumAwards" />
          <NavigationPropertyBinding Path="LearnerSchoolHistorys" Target="LearnerSchoolHistorys" />
          <NavigationPropertyBinding Path="LearnerEHCPs" Target="LearnerEHCPs" />
          <NavigationPropertyBinding Path="LearnerContactPersonals" Target="LearnerContactPersonals" />
          <NavigationPropertyBinding Path="LearnerSENEvents" Target="LearnerSENEvents" />
          <NavigationPropertyBinding Path="LearnerSENStatements" Target="LearnerSENStatements" />
          <NavigationPropertyBinding Path="ContactBasics" Target="ContactBasics" />
        </EntitySet>
        <EntitySet Name="LearnerLookups" EntityType="SIMS.LearnerLookup" />
        <EntitySet Name="LearnerSENLookups" EntityType="SIMS.LearnerSENLookup" />
        <EntitySet Name="LearnerMedicals" EntityType="SIMS.LearnerMedical" />
        <EntitySet Name="LearnerSENs" EntityType="SIMS.LearnerSEN" />
        <EntitySet Name="LearnerCulturals" EntityType="SIMS.LearnerCultural" />
        <EntitySet Name="LearnerDietarys" EntityType="SIMS.LearnerDietary" />
        <EntitySet Name="LearnerPersonals" EntityType="SIMS.LearnerPersonal">
          <Annotation Term="Org.OData.Capabilities.V1.FilterRestrictions">
            <Record>
              <PropertyValue Property="Filterable" Bool="true" />
              <PropertyValue Property="RequiresFilter" Bool="true" />
              <PropertyValue Property="RequiredProperties">
                <Collection />
              </PropertyValue>
              <PropertyValue Property="NonFilterableProperties">
                <Collection>
                  <PropertyPath>Photograph</PropertyPath>
                </Collection>
              </PropertyValue>
            </Record>
          </Annotation>
          <Annotation Term="Org.OData.Capabilities.V1.SortRestrictions">
            <Record>
              <PropertyValue Property="Sortable" Bool="true" />
              <PropertyValue Property="AscendingOnlyProperties">
                <Collection />
              </PropertyValue>
              <PropertyValue Property="DescendingOnlyProperties">
                <Collection />
              </PropertyValue>
              <PropertyValue Property="NonSortableProperties">
                <Collection>
                  <PropertyPath>Photograph</PropertyPath>
                </Collection>
              </PropertyValue>
            </Record>
          </Annotation>
        </EntitySet>
        <EntitySet Name="LearnerContactBasics" EntityType="SIMS.LearnerContactBasic" />
        <EntitySet Name="LearnerContactContactDetails" EntityType="SIMS.LearnerContactContactDetails" />
        <EntitySet Name="LearnerGrants" EntityType="SIMS.LearnerGrant" />
        <EntitySet Name="LearnerWelfares" EntityType="SIMS.LearnerWelfare" />
        <EntitySet Name="LearnerConsents" EntityType="SIMS.LearnerConsent" />
        <EntitySet Name="LearnerSENReviews" EntityType="SIMS.LearnerSENReview" />
        <EntitySet Name="LearnerRegistrations" EntityType="SIMS.LearnerRegistration" />
        <EntitySet Name="LearnerContactDetails" EntityType="SIMS.LearnerContactDetails" />
        <EntitySet Name="LearnerTransports" EntityType="SIMS.LearnerTransport" />
        <EntitySet Name="LearnerPupilPremiumAwards" EntityType="SIMS.LearnerPupilPremiumAwards" />
        <EntitySet Name="LearnerSchoolHistorys" EntityType="SIMS.LearnerSchoolHistory" />
        <EntitySet Name="LearnerEHCPs" EntityType="SIMS.LearnerEHCP" />
        <EntitySet Name="LearnerSENEvents" EntityType="SIMS.LearnerSENEvent" />
        <EntitySet Name="LearnerSENStatements" EntityType="SIMS.LearnerSENStatement" />
        <EntitySet Name="LearnerContactPersonals" EntityType="SIMS.LearnerContactPersonal" />
        <EntitySet Name="LearnerGeneralNotes" EntityType="SIMS.LearnerGeneralNote" />
        <EntitySet Name="ContactBasics" EntityType="SIMS.ContactBasic" />
        <EntitySet Name="ContactContactDetails" EntityType="SIMS.ContactContactDetails" />
        <EntitySet Name="Contacts" EntityType="SIMS.Contact" />
        <EntitySet Name="ContactPersonals" EntityType="SIMS.ContactPersonal" />
      </EntityContainer>
    </Schema>
    <Schema Namespace="SIMS.Stats.Actions" xmlns="http://docs.oasis-open.org/odata/ns/edm">
      <Action Name="SendLearnerList" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerContactBasic)" />
        <Parameter Name="lcr" Type="Collection(Edm.Guid)" Nullable="false" />
      </Action>
    </Schema>
    <Schema Namespace="ChangeTracking" xmlns="http://docs.oasis-open.org/odata/ns/edm">
      <Function Name="GetChanges" IsBound="true">
        <Parameter Name="bindingParameter" Type="Collection(SIMS.LearnerRegistration)" />
        <Parameter Name="startDate" Type="Edm.DateTimeOffset" Nullable="false" />
        <Parameter Name="endDate" Type="Edm.DateTimeOffset" />
        <ReturnType Type="Collection(SIMS.LearnerRegistration)" />
      </Function>
    </Schema>
  </edmx:DataServices>
</edmx:Edmx>

Information Domains that are not currently available

  • Learner School History
  • LearnerPupilPremiumAwards
  • LearnerContactBasic