<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="Organisation" targetNamespace="http://sdm-fsa-register.co.uk/documents/Organisation.xsd" xmlns:mstns="http://sdm-fsa-register.co.uk/documents/Organisation.xsd" xmlns="http://sdm-fsa-register.co.uk/documents/Organisation.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
        </Connections>
        <Tables>
        </Tables>
        <Sources>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="Organisation" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="Organisation" msprop:Generator_DataSetName="Organisation">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="OrganisationDetail" msprop:Generator_UserTableName="OrganisationDetail" msprop:Generator_RowDeletedName="OrganisationDetailRowDeleted" msprop:Generator_RowChangedName="OrganisationDetailRowChanged" msprop:Generator_RowClassName="OrganisationDetailRow" msprop:Generator_RowChangingName="OrganisationDetailRowChanging" msprop:Generator_RowEvArgName="OrganisationDetailRowChangeEvent" msprop:Generator_RowEvHandlerName="OrganisationDetailRowChangeEventHandler" msprop:Generator_TableClassName="OrganisationDetailDataTable" msprop:Generator_TableVarName="tableOrganisationDetail" msprop:Generator_RowDeletingName="OrganisationDetailRowDeleting" msprop:Generator_TablePropName="OrganisationDetail">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Reference" msprop:Generator_UserColumnName="Reference" msprop:Generator_ColumnVarNameInTable="columnReference" msprop:Generator_ColumnPropNameInRow="Reference" msprop:Generator_ColumnPropNameInTable="ReferenceColumn" type="xs:int" />
              <xs:element name="CompanyName" msprop:Generator_UserColumnName="CompanyName" msprop:Generator_ColumnVarNameInTable="columnCompanyName" msprop:Generator_ColumnPropNameInRow="CompanyName" msprop:Generator_ColumnPropNameInTable="CompanyNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="130" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Address1" msprop:Generator_UserColumnName="Address1" msprop:Generator_ColumnVarNameInTable="columnAddress1" msprop:Generator_ColumnPropNameInRow="Address1" msprop:Generator_ColumnPropNameInTable="Address1Column">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Address2" msprop:Generator_UserColumnName="Address2" msprop:Generator_ColumnVarNameInTable="columnAddress2" msprop:Generator_ColumnPropNameInRow="Address2" msprop:Generator_ColumnPropNameInTable="Address2Column">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Address3" msprop:Generator_UserColumnName="Address3" msprop:Generator_ColumnVarNameInTable="columnAddress3" msprop:Generator_ColumnPropNameInRow="Address3" msprop:Generator_ColumnPropNameInTable="Address3Column">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Address4" msprop:Generator_UserColumnName="Address4" msprop:Generator_ColumnVarNameInTable="columnAddress4" msprop:Generator_ColumnPropNameInRow="Address4" msprop:Generator_ColumnPropNameInTable="Address4Column">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Address5" msprop:Generator_UserColumnName="Address5" msprop:Generator_ColumnVarNameInTable="columnAddress5" msprop:Generator_ColumnPropNameInRow="Address5" msprop:Generator_ColumnPropNameInTable="Address5Column">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Address6" msprop:Generator_UserColumnName="Address6" msprop:Generator_ColumnVarNameInTable="columnAddress6" msprop:Generator_ColumnPropNameInRow="Address6" msprop:Generator_ColumnPropNameInTable="Address6Column">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Postcode" msprop:Generator_UserColumnName="Postcode" msprop:Generator_ColumnVarNameInTable="columnPostcode" msprop:Generator_ColumnPropNameInRow="Postcode" msprop:Generator_ColumnPropNameInTable="PostcodeColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="8" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Telephone" msprop:Generator_UserColumnName="Telephone" msprop:Generator_ColumnVarNameInTable="columnTelephone" msprop:Generator_ColumnPropNameInRow="Telephone" msprop:Generator_ColumnPropNameInTable="TelephoneColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="45" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Fax" msprop:Generator_UserColumnName="Fax" msprop:Generator_ColumnVarNameInTable="columnFax" msprop:Generator_ColumnPropNameInRow="Fax" msprop:Generator_ColumnPropNameInTable="FaxColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="45" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ClientMoney" msprop:Generator_UserColumnName="ClientMoney" msprop:Generator_ColumnVarNameInTable="columnClientMoney" msprop:Generator_ColumnPropNameInRow="ClientMoney" msprop:Generator_ColumnPropNameInTable="ClientMoneyColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Status" msprop:Generator_UserColumnName="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="StatusModified" msprop:Generator_UserColumnName="StatusModified" msprop:Generator_ColumnVarNameInTable="columnStatusModified" msprop:Generator_ColumnPropNameInRow="StatusModified" msprop:Generator_ColumnPropNameInTable="StatusModifiedColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Registered" msprop:Generator_UserColumnName="Registered" msprop:Generator_ColumnVarNameInTable="columnRegistered" msprop:Generator_ColumnPropNameInRow="Registered" msprop:Generator_ColumnPropNameInTable="RegisteredColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="OrganisationType" msprop:Generator_UserColumnName="OrganisationType" msprop:Generator_ColumnVarNameInTable="columnOrganisationType" msprop:Generator_ColumnPropNameInRow="OrganisationType" msprop:Generator_ColumnPropNameInTable="OrganisationTypeColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="46" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="LegalStatus" msprop:Generator_UserColumnName="LegalStatus" msprop:Generator_ColumnVarNameInTable="columnLegalStatus" msprop:Generator_ColumnPropNameInRow="LegalStatus" msprop:Generator_ColumnPropNameInTable="LegalStatusColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="IsOnWatchList" msdata:ReadOnly="true" msprop:Generator_UserColumnName="IsOnWatchList" msprop:Generator_ColumnVarNameInTable="columnIsOnWatchList" msprop:Generator_ColumnPropNameInRow="IsOnWatchList" msprop:Generator_ColumnPropNameInTable="IsOnWatchListColumn" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="AlternateNames" msprop:Generator_UserTableName="AlternateNames" msprop:Generator_RowDeletedName="AlternateNamesRowDeleted" msprop:Generator_RowChangedName="AlternateNamesRowChanged" msprop:Generator_RowClassName="AlternateNamesRow" msprop:Generator_RowChangingName="AlternateNamesRowChanging" msprop:Generator_RowEvArgName="AlternateNamesRowChangeEvent" msprop:Generator_RowEvHandlerName="AlternateNamesRowChangeEventHandler" msprop:Generator_TableClassName="AlternateNamesDataTable" msprop:Generator_TableVarName="tableAlternateNames" msprop:Generator_RowDeletingName="AlternateNamesRowDeleting" msprop:Generator_TablePropName="AlternateNames">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Reference" msprop:Generator_UserColumnName="Reference" msprop:Generator_ColumnVarNameInTable="columnReference" msprop:Generator_ColumnPropNameInRow="Reference" msprop:Generator_ColumnPropNameInTable="ReferenceColumn" type="xs:int" />
              <xs:element name="AlternateName" msprop:Generator_UserColumnName="AlternateName" msprop:Generator_ColumnVarNameInTable="columnAlternateName" msprop:Generator_ColumnPropNameInRow="AlternateName" msprop:Generator_ColumnPropNameInTable="AlternateNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="130" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="StartDate" msprop:Generator_UserColumnName="StartDate" msprop:Generator_ColumnVarNameInTable="columnStartDate" msprop:Generator_ColumnPropNameInRow="StartDate" msprop:Generator_ColumnPropNameInTable="StartDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="EndDate" msprop:Generator_UserColumnName="EndDate" msprop:Generator_ColumnVarNameInTable="columnEndDate" msprop:Generator_ColumnPropNameInRow="EndDate" msprop:Generator_ColumnPropNameInTable="EndDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="NameType" msprop:Generator_UserColumnName="NameType" msprop:Generator_ColumnVarNameInTable="columnNameType" msprop:Generator_ColumnPropNameInRow="NameType" msprop:Generator_ColumnPropNameInTable="NameTypeColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="25" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Individuals" msprop:Generator_UserTableName="Individuals" msprop:Generator_RowDeletedName="IndividualsRowDeleted" msprop:Generator_RowChangedName="IndividualsRowChanged" msprop:Generator_RowClassName="IndividualsRow" msprop:Generator_RowChangingName="IndividualsRowChanging" msprop:Generator_RowEvArgName="IndividualsRowChangeEvent" msprop:Generator_RowEvHandlerName="IndividualsRowChangeEventHandler" msprop:Generator_TableClassName="IndividualsDataTable" msprop:Generator_TableVarName="tableIndividuals" msprop:Generator_RowDeletingName="IndividualsRowDeleting" msprop:Generator_TablePropName="Individuals">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="IndividualReference" msprop:Generator_UserColumnName="IndividualReference" msprop:Generator_ColumnVarNameInTable="columnIndividualReference" msprop:Generator_ColumnPropNameInRow="IndividualReference" msprop:Generator_ColumnPropNameInTable="IndividualReferenceColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="8" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="OrganisationReference" msprop:Generator_UserColumnName="OrganisationReference" msprop:Generator_ColumnVarNameInTable="columnOrganisationReference" msprop:Generator_ColumnPropNameInRow="OrganisationReference" msprop:Generator_ColumnPropNameInTable="OrganisationReferenceColumn" type="xs:int" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="70" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Status" msprop:Generator_UserColumnName="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Principals" msprop:Generator_UserTableName="Principals" msprop:Generator_RowDeletedName="PrincipalsRowDeleted" msprop:Generator_RowChangedName="PrincipalsRowChanged" msprop:Generator_RowClassName="PrincipalsRow" msprop:Generator_RowChangingName="PrincipalsRowChanging" msprop:Generator_RowEvArgName="PrincipalsRowChangeEvent" msprop:Generator_RowEvHandlerName="PrincipalsRowChangeEventHandler" msprop:Generator_TableClassName="PrincipalsDataTable" msprop:Generator_TableVarName="tablePrincipals" msprop:Generator_RowDeletingName="PrincipalsRowDeleting" msprop:Generator_TablePropName="Principals">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PrincipalReference" msprop:Generator_UserColumnName="PrincipalReference" msprop:Generator_ColumnVarNameInTable="columnPrincipalReference" msprop:Generator_ColumnPropNameInRow="PrincipalReference" msprop:Generator_ColumnPropNameInTable="PrincipalReferenceColumn" type="xs:int" minOccurs="0" />
              <xs:element name="Reference" msprop:Generator_UserColumnName="Reference" msprop:Generator_ColumnVarNameInTable="columnReference" msprop:Generator_ColumnPropNameInRow="Reference" msprop:Generator_ColumnPropNameInTable="ReferenceColumn" type="xs:int" minOccurs="0" />
              <xs:element name="Status" msprop:Generator_UserColumnName="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Effective" msprop:Generator_UserColumnName="Effective" msprop:Generator_ColumnVarNameInTable="columnEffective" msprop:Generator_ColumnPropNameInRow="Effective" msprop:Generator_ColumnPropNameInTable="EffectiveColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="OrganisationName" msprop:Generator_UserColumnName="OrganisationName" msprop:Generator_ColumnVarNameInTable="columnOrganisationName" msprop:Generator_ColumnPropNameInRow="OrganisationName" msprop:Generator_ColumnPropNameInTable="OrganisationNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="130" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Appointees" msprop:Generator_UserTableName="Appointees" msprop:Generator_RowDeletedName="AppointeesRowDeleted" msprop:Generator_RowChangedName="AppointeesRowChanged" msprop:Generator_RowClassName="AppointeesRow" msprop:Generator_RowChangingName="AppointeesRowChanging" msprop:Generator_RowEvArgName="AppointeesRowChangeEvent" msprop:Generator_RowEvHandlerName="AppointeesRowChangeEventHandler" msprop:Generator_TableClassName="AppointeesDataTable" msprop:Generator_TableVarName="tableAppointees" msprop:Generator_RowDeletingName="AppointeesRowDeleting" msprop:Generator_TablePropName="Appointees">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="AppointeeReference" msprop:Generator_UserColumnName="AppointeeReference" msprop:Generator_ColumnVarNameInTable="columnAppointeeReference" msprop:Generator_ColumnPropNameInRow="AppointeeReference" msprop:Generator_ColumnPropNameInTable="AppointeeReferenceColumn" type="xs:int" />
              <xs:element name="Reference" msprop:Generator_UserColumnName="Reference" msprop:Generator_ColumnVarNameInTable="columnReference" msprop:Generator_ColumnPropNameInRow="Reference" msprop:Generator_ColumnPropNameInTable="ReferenceColumn" type="xs:int" minOccurs="0" />
              <xs:element name="Status" msprop:Generator_UserColumnName="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Effective" msprop:Generator_UserColumnName="Effective" msprop:Generator_ColumnVarNameInTable="columnEffective" msprop:Generator_ColumnPropNameInRow="Effective" msprop:Generator_ColumnPropNameInTable="EffectiveColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="OrganisationName" msprop:Generator_UserColumnName="OrganisationName" msprop:Generator_ColumnVarNameInTable="columnOrganisationName" msprop:Generator_ColumnPropNameInRow="OrganisationName" msprop:Generator_ColumnPropNameInTable="OrganisationNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="130" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="InvestmentTypes" msprop:Generator_UserTableName="InvestmentTypes" msprop:Generator_RowDeletedName="InvestmentTypesRowDeleted" msprop:Generator_RowChangedName="InvestmentTypesRowChanged" msprop:Generator_RowClassName="InvestmentTypesRow" msprop:Generator_RowChangingName="InvestmentTypesRowChanging" msprop:Generator_RowEvArgName="InvestmentTypesRowChangeEvent" msprop:Generator_RowEvHandlerName="InvestmentTypesRowChangeEventHandler" msprop:Generator_TableClassName="InvestmentTypesDataTable" msprop:Generator_TableVarName="tableInvestmentTypes" msprop:Generator_RowDeletingName="InvestmentTypesRowDeleting" msprop:Generator_TablePropName="InvestmentTypes">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Reference" msprop:Generator_UserColumnName="Reference" msprop:Generator_ColumnVarNameInTable="columnReference" msprop:Generator_ColumnPropNameInRow="Reference" msprop:Generator_ColumnPropNameInTable="ReferenceColumn" type="xs:int" />
              <xs:element name="Activity" msprop:Generator_UserColumnName="Activity" msprop:Generator_ColumnVarNameInTable="columnActivity" msprop:Generator_ColumnPropNameInRow="Activity" msprop:Generator_ColumnPropNameInTable="ActivityColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="188" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="InvestmentType" msdata:ReadOnly="true" msprop:Generator_UserColumnName="InvestmentType" msprop:Generator_ColumnVarNameInTable="columnInvestmentType" msprop:Generator_ColumnPropNameInRow="InvestmentType" msprop:Generator_ColumnPropNameInTable="InvestmentTypeColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="31" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="InvestmentDescription" msdata:ReadOnly="true" msprop:Generator_UserColumnName="InvestmentDescription" msprop:Generator_ColumnVarNameInTable="columnInvestmentDescription" msprop:Generator_ColumnPropNameInRow="InvestmentDescription" msprop:Generator_ColumnPropNameInTable="InvestmentDescriptionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="102" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Status" msprop:Generator_UserColumnName="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Effective" msprop:Generator_UserColumnName="Effective" msprop:Generator_ColumnVarNameInTable="columnEffective" msprop:Generator_ColumnPropNameInRow="Effective" msprop:Generator_ColumnPropNameInTable="EffectiveColumn" type="xs:dateTime" />
              <xs:element name="LastUpdated" msprop:Generator_UserColumnName="LastUpdated" msprop:Generator_ColumnVarNameInTable="columnLastUpdated" msprop:Generator_ColumnPropNameInRow="LastUpdated" msprop:Generator_ColumnPropNameInTable="LastUpdatedColumn" type="xs:dateTime" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="RegulatedActivities" msprop:Generator_UserTableName="RegulatedActivities" msprop:Generator_RowDeletedName="RegulatedActivitiesRowDeleted" msprop:Generator_RowChangedName="RegulatedActivitiesRowChanged" msprop:Generator_RowClassName="RegulatedActivitiesRow" msprop:Generator_RowChangingName="RegulatedActivitiesRowChanging" msprop:Generator_RowEvArgName="RegulatedActivitiesRowChangeEvent" msprop:Generator_RowEvHandlerName="RegulatedActivitiesRowChangeEventHandler" msprop:Generator_TableClassName="RegulatedActivitiesDataTable" msprop:Generator_TableVarName="tableRegulatedActivities" msprop:Generator_RowDeletingName="RegulatedActivitiesRowDeleting" msprop:Generator_TablePropName="RegulatedActivities">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Reference" msprop:Generator_UserColumnName="Reference" msprop:Generator_ColumnVarNameInTable="columnReference" msprop:Generator_ColumnPropNameInRow="Reference" msprop:Generator_ColumnPropNameInTable="ReferenceColumn" type="xs:int" />
              <xs:element name="Activity" msprop:Generator_UserColumnName="Activity" msprop:Generator_ColumnVarNameInTable="columnActivity" msprop:Generator_ColumnPropNameInRow="Activity" msprop:Generator_ColumnPropNameInTable="ActivityColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="188" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CustomerTypeDescription" msdata:ReadOnly="true" msprop:Generator_UserColumnName="CustomerTypeDescription" msprop:Generator_ColumnVarNameInTable="columnCustomerTypeDescription" msprop:Generator_ColumnPropNameInRow="CustomerTypeDescription" msprop:Generator_ColumnPropNameInTable="CustomerTypeDescriptionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="27" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Status" msprop:Generator_UserColumnName="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Effective" msprop:Generator_UserColumnName="Effective" msprop:Generator_ColumnVarNameInTable="columnEffective" msprop:Generator_ColumnPropNameInRow="Effective" msprop:Generator_ColumnPropNameInTable="EffectiveColumn" type="xs:dateTime" />
              <xs:element name="LastUpdated" msprop:Generator_UserColumnName="LastUpdated" msprop:Generator_ColumnVarNameInTable="columnLastUpdated" msprop:Generator_ColumnPropNameInRow="LastUpdated" msprop:Generator_ColumnPropNameInTable="LastUpdatedColumn" type="xs:dateTime" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:OrganisationDetail" />
      <xs:field xpath="mstns:Reference" />
    </xs:unique>
    <xs:unique name="Individuals_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Individuals" />
      <xs:field xpath="mstns:IndividualReference" />
    </xs:unique>
    <xs:unique name="Appointees_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Appointees" />
      <xs:field xpath="mstns:AppointeeReference" />
    </xs:unique>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="Organisation_AlternateNames" msdata:parent="OrganisationDetail" msdata:child="AlternateNames" msdata:parentkey="Reference" msdata:childkey="Reference" msprop:Generator_UserRelationName="Organisation_AlternateNames" msprop:Generator_RelationVarName="relationOrganisation_AlternateNames" msprop:Generator_UserChildTable="AlternateNames" msprop:Generator_UserParentTable="OrganisationDetail" msprop:Generator_ParentPropName="OrganisationRow" msprop:Generator_ChildPropName="GetAlternateNamesRows" />
      <msdata:Relationship name="Organisation_Individuals" msdata:parent="OrganisationDetail" msdata:child="Individuals" msdata:parentkey="Reference" msdata:childkey="OrganisationReference" msprop:Generator_UserRelationName="Organisation_Individuals" msprop:Generator_RelationVarName="relationOrganisation_Individuals" msprop:Generator_UserChildTable="Individuals" msprop:Generator_UserParentTable="OrganisationDetail" msprop:Generator_ParentPropName="OrganisationRow" msprop:Generator_ChildPropName="GetIndividualsRows" />
      <msdata:Relationship name="Organisation_Principals" msdata:parent="OrganisationDetail" msdata:child="Principals" msdata:parentkey="Reference" msdata:childkey="Reference" msprop:Generator_UserRelationName="Organisation_Principals" msprop:Generator_RelationVarName="relationOrganisation_Principals" msprop:Generator_UserChildTable="Principals" msprop:Generator_UserParentTable="OrganisationDetail" msprop:Generator_ParentPropName="OrganisationRow" msprop:Generator_ChildPropName="GetPrincipalsRows" />
      <msdata:Relationship name="Organisation_Appointees" msdata:parent="OrganisationDetail" msdata:child="Appointees" msdata:parentkey="Reference" msdata:childkey="Reference" msprop:Generator_UserRelationName="Organisation_Appointees" msprop:Generator_RelationVarName="relationOrganisation_Appointees" msprop:Generator_UserChildTable="Appointees" msprop:Generator_UserParentTable="OrganisationDetail" msprop:Generator_ParentPropName="OrganisationRow" msprop:Generator_ChildPropName="GetAppointeesRows" />
      <msdata:Relationship name="Organisation_InvestmentTypes" msdata:parent="OrganisationDetail" msdata:child="InvestmentTypes" msdata:parentkey="Reference" msdata:childkey="Reference" msprop:Generator_UserRelationName="Organisation_InvestmentTypes" msprop:Generator_RelationVarName="relationOrganisation_InvestmentTypes" msprop:Generator_UserChildTable="InvestmentTypes" msprop:Generator_UserParentTable="OrganisationDetail" msprop:Generator_ParentPropName="OrganisationRow" msprop:Generator_ChildPropName="GetInvestmentTypesRows" />
      <msdata:Relationship name="Organisation_RegulatedActivities" msdata:parent="OrganisationDetail" msdata:child="RegulatedActivities" msdata:parentkey="Reference" msdata:childkey="Reference" msprop:Generator_UserRelationName="Organisation_RegulatedActivities" msprop:Generator_RelationVarName="relationOrganisation_RegulatedActivities" msprop:Generator_UserChildTable="RegulatedActivities" msprop:Generator_UserParentTable="OrganisationDetail" msprop:Generator_ParentPropName="OrganisationRow" msprop:Generator_ChildPropName="GetRegulatedActivitiesRows" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>
