RoleAndBaselineAcceptanceV01

tsmt.049.001.01

Scope The RoleAndBaselineAcceptance message is sent by a secondary bank to the matching application if it accepts to join the transaction based on the baseline and the role that it is expected to play. Usage The RoleAndBaselineAcceptance message is sent in response to a message that is a direct request to join a transaction.

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
%% RoleAndBaselineAcceptanceV01 recursion level 0 with max 0
RoleAndBaselineAcceptanceV01 *-- "1..1" MessageIdentification1 : AcceptanceIdentification
RoleAndBaselineAcceptanceV01 *-- "1..1" MessageIdentification1 : RelatedMessageReference
RoleAndBaselineAcceptanceV01 *-- "1..1" SimpleIdentificationInformation : TransactionIdentification
  

Now, we will zero-in one-by-one on each of these building blocks.

AcceptanceIdentification building block

Identifies the acceptance message. Identifies a message by a unique identifier and the date and time when the message was created by the sender. For comparison, see the ISO20022 official specification

classDiagram
   direction tb
%% MessageIdentification1 recursion level 0 with max 1
class MessageIdentification1{
    Identification IsoMax35Text
    CreationDateTime IsoISODateTime
}
  

MessageIdentification1 members

Member name Description Data Type / Multiplicity
Identification Identification of the message. IsoMax35Text - Required 1..1
CreationDateTime Date of creation of the message. IsoISODateTime - Required 1..1

RelatedMessageReference building block

Reference to the message that contained the baseline and is accepted. Identifies a message by a unique identifier and the date and time when the message was created by the sender. For comparison, see the ISO20022 official specification

classDiagram
   direction tb
%% MessageIdentification1 recursion level 0 with max 1
class MessageIdentification1{
    Identification IsoMax35Text
    CreationDateTime IsoISODateTime
}
  

MessageIdentification1 members

Member name Description Data Type / Multiplicity
Identification Identification of the message. IsoMax35Text - Required 1..1
CreationDateTime Date of creation of the message. IsoISODateTime - Required 1..1

TransactionIdentification building block

Unique identification assigned by the matching application to the transaction. This identification is to be used in any communication between the parties. . Information related to an identification, eg, party identification or account identification. For comparison, see the ISO20022 official specification

classDiagram
   direction tb
%% SimpleIdentificationInformation recursion level 0 with max 1
class SimpleIdentificationInformation{
    Identification IsoMax35Text
}
  

SimpleIdentificationInformation members

Member name Description Data Type / Multiplicity
Identification Name or number assigned by an entity to enable recognition of that entity, eg, account identifier. IsoMax35Text - Required 1..1

Extensibility and generalization considerations

To facilitate generalized design patterns in the system, the RoleAndBaselineAcceptanceV01 implementation follows a specific implementaiton pattern. First of all, RoleAndBaselineAcceptanceV01 impleemnts IOuterRecord indicating it is the outermost logical part of the message definition. Like all message wrappers, RoleAndBaselineAcceptanceV01Document implements IOuterDocument. Because RoleAndBaselineAcceptanceV01 implements IOuterDocument, it is a suitable template parameter for IOuterDocument, and causes the internal ‘Message’ to be of type RoleAndBaselineAcceptanceV01.

classDiagram
    class IOuterRecord
    RoleAndBaselineAcceptanceV01 --|> IOuterRecord : Implements
    RoleAndBaselineAcceptanceV01Document --|> IOuterDocument~RoleAndBaselineAcceptanceV01~ : Implements
    class IOuterDocument~RoleAndBaselineAcceptanceV01~ {
        RoleAndBaselineAcceptanceV01 Message
     }
  

Document wrapper for serialization

The only real purpose RoleAndBaselineAcceptanceV01Document serves is to cause the document to be serialized into the ‘urn:iso:std:iso:20022:tech:xsd:tsmt.049.001.01’ namespace. Therefore, it will probably be the usual practice to build the message and construct this wrapper at the last minute using RoleAndBaselineAcceptanceV01.ToDocument() method. The returned RoleAndBaselineAcceptanceV01Document value will serialize correctly according to ISO 20022 standards.

classDiagram
    RoleAndBaselineAcceptanceV01Document *-- RoleAndBaselineAcceptanceV01 : 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:tsmt.049.001.01">
    <RoleAndBaselnAccptnc>
        <AccptncId>
            <!-- AcceptanceIdentification inner content -->
        </AccptncId>
        <RltdMsgRef>
            <!-- RelatedMessageReference inner content -->
        </RltdMsgRef>
        <TxId>
            <!-- TransactionIdentification inner content -->
        </TxId>
    </RoleAndBaselnAccptnc>
</Document>

Data from ISO specification

This is the technical data from the specification document.

<messageDefinition
  xmi:id="_tSUHeNE8Ed-BzquC8wXy7w_1282098535"
  name="RoleAndBaselineAcceptanceV01"
  definition="Scope&#xD;&#xA;The RoleAndBaselineAcceptance message is sent by a secondary bank to the matching application if it accepts to join the transaction based on the baseline and the role that it is expected to play.&#xD;&#xA;Usage&#xD;&#xA;The RoleAndBaselineAcceptance message is sent in response to a message that is a direct request to join a transaction."
  registrationStatus="Registered"
  messageSet="_wRx2yk2rEeG_I4xRYCA_7g _1a374FXOEeOkkLyrDUP66g"
  xmlTag="RoleAndBaselnAccptnc"
  rootElement="Document"
  xmlns:xmi="http://www.omg.org/XMI">
  <messageBuildingBlock
    xmi:id="_tSdRYNE8Ed-BzquC8wXy7w_1282098561"
    name="AcceptanceIdentification"
    definition="Identifies the acceptance message."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="1"
    xmlTag="AccptncId"
    complexType="_Q7pG5Np-Ed-ak6NoX_4Aeg_-967008570" />
  <messageBuildingBlock
    xmi:id="_tSdRYdE8Ed-BzquC8wXy7w_1662420594"
    name="RelatedMessageReference"
    definition="Reference to the message that contained the baseline and is accepted."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="1"
    xmlTag="RltdMsgRef"
    complexType="_Q7pG5Np-Ed-ak6NoX_4Aeg_-967008570" />
  <messageBuildingBlock
    xmi:id="_tSdRYtE8Ed-BzquC8wXy7w_1282098638"
    name="TransactionIdentification"
    definition="Unique identification assigned by the matching application to the transaction.&#xA;This identification is to be used in any communication between the parties.&#xA;."
    registrationStatus="Provisionally Registered"
    maxOccurs="1"
    minOccurs="1"
    xmlTag="TxId"
    complexType="_P-ile9p-Ed-ak6NoX_4Aeg_745508310" />
  <messageDefinitionIdentifier
    businessArea="tsmt"
    messageFunctionality="049"
    flavour="001"
    version="01" />
</messageDefinition>

ISO Building Blocks

The following items are used as building blocks to construct this message.