{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/communicate-so/json-schema/communicate-so-update-notification-settings-response-schema.json",
  "title": "updateNotificationSettingsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/communicate-so-notifications-api-openapi.yml#/components/schemas/updateNotificationSettingsResponse",
  "type": "object",
  "properties": {
    "pushEnabled": {
      "type": "boolean"
    },
    "notifyNewMessage": {
      "type": "boolean"
    },
    "notifyHandoff": {
      "type": "boolean"
    },
    "notifyAssignment": {
      "type": "boolean"
    },
    "agentScope": {
      "type": "string",
      "enum": [
        "all",
        "selected"
      ]
    },
    "selectedAgentIds": {
      "maxItems": 500,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "showPreview": {
      "type": "boolean"
    },
    "soundEnabled": {
      "type": "boolean"
    },
    "bannerDismissed": {
      "type": "boolean"
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "pushEnabled",
    "notifyNewMessage",
    "notifyHandoff",
    "notifyAssignment",
    "agentScope",
    "selectedAgentIds",
    "showPreview",
    "soundEnabled",
    "bannerDismissed",
    "revision"
  ],
  "additionalProperties": false
}