auth.047.001.01
The FinancialInstrumentReportingCountryCodeReport message provides the details of the two character country codes and is created by ESMA for distribution to national competent authorities.
Message Construction
Every ISO20022 message has at the highest level what we call ‘building blocks’. Because the message is constructed as immutable records, the association is by composition. Below you can see the relationship between the message and its constituent building blocks: For comparison, see the ISO20022 official specification
classDiagram direction LR %% FinancialInstrumentReportingCountryCodeReportV01 recursion level 0 with max 0 FinancialInstrumentReportingCountryCodeReportV01 *-- "1..1" SecuritiesCountryIdentification2 : CountryData FinancialInstrumentReportingCountryCodeReportV01 *-- "0..1" SupplementaryData1 : SupplementaryData
Now, we will zero-in one-by-one on each of these building blocks.
CountryData building block
Report detailing all countries and their 2 character ISO 3166 code. Details an individual country including its name and country code. For comparison, see the ISO20022 official specification
classDiagram direction tb %% SecuritiesCountryIdentification2 recursion level 0 with max 1 class SecuritiesCountryIdentification2{ EEACountry IsoTrueFalseIndicator Modification Modification1Code LastUpdated IsoISODate } SecuritiesCountryIdentification2 *-- "1..1" CountryCodeAndName3 : Country SecuritiesCountryIdentification2 *-- "1..1" IPeriod4Choice : ValidityPeriod %% CountryCodeAndName3 recursion level 1 with max 1 class CountryCodeAndName3{ Code CountryCode Name IsoMax70Text } %% IPeriod4Choice recursion level 1 with max 1
SecuritiesCountryIdentification2 members
Member name | Description | Data Type / Multiplicity |
---|---|---|
Country | Two character country code and country name as per ISO 3166. | CountryCodeAndName3 - Required 1..1 |
EEACountry | Flag which reflects if the country is a member of the EEA (European Economic Area) or not. | IsoTrueFalseIndicator - Required 1..1 |
Modification | Modification status for the record compared to the previous report. | Modification1Code - Optional 0..1 |
ValidityPeriod | Details the validity of the specific record. | IPeriod4Choice - Required 1..1 |
LastUpdated | Date when this record was last modified. | IsoISODate - Optional 0..1 |
SupplementaryData building block
Additional information that can not be captured in the structured fields and/or any other specific block. Additional information that can not be captured in the structured fields and/or any other specific block. For comparison, see the ISO20022 official specification
classDiagram direction tb %% SupplementaryData1 recursion level 0 with max 1 class SupplementaryData1{ PlaceAndName IsoMax350Text } SupplementaryData1 *-- "1..1" IsoSupplementaryDataEnvelope1 : Envelope %% IsoSupplementaryDataEnvelope1 recursion level 1 with max 1
SupplementaryData1 members
Member name | Description | Data Type / Multiplicity |
---|---|---|
PlaceAndName | Unambiguous reference to the location where the supplementary data must be inserted in the message instance. In the case of XML, this is expressed by a valid XPath. | IsoMax350Text - Optional 0..1 |
Envelope | Technical element wrapping the supplementary data. | IsoSupplementaryDataEnvelope1 - Required 1..1 |
Extensibility and generalization considerations
To facilitate generalized design patterns in the system, the FinancialInstrumentReportingCountryCodeReportV01 implementation follows a specific implementaiton pattern. First of all, FinancialInstrumentReportingCountryCodeReportV01 impleemnts IOuterRecord indicating it is the outermost logical part of the message definition. Like all message wrappers, FinancialInstrumentReportingCountryCodeReportV01Document implements IOuterDocument. Because FinancialInstrumentReportingCountryCodeReportV01 implements IOuterDocument, it is a suitable template parameter for IOuterDocument, and causes the internal ‘Message’ to be of type FinancialInstrumentReportingCountryCodeReportV01.
classDiagram class IOuterRecord FinancialInstrumentReportingCountryCodeReportV01 --|> IOuterRecord : Implements FinancialInstrumentReportingCountryCodeReportV01Document --|> IOuterDocument~FinancialInstrumentReportingCountryCodeReportV01~ : Implements class IOuterDocument~FinancialInstrumentReportingCountryCodeReportV01~ { FinancialInstrumentReportingCountryCodeReportV01 Message }
Document wrapper for serialization
The only real purpose FinancialInstrumentReportingCountryCodeReportV01Document serves is to cause the document to be serialized into the ‘urn:iso:std:iso:20022:tech:xsd:auth.047.001.01’ namespace. Therefore, it will probably be the usual practice to build the message and construct this wrapper at the last minute using FinancialInstrumentReportingCountryCodeReportV01.ToDocument() method. The returned FinancialInstrumentReportingCountryCodeReportV01Document value will serialize correctly according to ISO 20022 standards.
classDiagram FinancialInstrumentReportingCountryCodeReportV01Document *-- FinancialInstrumentReportingCountryCodeReportV01 : Document
Sample of message format
This is an abbreviated version of what the message should look like.
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:auth.047.001.01">
<FinInstrmRptgCtryCdRpt>
<CtryData>
<!-- CountryData inner content -->
</CtryData>
<SplmtryData>
<!-- SupplementaryData inner content -->
</SplmtryData>
</FinInstrmRptgCtryCdRpt>
</Document>
Data from ISO specification
This is the technical data from the specification document.
<messageDefinition
xmi:id="_4LK8MURNEee7JdgA9zPESA"
name="FinancialInstrumentReportingCountryCodeReportV01"
definition="The FinancialInstrumentReportingCountryCodeReport message provides the details of the two character country codes and is created by ESMA for distribution to national competent authorities."
registrationStatus="Registered"
messageSet="_m18yAApTEeeand7dul6qJQ"
xmlTag="FinInstrmRptgCtryCdRpt"
rootElement="Document"
xmlns:xmi="http://www.omg.org/XMI">
<messageBuildingBlock
xmi:id="_4LK8M0RNEee7JdgA9zPESA"
name="CountryData"
definition="Report detailing all countries and their 2 character ISO 3166 code."
registrationStatus="Provisionally Registered"
minOccurs="1"
xmlTag="CtryData"
complexType="_lv3_EYAMEeaYeOsLN4966A" />
<messageBuildingBlock
xmi:id="_4LK8NURNEee7JdgA9zPESA"
name="SupplementaryData"
definition="Additional information that can not be captured in the structured fields and/or any other specific block."
registrationStatus="Provisionally Registered"
minOccurs="0"
xmlTag="SplmtryData"
complexType="_Qn0zC9p-Ed-ak6NoX_4Aeg_468227563" />
<messageDefinitionIdentifier
businessArea="auth"
messageFunctionality="047"
flavour="001"
version="01" />
</messageDefinition>
ISO Building Blocks
The following items are used as building blocks to construct this message.