Object/Schema
Event Schema
Data teams needs to define the Event schema to be used in Customer Segmentation.
Go to Schema > Events in the menu and follow the following steps to create an Event Schema in Castled.
1. Click on Create Event schema
2. Select the warehouse config and enter the query to define the event entity being created.
3. Run the query and preview the result.
4. After previewing the query result click Next.
5. Capture the schema name and map the Event timestamp field.
6. Capture the User object associated with the event using the Relationship section.
7. Save and finish to create an Event schema.
An Event Schema can be associated with only one User Schema