{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pure-storage/json-schema/pure-storage-alert-watcher-response-schema.json",
  "title": "AlertWatcherResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pure-storage-alert-watchers-api-openapi.yml#/components/schemas/AlertWatcherResponse",
  "type": "object",
  "properties": {
    "items": {
      "description": "A list of alert watcher objects.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/AlertWatcher"
      }
    }
  },
  "$defs": {
    "AlertWatcher": {
      "allOf": [
        {
          "$ref": "#/$defs/_builtInResourceNoId"
        },
        {
          "type": "object",
          "properties": {
            "enabled": {
              "description": "If set to `true`, email notifications will be sent to this watcher for alerts.\nIf set to `false`, email notification is disabled.\n",
              "type": "boolean"
            }
          }
        }
      ]
    },
    "_builtInResourceNoId": {
      "description": "A built-in resource. Many are singletons predefined by Purity (e.g., support\nsettings). Some correspond to a piece of software, like an app, or hardware,\nlike a controller. Others are created by the system in response to some event\n(e.g., alerts, audit records).\n\nTypically, a user can't create, delete or rename a built-in resource. A few\ncan be created or deleted, but not renamed because the names are meaningful\nto Purity (e.g., VIFs, file systems, file system snapshots, volume snapshot).\n",
      "type": "object",
      "properties": {
        "name": {
          "description": "A locally unique, system-generated name. The name cannot be modified.\n",
          "type": "string",
          "readOnly": true
        }
      }
    }
  }
}