{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/refs/heads/main/json-structure/devportal-api-throttling-policy-permission-info-structure.json",
  "name": "Throttling Policy Permission info object with throttling policy permission details",
  "description": "ThrottlingPolicyPermissionInfo schema from WSO2 API Manager",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "allow",
        "deny"
      ]
    },
    "roles": {
      "type": "array",
      "description": "roles for this permission",
      "example": [
        "manager",
        "developer"
      ],
      "items": {
        "type": "string"
      }
    }
  }
}