PitchKit
API Reference@pitchkit/coreType aliases

GoalFrameId

type GoalFrameId = "statsbomb" | "metric";

Defined in: packages/core/src/goal/frames.ts:10

The goal-mouth coordinate systems a goal view accepts.

This is a different plane from the pitch: lateral position across the goal and height off the ground, as a shot's end location records it. It shares nothing with dimensions/ (docs/decisions.md D29). StatsBomb's lateral value happens to be the pitch's own y, but its height has no pitch equivalent, and other providers use other conventions.