1 Definition
An Item expressing the permissions, obligations, and prohibitions of a Process to perform ProcessActions.
2 Functional Requirements
The Rules :
- Permit a Process to perform a ProcessAction if it holds the Rights to perform that ProcessAction.
- Oblige a Process wishing to perform a ProcessAction to obtain appropriate Rights before performing it.
- Accept the performance of a ProcessAction as accomplishment of the obligation.
- Prohibit a Process to perform a ProcessAction if it does not hold the Rights to perform that ProcessAction.
3 Syntax
https://schemas.mpai.community/MMM4/V1.0/data/Rules.json
4 Semantics
Label | Size | Description |
Header | N1 Bytes | Header of Rules Item. |
– Standard | 9 Bytes | The characters “MMM-RUL-V”. |
– Version | N2 Bytes | Major version expressed as 1 or 2 characters. |
– Dot-separator | 1 Byte | The character “.” |
– Subversion | N3 Byte | Minor version expressed as 1 or 2 characters |
MInstanceID | N4 Bytes | Identifier of M-Instance. |
RulesID | N5 Bytes | The ID of the Rules |
RulesFormatID | N6 Bytes | ID of the Rules Format. |
RulesData[] | N7 Bytes | Rule set. |
– RuleID | N8 Bytes | Identifier of Rule. |
DescrMetadata | N9 Bytes | Descriptive Metadata. |
5 Data Formats
MPAI assumes that different M-Instances will use different Rules.
6 To Respondents
MPAI requests:
- Comments on:
- Functional Requirements.
- JSON Syntax and Semantics.
- Proposals for Rules Formats and Attributes.