Skip to main content

Primary key

document_id
uuiddefault:"Random UUID"publicrequired
The unique identifier for the account segment.

Specific attributes

date_subscribed
timestamppublicrequired
The date when the account was subscribed to the segment.
Rules: Precision: 6, with timezone
date_unsubscribed
timestamppublic
The date when the account was unsubscribed from the segment, if applicable.
Rules: Precision: 6, with timezone
reason
varcharpublicrequired
The reason for the subscription or unsubscription.

Foreign keys

account
uuidpublicrequired
The unique identifier of the associated account. Ref: Account Schema
segment
uuidpublicrequired
The unique identifier of the associated segment. Ref: Segment Schema

Tracking attributes

created_at
timestamppublic
The timestamp when the account segment was created.
Rules: Precision: 6, with timezone
deleted_at
timestamppublic
The timestamp when the account segment was deleted, if applicable.
Rules: Precision: 6, with timezone
is_actived
booleandefault:"true"public
Indicates whether the account segment is active.
is_deleted
booleandefault:"false"public
Indicates whether the account segment has been deleted.
updated_at
timestamppublic
The timestamp when the account segment was last updated.
Rules: Precision: 6, with timezone