# Shot sheet schema (v3, Shot Reader v2) One JSON object per shot, keys in this order: `schema_version`, `shot`, `camera`, `style`, `tags`, `caption`, `n_subjects`, `subjects`, `n_events`, `events`, `environment`, `n_set`, `set`. Because the order is fixed, a camera-only answer (`--camera-only`) is simply the start of the full one. ```json { "schema_version": 3, "shot": {"start": 0.0, "end": 8.0}, "camera": {"height_m": 0.87, "angle": "eye", "pitch_deg": 2.6, "fov_deg": 42.4, "move": "push_in", "zoom": {"dir": "out", "fov_end_deg": 61.7}, "handheld": true, "framing": "full", "subject": "P01", "confidence": {"move": 0.85, "height": 0.75, "zoom": 0.62}, "move_alt": "static", "ambiguous": ["zoom_vs_dolly"]}, "style": "cg_3d", "tags": ["city street", "night", "dolly zoom"], "caption": "A woman in a red coat stands on a wet neon-lit street as the camera drifts in and the lens zooms out.", "n_subjects": 1, "subjects": [{"id": "P01", "class": "person", "size_m": [0.5, 0.4, 1.7], "posture": "stand", "path": [{"t": 0.0, "pos_m": [0.0, 6.0], "facing_deg": 270}, {"t": 8.0, "pos_m": [0.0, 6.0], "facing_deg": 270}]}], "n_events": 1, "events": [{"t": 3.2, "type": "turn", "agent": "P01", "dir": "left", "deg": 90}], "environment": {"type": "outdoor", "ground": "road", "setting": "street", "desc": "wet city street"}, "n_set": 1, "set": [{"class": "building", "pos_m": [-7.4, 30.0], "size_m": [3.0, 1.5, 13.5], "yaw_deg": 0}] } ``` ## Coordinates - Ground plane, metres. Origin = the point on the ground directly below the camera in the shot's **first frame**. - `+x` = to the camera's right, `+y` = forward along the camera's initial heading (its view direction projected onto the ground) in the first frame. - `pos_m` is the centre of the subject's ground footprint. - `facing_deg`: the direction the subject faces, degrees counter-clockwise from `+x`. So 90 = facing away from the camera, 270 (or -90) = facing the camera. - `size_m` = [width, depth, height] of the subject's bounding box. - `t` in seconds from the shot start. Paths are piecewise linear between keys and hold their end values outside them. ## Camera - `height_m`: lens height above the ground in the first frame. - `pitch_deg`: positive = looking up, negative = looking down, first frame. - `fov_deg`: **horizontal** field of view, first frame. - `angle` (from pitch): `low` (pitch > +5), `eye` (−5..+5), `high` (−5..−50), `overhead` (< −50). - Height bands (scored by the gate, from `height_m`): `ground` < 0.6 m ≤ `low` < 1.2 m ≤ `eye` < 1.8 m ≤ `high` < 4.0 m ≤ `aerial`. - `move`: one of - `static` — no translation or rotation (handheld jitter allowed) - `pan` — rotates left/right in place - `tilt` — rotates up/down in place - `push_in` — translates forward along the view direction - `pull_out` — translates backward - `truck` — translates sideways, orientation fixed - `crane` — translates up or down (pedestal/crane), may re-aim - `orbit` — circles around a subject or point while aiming at it - `follow` — translates with a moving subject, keeping it framed - `framing` of `camera.subject` in the first frame, by visible subject height / frame height r: `wide` r < 0.35, `full` 0.35–0.8, `medium` 0.8–1.6, `close` ≥ 1.6. ## Lens zoom, handheld, confidence - `camera.move` describes **the camera body only**, never the lens. A focal-length change never changes `move`. - Pure zoom in on a locked-off camera: `move: "static"`, `zoom.dir: "in"`. - Dolly in, fixed lens: `move: "push_in"`, `zoom.dir: "none"`. - Dolly zoom (vertigo: body moves in, lens widens, subject stays the same size): `move: "push_in"`, `zoom.dir: "out"`; the reverse is `move: "pull_out"`, `zoom.dir: "in"`. - `camera.zoom`: `{"dir": "in" | "out" | "none", "fov_end_deg": }`. `in` = focal length increases = field of view narrows. `fov_end_deg` is the horizontal field of view in the last frame (`fov_deg` stays the first frame's). Lens changes under about 10% (breathing, focus pulls) are `none`. - `camera.handheld`: `true` when the shot shows operator shake, whatever its move. Gimbal and Steadicam floats are `false`. - `camera.confidence`: `{"move", "height", "zoom"}`, the probability that `move`, the height band and `zoom.dir` are right. These are not written by the model: `shot_reader.py` computes them from the model's own token probabilities through a calibration map fitted on held-out shots (`cal.json`), so 0.7 means right about 70% of the time. - `camera.move_alt`: the runner-up move when it holds at least 15% of the probability. - `camera.ambiguous`: readings the frames cannot separate: `zoom_vs_dolly`, `pan_vs_truck`, `tilt_vs_crane`, `follow_vs_orbit`, `static_vs_moving`, `height`. ## Style, tags, caption - `style`: `live_action` (photographed), `cg_3d` (rendered 3D or game footage), `anim_2d` (drawn or 2D animation). - `tags`: up to 12 short lowercase search tags (setting, time of day, subjects, camera work, mood). - `caption`: one line describing the shot, for search and logging. ## Subjects, events, environment, set - `subjects`: everyone and everything you named with `--subject`, plus others the model finds. `class`, `size_m`, `posture` (stand, sit, crouch, lie) and a `path` of keys; path keys may carry `z_m` (feet above ground) and `posture`. - `events` (typed): `jump` (`dur_s`, `height_m`), `crouch`, `stand_up`, `sit`, `lie`, `fall`, `turn` (`dir`, `deg`), each with `t` and `agent`. - `environment`: `type` (indoor / outdoor), `ground` (floor, road, grass, sand, ...), plus `setting` and `desc`. - `set`: large static elements in view (walls, buildings, barriers, trees, tables, ...), one box each: `class`, `pos_m` (centre on the ground), `size_m` [width, depth, height], `yaw_deg` (counter-clockwise from `+x`), optional `base_m` (height of the underside, e.g. a ceiling).