Table: channels
Sales channels through which ticketing orders are placed.
|
Column |
Required |
Type |
Description |
|---|---|---|---|
|
|
YES |
TIMESTAMP |
When the order was created |
|
|
YES |
INT64 |
Unique identifier of the merchant |
|
|
YES |
INT64 |
Unique identifier of the channel |
|
|
YES |
INT64 |
ID of the associated order |
|
|
YES |
STRUCT |
Channel details (id, name) |
Table: consumers
Customer information for ticket purchasers.
|
Column |
Required |
Type |
Description |
|---|---|---|---|
|
|
YES |
TIMESTAMP |
When the order was created |
|
|
YES |
INT64 |
Unique identifier of the merchant |
|
|
YES |
INT64 |
ID of the associated order |
|
|
YES |
STRING |
Preferred language of the consumer |
|
|
YES |
STRING |
Consumer email address |
|
|
YES |
STRING |
Consumer country |
|
|
YES |
STRUCT |
Full consumer details including contact info, address, and preferences |
Table: discounts
Discount codes applied to ticketing orders.
|
Column |
Required |
Type |
Description |
|---|---|---|---|
|
|
YES |
TIMESTAMP |
When the order was created |
|
|
YES |
INT64 |
Unique identifier of the merchant |
|
|
YES |
INT64 |
ID of the associated order |
|
|
YES |
INT64 |
ID of the event the discount applies to |
|
|
YES |
STRING |
Discount code used |
|
|
YES |
STRUCT |
Discount details including value, validity period, and giftcard status |
Table: external_scans
Ticket scans performed by external scanning systems.
|
Column |
Required |
Type |
Description |
|---|---|---|---|
|
|
YES |
INT64 |
Unique identifier of the merchant |
|
|
YES |
STRING |
Unique identifier of the scanned ticket |
|
|
YES |
STRING |
External scanning provider |
|
|
YES |
TIMESTAMP |
When the ticket was scanned |
Table: group_reservation_tickets
Tickets associated with group reservations.
|
Column |
Required |
Type |
Description |
|---|---|---|---|
|
|
YES |
TIMESTAMP |
When the order was created |
|
|
YES |
INT64 |
Unique identifier of the merchant |
|
|
YES |
INT64 |
Unique identifier of the group reservation |
|
|
YES |
INT64 |
ID of the associated order |
|
|
YES |
STRUCT |
Ticket details including quantity, price, and status |
|
|
YES |
STRUCT |
Ticket type information including event and timeslot details |
Table: group_reservations
Group bookings for museums, attractions, or events.
|
Column |
Required |
Type |
Description |
|---|---|---|---|
|
|
YES |
TIMESTAMP |
When the order was created |
|
|
YES |
INT64 |
Unique identifier of the merchant |
|
|
YES |
INT64 |
Unique identifier of the group reservation |
|
|
YES |
INT64 |
ID of the associated order |
|
|
YES |
STRING |
Human-readable reservation code |
|
|
YES |
STRUCT |
Reservation details including participants, guide info, and status |
|
|
YES |
STRUCT |
Activity/exposition details including dates, capacity, and pricing |
|
|
YES |
STRUCT |
Contact person information including address and phone |
|
|
YES |
STRUCT |
Payment details for the reservation |
|
|
YES |
TIMESTAMP |
When the reservation was last updated |
Table: merchants
Business entities operating ticketing systems.
|
Column |
Required |
Type |
Description |
|---|---|---|---|
|
|
YES |
INT64 |
Unique identifier of the merchant |
|
|
YES |
STRING |
Display name of the merchant/venue |
|
|
YES |
STRUCT |
Extended merchant information including legacy ID |
Table: orders
Ticketing order transactions.
|
Column |
Required |
Type |
Description |
|---|---|---|---|
|
|
YES |
TIMESTAMP |
When the order was created |
|
|
YES |
INT64 |
Unique identifier of the merchant |
|
|
YES |
INT64 |
Unique identifier of the order |
|
|
YES |
INT64 |
ID of the sales channel |
|
|
YES |
BOOL |
Whether this is a live/production order |
|
|
YES |
STRING |
Order status (e.g., completed, cancelled, pending) |
|
|
YES |
STRING |
Order type classification |
|
|
YES |
STRING |
System that created the order |
|
|
YES |
STRING |
Origin of the order |
|
|
YES |
STRUCT |
Service fee details (price and total) |
|
|
YES |
STRING |
Order language |
|
|
YES |
STRING |
ISO currency code |
|
|
YES |
NUMERIC |
Total order amount |
|
|
YES |
NUMERIC |
Total discount applied |
|
|
YES |
NUMERIC |
Optional donation amount |
|
|
YES |
TIMESTAMP |
When the order was last updated |
|
|
NO |
ARRAY |
List of discount codes applied |
|
|
NO |
ARRAY |
List of ticket type IDs in the order |
|
|
NO |
ARRAY |
List of event IDs for tickets in the order |
|
|
NO |
ARRAY |
List of timeslot IDs for the tickets |
|
|
NO |
ARRAY |
List of event categories |
Table: payments
Payment transactions for ticketing orders.
|
Column |
Required |
Type |
Description |
|---|---|---|---|
|
|
YES |
TIMESTAMP |
When the order was created |
|
|
YES |
INT64 |
Unique identifier of the merchant |
|
|
YES |
INT64 |
ID of the associated order |
|
|
YES |
INT64 |
Unique identifier of the payment |
|
|
YES |
STRING |
UUID of the payment |
|
|
YES |
STRING |
Payment status |
|
|
YES |
STRUCT |
Payment details including method, provider, and amount |
Table: reseller_consumers
Consumer information for tickets sold through resellers.
|
Column |
Required |
Type |
Description |
|---|---|---|---|
|
|
YES |
TIMESTAMP |
When the order was created |
|
|
YES |
INT64 |
Unique identifier of the merchant |
|
|
YES |
NUMERIC |
ID of the associated order |
|
|
YES |
NUMERIC |
ID of the reseller merchant |
|
|
YES |
INT64 |
Unique identifier of the reseller |
|
|
YES |
STRUCT |
Consumer details (name, email) |
Table: reseller_merchants
Reseller/partner merchants authorized to sell tickets.
|
Column |
Required |
Type |
Description |
|---|---|---|---|
|
|
YES |
NUMERIC |
Unique identifier of the reseller merchant |
|
|
YES |
INT64 |
ID of the merchant whose tickets are being sold |
|
|
YES |
STRUCT |
Reseller details including company info, address, and category |
Table: reseller_orders
Orders placed through reseller channels.
|
Column |
Required |
Type |
Description |
|---|---|---|---|
|
|
YES |
TIMESTAMP |
When the order was created |
|
|
YES |
INT64 |
Unique identifier of the merchant |
|
|
YES |
NUMERIC |
Unique identifier of the order |
|
|
YES |
NUMERIC |
ID of the reseller merchant |
|
|
YES |
INT64 |
Unique identifier of the reseller |
|
|
YES |
STRUCT |
Order details including dates, status, and totals |
Table: reseller_reseller
Reseller account information.
|
Column |
Required |
Type |
Description |
|---|---|---|---|
|
|
YES |
NUMERIC |
Unique identifier of the reseller |
|
|
YES |
STRUCT |
Reseller details including contact info, address, and status |
Table: reseller_tickets
Individual tickets sold through reseller channels.
|
Column |
Required |
Type |
Description |
|---|---|---|---|
|
|
YES |
TIMESTAMP |
When the order was created |
|
|
YES |
INT64 |
Unique identifier of the merchant |
|
|
YES |
NUMERIC |
ID of the associated order |
|
|
YES |
INT64 |
Unique identifier of the ticket |
|
|
YES |
NUMERIC |
ID of the reseller merchant |
|
|
YES |
INT64 |
Unique identifier of the reseller |
|
|
YES |
STRUCT |
Ticket details including barcode, price, and scan status |
|
|
YES |
STRUCT |
Ticket type information including name and validity |
Table: ticket_scans
Records of ticket validation scans at entry points.
|
Column |
Required |
Type |
Description |
|---|---|---|---|
|
|
YES |
TIMESTAMP |
When the order was created |
|
|
YES |
INT64 |
Unique identifier of the merchant |
|
|
YES |
INT64 |
ID of the associated order |
|
|
YES |
INT64 |
Unique identifier of the scanned ticket |
|
|
YES |
TIMESTAMP |
When the ticket was scanned |
|
|
YES |
STRING |
IP address of the scanning device |
Table: tickets
Individual tickets issued for events and attractions.
|
Column |
Required |
Type |
Description |
|---|---|---|---|
|
|
YES |
TIMESTAMP |
When the order was created |
|
|
YES |
INT64 |
Unique identifier of the merchant |
|
|
YES |
INT64 |
ID of the associated order |
|
|
YES |
INT64 |
Unique identifier of the ticket |
|
|
YES |
BOOL |
Whether the ticket is currently valid |
|
|
YES |
STRUCT |
Ticket details including barcode, price, schedule, and cancellation status |
|
|
YES |
STRUCT |
Ticket type information including event, translations, and restrictions |
|
|
YES |
TIMESTAMP |
When the ticket was last updated |
Notes
-
All ticketing data is partitioned by
merchant_idfor data isolation -
ordered_atrepresents when the business transaction occurred -
STRUCT fields contain nested JSON-like data structures with multiple attributes
-
Tickets can be sold directly or through reseller channels
-
Scan data is captured both internally and from external systems
-
Group reservations support educational visits and guided tours
-
Multi-language support is available through translation structs
Public ERD