{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/grazzy/json-schema/grazzy-post-api-v2-chat-roles-response-schema.json",
  "title": "PostApiV2ChatRolesResponse",
  "x-generated": "2026-12-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/grazzy-openapi-generated.yml#/components/schemas/PostApiV2ChatRolesResponse",
  "type": "object",
  "properties": {
    "description": {
      "type": "string"
    },
    "enabled": {
      "type": "boolean"
    },
    "id": {
      "type": "integer"
    },
    "members_count": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "permissions": {
      "type": "object",
      "properties": {
        "access_analytics": {
          "type": "string"
        },
        "edit_chat_tags": {
          "type": "boolean"
        },
        "edit_department_agents": {
          "type": "string"
        },
        "edit_visitor_information": {
          "type": "boolean"
        },
        "edit_visitor_notes": {
          "type": "boolean"
        },
        "manage_bans": {
          "type": "string"
        },
        "manage_shortcuts": {
          "type": "string"
        },
        "proactive_chatting": {
          "type": "string"
        },
        "set_agent_chat_limit": {
          "type": "string"
        },
        "view_monitor": {
          "type": "string"
        },
        "view_past_chats": {
          "type": "string"
        },
        "visitors_seen": {
          "type": "string"
        }
      }
    }
  }
}