> ## 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.

# CodeCouponEventTriggerCondition

> The schema definition for the CodeCouponEventTriggerCondition resource.

## Primary key

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

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the code coupon event trigger condition.

## Specific attributes

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

attribute

varchar

public

required

The attribute of the code coupon event trigger condition.

**Rules**: Max length: 100 characters

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

group\_index

PgSmallInt

default:"0"

public

required

The group index of the code coupon event trigger condition.

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

operator

varchar

public

required

The operator of the code coupon event trigger condition.

**Rules**: Possible values: eq, gte, in, lte. Max length: 10 characters

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

values

jsonb

public

required

The values of the code coupon event trigger condition.

## Foreign keys

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

code\_coupon\_event\_trigger

uuid

public

required

Reference to the Code Coupon Event Trigger this code coupon event trigger condition belongs to. [Ref: Code Coupon Event Trigger Schema](https://docs.bbrands.io/schemas/code/code-coupon-event-trigger.md)

## 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.