{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/audiobookshelf/main/json-schema/audiobookshelf-post-api-notifications-request-schema.json",
  "title": "PostApiNotificationsRequest",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/audiobookshelf-openapi-generated.yml#/components/schemas/PostApiNotificationsRequest",
  "type": "object",
  "properties": {
    "libraryId": {
      "type": "string",
      "description": "The ID of the library the notification is associated with."
    },
    "eventName": {
      "type": "string",
      "description": "The name of the event the notification will fire on."
    },
    "urls": {
      "type": "array",
      "description": "The Apprise URLs to use for the notification."
    },
    "titleTemplate": {
      "type": "string",
      "description": "The template for the notification title."
    },
    "bodyTemplate": {
      "type": "string",
      "description": "The template for the notification body."
    },
    "enabled": {
      "type": "boolean",
      "description": "Whether the notification is enabled."
    },
    "type": {
      "type": "string",
      "description": "The notification's type."
    }
  },
  "required": [
    "eventName",
    "urls",
    "titleTemplate",
    "bodyTemplate"
  ]
}