{
  "plot_board_title": "Game of Thrones: The Final War - Season Overview",
  "season_overview": "In the final season of Game of Thrones, the living unite against the Night King and his army, navigating political tensions and personal conflicts. As alliances are tested, Daenerys Targaryen seeks to claim the Iron Throne while Jon Snow grapples with his dual identity. The season culminates in a climactic battle that reshapes the political landscape of Westeros, leading to a new dawn for the realm.",
  "episode_beats": [
    {
      "episode_number": 1,
      "episode_title": "The Gathering Storm",
      "beats": [
        {
          "beat_id": "S8E1-B1",
          "summary": "Jon Snow and Daenerys Targaryen arrive at Winterfell to a mixed reception from the Northern lords.",
          "characters": [
            "Jon Snow",
            "Daenerys Targaryen",
            "Sansa Stark"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "setup"
          ]
        },
        {
          "beat_id": "S8E1-B2",
          "summary": "Sansa confronts Jon about his alliance with Daenerys, expressing her fears for the North.",
          "characters": [
            "Sansa Stark",
            "Jon Snow"
          ],
          "locations": [
            "Great Hall, Winterfell"
          ],
          "functions": [
            "escalation"
          ]
        },
        {
          "beat_id": "S8E1-B3",
          "summary": "Bran reveals Jon's true parentage to him, complicating his identity.",
          "characters": [
            "Bran Stark",
            "Jon Snow"
          ],
          "locations": [
            "Godswood, Winterfell"
          ],
          "functions": [
            "reveal"
          ]
        },
        {
          "beat_id": "S8E1-B4",
          "summary": "Tyrion attempts to mediate tensions between Jon and Sansa.",
          "characters": [
            "Tyrion Lannister",
            "Sansa Stark",
            "Jon Snow"
          ],
          "locations": [
            "Great Hall, Winterfell"
          ],
          "functions": [
            "setup",
            "escalation"
          ]
        },
        {
          "beat_id": "S8E1-B5",
          "summary": "Jaime Lannister arrives at Winterfell, seeking to ally with the Starks.",
          "characters": [
            "Jaime Lannister",
            "Jon Snow",
            "Sansa Stark"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "setup"
          ]
        },
        {
          "beat_id": "S8E1-B6",
          "summary": "The council meeting ends in division, with Jon declaring a united front against the Night King.",
          "characters": [
            "Jon Snow",
            "Sansa Stark",
            "Daenerys Targaryen"
          ],
          "locations": [
            "Great Hall, Winterfell"
          ],
          "functions": [
            "resolution"
          ]
        }
      ]
    },
    {
      "episode_number": 2,
      "episode_title": "The Calm Before the Storm",
      "beats": [
        {
          "beat_id": "S8E2-B1",
          "summary": "Jon and Daenerys strategize their defense against the Night King.",
          "characters": [
            "Jon Snow",
            "Daenerys Targaryen"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "setup"
          ]
        },
        {
          "beat_id": "S8E2-B2",
          "summary": "Sansa and Jaime clash over leadership and strategy.",
          "characters": [
            "Sansa Stark",
            "Jaime Lannister"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "escalation"
          ]
        },
        {
          "beat_id": "S8E2-B3",
          "summary": "Cersei sends a message to the North, attempting to sow discord.",
          "characters": [
            "Cersei Lannister"
          ],
          "locations": [
            "King's Landing"
          ],
          "functions": [
            "setup"
          ]
        },
        {
          "beat_id": "S8E2-B4",
          "summary": "Jaime reveals he has information about Cersei's plans.",
          "characters": [
            "Jaime Lannister"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "reveal"
          ]
        },
        {
          "beat_id": "S8E2-B5",
          "summary": "The North prepares for the impending battle, tension palpable.",
          "characters": [
            "Jon Snow",
            "Daenerys Targaryen"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "resolution"
          ]
        }
      ]
    },
    {
      "episode_number": 3,
      "episode_title": "The First Confrontation",
      "beats": [
        {
          "beat_id": "S8E3-B1",
          "summary": "Jon and Daenerys gather the Northern lords and Unsullied in the courtyard of Winterfell.",
          "characters": [
            "Jon Snow",
            "Daenerys Targaryen",
            "Sansa Stark"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "setup"
          ]
        },
        {
          "beat_id": "S8E3-B2",
          "summary": "Bran reveals a vision of the Night King's vulnerability.",
          "characters": [
            "Bran Stark"
          ],
          "locations": [
            "Godswood, Winterfell"
          ],
          "functions": [
            "reveal"
          ]
        },
        {
          "beat_id": "S8E3-B3",
          "summary": "The battle begins at dusk, with the Army of the Dead clashing against the living.",
          "characters": [
            "Jon Snow",
            "Daenerys Targaryen"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "escalation"
          ]
        },
        {
          "beat_id": "S8E3-B4",
          "summary": "Cersei's forces attack from the rear, complicating the battle.",
          "characters": [
            "Cersei Lannister"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "setup"
          ]
        },
        {
          "beat_id": "S8E3-B5",
          "summary": "Jon confronts the Night King directly, risking his life.",
          "characters": [
            "Jon Snow",
            "Night King"
          ],
          "locations": [
            "Battlefield"
          ],
          "functions": [
            "climax"
          ]
        },
        {
          "beat_id": "S8E3-B6",
          "summary": "The Night King reveals his ability to raise the dead.",
          "characters": [
            "Night King"
          ],
          "locations": [
            "Battlefield"
          ],
          "functions": [
            "reveal"
          ]
        },
        {
          "beat_id": "S8E3-B7",
          "summary": "Jon and Daenerys make a final push towards the Night King.",
          "characters": [
            "Jon Snow",
            "Daenerys Targaryen"
          ],
          "locations": [
            "Battlefield"
          ],
          "functions": [
            "resolution"
          ]
        }
      ]
    },
    {
      "episode_number": 4,
      "episode_title": "The Weight of the Crown",
      "beats": [
        {
          "beat_id": "S8E4-B1",
          "summary": "Jon and Daenerys gather Northern lords for a council meeting.",
          "characters": [
            "Jon Snow",
            "Daenerys Targaryen",
            "Sansa Stark"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "setup"
          ]
        },
        {
          "beat_id": "S8E4-B2",
          "summary": "Sansa confronts Daenerys about her intentions.",
          "characters": [
            "Sansa Stark",
            "Daenerys Targaryen"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "escalation"
          ]
        },
        {
          "beat_id": "S8E4-B3",
          "summary": "Bran reveals a vision of the Night King's vulnerability.",
          "characters": [
            "Bran Stark"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "reveal"
          ]
        },
        {
          "beat_id": "S8E4-B4",
          "summary": "Jaime arrives at Winterfell, revealing Cersei's plans.",
          "characters": [
            "Jaime Lannister"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "setup"
          ]
        },
        {
          "beat_id": "S8E4-B5",
          "summary": "The council meeting culminates in a heated argument.",
          "characters": [
            "Jon Snow",
            "Sansa Stark",
            "Daenerys Targaryen"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "resolution"
          ]
        }
      ]
    },
    {
      "episode_number": 5,
      "episode_title": "The Final Confrontation",
      "beats": [
        {
          "beat_id": "S8E5-B1",
          "summary": "Jon and Daenerys lead the charge against the Night King.",
          "characters": [
            "Jon Snow",
            "Daenerys Targaryen"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "setup"
          ]
        },
        {
          "beat_id": "S8E5-B2",
          "summary": "Cersei's forces attack from the rear, complicating the battle.",
          "characters": [
            "Cersei Lannister"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "setup"
          ]
        },
        {
          "beat_id": "S8E5-B3",
          "summary": "Jon confronts the Night King directly.",
          "characters": [
            "Jon Snow",
            "Night King"
          ],
          "locations": [
            "Battlefield"
          ],
          "functions": [
            "climax"
          ]
        },
        {
          "beat_id": "S8E5-B4",
          "summary": "Daenerys intervenes, showcasing her strength.",
          "characters": [
            "Daenerys Targaryen"
          ],
          "locations": [
            "Battlefield"
          ],
          "functions": [
            "resolution"
          ]
        },
        {
          "beat_id": "S8E5-B5",
          "summary": "The Night King is defeated, ending the immediate threat.",
          "characters": [
            "Jon Snow",
            "Daenerys Targaryen"
          ],
          "locations": [
            "Battlefield"
          ],
          "functions": [
            "resolution"
          ]
        }
      ]
    },
    {
      "episode_number": 6,
      "episode_title": "A New Dawn",
      "beats": [
        {
          "beat_id": "S8E6-B1",
          "summary": "Daenerys proposes a council representing all major houses.",
          "characters": [
            "Daenerys Targaryen",
            "Sansa Stark",
            "Jon Snow"
          ],
          "locations": [
            "Great Hall, Winterfell"
          ],
          "functions": [
            "setup"
          ]
        },
        {
          "beat_id": "S8E6-B2",
          "summary": "Jon reveals his true parentage to Daenerys.",
          "characters": [
            "Jon Snow",
            "Daenerys Targaryen"
          ],
          "locations": [
            "Private Chamber, Winterfell"
          ],
          "functions": [
            "reveal"
          ]
        },
        {
          "beat_id": "S8E6-B3",
          "summary": "Cersei attempts to manipulate Jaime into rescuing her.",
          "characters": [
            "Cersei Lannister",
            "Jaime Lannister"
          ],
          "locations": [
            "King's Landing"
          ],
          "functions": [
            "setup"
          ]
        },
        {
          "beat_id": "S8E6-B4",
          "summary": "The council meeting leads to a consensus on Daenerys as Queen.",
          "characters": [
            "Daenerys Targaryen",
            "Sansa Stark",
            "Jon Snow"
          ],
          "locations": [
            "Great Hall, Winterfell"
          ],
          "functions": [
            "resolution"
          ]
        },
        {
          "beat_id": "S8E6-B5",
          "summary": "Daenerys is crowned Queen of Westeros.",
          "characters": [
            "Daenerys Targaryen"
          ],
          "locations": [
            "Great Hall, Winterfell"
          ],
          "functions": [
            "resolution"
          ]
        }
      ]
    }
  ],
  "character_arcs": [
    {
      "character": "Jon Snow",
      "starting_state": "Allied romantically and militarily with Daenerys; King in the North role is politically strained.",
      "turning_points": [
        {
          "episode_number": 1,
          "summary": "Jon learns of his true parentage."
        },
        {
          "episode_number": 5,
          "summary": "Jon confronts the Night King directly."
        }
      ],
      "ending_state": "Protects the North as a Stark, embracing his heritage.",
      "consistency_notes": [
        "Jon's character arc remains consistent with his established motivations and relationships."
      ]
    },
    {
      "character": "Daenerys Targaryen",
      "starting_state": "Sailing north with Jon to fight the dead while still claiming the Iron Throne.",
      "turning_points": [
        {
          "episode_number": 1,
          "summary": "Daenerys faces skepticism from the Northern lords."
        },
        {
          "episode_number": 6,
          "summary": "Daenerys is crowned Queen of Westeros."
        }
      ],
      "ending_state": "Crowned Queen of Westeros, ruling with a council.",
      "consistency_notes": [
        "Daenerys's arc reflects her growth as a leader and her commitment to unity."
      ]
    },
    {
      "character": "Sansa Stark",
      "starting_state": "Holds Winterfell/Northern authority and distrusts southern rulers.",
      "turning_points": [
        {
          "episode_number": 1,
          "summary": "Sansa confronts Jon about Daenerys."
        },
        {
          "episode_number": 6,
          "summary": "Sansa secures the North's independence."
        }
      ],
      "ending_state": "Independent ruler of the North, ensuring its safety.",
      "consistency_notes": [
        "Sansa's arc is consistent with her established protective instincts for the North."
      ]
    }
  ],
  "major_events": [
    {
      "event_id": "EVT-1",
      "episode_number": 1,
      "summary": "The Army of the Dead breaches the Wall.",
      "causes": [
        "The Night King's advance."
      ],
      "consequences": [
        "Jon and Daenerys must unite the North."
      ],
      "characters": [
        "Jon Snow",
        "Daenerys Targaryen"
      ]
    },
    {
      "event_id": "EVT-2",
      "episode_number": 5,
      "summary": "The Night King is defeated in battle.",
      "causes": [
        "Jon confronts the Night King."
      ],
      "consequences": [
        "The immediate threat to the living is eliminated."
      ],
      "characters": [
        "Jon Snow",
        "Daenerys Targaryen"
      ]
    }
  ],
  "relationship_changes": [
    {
      "characters": [
        "Jon Snow",
        "Daenerys Targaryen"
      ],
      "episode_number": 6,
      "before": "Allied romantically and militarily.",
      "after": "Jon embraces his Stark identity while acknowledging his Targaryen heritage.",
      "evidence": "Jon reveals his true parentage to Daenerys."
    },
    {
      "characters": [
        "Sansa Stark",
        "Daenerys Targaryen"
      ],
      "episode_number": 6,
      "before": "Distrustful of Daenerys's intentions.",
      "after": "Sansa secures the North's independence while recognizing the need for unity.",
      "evidence": "Sansa's role in the council meeting."
    }
  ],
  "reveals_and_twists": [
    {
      "episode_number": 1,
      "summary": "Bran reveals Jon's true parentage.",
      "setup": "Jon's identity crisis is established.",
      "payoff": "Jon learns he is a Targaryen.",
      "earnedness_score": 5
    },
    {
      "episode_number": 6,
      "summary": "Jon reveals his true parentage to Daenerys.",
      "setup": "Tension builds around Jon's identity.",
      "payoff": "Jon's lineage complicates his relationship with Daenerys.",
      "earnedness_score": 5
    }
  ],
  "foreshadowing_payoff_links": [
    {
      "setup_episode": 1,
      "setup": "The Night King's threat is established.",
      "payoff_episode": 5,
      "payoff": "The Night King is defeated in battle.",
      "link_strength": 5,
      "notes": "The buildup of the Night King's threat leads to a climactic confrontation."
    }
  ],
  "continuity_warnings": [
    {
      "severity": "high",
      "episode_number": 1,
      "issue": "Jon's parentage is not revealed to the wider realm.",
      "recommendation": "Ensure Jon's lineage is addressed in the final episode."
    }
  ],
  "narrative_consistency_scores": {
    "setup_payoff": 5,
    "character_continuity": 5,
    "timeline_continuity": 5,
    "relationship_continuity": 5,
    "theme_alignment": 5,
    "overall": 5,
    "notes": "The season maintains strong narrative consistency and character development throughout."
  },
  "graph_data": {
    "nodes": [
      {
        "id": "E1",
        "label": "The Gathering Storm",
        "type": "Episode",
        "properties": {}
      },
      {
        "id": "E2",
        "label": "The Calm Before the Storm",
        "type": "Episode",
        "properties": {}
      },
      {
        "id": "E3",
        "label": "The First Confrontation",
        "type": "Episode",
        "properties": {}
      },
      {
        "id": "E4",
        "label": "The Weight of the Crown",
        "type": "Episode",
        "properties": {}
      },
      {
        "id": "E5",
        "label": "The Final Confrontation",
        "type": "Episode",
        "properties": {}
      },
      {
        "id": "E6",
        "label": "A New Dawn",
        "type": "Episode",
        "properties": {}
      },
      {
        "id": "C1",
        "label": "Jon Snow",
        "type": "Character",
        "properties": {}
      },
      {
        "id": "C2",
        "label": "Daenerys Targaryen",
        "type": "Character",
        "properties": {}
      },
      {
        "id": "C3",
        "label": "Sansa Stark",
        "type": "Character",
        "properties": {}
      },
      {
        "id": "C4",
        "label": "Bran Stark",
        "type": "Character",
        "properties": {}
      },
      {
        "id": "C5",
        "label": "Tyrion Lannister",
        "type": "Character",
        "properties": {}
      },
      {
        "id": "C6",
        "label": "Cersei Lannister",
        "type": "Character",
        "properties": {}
      },
      {
        "id": "C7",
        "label": "Jaime Lannister",
        "type": "Character",
        "properties": {}
      },
      {
        "id": "C8",
        "label": "Arya Stark",
        "type": "Character",
        "properties": {}
      },
      {
        "id": "E1-B1",
        "label": "Jon and Daenerys arrive at Winterfell",
        "type": "Beat",
        "properties": {}
      },
      {
        "id": "E1-B2",
        "label": "Sansa confronts Jon",
        "type": "Beat",
        "properties": {}
      },
      {
        "id": "E1-B3",
        "label": "Bran reveals Jon's parentage",
        "type": "Beat",
        "properties": {}
      },
      {
        "id": "E1-B4",
        "label": "Tyrion mediates tensions",
        "type": "Beat",
        "properties": {}
      },
      {
        "id": "E1-B5",
        "label": "Jaime arrives at Winterfell",
        "type": "Beat",
        "properties": {}
      },
      {
        "id": "E1-B6",
        "label": "Council meeting ends in division",
        "type": "Beat",
        "properties": {}
      }
    ],
    "edges": [
      {
        "source": "E1",
        "target": "E1-B1",
        "type": "HAS_BEAT",
        "properties": {}
      },
      {
        "source": "E1",
        "target": "E1-B2",
        "type": "HAS_BEAT",
        "properties": {}
      },
      {
        "source": "E1",
        "target": "E1-B3",
        "type": "HAS_BEAT",
        "properties": {}
      },
      {
        "source": "E1",
        "target": "E1-B4",
        "type": "HAS_BEAT",
        "properties": {}
      },
      {
        "source": "E1",
        "target": "E1-B5",
        "type": "HAS_BEAT",
        "properties": {}
      },
      {
        "source": "E1",
        "target": "E1-B6",
        "type": "HAS_BEAT",
        "properties": {}
      },
      {
        "source": "C1",
        "target": "E1-B1",
        "type": "FEATURES",
        "properties": {}
      },
      {
        "source": "C2",
        "target": "E1-B1",
        "type": "FEATURES",
        "properties": {}
      },
      {
        "source": "C3",
        "target": "E1-B2",
        "type": "FEATURES",
        "properties": {}
      },
      {
        "source": "C1",
        "target": "E1-B3",
        "type": "FEATURES",
        "properties": {}
      },
      {
        "source": "C2",
        "target": "E1-B4",
        "type": "FEATURES",
        "properties": {}
      },
      {
        "source": "C3",
        "target": "E1-B5",
        "type": "FEATURES",
        "properties": {}
      }
    ]
  }
}