{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/commareports-com/json-schema/commareports-com-notification-patch-request-schema.json",
  "title": "NotificationPatchRequest",
  "description": "At least one property must be present.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/commareports-com-notifications-api-openapi.yml#/components/schemas/NotificationPatchRequest",
  "type": "object",
  "minProperties": 1,
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 200
    },
    "webhook_url": {
      "type": "string",
      "format": "uri",
      "maxLength": 2048
    },
    "signing_secret": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 1024
    },
    "events": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "revision.created",
          "comment.created",
          "comment.mentioned",
          "signoff.submitted"
        ]
      }
    },
    "format": {
      "type": "string",
      "enum": [
        "slack",
        "discord",
        "plain"
      ]
    },
    "enabled": {
      "type": "boolean"
    },
    "report_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    }
  }
}