{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dbt-se/json-schema/dbt-se-get-notification-deliveries-status-response-schema.json",
  "title": "GetNotificationDeliveriesStatusResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dbt-se-notification-api-openapi.yml#/components/schemas/GetNotificationDeliveriesStatusResponse",
  "type": "object",
  "properties": {
    "notifications": {
      "$ref": "#/$defs/Notifications"
    }
  },
  "required": [
    "notifications"
  ],
  "$defs": {
    "Notifications": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "deliveryId": {
            "type": "string"
          },
          "notificationId": {
            "type": "string"
          },
          "topic": {
            "type": "string",
            "enum": [
              "organization.data.ready",
              "organization.erp.connected",
              "organization.alert.critical",
              "organization.risk.forecast.critical",
              "organization.review.requested",
              "organization.contact.identification.performed",
              "sie-file.awaiting-acceptance",
              "sie-file.failed-populating-monthly-account-balances",
              "sie-file.parse-failed",
              "review.summary.weekly",
              "tech.alert.general",
              "test",
              "erp.integration.invite",
              "identification.invite",
              "bank-account.verification.invite",
              "organization.consent.approved",
              "meeting.booked.customer-confirmation",
              "meeting.booked.staff-notification",
              "meeting-prep.generated",
              "payout-summary.generated"
            ]
          },
          "targetType": {
            "type": "string",
            "enum": [
              "email",
              "slack_direct_message",
              "slack_channel"
            ]
          },
          "target": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "delivered",
              "failed"
            ]
          },
          "createdAt": {
            "type": "string"
          }
        },
        "required": [
          "deliveryId",
          "notificationId",
          "topic",
          "targetType",
          "target",
          "status",
          "createdAt"
        ]
      }
    }
  }
}