<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:simpleType name="masterdata_ingenGruppe_idno_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="masterdata_ingenGruppe_refperio_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="masterdata_ingenGruppe_loebenr_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="masterdata_ingenGruppe_indsamling_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="masterdata_ingenGruppe_firmanavn_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="masterdata_ingenGruppe_gadenavn_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="masterdata_ingenGruppe_postnr_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="20" />
      <xs:pattern value="[a-zA-Z 0-9]*" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="masterdata_ingenGruppe_boks_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="masterdata_ingenGruppe_by_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="255" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="masterdata_ingenGruppe_tlf_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="masterdata_kontaktpersoner_fuldtnavn_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="masterdata_kontaktpersoner_tlf_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="masterdata_kontaktpersoner_email_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="50" />
      <xs:pattern value="[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.(([0-9]{1,3})|([a-zA-Z]{2,3})|(aero|coop|info|museum|name))" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Contact_Contact_Name_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100" />
      <xs:minLength value="1" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Contact_Contact_Phone_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="50" />
      <xs:minLength value="1" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Contact_Contact_Email_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="50" />
      <xs:minLength value="1" />
      <xs:pattern value="[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.(([0-9]{1,3})|([a-zA-Z]{2,3})|(aero|coop|info|museum|name))" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="Metadata_Metadata_Currency_Type">
    <xs:restriction base="xs:string" />
  </xs:simpleType>
  <xs:simpleType name="SD_SD_AllCounterpartyCollateralRehypothecationFlag_Type">
    <xs:restriction base="xs:string" />
  </xs:simpleType>
  <xs:simpleType name="SD_SD_AllCounterpartyCollateralRehypothecatedRate_Type">
    <xs:restriction base="xs:decimal">
      <xs:pattern value="-?(0|[1-9][0-9]*)(\.[0-9]+)?((E|e)(\+|-)?[0-9]+)?" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="SD_SD_UnsecuredBorrowingAmount_Type">
    <xs:restriction base="xs:decimal" />
  </xs:simpleType>
  <xs:simpleType name="SD_SD_SecuredBorrowingPrimeBrokerageAmount_Type">
    <xs:restriction base="xs:decimal" />
  </xs:simpleType>
  <xs:simpleType name="SD_SD_SecuredBorrowingReverseRepoAmount_Type">
    <xs:restriction base="xs:decimal" />
  </xs:simpleType>
  <xs:simpleType name="SD_SD_SecuredBorrowingOtherAmount_Type">
    <xs:restriction base="xs:decimal" />
  </xs:simpleType>
  <xs:simpleType name="SD_SD_ExchangedTradedDerivativesExposureValue_Type">
    <xs:restriction base="xs:decimal" />
  </xs:simpleType>
  <xs:simpleType name="SD_SD_OTCDerivativesAmount_Type">
    <xs:restriction base="xs:decimal" />
  </xs:simpleType>
  <xs:simpleType name="SD_SD_ShortPositionBorrowedSecuritiesValue_Type">
    <xs:restriction base="xs:decimal" />
  </xs:simpleType>
  <xs:simpleType name="SD_SD_GrossMethodRate_Type">
    <xs:restriction base="xs:decimal">
      <xs:pattern value="-?(0|[1-9][0-9]*)(\.[0-9]+)?((E|e)(\+|-)?[0-9]+)?" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="SD_SD_CommitmentMethodRate_Type">
    <xs:restriction base="xs:decimal">
      <xs:pattern value="-?(0|[1-9][0-9]*)(\.[0-9]+)?((E|e)(\+|-)?[0-9]+)?" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="CS_ST_EntityName_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="300" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="CS_ST_EntityIdentificationLEI_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="CS_ST_EntityIdentificationBIC_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="11" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="CS_ST_ControlledStructureExposureValue_Type">
    <xs:restriction base="xs:decimal" />
  </xs:simpleType>
  <xs:simpleType name="SP_SC1_BorrowingSourceFlag_Type">
    <xs:restriction base="xs:string" />
  </xs:simpleType>
  <xs:simpleType name="SP_SC1_EntityName_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="300" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="SP_SC1_EntityIdentificationLEI_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="SP_SC1_EntityIdentificationBIC_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="11" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="SP_SC1_LeverageAmount_Type">
    <xs:restriction base="xs:decimal" />
  </xs:simpleType>
  <xs:simpleType name="SP_SC2_BorrowingSourceFlag_Type">
    <xs:restriction base="xs:string" />
  </xs:simpleType>
  <xs:simpleType name="SP_SC2_EntityName_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="300" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="SP_SC2_EntityIdentificationLEI_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="SP_SC2_EntityIdentificationBIC_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="11" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="SP_SC2_LeverageAmount_Type">
    <xs:restriction base="xs:decimal" />
  </xs:simpleType>
  <xs:simpleType name="SP_SC3_BorrowingSourceFlag_Type">
    <xs:restriction base="xs:string" />
  </xs:simpleType>
  <xs:simpleType name="SP_SC3_EntityName_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="300" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="SP_SC3_EntityIdentificationLEI_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="SP_SC3_EntityIdentificationBIC_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="11" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="SP_SC3_LeverageAmount_Type">
    <xs:restriction base="xs:decimal" />
  </xs:simpleType>
  <xs:simpleType name="SP_SC4_BorrowingSourceFlag_Type">
    <xs:restriction base="xs:string" />
  </xs:simpleType>
  <xs:simpleType name="SP_SC4_EntityName_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="300" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="SP_SC4_EntityIdentificationLEI_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="SP_SC4_EntityIdentificationBIC_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="11" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="SP_SC4_LeverageAmount_Type">
    <xs:restriction base="xs:decimal" />
  </xs:simpleType>
  <xs:simpleType name="SP_SC5_BorrowingSourceFlag_Type">
    <xs:restriction base="xs:string" />
  </xs:simpleType>
  <xs:simpleType name="SP_SC5_EntityName_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="300" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="SP_SC5_EntityIdentificationLEI_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="20" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="SP_SC5_EntityIdentificationBIC_Type">
    <xs:restriction base="xs:string">
      <xs:maxLength value="11" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="SP_SC5_LeverageAmount_Type">
    <xs:restriction base="xs:decimal" />
  </xs:simpleType>
  <xs:simpleType name="languageType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="english" />
      <xs:enumeration value="danish" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="versionType">
    <xs:restriction base="xs:decimal">
      <xs:minInclusive value="1" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="submissionTypeType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="test" />
      <xs:enumeration value="normal" />
      <xs:enumeration value="system" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="IAF3">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="1" maxOccurs="1" name="masterdata">
          <xs:complexType>
            <xs:all>
              <xs:element minOccurs="1" maxOccurs="1" name="kontaktpersoner">
                <xs:complexType>
                  <xs:sequence minOccurs="1" maxOccurs="1">
                    <xs:element minOccurs="1" maxOccurs="1" name="person">
                      <xs:complexType>
                        <xs:attribute name="fuldtnavn" type="masterdata_kontaktpersoner_fuldtnavn_Type" use="required" />
                        <xs:attribute name="tlf" type="masterdata_kontaktpersoner_tlf_Type" use="required" />
                        <xs:attribute name="email" type="masterdata_kontaktpersoner_email_Type" use="required" />
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:all>
            <xs:attribute name="idno" type="masterdata_ingenGruppe_idno_Type" use="required" />
            <xs:attribute name="refperio" type="masterdata_ingenGruppe_refperio_Type" use="required" />
            <xs:attribute name="loebenr" type="masterdata_ingenGruppe_loebenr_Type" use="optional" />
            <xs:attribute name="indsamlingstype" type="masterdata_ingenGruppe_indsamling_Type" use="optional" />
            <xs:attribute name="firmanavn" type="masterdata_ingenGruppe_firmanavn_Type" use="optional" />
            <xs:attribute name="gadenavn" type="masterdata_ingenGruppe_gadenavn_Type" use="optional" />
            <xs:attribute name="postnr" type="masterdata_ingenGruppe_postnr_Type" use="optional" />
            <xs:attribute name="boks" type="masterdata_ingenGruppe_boks_Type" use="optional" />
            <xs:attribute name="by" type="masterdata_ingenGruppe_by_Type" use="optional" />
            <xs:attribute name="tlf" type="masterdata_ingenGruppe_tlf_Type" use="optional" />
          </xs:complexType>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="1" name="Contact">
          <xs:complexType>
            <xs:all>
              <xs:element minOccurs="0" maxOccurs="1" name="Contact">
                <xs:complexType>
                  <xs:sequence minOccurs="1">
                    <xs:element name="data">
                      <xs:complexType>
                        <xs:attribute name="Name" type="Contact_Contact_Name_Type" use="required" />
                        <xs:attribute name="Phone" type="Contact_Contact_Phone_Type" use="required" />
                        <xs:attribute name="Email" type="Contact_Contact_Email_Type" use="required" />
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:all>
          </xs:complexType>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="1" name="Metadata">
          <xs:complexType>
            <xs:all>
              <xs:element minOccurs="0" maxOccurs="1" name="Metadata">
                <xs:complexType>
                  <xs:sequence minOccurs="1">
                    <xs:element name="data">
                      <xs:complexType>
                        <xs:attribute name="Currency" type="Metadata_Metadata_Currency_Type" use="optional" />
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:all>
          </xs:complexType>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="1" name="SD">
          <xs:complexType>
            <xs:all>
              <xs:element minOccurs="0" maxOccurs="1" name="SD">
                <xs:complexType>
                  <xs:sequence minOccurs="1">
                    <xs:element name="data">
                      <xs:complexType>
                        <xs:attribute name="AllCounterpartyCollateralRehypothecationFlag" type="SD_SD_AllCounterpartyCollateralRehypothecationFlag_Type" use="optional" />
                        <xs:attribute name="AllCounterpartyCollateralRehypothecatedRate" type="SD_SD_AllCounterpartyCollateralRehypothecatedRate_Type" use="optional" />
                        <xs:attribute name="UnsecuredBorrowingAmount" type="SD_SD_UnsecuredBorrowingAmount_Type" use="optional" />
                        <xs:attribute name="SecuredBorrowingPrimeBrokerageAmount" type="SD_SD_SecuredBorrowingPrimeBrokerageAmount_Type" use="optional" />
                        <xs:attribute name="SecuredBorrowingReverseRepoAmount" type="SD_SD_SecuredBorrowingReverseRepoAmount_Type" use="optional" />
                        <xs:attribute name="SecuredBorrowingOtherAmount" type="SD_SD_SecuredBorrowingOtherAmount_Type" use="optional" />
                        <xs:attribute name="ExchangedTradedDerivativesExposureValue" type="SD_SD_ExchangedTradedDerivativesExposureValue_Type" use="optional" />
                        <xs:attribute name="OTCDerivativesAmount" type="SD_SD_OTCDerivativesAmount_Type" use="optional" />
                        <xs:attribute name="ShortPositionBorrowedSecuritiesValue" type="SD_SD_ShortPositionBorrowedSecuritiesValue_Type" use="optional" />
                        <xs:attribute name="GrossMethodRate" type="SD_SD_GrossMethodRate_Type" use="optional" />
                        <xs:attribute name="CommitmentMethodRate" type="SD_SD_CommitmentMethodRate_Type" use="optional" />
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:all>
          </xs:complexType>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="1" name="CS">
          <xs:complexType>
            <xs:all>
              <xs:element minOccurs="0" maxOccurs="1" name="ST">
                <xs:complexType>
                  <xs:sequence minOccurs="1" maxOccurs="unbounded">
                    <xs:element name="data">
                      <xs:complexType>
                        <xs:attribute name="EntityName" type="CS_ST_EntityName_Type" use="optional" />
                        <xs:attribute name="EntityIdentificationLEI" type="CS_ST_EntityIdentificationLEI_Type" use="optional" />
                        <xs:attribute name="EntityIdentificationBIC" type="CS_ST_EntityIdentificationBIC_Type" use="optional" />
                        <xs:attribute name="ControlledStructureExposureValue" type="CS_ST_ControlledStructureExposureValue_Type" use="optional" />
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:all>
          </xs:complexType>
        </xs:element>
        <xs:element minOccurs="0" maxOccurs="1" name="SP">
          <xs:complexType>
            <xs:all>
              <xs:element minOccurs="0" maxOccurs="1" name="SC1">
                <xs:complexType>
                  <xs:sequence minOccurs="1">
                    <xs:element name="data">
                      <xs:complexType>
                        <xs:attribute name="BorrowingSourceFlag" type="SP_SC1_BorrowingSourceFlag_Type" use="optional" />
                        <xs:attribute name="EntityName" type="SP_SC1_EntityName_Type" use="optional" />
                        <xs:attribute name="EntityIdentificationLEI" type="SP_SC1_EntityIdentificationLEI_Type" use="optional" />
                        <xs:attribute name="EntityIdentificationBIC" type="SP_SC1_EntityIdentificationBIC_Type" use="optional" />
                        <xs:attribute name="LeverageAmount" type="SP_SC1_LeverageAmount_Type" use="optional" />
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element minOccurs="0" maxOccurs="1" name="SC2">
                <xs:complexType>
                  <xs:sequence minOccurs="1">
                    <xs:element name="data">
                      <xs:complexType>
                        <xs:attribute name="BorrowingSourceFlag" type="SP_SC2_BorrowingSourceFlag_Type" use="optional" />
                        <xs:attribute name="EntityName" type="SP_SC2_EntityName_Type" use="optional" />
                        <xs:attribute name="EntityIdentificationLEI" type="SP_SC2_EntityIdentificationLEI_Type" use="optional" />
                        <xs:attribute name="EntityIdentificationBIC" type="SP_SC2_EntityIdentificationBIC_Type" use="optional" />
                        <xs:attribute name="LeverageAmount" type="SP_SC2_LeverageAmount_Type" use="optional" />
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element minOccurs="0" maxOccurs="1" name="SC3">
                <xs:complexType>
                  <xs:sequence minOccurs="1">
                    <xs:element name="data">
                      <xs:complexType>
                        <xs:attribute name="BorrowingSourceFlag" type="SP_SC3_BorrowingSourceFlag_Type" use="optional" />
                        <xs:attribute name="EntityName" type="SP_SC3_EntityName_Type" use="optional" />
                        <xs:attribute name="EntityIdentificationLEI" type="SP_SC3_EntityIdentificationLEI_Type" use="optional" />
                        <xs:attribute name="EntityIdentificationBIC" type="SP_SC3_EntityIdentificationBIC_Type" use="optional" />
                        <xs:attribute name="LeverageAmount" type="SP_SC3_LeverageAmount_Type" use="optional" />
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element minOccurs="0" maxOccurs="1" name="SC4">
                <xs:complexType>
                  <xs:sequence minOccurs="1">
                    <xs:element name="data">
                      <xs:complexType>
                        <xs:attribute name="BorrowingSourceFlag" type="SP_SC4_BorrowingSourceFlag_Type" use="optional" />
                        <xs:attribute name="EntityName" type="SP_SC4_EntityName_Type" use="optional" />
                        <xs:attribute name="EntityIdentificationLEI" type="SP_SC4_EntityIdentificationLEI_Type" use="optional" />
                        <xs:attribute name="EntityIdentificationBIC" type="SP_SC4_EntityIdentificationBIC_Type" use="optional" />
                        <xs:attribute name="LeverageAmount" type="SP_SC4_LeverageAmount_Type" use="optional" />
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element minOccurs="0" maxOccurs="1" name="SC5">
                <xs:complexType>
                  <xs:sequence minOccurs="1">
                    <xs:element name="data">
                      <xs:complexType>
                        <xs:attribute name="BorrowingSourceFlag" type="SP_SC5_BorrowingSourceFlag_Type" use="optional" />
                        <xs:attribute name="EntityName" type="SP_SC5_EntityName_Type" use="optional" />
                        <xs:attribute name="EntityIdentificationLEI" type="SP_SC5_EntityIdentificationLEI_Type" use="optional" />
                        <xs:attribute name="EntityIdentificationBIC" type="SP_SC5_EntityIdentificationBIC_Type" use="optional" />
                        <xs:attribute name="LeverageAmount" type="SP_SC5_LeverageAmount_Type" use="optional" />
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:all>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
      <xs:attribute name="language" type="languageType" use="optional" />
      <xs:attribute name="version" type="versionType" use="optional" />
      <xs:attribute name="submissionType" type="submissionTypeType" use="optional" />
    </xs:complexType>
  </xs:element>
</xs:schema>