﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns="http://bof.fi/AC" xmlns:acdb="http://bof.fi/AC" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://bof.fi/AC" elementFormDefault="qualified" version="1.16">
  <xs:include schemaLocation="AC_CommonDataTypes1.16.xsd"/>
  <xs:include schemaLocation="AC_Codelists1.16.xsd"/>
  <xs:complexType name="MonthlyObservedAgentRecordType">
    <xs:sequence>
      <xs:element name="InstrumentInformationRecords" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="InstrumentInformationRecord" type="InstrumentInformationRecordType" minOccurs="0" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
        <xs:key name="InstrumentInformationKey">
          <xs:selector xpath="acdb:InstrumentInformationRecord"/>
          <xs:field xpath="@CNTRCT_ID"/>
          <xs:field xpath="@INSTRMNT_ID"/>
        </xs:key>
      </xs:element>
      <xs:element name="CounterpartyInstrumentRecords" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="CounterpartyInstrumentRecord" type="CounterpartyInstrumentRecordType" minOccurs="0" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
        <xs:key name="CounterpartyInstrumentKey">
          <xs:selector xpath="acdb:CounterpartyInstrumentRecord"/>
          <xs:field xpath="@CNTRCT_ID"/>
          <xs:field xpath="@INSTRMNT_ID"/>
          <xs:field xpath="@CNTRPRTY_ID"/>
          <xs:field xpath="@ENTTY_RL"/>
        </xs:key>
      </xs:element>
      <xs:element name="ProtectionRecords" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ProtectionRecord" type="ProtectionRecordType" minOccurs="0" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
        <xs:key name="ProtectionRecordKey">
          <xs:selector xpath="acdb:ProtectionRecord"/>
          <xs:field xpath="@PRTCTN_ID"/>
        </xs:key>
      </xs:element>
      <xs:element name="InstrumentProtectionRecords" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="InstrumentProtectionRecord" type="InstrumentProtectionRecordType" minOccurs="0" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
        <xs:key name="InstrumentProtectionRecordKey">
          <xs:selector xpath="acdb:InstrumentProtectionRecord"/>
          <xs:field xpath="@CNTRCT_ID"/>
          <xs:field xpath="@INSTRMNT_ID"/>
          <xs:field xpath="@PRTCTN_ID"/>
        </xs:key>
      </xs:element>
      <xs:element name="ProtectionProviderRecords" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ProtectionProviderRecord" type="ProtectionProviderRecordType" minOccurs="0" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
        <xs:key name="ProtectionProviderRecordKey">
          <xs:selector xpath="acdb:ProtectionProviderRecord"/>
          <xs:field xpath="@PRTCTN_ID"/>
          <xs:field xpath="@CNTRPRTY_ID"/>
        </xs:key>
      </xs:element>
      <xs:element name="CounterpartyRiskAndDefaultRecords" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="CounterpartyRiskAndDefaultRecord" type="CounterpartyRiskAndDefaultRecordType" minOccurs="0" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
        <xs:key name="CounterpartyRiskAndDefaultRecordKey">
          <xs:selector xpath="acdb:CounterpartyRiskAndDefaultRecord"/>
          <xs:field xpath="@CNTRPRTY_ID"/>
        </xs:key>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="OBSRVD_AGNT_ID" type="IdentifierType" use="required">
      <xs:annotation>
        <xs:documentation xml:lang="en">Observed agent identifier (counterparty identifier for the observed agent)</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="QuarterlyObservedAgentRecordType">
    <xs:sequence>
      <xs:element name="AccountingRecords" minOccurs="0" maxOccurs="1">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="AccountingRecord" type="AccountingRecordType" minOccurs="1" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
        <xs:key name="AccountingRecordKey">
          <xs:selector xpath="acdb:AccountingRecord"/>
          <xs:field xpath="@CNTRCT_ID"/>
          <xs:field xpath="@INSTRMNT_ID"/>
        </xs:key>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="OBSRVD_AGNT_ID" type="IdentifierType" use="required">
      <xs:annotation>
        <xs:documentation xml:lang="en">Observed agent identifier (counterparty identifier for the observed agent)</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
  <xs:complexType name="CounterpartyInstrumentRecordType">
    <xs:sequence>
      <xs:element name="JNT_LBLTY_AMNT" type="Decimal20M2NonNegativeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Joint liability</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="CNTRCT_ID" type="IdentifierType" use="required">
      <xs:annotation>
        <xs:documentation xml:lang="en">Contract identifier</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="INSTRMNT_ID" type="IdentifierType" use="required">
      <xs:annotation>
        <xs:documentation xml:lang="en">Instrument identifier</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="CNTRPRTY_ID" type="IdentifierType" use="required">
      <xs:annotation>
        <xs:documentation xml:lang="en">Counterparty identifier</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ENTTY_RL" type="CL_ENTTY_RL_AC" use="required">
      <xs:annotation>
        <xs:documentation xml:lang="en">&gt;Counterparty role</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Action" type="CL_ACTN_TYP_AC" use="required"/>
  </xs:complexType>
  <xs:complexType name="InstrumentInformationRecordType">
    <xs:sequence>
      <xs:element name="CRDT_STTS" type="CL_CRDT_STTS_AC" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Credit status</xs:documentation>
        </xs:annotation>
      </xs:element>      
      <xs:element name="CommonInformation" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="TYP_INSTRMNT" type="CL_TYP_INSTRMNT_AC" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Type of instrument</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="RVLVNG_CRDT" type="CL_RVLVNG_CRDT_AC" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Revolving credit</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="CRDT_LNS_OTH_RVLVNG_CRDT" type="CL_CRDT_LNS_OTH_RVLVNG_CRDT_AC" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Credit lines other than revolving credit</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="PRPS" type="CL_PRPS_AC" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Purpose</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="TYP_AMRTSTN" type="CL_TYP_AMRTSTN_AC" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Amortisation type</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="PYMNT_FRQNCY" type="CL_FRQNCY_PYMNT_AC" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Payment frequency</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="OtherCommonInformation" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="SYNDCTD_CNTRCT_TF" type="CL_SYNDCTD_CNTRCT_TF_AC" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Syndicated loan</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="SYNDCTD_CNTRCT_ID" type="IdentifierType" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Syndicated contract identifier</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="FDCRY" type="CL_FDCRY_AC" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Fiduciary instrument</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="PRJCT_FNNC_LN" type="CL_PRJCT_FNNC_LN_AC" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Project finance loan</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="SBRDNTD_DBT" type="CL_SBRDNTD_DBT_AC" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Subordinated debt</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="RPYMNT_RGHTS" type="CL_RPYMNT_RGHTS_AC" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Repayment rights</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="RCRS" type="CL_RCRS_AC" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Recourse</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="DateInformation" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="DT_INCPTN" type="xs:date" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Inception date</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="DT_STTLMNT" type="xs:date" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Settlement date</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="DT_LGL_FNL_MTRTY" type="xs:date" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Legal final maturity date</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="InterestInformation" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="TYP_INTRST_RT" type="CL_TYP_INTRST_RT_AC" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Interest rate type</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="DT_END_INTRST_ONLY" type="xs:date" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">End date of interest-only period</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="DT_NXT_INTRST_RT_RST" type="xs:date" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Next interest rate reset date</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="INTRST_RT_RST_FRQNCY" type="CL_FRQNCY_INTRST_RT_RST_AC" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Interest rate reset frequency</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="INTRST_RT_CP" type="DecimalM6Type" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Interest rate cap</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="INTRST_RT_FLR" type="DecimalM6Type" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Interest rate floor</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="RFRNC_RT_V" type="CL_RFRNC_RT_V_AC" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Reference rate value</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="RFRNC_RT_M" type="CL_RFRNC_RT_M_AC" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Reference rate maturity</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="INTRST_RT_SPRD" type="DecimalM6Type" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Interest rate spread/margin</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="ANNLSD_AGRD_RT" type="DecimalM6Type" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Interest rate</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="AmountInformation" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ACCRD_INTRST" type="DecimalM2Type" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Accrued interest</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="CRRNCY_DNMNTN" type="CL_ISO4217_CRRNCY_AC" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Currency</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="CMMTMNT_INCPTN" type="Decimal20M2NonNegativeType" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Commitment amount at inception</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="OTSTNDNG_NMNL_AMNT" type="Decimal20M2NonNegativeType" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Outstanding nominal amount</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="OFF_BLNC_SHT_AMNT" type="Decimal20M2NonNegativeType" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Off-balance sheet amount</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="DefaultInformation" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="DFLT_STTS" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Default status of the instrument</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:simpleContent>
                  <xs:extension base="CL_CRDT_QLTY_DFLT_STTS_AC">
                    <xs:attribute name="DT_DFLT_STTS" type="xs:date" use="required">
                      <xs:annotation>
                        <xs:documentation xml:lang="en">Date of the default status of the instrument</xs:documentation>
                      </xs:annotation>
                    </xs:attribute>
                  </xs:extension>
                </xs:simpleContent>
              </xs:complexType>
            </xs:element>
            <xs:element name="ARRRS" type="Decimal20M2NonNegativeType" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Arrears for the instrument</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="DT_PST_D" type="xs:date" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Date of past due for the instrument</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="OtherInformation" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="TRNSFRRD_AMNT" type="Decimal20M2NonNegativeType" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Transferred amount</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="TYP_SCRTSTN" type="CL_TYP_TRNSFR_AC" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Type of securitisation</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="FV_CHNG_CR_BFR_PRCHS" type="Decimal20M2NonNegativeType" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Fair value changes due to changes in credit risk before purchase</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="CNTRCT_ID" type="IdentifierType" use="required">
      <xs:annotation>
        <xs:documentation xml:lang="en">Contract identifier</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="INSTRMNT_ID" type="IdentifierType" use="required">
      <xs:annotation>
        <xs:documentation xml:lang="en">Instrument identifier</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Action" type="CL_ACTN_TYP_AC" use="required"/>
  </xs:complexType>
  <xs:complexType name="AccountingRecordType">
    <xs:sequence>
      <xs:element name="ACCNTNG_CLSSFCTN" type="CL_ACCNTNG_CLSSFCTN_AC" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Accounting classification of instruments</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RCGNTN_STTS" type="CL_RCGNTN_STTS_AC" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Balance sheet recognition</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ACCMLTD_WRTFFS" type="Decimal20M2NonNegativeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Accumulated write-offs</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ACCMLTD_IMPRMNT" type="Decimal20M2NonNegativeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Accumulated impairment amount</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IMPRMNT_STTS" type="CL_CRDT_QLTY_IMPRMNT_STTS_AC" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Type of impairment</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IMPRMNT_ASSSSMNT_MTHD" type="CL_IMPRMNT_ASSSSMNT_MTHD_AC" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Impairment assessment method</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SRC_ENCMBRNC" type="CL_SRC_ENCMBRNC_AC" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Sources of encumbrance</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ACCMLTD_CHNGS_FV_CR" type="Decimal20M2NonNegativeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Accumulated changes in fair value due to credit risk</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PRFRMNG_STTS" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Performing status of the instrument</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="CL_CRDT_QLTY_PRFRMNG_STTS_AC">
              <xs:attribute name="DT_PRFRMNG_STTS" type="xs:date" use="required">
                <xs:annotation>
                  <xs:documentation xml:lang="en">Date of performing status of the instrument</xs:documentation>
                </xs:annotation>
              </xs:attribute>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
      <xs:element name="PRVSNS_OFF_BLNC_SHT" type="Decimal20M2NonNegativeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Provisions associated to off-balance sheet exposures</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="FRBRNC_STTS" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Status of forbearance and renegotiation</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="CL_FRBRNC_STTS_AC">
              <xs:attribute name="DT_FRBRNC_STTS" type="xs:date" use="required">
                <xs:annotation>
                  <xs:documentation xml:lang="en">Date of forbearance and renegotiation status</xs:documentation>
                </xs:annotation>
              </xs:attribute>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
      <xs:element name="CMLTV_RCVRS_SNC_DFLT" type="Decimal20M2NonNegativeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Cumulative recoveries since default</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PRDNTL_PRTFL" type="CL_PRDNTL_PRTFL_AC" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Prudential portfolio</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CRRYNG_AMNT" type="DecimalM2Type" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Carrying amount</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="CNTRCT_ID" type="IdentifierType" use="required">
      <xs:annotation>
        <xs:documentation xml:lang="en">Contract identifier </xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="INSTRMNT_ID" type="IdentifierType" use="required">
      <xs:annotation>
        <xs:documentation xml:lang="en">Instrument identifier</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Action" type="CL_ACTN_TYP_AC" use="required"/>
  </xs:complexType>
  <xs:complexType name="InstrumentProtectionRecordType">
    <xs:sequence>
      <xs:element name="PRTCTN_ALLCTD_VL" type="Decimal20M2NonNegativeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Protection allocated value </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="THRD_PRTY_PRRTY_CLMS" type="Decimal20M2NonNegativeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Third party priority claims against the protection</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="GNRL_CLLTRL" type="CL_GNRL_CLLTRL_AC" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">General collateral</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="CNTRCT_ID" type="IdentifierType" use="required">
      <xs:annotation>
        <xs:documentation xml:lang="en">Contract identifier</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="INSTRMNT_ID" type="IdentifierType" use="required">
      <xs:annotation>
        <xs:documentation xml:lang="en">Instrument identifier</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="PRTCTN_ID" type="IdentifierType" use="required">
      <xs:annotation>
        <xs:documentation xml:lang="en">Protection identifier</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Action" type="CL_ACTN_TYP_AC" use="required"/>
  </xs:complexType>
  <xs:complexType name="ProtectionProviderRecordType">
    <xs:sequence>
      <xs:element name="PRTCTN_PRVDR_TYP" type="CL_PRTCTN_PRVDR_TYP_AC" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Protection provider type</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="PRTCTN_ID" type="IdentifierType" use="required">
      <xs:annotation>
        <xs:documentation xml:lang="en">Protection identifier</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="CNTRPRTY_ID" type="IdentifierType" use="required">
      <xs:annotation>
        <xs:documentation xml:lang="en">Counterparty identifier (i.e. protection provider identifier)</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Action" type="CL_ACTN_TYP_AC" use="required"/>
  </xs:complexType>
  <xs:complexType name="ProtectionRecordType">
    <xs:sequence>
      <xs:element name="TYP_PRTCTN" type="CL_TYP_PRTCTN_AC" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Type of protection</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DT_MTRTY_PRTCTN" type="xs:date" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Maturity date of the protection</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PRTCTN_VL" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Protection value</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="Decimal20M2NonNegativeType">
              <xs:attribute name="DT_PRTCTN_VL" type="xs:date" use="required">
                <xs:annotation>
                  <xs:documentation xml:lang="en">Date of protection value</xs:documentation>
                </xs:annotation>
              </xs:attribute>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
      <xs:element name="TYP_PRTCTN_VL" type="CL_TYP_PRTCTN_VL_AC" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Type of protection value</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PRTCTN_VLTN_APPRCH" type="CL_PRTCTN_VLTN_APPRCH_AC" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Protection valuation approach</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ORGNL_PRTCTN_VL" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Original protection value</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="Decimal20M2NonNegativeType">
              <xs:attribute name="DT_ORGNL_PRTCTN_VL" type="xs:date" use="required">
                <xs:annotation>
                  <xs:documentation xml:lang="en">Date of original protection value</xs:documentation>
                </xs:annotation>
              </xs:attribute>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
      <xs:element name="RL_ESTT_CLLTRL_LCTN" type="CL_NUTS3_LCTN_AC" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Real estate collateral location</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CNTRY" type="CL_ISO3166_CNTRY_AC" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Real estate collateral country</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RE_PSTL_CD" type="String255Type" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Real estate collateral postal code</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RE_CTY" type="String255Type" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Real estate collateral city</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="PRTCTN_ID" type="IdentifierType" use="required">
      <xs:annotation>
        <xs:documentation xml:lang="en">Protection identifier</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Action" type="CL_ACTN_TYP_AC" use="required"/>
  </xs:complexType>
  <xs:complexType name="CounterpartyRiskAndDefaultRecordType">
    <xs:sequence>
      <xs:element name="PD" type="ProbabilityType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Probability of default</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DFLT_STTS" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Default status of the counterparty </xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="CL_CRDT_QLTY_DFLT_STTS_AC">
              <xs:attribute name="DT_DFLT_STTS" type="xs:date" use="optional">
                <xs:annotation>
                  <xs:documentation xml:lang="en">Date of the default status of the counterparty </xs:documentation>
                </xs:annotation>
              </xs:attribute>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="CNTRPRTY_ID" type="IdentifierType" use="required">
      <xs:annotation>
        <xs:documentation xml:lang="en">Counterparty identifier</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Action" type="CL_ACTN_TYP_AC" use="required"/>
  </xs:complexType>
</xs:schema>
