Riksdagsmonitor Intelligence Platform โ€” API Documentation - v1.0.30
    Preparing search index...
    interface ChromeOptions {
    ย ย ย ย lang: Language;
    ย ย ย ย title: string;
    ย ย ย ย description: string;
    ย ย ย ย keywords?: string;
    ย ย ย ย canonicalPath: string;
    ย ย ย ย hreflangAlternates?: Partial<Record<Language, string>>;
    ย ย ย ย publishedIso?: string;
    ย ย ย ย modifiedIso?: string;
    ย ย ย ย jsonLd?: readonly unknown[];
    ย ย ย ย extraHead?: string;
    ย ย ย ย extraStyle?: string;
    ย ย ย ย breadcrumbHtml?: string;
    ย ย ย ย section?: string;
    ย ย ย ย rssHref?: string;
    ย ย ย ย ogType?: "article" | "website";
    ย ย ย ย breadcrumb?: readonly BreadcrumbItem[];
    ย ย ย ย defaultAlternateBase?: string;
    ย ย ย ย bodyClass?: string;
    ย ย ย ย languageBar?: boolean;
    ย ย ย ย heroBanner?: boolean;
    ย ย ย ย heroBannerImage?: string;
    ย ย ย ย faqItems?: readonly FAQItem[];
    ย ย ย ย speakableSelectors?: readonly string[];
    ย ย ย ย relPrev?: string;
    ย ย ย ย relNext?: string;
    }
    Index
    lang: Language
    title: string
    description: string
    keywords?: string
    canonicalPath: string

    Canonical filename in the site root, e.g. news/2026-04-23/propositions-en.html.

    hreflangAlternates?: Partial<Record<Language, string>>

    Per-language alternate paths. If omitted, chrome only emits the current one.

    publishedIso?: string

    ISO-8601 date for article:published_time.

    modifiedIso?: string

    ISO-8601 date for article:modified_time / og:updated_time.

    jsonLd?: readonly unknown[]

    JSON-LD object(s) to inject inside <head> as <script type="application/ld+json">. Pass plain (non-serialised) JS objects โ€” the head renderer serialises them via JSON.stringify.

    extraHead?: string

    Extra <meta> / <link> lines to splice into <head>.

    extraStyle?: string

    Inline <style> body, appended verbatim.

    breadcrumbHtml?: string

    Prebuilt breadcrumb nav HTML (skipped if empty).

    section?: string

    Section identifier (og:article:section).

    rssHref?: string

    RSS feed URL, defaults to /rss.xml.

    ogType?: "article" | "website"

    og:type. Defaults to 'article' for backwards-compat with the article renderer. Index/sitemap/methodology pages should set 'website' so that crawlers do not treat them as individual articles and the article:* meta block is suppressed.

    breadcrumb?: readonly BreadcrumbItem[]

    Custom breadcrumb path used by buildChrome to render the sub-navigation row. The last item is the current page. When omitted, buildChrome falls back to the legacy 3-tier Home > Political Intelligence > {title} breadcrumb used by individual articles.

    defaultAlternateBase?: string

    Filename used by the lang-switcher fallback (when an explicit hreflangAlternates entry for a given language is not supplied). For the English version, this is the literal file (e.g. 'sitemap.html', 'political-intelligence.html'); other languages get the _${lang} suffix automatically. Defaults to 'index.html' so the fallback always lands on a valid landing page even if the current page is not translated.

    bodyClass?: string

    Extra space-separated CSS classes appended to the <body> after the canonical rm-article-body class.

    languageBar?: boolean

    When set to false, suppresses the always-visible horizontal <nav class="language-switcher rm-lang-bar"> row. Defaults to true.

    heroBanner?: boolean

    When true (default), emits the brand .hero-banner block immediately after <header class="rm-site-header">. Set false for chrome variants where a full-bleed banner conflicts with the page's own hero.

    heroBannerImage?: string

    Optional site-root-relative banner image used when heroBanner is enabled.

    faqItems?: readonly FAQItem[]

    Optional FAQ entries. When โ‰ฅ2 well-formed entries are provided, chrome auto-emits a Schema.org FAQPage JSON-LD block.

    speakableSelectors?: readonly string[]

    CSS selectors for SpeakableSpecification.

    relPrev?: string

    Optional <link rel="prev"> absolute URL for paginated listing pages.

    relNext?: string

    Optional <link rel="next"> absolute URL for paginated listing pages.