1. Definition | 2. Functional Requirements | 3. Syntax | 4. Semantics |
1 Definition
An Item that specifies:
An Action. |
If the Process Action is a Request, a series of : |
– One of Nil, At, From, To, or With (Nil for a direct object). |
– Item or Process on which the Process Action is performed. |
If the Process Item is a Response: |
– A series of |
– One of Nil, At, From, To, or With (Nil for a direct object). |
– The Item or Process on which it is performed. |
– The Status of the Process Action. |
The characters If followed by Event. |
Here:
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. |
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. |
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 the Process Action is requested and time the Process Action is executed. |
– RQ-Complements[] | One or more Items or the Process each preceded by one of Nil, At, From, Of, or With. |
– 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 |
– 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. |
– Error | oneOf “Clash”, “FaultyReq”, “IncID”, “IncDQ”, “InsRights”, “InsValue”, “LocOOR”, “PostRef”, “QualNS” |
DescrMetadata | Descriptive Metadata. |