{
  "session_id": "session_data_20260407_111403",
  "total_duration_s": 810.0,
  "n_input_spans": 43,
  "session_goal": "Sew red patterned fabric with sewing machine, attach gold trim and red trim, and sew circular neckline.",
  "sub_goals": [
    {
      "sub_goal_id": 1,
      "start_time": 0.0,
      "end_time": 462.0,
      "description": "Sew main seams of red patterned fabric, mark with pen, and cut excess thread and fabric.",
      "episodes": [
        {
          "episode_id": 1,
          "start_time": 0.0,
          "end_time": 96.9,
          "description": "Adjust, align, and sew first edge of red patterned fabric, then cut threads.",
          "span_indices": [
            0,
            1,
            2,
            3,
            4
          ]
        },
        {
          "episode_id": 2,
          "start_time": 96.9,
          "end_time": 161.9,
          "description": "Reposition and align new edge, then sew it with sewing machine.",
          "span_indices": [
            5,
            6,
            7
          ]
        },
        {
          "episode_id": 3,
          "start_time": 161.9,
          "end_time": 300.0,
          "description": "Mark red fabric with pen, align marked edge, sew, and cut threads.",
          "span_indices": [
            8,
            9,
            10,
            11
          ]
        },
        {
          "episode_id": 4,
          "start_time": 300.0,
          "end_time": 415.0,
          "description": "Align, adjust, and sew red fabric sections on worktable with sewing machine.",
          "span_indices": [
            12,
            13,
            14,
            15,
            16
          ]
        },
        {
          "episode_id": 5,
          "start_time": 415.0,
          "end_time": 433.0,
          "description": "Adjust red fabric to cut excess thread and fabric with scissors.",
          "span_indices": [
            17,
            18
          ]
        },
        {
          "episode_id": 6,
          "start_time": 433.0,
          "end_time": 462.0,
          "description": "Align red fabric edges, sew, and reposition for next seam.",
          "span_indices": [
            19,
            20,
            21
          ]
        }
      ]
    },
    {
      "sub_goal_id": 2,
      "start_time": 462.0,
      "end_time": 510.0,
      "description": "Align and sew gold trim onto red fabric with sewing machine.",
      "episodes": [
        {
          "episode_id": 1,
          "start_time": 462.0,
          "end_time": 487.0,
          "description": "Align gold trim with red fabric edge and sew it on.",
          "span_indices": [
            22,
            23
          ]
        },
        {
          "episode_id": 2,
          "start_time": 487.0,
          "end_time": 510.0,
          "description": "Adjust red fabric and sew next gold trim section.",
          "span_indices": [
            24,
            25
          ]
        }
      ]
    },
    {
      "sub_goal_id": 3,
      "start_time": 510.0,
      "end_time": 600.0,
      "description": "Sew red fabric sections after gold trim with sewing machine.",
      "episodes": [
        {
          "episode_id": 1,
          "start_time": 510.0,
          "end_time": 535.0,
          "description": "Reposition and align red fabric, then sew edge with sewing machine.",
          "span_indices": [
            26,
            27
          ]
        },
        {
          "episode_id": 2,
          "start_time": 535.0,
          "end_time": 567.0,
          "description": "Adjust red fabric to align next seam and sew it.",
          "span_indices": [
            28,
            29
          ]
        },
        {
          "episode_id": 3,
          "start_time": 567.0,
          "end_time": 600.0,
          "description": "Adjust red fabric for final sewing section, sew it, and adjust completed fabric.",
          "span_indices": [
            30,
            31,
            32
          ]
        }
      ]
    },
    {
      "sub_goal_id": 4,
      "start_time": 600.0,
      "end_time": 809.4,
      "description": "Sew edge and circular neckline, then attach red trim to red patterned fabric.",
      "episodes": [
        {
          "episode_id": 1,
          "start_time": 600.0,
          "end_time": 689.0,
          "description": "Sew edge and circular neckline of red patterned fabric.",
          "span_indices": [
            33,
            34
          ]
        },
        {
          "episode_id": 2,
          "start_time": 689.0,
          "end_time": 693.0,
          "description": "Cut sewing thread and reposition red patterned fabric on table.",
          "span_indices": [
            35,
            36
          ]
        },
        {
          "episode_id": 3,
          "start_time": 693.0,
          "end_time": 786.0,
          "description": "Pick up red trim, align with fabric edge, and sew it on.",
          "span_indices": [
            37,
            38,
            39
          ]
        },
        {
          "episode_id": 4,
          "start_time": 786.0,
          "end_time": 809.4,
          "description": "Cut thread, reposition fabric, and sew final edge with sewing machine.",
          "span_indices": [
            40,
            41,
            42
          ]
        }
      ]
    }
  ]
}