EU Parliament Monitor — API Documentation - v0.8.53
    Preparing search index...

    Interface ElectionCalendarContext

    Context about the upcoming EP election window, used by long-horizon article workflows (news-quarter-ahead, news-year-ahead, news-term-outlook, news-election-cycle) to calibrate electoral-cycle analysis depth.

    interface ElectionCalendarContext {
        termId: "EP10" | "EP11";
        nextElectionWindow: { start: string; end: string };
        daysToElection: number;
        electionImminentTier: ElectionImminentTier;
    }
    Index

    Properties

    termId: "EP10" | "EP11"

    Current or upcoming parliamentary term identifier

    nextElectionWindow: { start: string; end: string }

    Start/end ISO dates of the next election window

    daysToElection: number

    Days until the election window starts (negative if window already started)

    electionImminentTier: ElectionImminentTier

    Imminence tier based on days-to-election