| 1. Definition | 2. Functional Requirements | 3. Syntax | 4. Semantics |
1 Definition
Rule is an Item including a Process, a deontic verb – Permission, Prohibition, or Obligation, and a Process Action.
2 Functional Requirements
A Rule is represented by the following sequence
- Process (identified by an ID or by Metadata)
- Deontic Verb (one of May, May Not, or Must)
- Process Action
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. | |
| Time | refers to a single Time, a Duration, or a recurring Time. |
3 Syntax
https://schemas.mpai.community/MMM4/V2.1/data/Rules.json
4 Semantics
| Label | Description |
| Header | Header of Rule Item. |
| – Standard-Rule | The characters “MMM-RUL-V”. |
| – Version | Major version expressed as 1 or 2 characters. |
| – Dot-separator | The character “.” |
| – Subversion | Minor version expressed as 1 or 2 characters |
| MInstanceID | Identifier of M-Instance. |
| MEnvironmentID | Identifier of M-Environment. |
| RuleID | The ID of the Rules |
| RuleData[] | The elements part of a Rule. |
| – Process | A Process identified by an ID or having specific Metadata. |
| – DeonticVerb | One of May, May Not, and Must. |
| – ProcessAction | As defined by Process Actions. |
| DescrMetadata | Descriptive Metadata. |