{
  "plot_board_title": "Game of Thrones: The Final Stand - Season Overview",
  "season_overview": "In the wake of the Night King's advance, Westeros faces its greatest threat yet as alliances are tested and the battle for the Iron Throne intensifies. With the North divided and Cersei Lannister plotting from King's Landing, the fate of the realm hangs in the balance as heroes and villains alike must confront their pasts and make irrevocable choices.",
  "episode_beats": [
    {
      "episode_number": 1,
      "episode_title": "The Gathering Storm",
      "beats": [
        {
          "beat_id": "S8E1-B1",
          "summary": "Jon Snow and Daenerys Targaryen arrive at Winterfell, facing skepticism from Northern lords.",
          "characters": [
            "Jon Snow",
            "Daenerys Targaryen",
            "Sansa Stark",
            "Bran Stark",
            "Tyrion Lannister"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "setup",
            "escalation"
          ]
        },
        {
          "beat_id": "S8E1-B2",
          "summary": "Sansa confronts Jon about his alliance with Daenerys, expressing her fears.",
          "characters": [
            "Sansa Stark",
            "Jon Snow"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "escalation"
          ]
        },
        {
          "beat_id": "S8E1-B3",
          "summary": "Bran reveals Jon's true parentage to him.",
          "characters": [
            "Bran Stark",
            "Jon Snow"
          ],
          "locations": [
            "Godswood"
          ],
          "functions": [
            "reveal"
          ]
        },
        {
          "beat_id": "S8E1-B4",
          "summary": "Tensions rise as a Northern lord proposes a vote of no confidence in Jon's leadership.",
          "characters": [
            "Jon Snow",
            "Sansa Stark"
          ],
          "locations": [
            "Great Hall"
          ],
          "functions": [
            "escalation"
          ]
        },
        {
          "beat_id": "S8E1-B5",
          "summary": "Arya advocates for unity against the Night King.",
          "characters": [
            "Arya Stark"
          ],
          "locations": [
            "Great Hall"
          ],
          "functions": [
            "payoff"
          ]
        },
        {
          "beat_id": "S8E1-B6",
          "summary": "Daenerys decides to scout the Army of the Dead.",
          "characters": [
            "Daenerys Targaryen"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "resolution"
          ]
        }
      ]
    },
    {
      "episode_number": 2,
      "episode_title": "The Gathering Storm",
      "beats": [
        {
          "beat_id": "S8E2-B1",
          "summary": "Jon and Daenerys prepare the North for the Night King's advance.",
          "characters": [
            "Jon Snow",
            "Daenerys Targaryen"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "setup"
          ]
        },
        {
          "beat_id": "S8E2-B2",
          "summary": "Sansa confronts Jon about his loyalty to Daenerys.",
          "characters": [
            "Sansa Stark",
            "Jon Snow"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "escalation"
          ]
        },
        {
          "beat_id": "S8E2-B3",
          "summary": "Cersei plots to exploit the chaos in the North.",
          "characters": [
            "Cersei Lannister"
          ],
          "locations": [
            "King's Landing"
          ],
          "functions": [
            "setup"
          ]
        },
        {
          "beat_id": "S8E2-B4",
          "summary": "Jaime arrives at Winterfell, seeking redemption.",
          "characters": [
            "Jaime Lannister"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "setup"
          ]
        },
        {
          "beat_id": "S8E2-B5",
          "summary": "Bran warns of the Night King's imminent approach.",
          "characters": [
            "Bran Stark"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "reveal"
          ]
        }
      ]
    },
    {
      "episode_number": 3,
      "episode_title": "The Long Night's Reckoning",
      "beats": [
        {
          "beat_id": "S8E3-B1",
          "summary": "Jon and Daenerys rally the Northern lords for battle.",
          "characters": [
            "Jon Snow",
            "Daenerys Targaryen",
            "Sansa Stark"
          ],
          "locations": [
            "Great Hall"
          ],
          "functions": [
            "setup"
          ]
        },
        {
          "beat_id": "S8E3-B2",
          "summary": "Bran reveals the Night King's vulnerability to fire.",
          "characters": [
            "Bran Stark"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "reveal"
          ]
        },
        {
          "beat_id": "S8E3-B3",
          "summary": "The battle begins as the Army of the Dead attacks.",
          "characters": [
            "Jon Snow",
            "Daenerys Targaryen"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "escalation"
          ]
        },
        {
          "beat_id": "S8E3-B4",
          "summary": "Jaime arrives to support the living.",
          "characters": [
            "Jaime Lannister"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "setup"
          ]
        },
        {
          "beat_id": "S8E3-B5",
          "summary": "Viserion attacks the living, causing chaos.",
          "characters": [
            "Viserion",
            "Daenerys Targaryen"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "escalation"
          ]
        },
        {
          "beat_id": "S8E3-B6",
          "summary": "Jon confronts the Night King directly.",
          "characters": [
            "Jon Snow",
            "Night King"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "payoff"
          ]
        }
      ]
    },
    {
      "episode_number": 4,
      "episode_title": "The Weight of the Crown",
      "beats": [
        {
          "beat_id": "S8E4-B1",
          "summary": "A funeral is held for the fallen soldiers.",
          "characters": [
            "Jon Snow",
            "Daenerys Targaryen",
            "Sansa Stark"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "setup"
          ]
        },
        {
          "beat_id": "S8E4-B2",
          "summary": "Jon and Daenerys argue over their next steps.",
          "characters": [
            "Jon Snow",
            "Daenerys Targaryen"
          ],
          "locations": [
            "War Room"
          ],
          "functions": [
            "escalation"
          ]
        },
        {
          "beat_id": "S8E4-B3",
          "summary": "Sansa confronts Jon about his loyalty to Daenerys.",
          "characters": [
            "Sansa Stark",
            "Jon Snow"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "escalation"
          ]
        },
        {
          "beat_id": "S8E4-B4",
          "summary": "Arya decides to seek out the Lannisters.",
          "characters": [
            "Arya Stark"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "setup"
          ]
        },
        {
          "beat_id": "S8E4-B5",
          "summary": "Jaime arrives at Winterfell, seeking redemption.",
          "characters": [
            "Jaime Lannister"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "setup"
          ]
        },
        {
          "beat_id": "S8E4-B6",
          "summary": "Jon reveals his Targaryen parentage to Daenerys.",
          "characters": [
            "Jon Snow",
            "Daenerys Targaryen"
          ],
          "locations": [
            "Godswood"
          ],
          "functions": [
            "reveal"
          ]
        }
      ]
    },
    {
      "episode_number": 5,
      "episode_title": "The Final Confrontation",
      "beats": [
        {
          "beat_id": "S8E5-B1",
          "summary": "The Army of the Dead approaches Winterfell.",
          "characters": [
            "Night King",
            "Army of the Dead"
          ],
          "locations": [
            "Outside Winterfell"
          ],
          "functions": [
            "setup"
          ]
        },
        {
          "beat_id": "S8E5-B2",
          "summary": "Jon and Daenerys rally the Northern lords for battle.",
          "characters": [
            "Jon Snow",
            "Daenerys Targaryen"
          ],
          "locations": [
            "Great Hall"
          ],
          "functions": [
            "setup"
          ]
        },
        {
          "beat_id": "S8E5-B3",
          "summary": "The battle begins as the Army of the Dead attacks.",
          "characters": [
            "Jon Snow",
            "Daenerys Targaryen"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "escalation"
          ]
        },
        {
          "beat_id": "S8E5-B4",
          "summary": "Jon sacrifices himself to confront the Night King.",
          "characters": [
            "Jon Snow",
            "Night King"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "payoff"
          ]
        },
        {
          "beat_id": "S8E5-B5",
          "summary": "Daenerys unleashes Drogon to turn the tide of battle.",
          "characters": [
            "Daenerys Targaryen",
            "Drogon"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "escalation"
          ]
        }
      ]
    },
    {
      "episode_number": 6,
      "episode_title": "A New Dawn",
      "beats": [
        {
          "beat_id": "S8E6-B1",
          "summary": "The aftermath of the battle is revealed.",
          "characters": [
            "Jon Snow",
            "Daenerys Targaryen"
          ],
          "locations": [
            "Winterfell"
          ],
          "functions": [
            "setup"
          ]
        },
        {
          "beat_id": "S8E6-B2",
          "summary": "Jon reveals his Targaryen heritage to the council.",
          "characters": [
            "Jon Snow"
          ],
          "locations": [
            "Great Hall"
          ],
          "functions": [
            "reveal"
          ]
        },
        {
          "beat_id": "S8E6-B3",
          "summary": "Cersei is brought before the council.",
          "characters": [
            "Cersei Lannister"
          ],
          "locations": [
            "Great Hall"
          ],
          "functions": [
            "setup"
          ]
        },
        {
          "beat_id": "S8E6-B4",
          "summary": "The council votes on the future governance of Westeros.",
          "characters": [
            "Daenerys Targaryen",
            "Sansa Stark"
          ],
          "locations": [
            "Great Hall"
          ],
          "functions": [
            "payoff"
          ]
        },
        {
          "beat_id": "S8E6-B5",
          "summary": "Cersei is sentenced to exile.",
          "characters": [
            "Cersei Lannister"
          ],
          "locations": [
            "Great Hall"
          ],
          "functions": [
            "resolution"
          ]
        }
      ]
    }
  ],
  "character_arcs": [
    {
      "character": "Jon Snow",
      "starting_state": "Allied romantically and militarily with Daenerys; King in the North role is politically strained by his pledge.",
      "turning_points": [
        {
          "episode_number": 1,
          "summary": "Jon grapples with his dual identity as a Stark and Targaryen."
        },
        {
          "episode_number": 4,
          "summary": "Jon reveals his true parentage to Daenerys."
        },
        {
          "episode_number": 5,
          "summary": "Jon sacrifices himself to confront the Night King."
        }
      ],
      "ending_state": "Protector of the North, legitimized as Aegon Targaryen.",
      "consistency_notes": [
        "Jon's character arc remains consistent with his established motivations and relationships throughout the series."
      ]
    },
    {
      "character": "Daenerys Targaryen",
      "starting_state": "Sailing/moving 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": 4,
          "summary": "Daenerys's authority is challenged by Sansa."
        },
        {
          "episode_number": 6,
          "summary": "Daenerys agrees to share power with a council."
        }
      ],
      "ending_state": "Queen of Westeros, ruling with a council.",
      "consistency_notes": [
        "Daenerys's arc reflects her growth as a leader while grappling with the consequences of her ambition."
      ]
    },
    {
      "character": "Sansa Stark",
      "starting_state": "Holds Winterfell/Northern authority and distrusts southern rulers.",
      "turning_points": [
        {
          "episode_number": 1,
          "summary": "Sansa confronts Jon about his alliance with Daenerys."
        },
        {
          "episode_number": 4,
          "summary": "Sansa asserts her authority in the council."
        },
        {
          "episode_number": 6,
          "summary": "Sansa agrees to support Daenerys's proposal for a council."
        }
      ],
      "ending_state": "Leader of the North, maintaining its autonomy.",
      "consistency_notes": [
        "Sansa's character arc is consistent with her established motivations and growth throughout the series."
      ]
    }
  ],
  "major_events": [
    {
      "event_id": "EVT-1",
      "episode_number": 1,
      "summary": "The Army of the Dead breaches Eastwatch, signaling the start of the final conflict.",
      "causes": [
        "The Night King's advance from beyond the Wall."
      ],
      "consequences": [
        "The living must unite to face the impending threat."
      ],
      "characters": [
        "Jon Snow",
        "Daenerys Targaryen",
        "Sansa Stark"
      ]
    },
    {
      "event_id": "EVT-2",
      "episode_number": 5,
      "summary": "The Night King is defeated in a climactic battle at Winterfell.",
      "causes": [
        "Jon's sacrifice and Daenerys's use of Drogon."
      ],
      "consequences": [
        "The immediate threat of the White Walkers is eliminated."
      ],
      "characters": [
        "Jon Snow",
        "Daenerys Targaryen",
        "Night King"
      ]
    }
  ],
  "relationship_changes": [
    {
      "characters": [
        "Jon Snow",
        "Daenerys Targaryen"
      ],
      "episode_number": 4,
      "before": "Allied romantically and militarily.",
      "after": "Tension arises due to Jon's revelation of his parentage.",
      "evidence": "Jon reveals his Targaryen heritage to Daenerys."
    },
    {
      "characters": [
        "Sansa Stark",
        "Daenerys Targaryen"
      ],
      "episode_number": 6,
      "before": "Skeptical of Daenerys's intentions.",
      "after": "Agrees to support Daenerys's proposal for a council.",
      "evidence": "Sansa asserts the North's autonomy while supporting the new governance structure."
    }
  ],
  "reveals_and_twists": [
    {
      "episode_number": 1,
      "summary": "Bran reveals Jon's true parentage.",
      "setup": "Jon grapples with his identity as both Stark and Targaryen.",
      "payoff": "Jon's lineage complicates his leadership and relationship with Daenerys.",
      "earnedness_score": 5
    },
    {
      "episode_number": 4,
      "summary": "Jon reveals his Targaryen heritage to Daenerys.",
      "setup": "Tensions rise between Jon and Daenerys over leadership.",
      "payoff": "This revelation creates a rift in their relationship.",
      "earnedness_score": 5
    }
  ],
  "foreshadowing_payoff_links": [
    {
      "setup_episode": 1,
      "setup": "The Night King is revealed to be targeting Winterfell.",
      "payoff_episode": 5,
      "payoff": "The Night King is ultimately defeated at Winterfell.",
      "link_strength": 5,
      "notes": "The setup effectively builds tension leading to the climactic battle."
    }
  ],
  "continuity_warnings": [
    {
      "severity": "high",
      "episode_number": 1,
      "issue": "Jon's parentage is revealed but does not create immediate political implications.",
      "recommendation": "Ensure that Jon's lineage has clear consequences for his leadership and relationships."
    }
  ],
  "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, with character arcs and plot developments aligning with established lore."
  },
  "graph_data": {
    "nodes": [
      {
        "id": "S8E1",
        "label": "The Gathering Storm",
        "type": "Episode",
        "properties": {}
      },
      {
        "id": "S8E2",
        "label": "The Gathering Storm",
        "type": "Episode",
        "properties": {}
      },
      {
        "id": "S8E3",
        "label": "The Long Night's Reckoning",
        "type": "Episode",
        "properties": {}
      },
      {
        "id": "S8E4",
        "label": "The Weight of the Crown",
        "type": "Episode",
        "properties": {}
      },
      {
        "id": "S8E5",
        "label": "The Final Confrontation",
        "type": "Episode",
        "properties": {}
      },
      {
        "id": "S8E6",
        "label": "A New Dawn",
        "type": "Episode",
        "properties": {}
      },
      {
        "id": "Jon Snow",
        "label": "Jon Snow",
        "type": "Character",
        "properties": {}
      },
      {
        "id": "Daenerys Targaryen",
        "label": "Daenerys Targaryen",
        "type": "Character",
        "properties": {}
      },
      {
        "id": "Sansa Stark",
        "label": "Sansa Stark",
        "type": "Character",
        "properties": {}
      },
      {
        "id": "Bran Stark",
        "label": "Bran Stark",
        "type": "Character",
        "properties": {}
      },
      {
        "id": "Tyrion Lannister",
        "label": "Tyrion Lannister",
        "type": "Character",
        "properties": {}
      },
      {
        "id": "Cersei Lannister",
        "label": "Cersei Lannister",
        "type": "Character",
        "properties": {}
      },
      {
        "id": "Jaime Lannister",
        "label": "Jaime Lannister",
        "type": "Character",
        "properties": {}
      },
      {
        "id": "Arya Stark",
        "label": "Arya Stark",
        "type": "Character",
        "properties": {}
      },
      {
        "id": "Night King",
        "label": "Night King",
        "type": "Character",
        "properties": {}
      }
    ],
    "edges": [
      {
        "source": "S8E1",
        "target": "Jon Snow",
        "type": "HAS_BEAT",
        "properties": {}
      },
      {
        "source": "S8E1",
        "target": "Daenerys Targaryen",
        "type": "HAS_BEAT",
        "properties": {}
      },
      {
        "source": "S8E2",
        "target": "Jon Snow",
        "type": "HAS_BEAT",
        "properties": {}
      },
      {
        "source": "S8E2",
        "target": "Daenerys Targaryen",
        "type": "HAS_BEAT",
        "properties": {}
      },
      {
        "source": "S8E3",
        "target": "Jon Snow",
        "type": "HAS_BEAT",
        "properties": {}
      },
      {
        "source": "S8E3",
        "target": "Daenerys Targaryen",
        "type": "HAS_BEAT",
        "properties": {}
      },
      {
        "source": "S8E4",
        "target": "Jon Snow",
        "type": "HAS_BEAT",
        "properties": {}
      },
      {
        "source": "S8E4",
        "target": "Daenerys Targaryen",
        "type": "HAS_BEAT",
        "properties": {}
      },
      {
        "source": "S8E5",
        "target": "Jon Snow",
        "type": "HAS_BEAT",
        "properties": {}
      },
      {
        "source": "S8E5",
        "target": "Daenerys Targaryen",
        "type": "HAS_BEAT",
        "properties": {}
      },
      {
        "source": "S8E6",
        "target": "Jon Snow",
        "type": "HAS_BEAT",
        "properties": {}
      },
      {
        "source": "S8E6",
        "target": "Daenerys Targaryen",
        "type": "HAS_BEAT",
        "properties": {}
      },
      {
        "source": "S8E6",
        "target": "Cersei Lannister",
        "type": "HAS_BEAT",
        "properties": {}
      },
      {
        "source": "S8E6",
        "target": "Sansa Stark",
        "type": "HAS_BEAT",
        "properties": {}
      },
      {
        "source": "S8E6",
        "target": "Tyrion Lannister",
        "type": "HAS_BEAT",
        "properties": {}
      },
      {
        "source": "S8E6",
        "target": "Jaime Lannister",
        "type": "HAS_BEAT",
        "properties": {}
      },
      {
        "source": "S8E6",
        "target": "Bran Stark",
        "type": "HAS_BEAT",
        "properties": {}
      },
      {
        "source": "S8E6",
        "target": "Arya Stark",
        "type": "HAS_BEAT",
        "properties": {}
      }
    ]
  }
}