Skip to main content

Primary key

document_id
uuiddefault:"Random UUID"publicrequired
The unique identifier for the subscription record.

Specific attributes

date_subscribed
timestamppublicrequired
The date and time when the subscription was created.
Rules: Precision: 6, with timezone
date_unsubscribed
timestamppublic
The date and time when the subscription was cancelled, if applicable.
Rules: Precision: 6, with timezone

Foreign keys

account
uuidpublicrequired
The unique identifier of the associated account. Ref: Account Schema
business_unit
uuidpublicrequired
The unique identifier of the associated business unit. Ref: BusinessUnit Schema
payment_method
uuidpublicrequired
The unique identifier of the associated payment method. Ref: PaymentMethod Schema
subscription_status
uuidpublicrequired
The unique identifier of the associated subscription status. Ref: SubscriptionStatus Schema

Tracking attributes

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