{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dpf-it-com/json-schema/dpf-it-com-set-notification-preference-request-schema.json",
  "title": "SetNotificationPreferenceRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dpf-it-com-account-api-openapi.yml#/components/schemas/SetNotificationPreferenceRequest",
  "type": "object",
  "required": [
    "workspaceId",
    "messageType",
    "enabled"
  ],
  "properties": {
    "workspaceId": {
      "type": "string"
    },
    "messageType": {
      "type": "string",
      "description": "Must be a known notification message type."
    },
    "enabled": {
      "type": "boolean"
    },
    "channels": {
      "type": "array",
      "description": "Optional. Defaults to [\"email\"].",
      "items": {
        "type": "string"
      }
    }
  }
}