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

    Optional AI-authored overrides that callers may supply to the five build*Analysis() functions. When a field is present and non-empty, it replaces the corresponding section of the default template-derived DeepAnalysis object.

    These overrides are typically sourced from loaded analysis markdown via module:Utils/ParseAnalysisStakeholders and close the Analysis-to-Article Data Contract gap documented in .github/prompts/SHARED_PROMPT_PATTERNS.md.

    interface AnalysisOverrides {
        stakeholderPerspectives?: readonly StakeholderPerspective[] | null;
        stakeholderOutcomeMatrix?: readonly StakeholderOutcomeMatrix[] | null;
        impactAssessment?:
            | {
                political: string;
                economic: string;
                social: string;
                legal: string;
                geopolitical: string;
            }
            | null;
    }
    Index

    Properties

    stakeholderPerspectives?: readonly StakeholderPerspective[] | null

    Replace the default six-bucket stakeholder perspective array

    stakeholderOutcomeMatrix?: readonly StakeholderOutcomeMatrix[] | null

    Replace the default stakeholder outcome matrix

    impactAssessment?:
        | {
            political: string;
            economic: string;
            social: string;
            legal: string;
            geopolitical: string;
        }
        | null

    Replace the AI_MARKER placeholders in every impact-assessment dimension