﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns="http://bof.fi/AC" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://bof.fi/AC" elementFormDefault="qualified" version="1.18">
  <xs:include schemaLocation="AC_CommonDataTypes1.18.xsd"/>
  <xs:include schemaLocation="AC_Codelists1.18.xsd"/>
  <xs:complexType name="CounterpartyReferenceRecordType">
    <xs:annotation>
      <xs:documentation xml:lang="en">
        Counterparty related information
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="LEI" type="LEIType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">
            A legal entity identifier of the counterparty assigned in accordance with the International Organization for Standardization’s (ISO) 17442 standard. A code consisting of alphabetical and numerical symbols.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ENTTY_ID_TYP" type="CL_ENTTY_ID_TYP_AC" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Identifier Type</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DSCRPTN_OTHR_ID" type="String255Type" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Description of Other identifier type</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ENTTY_NTNL_ID" type="RIADIdentifierType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">
            National identifier. A commonly used identification code which enables the unambiguous identification of a counterparty or of the legal entity of which the counterparty forms part within its country of residency. For a counterparty which is a foreign branch, the national identifier refers to the foreign branch. For a counterparty which is not a foreign branch, the national identifier refers to the legal entity of which the counterparty forms part. A code consisting of alphabetical and numerical symbols.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="INTRNTNL_ORGNSTN" type="CL_INTRNTNL_ORGNSTN_AC" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">
            International organisation identifier. To be reported if the counterparty is an "International organisation" and the organisation can be found from the list.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RIAD" type="RIADIdentifierType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">
            RIAD code
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="HD_OFFC_UNDRT_ID" type="IdentifierType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">
            Head office undertaking identifier. Counterparty identifier for the legal entity of whichthe foreign branch is a legally dependent part. This information is only to be reported for counterparties that are foreign branches. A code consisting of alphabetical and numerical symbols.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="IMMDT_PRNT_UNDRT_ID" type="IdentifierType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">
            Immediate parent undertaking identifier. Counterparty identifier for the legal entity which is the immediate parent undertaking of the counterparty. If the counterparty has no parent undertaking, the counterparty identifier for the counterparty itself is to be reported. Parent undertaking has the same meaning as defined in Article 4(1)(15)(a) of Regulation (EU) No 575/2013. A code consisting of alphabetical and numerical symbols.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ULTMT_PRNT_UNDRT_ID" type="IdentifierType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">
            Ultimate parent undertaking identifier. Counterparty identifier for the legal entity which is the ultimate parent undertaking of the counterparty. This ultimate parent undertaking has no parent undertaking. If the counterparty has no parent undertaking, the counterparty identifier for the counterparty itself is to be reported. Parent undertaking has the same meaning as defined in Article 4(1)(15)(a) of Regulation (EU) No 575/2013. A code consisting of alphabetical and numerical symbols.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NM_ENTTY" type="String255Type" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">
            Full legal name of the counterparty. A finite sequence of characters.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Address" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="STRT" type="String255Type" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Street</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="CTY" type="String255Type" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">City/town/village</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="PSTL_CD" type="String255Type" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Postal code</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="CNTRY" type="CL_ISO3166_CNTRY_AC" minOccurs="0">
              <xs:annotation>
                <xs:documentation xml:lang="en">Country</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="LGL_FRM" type="CL_LGL_FRM_AC" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Legal form</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="INSTTTNL_SCTR" type="CL_INSTTTNL_SCTR_AC" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Institutional sector</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ECNMC_ACTVTY" type="CL_NACE_ECNMC_ACTVTY_AC" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Economic activity</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="LGL_PRCDNG_STTS" type="CL_LGL_PRCDNG_STTS_AC" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Status of legal proceedings</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DT_INTTN_LGL_PRCDNGS" type="xs:date" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">
            Date of initiation of legal proceeding. The date on which the legal proceedings, as reported under the attribute 'status of legal proceedings', were initiated. This date should be the most recent relevant date prior to the reporting date and should only be reported if the data attribute 'Status of legal proceedings' has a value other than 'No legal actions taken'.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ENTRPRS_SZ" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Enterprise size</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="CL_ENTRPRS_SZ_AC">
              <xs:attribute name="DT_ENTRPRS_SZ" type="xs:date">
                <xs:annotation>
                  <xs:documentation xml:lang="en">
                    Date of enterprise size. The date to which the value provided in the 'enterprise size' refers. This is the date of the latest data used to classify or review the classification of the enterprise.
                  </xs:documentation>
                </xs:annotation>
              </xs:attribute>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
      <xs:element name="NMBR_EMPLYS" type="Int9NonNegativeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">
            Number of employees. Number of employees working for the counterparty, in accordance with Article 5 of the Annex to Recommendation 2003/361/EC. Non-negative number.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="BLNC_SHT_TTL" type="Decimal20M2NonNegativeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">
            Balance sheet total. Carrying value of the counterparty's total assets in accordance with Regulation (EU) No 549/2013. Amount in euro. Foreign currency amounts should be converted into euro at the respective ECB euro foreign exchange reference rates (i.e. the mid-rate) on the reporting reference date.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ANNL_TRNVR" type="Decimal20M2NonNegativeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">
            Annual turnover. Annual sales volume net of all discounts and sales taxes of the counterparty in accordance with Recommendation 2003/361/EC. Equivalent to the concept of 'total annual sales' in Article 153(4) of Regulation (EU) No 575/2013. Amount in euro. Foreign currency amounts should be converted into euro at the respective ECB euro foreign exchange reference rates (i.e. the mid-rate) on the reporting reference date.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ACCNTNG_FRMWRK_SL" type="CL_ACCNTNG_FRMWRK_SL_AC" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="en">Accounting standard</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="Action" type="CL_ACTN_TYP_AC" use="required"/>
    <xs:attribute name="CNTRPRTY_ID" type="IdentifierType" use="required">
      <xs:annotation>
        <xs:documentation xml:lang="en">
          Counterparty identifier. An identifier applied by the reporting agent to uniquely identify each counterparty. Each counterparty must have one counterparty identifier. This value will not change over time and cannot be used as the counterparty identifier for any other counterparty. A code consisting of alphabetical and numerical symbols.
        </xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:schema>
