{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "PolicyRule-Output",
  "properties": {
    "name": {
      "type": "string"
    },
    "authorized": {
      "type": "boolean"
    },
    "actions": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "roles_groups": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "condition": {
      "properties": {
        "match": {}
      },
      "type": "object",
      "required": [
        "match"
      ]
    }
  },
  "type": "object"
}