← Graph

JSON Schema for analytics events

concept 4 connections

Callaghan's working solution for enforcing consistency on domain-object events: JSON Schemas validate attributes of each event/domain object before sending to the Segment instance; events with missing or wrong attributes are blocked and surfaced as Sentry errors, eliminating nils in the analytics pipeline. Costs: whole team must agree on and version schemas, which he captures in large Notion documents and team training.

category
practice
about
JSON Schema for analytics events concept
Callaghan's working solution to the schema problem.
concept JSON Schema for analytics events
related_to
Segment tool
Events that fail JSON Schema validation are blocked from reaching Segment and surface as Sentry errors.
concept JSON Schema for analytics events
related_to
Sentry tool
Validation failures are reported to Sentry for follow-up.
related_to
JSON Schema for analytics events concept
Current working solution for validating attributes of domain events in the Segment pipeline.

Provenance

Read by
1 extraction