{
  "version": "1.2.0",
  "global": "window.oddsprigAnimationStudio",
  "guide": "./HOW-TO.txt",
  "methods": {
    "inspect": "Saved document, actual imported asset details/clip names, revision, command_guide, computed timeline/settings; actual scene when preview is ready. asset_details[].model_info exposes derived rig/joint, clip and morph counts; unknown is null.",
    "settings": "Typed numerical bounds, units, defaults and rendering look descriptors.",
    "timeline": "Computed shot/marker frames and non-drop timecodes.",
    "evaluate": "evaluate(sceneFrame): pure numerical camera, actor poses/clip clocks, effective look. No rendering/storage side effects.",
    "plan": "plan(commands): dry-run => {revision,document,bindings,summary}. Uses actual imported asset metadata. No save or graphics.",
    "applyPlan": "await applyPlan(preview, expected_revision): one atomic save of the exact prepared IDs. Rejects stale revisions/export lock.",
    "seek": "seek(sceneFrame): selects shot/time; only draws if preview is already enabled. No save.",
    "command": "await command(command, expected_revision): one revision checked save. document.batch supported.",
    "importFile": "await importFile(browserFile): actual supplied GLB/audio.",
    "exportProject": "await exportProject(): .sprigfilm backup Blob, not video.",
    "importProject": "await importProject(browserFile): restore complete .sprigfilm.",
    "idle": "await idle(): wait for storage.",
    "assetUrl": "assetUrl(asset_id): owned Blob URL.",
    "fitPlan": "fitPlan({actor_id?,shot_id?,padding?,bounds?}): prepare a static camera around current posed geometry (or supplied world bounds), no save. Report discloses replacement of camera motion. Apply explicitly with applyPlan.",
    "reviewPlan": "await reviewPlan({actor_id?,source_shot_id?,padding?,include_clips?,clip_names?,bounds?,clip_samples?}): prepare eight one-second rest views plus optional real clip midpoint holds, no save. Cast base root pose, world camera yaw; no inferred character facing."
  },
  "settings": {
    "look": [
      {
        "path": "exposure",
        "label": "Exposure",
        "type": "number",
        "default": 1,
        "min": 0.1,
        "max": 5,
        "step": 0.05,
        "unit": "multiplier",
        "options": [],
        "group": "Render"
      },
      {
        "path": "tone_mapping",
        "label": "Tone mapping",
        "type": "select",
        "default": "aces",
        "min": null,
        "max": null,
        "step": null,
        "unit": "",
        "options": [
          "aces",
          "neutral",
          "linear",
          "none"
        ],
        "group": "Render"
      },
      {
        "path": "shadows",
        "label": "Shadows",
        "type": "boolean",
        "default": false,
        "min": null,
        "max": null,
        "step": null,
        "unit": "",
        "options": [],
        "group": "Shadows"
      },
      {
        "path": "shadow_resolution",
        "label": "Shadow resolution",
        "type": "select",
        "default": 1024,
        "min": null,
        "max": null,
        "step": null,
        "unit": "pixels",
        "options": [
          512,
          1024,
          2048
        ],
        "group": "Shadows"
      },
      {
        "path": "shadow_span",
        "label": "Shadow span",
        "type": "number",
        "default": 20,
        "min": 1,
        "max": 200,
        "step": 1,
        "unit": "world units",
        "options": [],
        "group": "Shadows"
      },
      {
        "path": "shadow_bias",
        "label": "Shadow bias",
        "type": "number",
        "default": -0.0001,
        "min": -0.01,
        "max": 0.01,
        "step": 0.0001,
        "unit": "",
        "options": [],
        "group": "Shadows"
      },
      {
        "path": "hemisphere.sky",
        "label": "Sky color",
        "type": "color",
        "default": "#e1efff",
        "min": null,
        "max": null,
        "step": null,
        "unit": "",
        "options": [],
        "group": "Hemisphere"
      },
      {
        "path": "hemisphere.ground",
        "label": "Ground light color",
        "type": "color",
        "default": "#3c3547",
        "min": null,
        "max": null,
        "step": null,
        "unit": "",
        "options": [],
        "group": "Hemisphere"
      },
      {
        "path": "hemisphere.intensity",
        "label": "Hemisphere intensity",
        "type": "number",
        "default": 2.2,
        "min": 0,
        "max": 10,
        "step": 0.1,
        "unit": "",
        "options": [],
        "group": "Hemisphere"
      },
      {
        "path": "key.color",
        "label": "key color",
        "type": "color",
        "default": "#fff1df",
        "min": null,
        "max": null,
        "step": null,
        "unit": "",
        "options": [],
        "group": "key"
      },
      {
        "path": "key.intensity",
        "label": "key intensity",
        "type": "number",
        "default": 3,
        "min": 0,
        "max": 20,
        "step": 0.1,
        "unit": "",
        "options": [],
        "group": "key"
      },
      {
        "path": "key.position",
        "label": "key position",
        "type": "vector3",
        "default": [
          4,
          8,
          5
        ],
        "min": -100000,
        "max": 100000,
        "step": 0.1,
        "unit": "world units",
        "options": [],
        "group": "key"
      },
      {
        "path": "fill.color",
        "label": "fill color",
        "type": "color",
        "default": "#b7d4ff",
        "min": null,
        "max": null,
        "step": null,
        "unit": "",
        "options": [],
        "group": "fill"
      },
      {
        "path": "fill.intensity",
        "label": "fill intensity",
        "type": "number",
        "default": 1.2,
        "min": 0,
        "max": 20,
        "step": 0.1,
        "unit": "",
        "options": [],
        "group": "fill"
      },
      {
        "path": "fill.position",
        "label": "fill position",
        "type": "vector3",
        "default": [
          -4,
          3,
          -3
        ],
        "min": -100000,
        "max": 100000,
        "step": 0.1,
        "unit": "world units",
        "options": [],
        "group": "fill"
      },
      {
        "path": "rim.enabled",
        "label": "Rim enabled",
        "type": "boolean",
        "default": false,
        "min": null,
        "max": null,
        "step": null,
        "unit": "",
        "options": [],
        "group": "Rim"
      },
      {
        "path": "rim.color",
        "label": "rim color",
        "type": "color",
        "default": "#ffffff",
        "min": null,
        "max": null,
        "step": null,
        "unit": "",
        "options": [],
        "group": "rim"
      },
      {
        "path": "rim.intensity",
        "label": "rim intensity",
        "type": "number",
        "default": 1,
        "min": 0,
        "max": 20,
        "step": 0.1,
        "unit": "",
        "options": [],
        "group": "rim"
      },
      {
        "path": "rim.position",
        "label": "rim position",
        "type": "vector3",
        "default": [
          0,
          4,
          -5
        ],
        "min": -100000,
        "max": 100000,
        "step": 0.1,
        "unit": "world units",
        "options": [],
        "group": "rim"
      },
      {
        "path": "ground.enabled",
        "label": "Ground enabled",
        "type": "boolean",
        "default": false,
        "min": null,
        "max": null,
        "step": null,
        "unit": "",
        "options": [],
        "group": "Ground"
      },
      {
        "path": "ground.color",
        "label": "Ground color",
        "type": "color",
        "default": "#343d4b",
        "min": null,
        "max": null,
        "step": null,
        "unit": "",
        "options": [],
        "group": "Ground"
      },
      {
        "path": "ground.size",
        "label": "Ground size",
        "type": "number",
        "default": 40,
        "min": 1,
        "max": 500,
        "step": 1,
        "unit": "world units",
        "options": [],
        "group": "Ground"
      },
      {
        "path": "ground.roughness",
        "label": "Ground roughness",
        "type": "number",
        "default": 1,
        "min": 0,
        "max": 1,
        "step": 0.05,
        "unit": "",
        "options": [],
        "group": "Ground"
      },
      {
        "path": "ground.metalness",
        "label": "Ground metalness",
        "type": "number",
        "default": 0,
        "min": 0,
        "max": 1,
        "step": 0.05,
        "unit": "",
        "options": [],
        "group": "Ground"
      },
      {
        "path": "grid.visible",
        "label": "Grid visible",
        "type": "boolean",
        "default": true,
        "min": null,
        "max": null,
        "step": null,
        "unit": "",
        "options": [],
        "group": "Grid"
      },
      {
        "path": "grid.color",
        "label": "Grid color",
        "type": "color",
        "default": "#333f50",
        "min": null,
        "max": null,
        "step": null,
        "unit": "",
        "options": [],
        "group": "Grid"
      },
      {
        "path": "grid.center_color",
        "label": "Grid center color",
        "type": "color",
        "default": "#68758a",
        "min": null,
        "max": null,
        "step": null,
        "unit": "",
        "options": [],
        "group": "Grid"
      },
      {
        "path": "grid.opacity",
        "label": "Grid opacity",
        "type": "number",
        "default": 0.22,
        "min": 0,
        "max": 1,
        "step": 0.01,
        "unit": "",
        "options": [],
        "group": "Grid"
      },
      {
        "path": "grid.size",
        "label": "Grid size",
        "type": "number",
        "default": 40,
        "min": 1,
        "max": 500,
        "step": 1,
        "unit": "world units",
        "options": [],
        "group": "Grid"
      },
      {
        "path": "fog.enabled",
        "label": "Fog enabled",
        "type": "boolean",
        "default": false,
        "min": null,
        "max": null,
        "step": null,
        "unit": "",
        "options": [],
        "group": "Fog"
      },
      {
        "path": "fog.color",
        "label": "Fog color",
        "type": "color",
        "default": "#171e29",
        "min": null,
        "max": null,
        "step": null,
        "unit": "",
        "options": [],
        "group": "Fog"
      },
      {
        "path": "fog.near",
        "label": "Fog near",
        "type": "number",
        "default": 10,
        "min": 0,
        "max": 100000,
        "step": 0.1,
        "unit": "world units",
        "options": [],
        "group": "Fog"
      },
      {
        "path": "fog.far",
        "label": "Fog far",
        "type": "number",
        "default": 100,
        "min": 0.1,
        "max": 100000,
        "step": 0.1,
        "unit": "world units",
        "options": [],
        "group": "Fog"
      }
    ],
    "defaults": {
      "exposure": 1,
      "tone_mapping": "aces",
      "shadows": false,
      "shadow_resolution": 1024,
      "shadow_span": 20,
      "shadow_bias": -0.0001,
      "hemisphere": {
        "sky": "#e1efff",
        "ground": "#3c3547",
        "intensity": 2.2
      },
      "key": {
        "color": "#fff1df",
        "intensity": 3,
        "position": [
          4,
          8,
          5
        ]
      },
      "fill": {
        "color": "#b7d4ff",
        "intensity": 1.2,
        "position": [
          -4,
          3,
          -3
        ]
      },
      "rim": {
        "enabled": false,
        "color": "#ffffff",
        "intensity": 1,
        "position": [
          0,
          4,
          -5
        ]
      },
      "ground": {
        "enabled": false,
        "color": "#343d4b",
        "size": 40,
        "roughness": 1,
        "metalness": 0
      },
      "grid": {
        "visible": true,
        "color": "#333f50",
        "center_color": "#68758a",
        "opacity": 0.22,
        "size": 40
      },
      "fog": {
        "enabled": false,
        "color": "#171e29",
        "near": 10,
        "far": 100
      }
    },
    "helpers": {
      "padding": {
        "min": 1,
        "max": 4,
        "default": 1.15
      },
      "review_rest_views": 8,
      "review_clip_samples_max": 24,
      "review_hold_seconds": 1,
      "fit": "Prepared static camera from current posed world geometry; Apply explicitly replaces timed camera motion.",
      "review": "Prepared eight horizontal world-yaw rest views at cast base pose, plus optional frozen real clip midpoints; no inferred character facing.",
      "geometry": "Exact rendered-geometry references, including skin and morphs; maximum 10000000 vertex-work units per measurement.",
      "preview": "Measurement requires already-enabled loaded 3D preview. Supplied rest bounds allow numeric plans with preview off; optional clip views also require supplied clip_samples with actual names, durations and midpoint bounds.",
      "writes": "fitPlan and await reviewPlan never save; applyPlan performs the existing revision-checked commit."
    },
    "timing": {
      "fps": {
        "min": 12,
        "max": 60,
        "integer": true
      },
      "shot_seconds": {
        "min": 0.25,
        "max": 60
      },
      "scene_frame": {
        "min": 0,
        "max": "timeline.totalFrames - 1",
        "integer": true
      },
      "rounding": "floor(seconds * fps + 0.5)",
      "cut_end": "exclusive",
      "timecode": "HH:MM:SS:FF non-drop",
      "markers_per_shot": 128,
      "keys_per_actor_per_shot": 128,
      "commands_per_plan": 256
    },
    "camera": {
      "axes": "+Y up; yaw 0 = +Z, yaw +90 = +X; positive pitch is above target; exactly vertical cameras use +Z as their roll reference",
      "position": {
        "type": "vector3",
        "min": -100000,
        "max": 100000,
        "unit": "world units"
      },
      "target": {
        "type": "vector3",
        "min": -100000,
        "max": 100000,
        "unit": "world units"
      },
      "yaw": {
        "min": -100000,
        "max": 100000,
        "unit": "degrees"
      },
      "pitch": {
        "min": -90,
        "max": 90,
        "unit": "degrees"
      },
      "distance": {
        "exclusive_min": 0,
        "unit": "world units",
        "constraint": "resulting position must remain within camera bounds"
      },
      "fov": {
        "min": 1,
        "max": 179,
        "unit": "vertical degrees",
        "default": 45
      },
      "roll": {
        "min": -100000,
        "max": 100000,
        "unit": "degrees",
        "default": 0
      },
      "projection": {
        "options": [
          "perspective",
          "orthographic"
        ],
        "default": "perspective"
      },
      "ortho_scale": {
        "min": 0.0001,
        "max": 200000,
        "unit": "vertical world span",
        "default": 10
      },
      "near": {
        "min": 0.0001,
        "max": 100000,
        "default": 0.01
      },
      "far": {
        "min": 0.001,
        "max": 1000000,
        "default": 10000
      },
      "sensor_width_mm": {
        "min": 0.1,
        "max": 1000,
        "default": 36
      },
      "focal_mm": {
        "min": 0.1,
        "max": 10000
      },
      "constraints": [
        "position differs from target",
        "far > near",
        "motion endpoints share projection",
        "linear path never crosses its target"
      ],
      "lens_formula": "vertical FOV = 2 * atan(sensor_width_mm / output_aspect / (2 * focal_mm)) in degrees"
    },
    "actor": {
      "position": {
        "type": "vector3",
        "min": -100000,
        "max": 100000,
        "unit": "world units"
      },
      "rotation": {
        "type": "vector3",
        "min": -10000,
        "max": 10000,
        "unit": "radians XYZ"
      },
      "scale": {
        "type": "vector3",
        "exclusive_min": 0,
        "max": 10000
      },
      "speed": {
        "min": 0,
        "max": 16,
        "default": 1
      },
      "keyframes": "ascending snapped seconds; outgoing easing; hold endpoints; nonempty keys override from/to and motion",
      "clip_timing": "clamp(shot_time - start, 0, duration); duration zero freezes the clip clock",
      "visibility": "inclusive start/end seconds, combined with track.visible"
    },
    "motion": {
      "easing": [
        "linear",
        "step",
        "ease_in",
        "ease_out",
        "ease_in_out",
        "smoothstep"
      ],
      "camera_modes": [
        "linear",
        "orbit"
      ],
      "window": "seconds snapped to frames inside the shot; positive duration except clip_timing",
      "orbit": "shortest yaw arc around interpolated target; absolute deterministic evaluation"
    }
  },
  "commands": {
    "production.rename": {
      "required": [
        "op",
        "name"
      ],
      "optional": [],
      "batch_only": [],
      "description": ""
    },
    "production.settings": {
      "required": [
        "op"
      ],
      "optional": [
        "fps",
        "width",
        "height"
      ],
      "batch_only": [],
      "description": "At least one setting. FPS 12..60 integer; width 16..3840, height 16..2160 integers. Retiming re-snaps authored times and rejects collapsed keys/windows."
    },
    "actor.add": {
      "required": [
        "op",
        "asset_id",
        "name"
      ],
      "optional": [
        "as"
      ],
      "batch_only": [
        "as"
      ],
      "description": "Uses an already imported model asset. Batch-only as creates a handle."
    },
    "actor.update": {
      "required": [
        "op",
        "id"
      ],
      "optional": [
        "name",
        "position",
        "rotation",
        "scale"
      ],
      "batch_only": [],
      "description": ""
    },
    "shot.add": {
      "required": [
        "op"
      ],
      "optional": [
        "name",
        "after_id",
        "inherit",
        "as"
      ],
      "batch_only": [
        "as"
      ],
      "description": "Defaults to inherit:true, after the last shot. Inherit evaluated END camera/pose/visibility/clip phase; local timing, keys and camera motion do not replay. Batch-only as creates a handle."
    },
    "shot.update": {
      "required": [
        "op",
        "id"
      ],
      "optional": [
        "name",
        "duration",
        "background",
        "camera"
      ],
      "batch_only": [],
      "description": "At least one update. Duration .25..60 seconds snaps to frames. Camera is a full replacement; preserve optional camera fields when editing legacy controls."
    },
    "shot.track": {
      "required": [
        "op",
        "shot_id",
        "track"
      ],
      "optional": [],
      "batch_only": [],
      "description": "Full track replacement. Required: actor_id,from,to,clip,clip_start,speed,loop,visible. Preserve optional fields in legacy editors; omitting them intentionally clears them."
    },
    "shot.audio": {
      "required": [
        "op",
        "shot_id",
        "audio"
      ],
      "optional": [],
      "batch_only": [],
      "description": ""
    },
    "shot.remove": {
      "required": [
        "op",
        "id"
      ],
      "optional": [],
      "batch_only": [],
      "description": ""
    },
    "shot.move": {
      "required": [
        "op",
        "id",
        "index"
      ],
      "optional": [],
      "batch_only": [],
      "description": ""
    },
    "shot.duplicate": {
      "required": [
        "op",
        "id"
      ],
      "optional": [
        "as"
      ],
      "batch_only": [
        "as"
      ],
      "description": "Copies a shot with a new ID. Batch-only as creates a handle."
    },
    "document.import": {
      "required": [
        "op",
        "document"
      ],
      "optional": [],
      "batch_only": [],
      "description": ""
    },
    "shot.timing": {
      "required": [
        "op",
        "shot_id",
        "frames"
      ],
      "optional": [],
      "batch_only": [],
      "description": "Frames is an integer from ceil(.25*fps) through 60*fps. Existing events must still fit; no silent truncation."
    },
    "shot.markers": {
      "required": [
        "op",
        "shot_id",
        "markers"
      ],
      "optional": [],
      "batch_only": [],
      "description": "0..128 {name,time,duration?,color?}. Seconds snap to frames; duration defaults 0, color #b5e4d2. [] clears. No executable events."
    },
    "camera.orbit": {
      "required": [
        "op",
        "shot_id",
        "target",
        "yaw",
        "pitch",
        "distance"
      ],
      "optional": [
        "fov",
        "roll",
        "projection",
        "ortho_scale"
      ],
      "batch_only": [],
      "description": "Target world xyz +/-100000; yaw degrees +/-100000; pitch -90..90 degrees; distance>0, resulting position bounded +/-100000. Optional fields preserve existing values. Vertical FOV 1..179; roll degrees +/-100000; projection perspective|orthographic; ortho_scale .0001..200000 world units."
    },
    "camera.lens": {
      "required": [
        "op",
        "shot_id",
        "focal_mm"
      ],
      "optional": [
        "sensor_width_mm"
      ],
      "batch_only": [],
      "description": "Focal .1..10000 mm; sensor width .1..1000 mm (existing value or 36 by default). Vertical FOV uses production width/height and must remain 1..179."
    },
    "camera.motion": {
      "required": [
        "op",
        "shot_id",
        "motion"
      ],
      "optional": [],
      "batch_only": [],
      "description": "motion:{to:camera,start,duration,easing,mode}; mode linear|orbit. Same projection at endpoints. null clears. Seconds snap to frames; duration must span at least one frame. Camera optional near .0001..100000, far .001..1000000 and far>near."
    },
    "actor.motion": {
      "required": [
        "op",
        "shot_id",
        "actor_id",
        "start",
        "duration"
      ],
      "optional": [
        "easing"
      ],
      "batch_only": [],
      "description": "Seconds; duration must span at least one frame. Easing defaults linear. Nonempty keyframes override motion. Full shot.track replacement can omit motion to clear it."
    },
    "actor.keyframes": {
      "required": [
        "op",
        "shot_id",
        "actor_id",
        "keyframes"
      ],
      "optional": [],
      "batch_only": [],
      "description": "0..128 {time,position,rotation,scale,easing?}. Strictly ascending snapped seconds. Euler radians XYZ; positive scales <=10000, position +/-100000. Outgoing key easing defaults linear. [] restores from/to and motion."
    },
    "actor.clip": {
      "required": [
        "op",
        "shot_id",
        "actor_id"
      ],
      "optional": [
        "clip",
        "clip_start",
        "speed",
        "loop",
        "visible",
        "clip_timing",
        "visibility"
      ],
      "batch_only": [],
      "description": "At least one clip/visibility update. Clip name may be empty to disable it. clip_start>=0; speed 0..16; loop/visible boolean. clip_timing:{start,duration}; visibility:{start,end} (inclusive). Seconds snap to frames; null clears either window. Explicit zero clip duration freezes its clock; equal visibility endpoints expose one frame."
    },
    "production.look": {
      "required": [
        "op",
        "look"
      ],
      "optional": [],
      "batch_only": [],
      "description": "Partial deep merge of catalog fields; null clears the authored override. Omitted fields persist; {} changes nothing. Colors six-digit hex. Effective fog far>near."
    },
    "shot.look": {
      "required": [
        "op",
        "shot_id",
        "look"
      ],
      "optional": [],
      "batch_only": [],
      "description": "Partial deep merge over the authored shot override; null clears it and reveals production/default values."
    },
    "document.batch": {
      "required": [
        "op",
        "commands"
      ],
      "optional": [],
      "batch_only": [],
      "description": "1..256 commands, no nested batches. actor.add/shot.add/shot.duplicate may use as:[A-Za-z][A-Za-z0-9_]{0,31}. Later ID fields may use $handle. Preview is pure; apply prepared IDs through document.import."
    }
  },
  "example": {
    "description": "Camera-only two-shot plan at 24fps (20 seconds). Appends shots. Import assets and add actual shot.track entries for actors; no character is invented.",
    "fps": 24,
    "commands": [
      {
        "op": "shot.add",
        "as": "wide",
        "name": "Wide shot",
        "inherit": false
      },
      {
        "op": "shot.timing",
        "shot_id": "$wide",
        "frames": 240
      },
      {
        "op": "camera.orbit",
        "shot_id": "$wide",
        "target": [
          0,
          1,
          0
        ],
        "yaw": 30,
        "pitch": 12,
        "distance": 8,
        "fov": 45
      },
      {
        "op": "camera.motion",
        "shot_id": "$wide",
        "motion": {
          "start": 1,
          "duration": 8,
          "easing": "smoothstep",
          "mode": "orbit",
          "to": {
            "position": [
              7,
              3,
              0
            ],
            "target": [
              0,
              1,
              0
            ],
            "fov": 40,
            "roll": 2
          }
        }
      },
      {
        "op": "shot.markers",
        "shot_id": "$wide",
        "markers": [
          {
            "name": "Action",
            "time": 2,
            "duration": 1
          }
        ]
      },
      {
        "op": "shot.add",
        "as": "close",
        "after_id": "$wide",
        "name": "Close shot",
        "inherit": true
      },
      {
        "op": "shot.timing",
        "shot_id": "$close",
        "frames": 240
      },
      {
        "op": "camera.orbit",
        "shot_id": "$close",
        "target": [
          0,
          1,
          0
        ],
        "yaw": 90,
        "pitch": 12,
        "distance": 5,
        "fov": 38
      },
      {
        "op": "shot.look",
        "shot_id": "$close",
        "look": {
          "exposure": 1.1,
          "rim": {
            "enabled": true,
            "intensity": 1.5
          },
          "ground": {
            "enabled": true
          },
          "grid": {
            "visible": false
          }
        }
      }
    ]
  },
  "limitations": [
    "No embedded AI chat pilot; an agent needs browser/file access.",
    "No automatic performance, voice, lip sync, physics/IK, compositor or final movie assembly.",
    "Preview and video export use the visible controls. Planning never enables graphics.",
    "Per video: at most 10 minutes or 36000 frames.",
    "No cloud project storage or paid generation dependency."
  ],
  "modules": {
    "math": "./studio-math.js",
    "settings": "./studio-settings.js",
    "schema": "./studio-local-schema.js"
  },
  "assist_example": {
    "note": "Copy real actor/shot IDs. Geometry measurement requires already-enabled loaded preview; supplied measured bounds allow CPU-only preparation.",
    "fit": "const prepared=studio.fitPlan({actor_id,padding:1.15}); await studio.applyPlan(prepared,prepared.revision);",
    "review": "const prepared=await studio.reviewPlan({actor_id,source_shot_id,include_clips:true}); await studio.applyPlan(prepared,prepared.revision);",
    "bounds": {
      "min": [
        -1,
        0,
        -1
      ],
      "max": [
        1,
        2,
        1
      ]
    },
    "clip_sample": {
      "name": "EXACT_IMPORTED_CLIP",
      "duration": 2,
      "bounds": {
        "min": [
          -1,
          0,
          -1
        ],
        "max": [
          1,
          2,
          1
        ]
      }
    }
  }
}
