<- Go to ProcessActions  ->

1 Definition 2 Protocol 3 Syntax 4 Semantics

1 Definition

The Action of a User1 (“Sender”) requesting that a Transaction Service:
1. Assign Rights to an Asset to User2 (“Receiver”).
2. Cause:
2.1. Wallet1 of User1 to be increased by Value1.
2.2. Wallet2 of User2 to be decreased by Value2.
2.3. Walleti of a set of Services enabling/facilitating the Transaction to be increased by Valuei.

2 Protocol

  1. If Transact Service is a free service:
    1. User produces and sends “Transact PA Request1 including Transaction1 (Status=Model)” to Transact Service.
    2. Goto Transact.
  2. If Transact Service is a pay service:
    1. User produces and sends “Transact PA Request1 including Service Pricing Model1 (Status=Model) with Transaction1 (Status=Model)” to Transact Service.
    2. Transact Service sends “Transact PA Response1” to User:
      1. If “Transact PA Response1 includes Status=Err”, goto
      2. If “Transact PA Response1 includes Status=Ack and Service Pricing Model2 (Status=Model) with Transaction2 (Status=Model)”, User:
        1. Produces “Transaction3 of Value included in Transaction2” and Transacts.
        2. Produces and sends “Transact PA Request2 including Service Pricing Model3 (Status=Model) with Transaction3 (Status=Final)” to Transact Service.
  3. Transact: Transact Service
    1. Increases and decreases the “Wallets included in Transaction3”.
    2. Sends “Transact PA Response2” including
      1. “Ack” to User
      2. “Service Pricing Model4 (Status=Final)”, if Transact Service is a pay Service.
  4. End

The protocol described using Workflow Description Language (WDL) is available at this link:

https://schemas.mpai.community/MMM4/V2.2/wdl/TransactPA.wdl

3 Syntax

The structure of the input and output messages, using JavaScript Object Notation (JSON)  is available at this link:

https://schemas.mpai.community/MMM4/V2.2/actions/TransactPA.json

4 Semantics

Label Description
Header Transact Process Action Header – Standard “USP-TRP-V”
MInstanceID Identifier of M-Instance.
UEnvironmentID Identifier of U-Environment.
TransactPAID Identifier of this MM-SendPA Instance.
TransactPATime Creation time of this MM-SendPA Instance
TransactPAData Data included in the MM-Send Process Action.
– Time Time of PA Request emission and Time of PA Request execution or PA Response emission.
– RQ-Complements Complements in PA Request.
  – With Transaction A Transaction Item.
  – With SPM Service Pricing Model, if Transact is a pay service.
– RS-Complements Complements in PA Response.
  – With SPM Service Pricing Model, if Transact is a pay service.
  – With PAStatus Status of PA Request.
    – Ack If PA Request could be performed.
    – Err If PA Request could not be performed.
      – FaultyPA Faulty PA Request.
      – IncID Incorrect ID.
      – InsRights Insufficient Rights.
      – InsValue Insufficient Value in Wallet.
DataXMData Identity, provenance, authorised usage, source, type, governance context, security, legality, and annotation of exchanged data.
 DescMetadata Descriptive Metadata.

<- Go to ProcessActions  ->