{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/threatconnect/main/json-schema/threatconnect-post-v2-notifications-request-schema.json",
  "title": "PostV2NotificationsRequest",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/threatconnect-openapi-generated.yml#/components/schemas/PostV2NotificationsRequest",
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "The contents of the notification. Supports Markdown. Maximum size: 64 KB"
    },
    "notificationType": {
      "type": "string",
      "description": "The notification’s type. If the type is new, it will be registered to the recipient’s Organization and can be used when updating notification settings. Maximum length: 50 characters. Note: “System” (case‑insensitive) is reserved and cannot be used."
    },
    "priority": {
      "type": "string",
      "description": "The notification’s priority. Acceptable values (case‑insensitive): low, medium, high."
    },
    "recipients": {
      "type": "string",
      "description": "A comma‑separated list of usernames in your Organization that will receive the notification. Required if ownerId is omitted, or if isOrganization is false or omitted."
    },
    "isOrganization": {
      "type": "boolean",
      "description": "If true, the notification will be sent to all users in your Organization. Default value: false."
    },
    "ownerId": {
      "type": "integer",
      "description": "The unique ID of the owner whose users or members will receive the notification."
    }
  },
  "required": [
    "message",
    "notificationType",
    "priority"
  ]
}