Skip to main content

Primary key

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

Specific attributes

code_esp
varcharpublicuniquerequired
The ESP code associated with the machine.
Rules: Max length: 100 characters
code_raspberry
varcharpublicuniquerequired
The Raspberry Pi code associated with the machine.
Rules: Max length: 100 characters
ppl
decimalpublicrequired
The PPL (Price Per Liter) value for the machine.
Rules: Precision: 8, Scale: 3
token
varcharpublicrequired
The authentication token for the machine.
workflow_configuration
booleandefault:"false"publicrequired
Indicates whether the machine has a workflow configuration.
workflow_with_button
booleandefault:"true"publicrequired
Indicates whether the machine’s workflow includes a button interaction.
workflow_with_nfc
booleandefault:"true"publicrequired
Indicates whether the machine’s workflow includes NFC interaction.
workflow_with_qr
booleandefault:"true"publicrequired
Indicates whether the machine’s workflow includes QR code interaction.
uptime_at_advertising
timestamppublic
The timestamp when the machine was last active in advertising mode.
Rules: Precision: 6, with timezone
uptime_at_brand_experience
timestamppublic
The timestamp when the machine was last active in brand experience mode.
Rules: Precision: 6, with timezone
uptime_at_esp
timestamppublic
The timestamp when the machine’s ESP was last active.
Rules: Precision: 6, with timezone
uptime_at_touch
timestamppublic
The timestamp when the machine’s touch interface was last active.
Rules: Precision: 6, with timezone

Foreign keys

transaction
uuidpublic
The unique identifier of the associated transaction. Ref: MaihueStreetTransaction Schema
transaction_last
uuidpublic
The unique identifier of the last associated transaction. Ref: MaihueStreetTransaction Schema
workflow
uuidpublicrequired
The unique identifier of the associated workflow. Ref: MaihueStreetWorkflow Schema

Tracking attributes

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