SegmentSpec.normalize

You're seeing just the function normalize, go back to SegmentSpec module for more information.
Link to this function

normalize(event, opts \\ [])

View Source

Specs

normalize(event_struct() | event_map(), Keyword.t()) ::
  {:ok, event_map()} | {:error, String.t()}

Returns a normalized version of the given Segment event, in which Segment's internal fields have been coerced into snake_case. Pass the include_nil: true option to include empty fields.