Create Policy Rule
Create a new manual rule for a policy.
POST
Create Policy Rule
Body
application/json
Request model for creating a policy rule manually.
Response
Successful Response
Domain model for Policy Rule.
This follows an ODRL-inspired schema:
- rule_type: permission/prohibition/obligation/recommendation
- action: what action this rule governs
- target: what asset/data is affected
- assignee: who must comply (usually "agent")
- constraints: conditions under which rule applies
- consequence: what happens when rule is violated