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