European Parliament MCP Server API - v1.3.9
    Preparing search index...

    Combined latest votes result merging RCV and VOT data.

    interface LatestVoteRecord {
        abstentions: number;
        dataSource: "RCV" | "VOT";
        date: string;
        id: string;
        reference: string;
        result: "ADOPTED" | "REJECTED";
        sourceUrl: string;
        subject: string;
        term: number;
        votesAgainst: number;
        votesFor: number;
        corrections?: RcvMepVote[];
        groupBreakdown?: Record<
            string,
            { abstain: number; against: number; for: number },
        >;
        mepVotes?: Record<string, "FOR" | "AGAINST" | "ABSTAIN">;
        officialCounts?: { abstentions: number; against: number; for: number };
        sittingDate?: string;
        sittingNumber?: string;
        voteType?: string;
    }
    Index

    Properties

    abstentions: number

    Total abstentions

    dataSource: "RCV" | "VOT"

    Which XML document type provided the data

    date: string

    Session date (YYYY-MM-DD)

    id: string

    Unique vote identifier

    reference: string

    Document/procedure reference

    result: "ADOPTED" | "REJECTED"

    Vote outcome

    sourceUrl: string

    Source URL of the XML document

    subject: string

    Subject/description of the vote

    term: number

    Parliamentary term number

    votesAgainst: number

    Total votes against

    votesFor: number

    Total votes in favor

    corrections?: RcvMepVote[]

    Vote corrections from RCV Correction element (optional)

    groupBreakdown?: Record<
        string,
        { abstain: number; against: number; for: number },
    >

    Political group breakdown of votes

    mepVotes?: Record<string, "FOR" | "AGAINST" | "ABSTAIN">

    Individual MEP votes (from RCV data, keyed by mepId)

    officialCounts?: { abstentions: number; against: number; for: number }

    Official counts from XML Number/For/Against/Abst attributes (optional)

    sittingDate?: string

    Sitting date from RCV data (YYYY-MM-DD; optional)

    sittingNumber?: string

    Sitting number from RCV data (optional)

    voteType?: string

    Vote type from the XML Type attribute (optional)