{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/blackbaud/main/json-schema/blackbaud-new-notification-schema.json",
  "title": "NewNotification",
  "description": "CreateNotification",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/blackbaud-altru-administration-api-openapi.yml#/components/schemas/NewNotification",
  "required": [
    "name",
    "record_type",
    "apply_to"
  ],
  "type": "object",
  "properties": {
    "name": {
      "maxLength": 100,
      "minLength": 0,
      "type": "string",
      "description": "The name."
    },
    "message": {
      "type": "string",
      "description": "The message."
    },
    "record_type": {
      "type": "string",
      "description": "The record type. This simple list can be queried at https://api.sky.blackbaud.com/alt-adnmg/simplelists/93e92ab4-bb35-44c0-9f11-3b2ffb1b5cc1."
    },
    "record_id_set_register_id": {
      "type": "string",
      "description": "The selection."
    },
    "application_user_record_type_id": {
      "type": "string",
      "description": "The application user record type ID. Read-only in the SOAP API."
    },
    "application_user_id_set_register_id": {
      "type": "string",
      "description": "The selection."
    },
    "apply_to": {
      "type": "string",
      "description": "The displays for. Available values are <i>all users</i>, <i>selected users</i>"
    },
    "display_notification_window": {
      "type": "boolean",
      "description": "Indicates whether display in notification window."
    },
    "display_in_daily_sales": {
      "type": "boolean",
      "description": "Indicates whether display in daily sales."
    },
    "valid_until": {
      "type": "string",
      "description": "The end date. Uses the format YYYY-MM-DDThh:mm:ss. An example date: <i>1955-11-05T22:04:00</i>.",
      "format": "date-time"
    }
  },
  "additionalProperties": false,
  "x-display-name": "Altru Notification Add Form",
  "x-display-id": "Altru Notification Add Form"
}