Skip to main content

Primary key

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

Specific attributes

phone
varcharpublicrequired
The phone number.
Rules: Max length: 150 characters
token_code
varcharpublic
The token code for phone verification.
token_expired_at
timestamppublic
The expiration timestamp of the token code.
Rules: Precision: 6, with timezone
validated_date
timestamppublic
The timestamp when the phone number was validated.
Rules: Precision: 6, with timezone
validated_status
booleandefault:"false"public
Indicates whether the phone number has been validated.

Foreign keys

country
uuidpublicrequired
The unique identifier of the associated country. Ref: Country Schema
type_phone
uuidpublicrequired
The unique identifier of the associated phone type. Ref: TypePhone Schema

Tracking attributes

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