| 1. Definition | 2. Functional Requirements | 3. Syntax | 4. Semantics |
1 Definition
An Item that includes the following:
| An Action. |
| If the Process Action is a Request: |
| – A series of one of Nil, At, From, To, or With each followed by Item or Process on which the Process Action is performed. |
| – Condition for performing the Request expressed by If followed by Event. |
| If the Process Item is a Response: |
| – A series of one of Nil, At, From, To, or With each followed by Item or Process on which the Process Action is performed. |
| – The Status of the Process Action. |
Here:
| Nil |
is used to signal that the Item or Process is a direct object. The other prepositions are used as specified for each Process Action. |
| Process | refers to a Process identified by an ID or having specific Metadata. |
| Item | refers to an Item identified by an ID or by having |
| – Specific Metadata | |
| – A Qualifier | |
| – One or more parameters. |
2 Functional Requirements
Process Action Includes the following elements:
| PA Element | Description |
| Time | Time of Process Action request emission and Time of Process Action request execution. |
| Action | One of the standard Actions. |
| RQ-Complements | A series of – One of Nil, At, From, Of, or With – An Item or a Process on which the Action is performed at the Request side. |
| Condition | If Event. |
| RS-Complements | A series of – One of Nil, At, From, Of, or With – An Item or a Process on which the Action is performed at the Response side. |
| PA Status | “Ack” if successful, Error message otherwise, if Response. |
3 Syntax
https://schemas.mpai.community/MMM4/V2.1/data/ProcessAction.json
4 Semantics
| Label | Description |
| Header | Process Action Data Header |
| – Standard-ProcessAction | The characters “MMM-PAC-V” |
| – Version | Major version – 1 or 2 characters |
| – Dot-separator | The character “.” |
| – Subversion | Minor version – 1 or 2 characters |
| M-InstanceID | Identifier of M-Instance. |
| ProcessActionID | ID of Process Action. |
| ProcessAction | The number of Bytes composing the Process Action. |
| – Time | Time when the Process Action is requested and time the Process Action is executed. |
| – RQ-Complements[] | One Nil, At, From, To, or With each followed by Item or Process. |
| – NilProcess | Process ID |
| – AtProcess | At followed by Process ID |
| – FromProcess | From followed by Process ID |
| – ToProcess | To followed by Process ID |
| – WithProcess | With followed by Process ID |
| – NilItem | Item ID |
| – AtItem | At followed by Item ID |
| – FromItem | From followed by Item ID |
| – ToItem | To followed by Item ID |
| – WithItem | With followed by Item ID |
| – Condition | If followed by Event |
| – RS-Complements[] | One or more Items or the Process each preceded by one of Nil, At, From, Of, or With. |
| – NilProc | Process ID |
| – AtProc | At followed by Process ID |
| – FromProc | From followed by Process ID |
| – ToProc | To followed by Process ID |
| – WithProc | With followed by Process ID |
| – NilItem | Item ID |
| – AtItem | At followed by Item ID |
| – FromItem | From followed by Item ID |
| – ToItem | To followed by Item ID |
| – WithItem | With followed by Item ID |
| – PAStatus | Process Action-specific Message specified in Process Action. |
| – Ack | Process Action was successfully performed. |
| – Request | Value requested to perform Process Action. |
| – Error | oneOf “Clash”, “FaultyReq”, “IncID”, “IncDQ”, “InsRights”, “InsValue”, “LocOOR”, “PostRef”, “QualNS” |
| DescrMetadata | Descriptive Metadata. |