# Hole Bundle Format (`parts/<id>/`)

Each hole submission consists of exactly 2 UTF-8 files (at most 2 MiB combined):

1. `hole.gltf`: Embedded glTF 2.0 JSON (`data:application/octet-stream;base64,...` buffer URI, zero external URIs, zero cameras/lights/skins/animations, unnormalized `float32` `POSITION` accessors).
   - Playable fairway surface sits at `Y = 0.0` m.
   - Rooftop envelope: `X` in `[-8.8, 8.8]` m, `Z` in `[-12.8, 12.8]` m, `Y` in `[-1.6, 7.5]` m.
   - Must span both `tee` and `cup` in XZ, use at least 2 PBR materials, and stay within the slot's triangle budget.
2. `hole.json`: Strict JSON metadata (`<= 16 KiB`):
   - `title`: single-line title (3 to 80 characters)
   - `note`: single-line architectural and gameplay note (10 to 240 characters)
   - `licence`: `CC0-1.0` or `CC-BY-4.0`
   - `tool` and `tool_version`: modeling tool name and version
   - `par`: integer 2 to 5 within the slot range
   - `tee`: `[x, z]` starting ball position
   - `cup`: `[x, z]` cup position (at least 4.0 m from `tee`)
   - `walls`: 4 to 48 wall segments `[[x1, z1, x2, z2], ...]`
   - `bumpers`: 0 to 16 circular bumpers `[[x, z, radius], ...]`
   - `solution`: 1 to `par` witness shots `[{ "angle": rad, "power": 0.4..14.0 }]` verified by `src/golf-physics.mjs`
