| 1 Definition | 2 Protocol | 3 Syntax | 4 Semantics |
1 Definition
The Action of a Process requesting that a Communicate Service:
- Send a Message at a Process to other Processes.
- Grant to the receiving Processes Rights to the content of the Message.
If the request is accepted, Communicate Service delivers the Message providing the requested Rights to the MM-Sent Item.
2 Protocol
MM-Send
- If MM-Send Service is a free service:
- Process produces and sends “MM-Send PA Request1 including Message, Process IDs, and Rights (Status=Model)” to MM-Sends Service.
- Goto MM-Send.
- If MM-Send Service is a pay service:
- Process produces and sends “MM-Send PA Request1 including Message, Process IDs, Rights (Status=Model), and Service Pricing Model1 (Status=Model)” to MM-Sends Service.
- MM-Send Service produces and sends “MM-Send PA Response1 including Service Pricing Model2 (Status=Model) and Transaction1 (Status=Model)” to Process.
- If “MM-Send PA Response1 includes Status=Err”, goto End
- If “MM-Send PA Response1 includes Status=Ack”, Process:
- Produces “Transaction2 (Status=Final) including Value of Transaction1” and Transacts.
- Produces Service Pricing Model3 (Status=Model).
- Produces and sends “MM-Send PA Request2 including Service Pricing Model3 (Status=Model) with Transaction2 (Status=Final)” to MM-Send Service.
- MM-Send: MM-Send Service:
- Sends “Message and Rights (Status=Final)” to Process IDs.
- MM-Send Service produces and sends to the requesting Process “MM-Send PA Response2 including Ack”, if MM-Send Service is free.
- Produces Service Pricing Model4 (Status=Final) and “MM-Send PA Response2” and sends “MM-Send PA Response2” including Ack and Service Pricing Model4 (Status=Final)”, if MM-Send Service is pay service.
- End
The protocol described using Workflow Description Language (WDL) is available at this link:
https://schemas.mpai.community/MMM4/V2.2/actions/MMSendPA.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/MMSendPA.json
4 Semantics
| Label | Description |
| Header | MM-Send Process Action Header, “MMM-2SP-Vx.y” |
| MInstanceID | Identifier of M-Instance. |
| UEnvironmentID | Identifier of U-Environment. |
| MMSendPAID | Identifier of this PA Instance. |
| MMSendPATime | Creation time of this PA Instance. |
| MMSendPAData | Data included in this PA Instance. |
| – Time | Time of PA Request emission and execution or PA Response emission. |
| – RQ-Complements | Complements in the PA Request. |
| – Nil Message | Message to be MM-Sent. |
| – To ProcessIDs | IDs of Processes receiving the Message where the Item is to be MM-Sent. |
| – With Rights | Requested Rights to be granted to the destination Processes. |
| – With SPM | Service Pricing Model, if MM-Send is a pay service. |
| – D-Complements | Complements in the PA Response. |
| – With Rights | Rights based on requested Rights if PA Request is accepted. |
| – With SPM | Service Pricing Model, if MM-Send is a pay service. |
| – With PAStatus | PA Request Status. |
| – 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. |