{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scylladb/json-schema/scylladb-notification-email-schema.json",
  "title": "NotificationEmail",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scylladb-account-api-openapi.yml#/components/schemas/NotificationEmail",
  "x-public": true,
  "type": "object",
  "properties": {
    "email": {
      "description": "Deprecated: Emails should be used instead.",
      "type": "string",
      "deprecated": true
    },
    "emails": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "clusterNotifications": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ClusterNotification"
      }
    }
  },
  "$defs": {
    "ClusterNotification": {
      "x-public": true,
      "type": "object",
      "properties": {
        "clusterId": {
          "description": "ID of the cluster",
          "type": "integer"
        },
        "clusterName": {
          "description": "Name of the cluster",
          "type": "string"
        },
        "emails": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}