| 1. Definition | 2. Functional Requirements | 3. Syntax | 4. Semantics |
1 Definition
A Policy Binding binds a policy to an AIM Instance, a Process Instance or an Instance Credential, with the constraints that apply to the binding.
2 Functional Requirements
A Policy Binding shall:
- Include a Header, the PolicyID of the policy being bound and the Target it is bound to: a Type (AIMInstance, ProcessInstance or InstanceCredential) and an ID.
- Optionally include MInstanceID, UEnvironmentID, PolicyBindingID and PolicyBindingTime.
- Optionally include Constraints, each with a Name and a Value and, optionally, the HashAlgorithm and the HashValue of the value.
- Include a Signature and the KeyID of the key that verifies it.
- Optionally include DataXMData and DescrMetadata.
- Use only the keys defined in this Data Type.
3 Syntax
https://schemas.mpai.community/PTF/V1.0/data/PolicyBinding.json
4 Semantics
| Label | Description |
|---|---|
| Header | Policy Binding Header — Standard “PTF-POL-V”. |
| MInstanceID | ID of the M-Instance. |
| UEnvironmentID | ID of the U-Environment. |
| PolicyBindingID | Identifier of the Policy Binding. |
| PolicyBindingTime | Time associated with the Policy Binding. |
| PolicyID | Identifier of the policy being bound. |
| Target | The object the policy is bound to. |
| – Type | AIMInstance, ProcessInstance or InstanceCredential. |
| – ID | Identifier of the target object. |
| Constraints | Optional constraints associated with the policy binding. |
| – Name | Constraint name. |
| – Value | Constraint value. |
| – HashAlgorithm | Optional hash algorithm identifier from the Security Algorithm Taxonomy. |
| – HashValue | Optional hash of the constraint value (hex or base64url). |
| Signature | Hexadecimal ASCII-encoded signature over the canonical form (PTF-JSON-CANON-V1) of the object without its Signature, by the key KeyID names. |
| KeyID | Identifier of the key that verifies the Signature; the key’s identity states its algorithm. |
| DataXMData | Metadata that the Process/AIM exchanges with other Process/AIM. |
| DescrMetadata | Descriptive metadata (max length 2048). |