#
Ticket Data Model
#
Overview
The Ticket EDM in Runmerge represents structured data for event tickets, capturing ticket types, pricing, validity, access levels, and relationships. This model ensures seamless integration and tracking of tickets across events.
#
Fields and Structure
#
Basic Information
- ticketType (string, required) - The type of ticket (e.g., General Admission, VIP, Early Bird).
- price (number, required) - The cost of the ticket.
- currency (string, required) - The currency in which the ticket is priced (e.g., USD, EUR).
- status (string, required) - The current status of the ticket (e.g., Active, Cancelled, Refunded).
#
Purchase Details
- purchaseDate (date, optional) - The date when the ticket was purchased.
- seatNumber (string, optional) - The assigned seat number, if applicable.
- barcode (string, optional) - A barcode or unique identifier associated with the ticket.
#
Validity & Access
- validFrom (date, optional) - The start date and time when the ticket becomes valid.
- validUntil (date, optional) - The end date and time when the ticket expires.
- accessLevel (string, optional) - Defines the access permissions of the ticket holder (e.g., All Access, Session-Specific).
#
Custom Fields
- sourceCustomFields (array, optional) - A list of custom fields assigned within the source system.
- customFields (array, optional) - A list of additional custom fields assigned within Runmerge.
- Each custom field includes:
- key (string, required) - The identifier for the field.
- fieldName (string, required) - The display name of the field.
- fieldType (enum, required) - The type of data stored in the field (
string,number,boolean,date,enum,object). - fieldValue (any, required) - The actual value of the field.
- Each custom field includes:
#
Relationships
- relationships (object, optional) - Links to other entities associated with the ticket, including:
- linkedEvent (object, optional) - The event this ticket grants access to.
- linkedPerson (object, optional) - A person associated with the ticket (e.g., the ticket holder).
- linkedSponsor (object, optional) - A sponsor associated with this ticket (e.g., a ticket sponsored by a company).
- linkedSession (object, optional) - A session this ticket provides access to.
- linkedResource (object, optional) - A resource related to this ticket (e.g., digital perks, guides).
- linkedProduct (object, optional) - A product bundled with this ticket.
- linkedExhibitor (object, optional) - An exhibitor offering or associated with this ticket.
- linkedTicket (object, optional) - Another ticket linked to this ticket (e.g., an upgrade, companion pass).
#
Group Membership
- groups (array, optional) - A list of groups associated with the ticket. Each group includes:
- id (string, required) - Unique identifier for the group.
- name (string, required) - Name of the group.
- description (string, optional) - Description of the group.
- customFields (array, optional) - Custom fields associated with the group.
#
Source Data
- sourceRawData (object, optional) - Raw data from the source system, stored as key-value pairs.
#
Usage
The Ticket EDM provides a structured representation of ticket data in Runmerge, enabling better tracking and management of ticket sales, attendee access, and related relationships across events.