{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RestrictedPermission",
  "title": "RestrictedPermission",
  "additionalProperties": true,
  "description": "Details of the permission.",
  "properties": {
    "id": {
      "description": "The ID of the permission. Either `id` or `key` must be specified. Use [Get all permissions](#api-rest-api-3-permissions-get) to get the list of permissions.",
      "type": "string"
    },
    "key": {
      "description": "The key of the permission. Either `id` or `key` must be specified. Use [Get all permissions](#api-rest-api-3-permissions-get) to get the list of permissions.",
      "type": "string"
    }
  },
  "type": "object"
}