3.0 metres between the posts, the crossbar's underside 0.9 m over the water.
The picture above was drawn when the docs were built. The script below draws it again with the published package.
import { drawGoalMouth } from "@johnmorrisdotca/kyogijo-stadiums/target";
const svg = drawGoalMouth([{ x: -1.2, z: 0.7, outcome: "goal" }, { x: 0.4, z: 0.2, outcome: "saved" }, { x: 1.6, z: 0.5, outcome: "wide" }], { sport: "waterpolo", zones: true }).svg;
This page imports the package from jsDelivr (major version 0), which serves only versions that have been published to npm. A feature added after the last release is not in it: the page then keeps the picture above and says why. The docs were built from version 0.6.1.