> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bbrands.io/llms.txt
> Use this file to discover all available pages before exploring further.

# NotificationOccurrenceDecision

> The schema definition for the NotificationOccurrenceDecision resource.

## Primary key

[Navigate to header](#param-commercial-activity)

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the notification occurrence decision.

## Specific attributes

[Navigate to header](#param-commercial-activity)

channel

varchar

public

required

The channel of the notification occurrence decision.

**Rules**: Possible values: email, in\_app, live\_activity, push, sms, whatsapp. Max length: 20 characters

[Navigate to header](#param-commercial-activity)

deferred\_until

timestamp

public

The deferred until of the notification occurrence decision.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

evaluated\_at

timestamp

public

required

Timestamp when the notification occurrence decision was evaluated.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

locale

varchar

public

The locale of the notification occurrence decision.

**Rules**: Max length: 10 characters

[Navigate to header](#param-commercial-activity)

locale\_fallback

boolean

default:"false"

public

required

Indicates whether locale fallback applies to the notification occurrence decision.

[Navigate to header](#param-commercial-activity)

outcome

varchar

public

required

The outcome of the notification occurrence decision.

**Rules**: Possible values: deferred, fallback, queued, skipped, suppressed. Max length: 20 characters

[Navigate to header](#param-commercial-activity)

reason

varchar

public

The reason of the notification occurrence decision.

**Rules**: Possible values: cancelled, channel-inactive, delayed, duplicate, event-inactive, expired, frequency-capped, invalid-content, invalid-payload, kill-switch, no-published-template, no-recipient, opted-out, quiet-hours, quiet-hours-expired, suppressed-complaint, suppressed-hard-bounce, suppressed-invalid-number, suppressed-manual, unreachable. Max length: 40 characters

[Navigate to header](#param-commercial-activity)

recipient\_key

varchar

public

required

The recipient key of the notification occurrence decision.

**Rules**: Max length: 128 characters

## Foreign keys

[Navigate to header](#param-commercial-activity)

fallback\_of

uuid

public

Optional reference to the Notification Occurrence Decision associated with the notification occurrence decision. [Ref: Notification Occurrence Decision Schema](https://docs.bbrands.io/schemas/notification/notification-occurrence-decision.md)

[Navigate to header](#param-commercial-activity)

notification

uuid

public

Optional reference to the Notification associated with the notification occurrence decision. [Ref: Notification Schema](https://docs.bbrands.io/schemas/notification/notification.md)

[Navigate to header](#param-commercial-activity)

notification\_occurrence

uuid

public

required

Reference to the Notification Occurrence this notification occurrence decision belongs to. [Ref: Notification Occurrence Schema](https://docs.bbrands.io/schemas/notification/notification-occurrence.md)

[Navigate to header](#param-commercial-activity)

notification\_template\_version

uuid

public

Optional reference to the Notification Template Version associated with the notification occurrence decision. [Ref: Notification Template Version Schema](https://docs.bbrands.io/schemas/notification/notification-template-version.md)

[Navigate to header](#param-commercial-activity)

recipient\_account

uuid

public

Optional reference to the Account associated with the notification occurrence decision. [Ref: Account Schema](https://docs.bbrands.io/schemas/account/account.md)

[Navigate to header](#param-commercial-activity)

recipient\_user

uuid

public

Optional reference to the Users associated with the notification occurrence decision.

## Tracking attributes

[Navigate to header](#param-commercial-activity)

created\_at

timestamp

public

required

Timestamp when the record was created.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

deleted\_at

timestamp

public

Timestamp when the record was soft-deleted, when applicable.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

is\_actived

boolean

default:"true"

public

required

Indicates whether the record is currently active.

[Navigate to header](#param-commercial-activity)

is\_deleted

boolean

default:"false"

public

required

Indicates whether the record has been soft-deleted.

[Navigate to header](#param-commercial-activity)

updated\_at

timestamp

public

Timestamp when the record was last updated.

**Rules**: Precision: 6, with timezone


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.