Appearance
Group Schema ​
Groups represent entities that can be associated with events, such as users or teams.
Configuration ​
Group ​
Field | Type | Required | Description |
---|---|---|---|
name | string | yes | Group name |
description | string | no | Group context description |
identifiedBy | string | no | Identifying property |
passthrough | boolean | no | Allow arbitrary properties |
properties | Property[] | no | Group properties |
Example ​
yaml
groups:
- name: User
description: The user that triggered the event.
identifiedBy: UserID
properties:
- name: UserID
description: The ID of the user.
type: number
- name: Role
description: The user's role.
type: [admin, member]
- name: Team
description: The team of the user.
identifiedBy: TeamID
properties:
- name: TeamID
description: The team's ID.
type: number
- name: Plan
description: The team's subscription plan.
type: [FREE, TRIAL, PAID]