Rule
idnumber
actionstring[]required
Example: 
["READ","USE"]assigneestring[]
Example: 
["did:example:assignee"]constraints object[]required
Array [
idnumber
typeConstraintType (string)required
Possible values: [ATOMIC, LOGICAL]
Example: 
ATOMICtitlestringrequired
Example: 
Constraint titledescriptionstring
Example: 
Constraint description]
dutiesundefined[]required
typeRuleType (string)
Possible values: [PERMISSION, PROHIBITION, DUTY]
targetstring
Rule
{
  "id": 0,
  "action": [
    "READ",
    "USE"
  ],
  "assignee": [
    "did:example:assignee"
  ],
  "constraints": [
    {
      "id": 0,
      "type": "ATOMIC",
      "title": "Constraint title",
      "description": "Constraint description"
    }
  ],
  "duties": [
    null
  ],
  "type": "PERMISSION",
  "target": "string"
}