@maschinenlesbar.org/marktstammdatenregister-cli
    Preparing search index...

    Interface UnitFilterInput

    The filters a count and a search take.

    interface UnitFilterInput {
        category?: UnitCategory;
        commissionedFrom?: string;
        commissionedTo?: string;
        district?: string;
        energySource?: string;
        filter?: string;
        maxCapacity?: number;
        minCapacity?: number;
        municipality?: string;
        name?: string;
        operator?: string;
        operatorNumber?: string;
        place?: string;
        postcode?: string;
        registeredFrom?: string;
        registeredTo?: string;
        state?: string;
        status?:
            | "inOperation"
            | "planned"
            | "temporarilyClosed"
            | "permanentlyClosed"
            | "any";
    }

    Hierarchy (View Summary)

    Index
    category?: UnitCategory

    The dataset (default stromerzeugung, electricity generation).

    commissionedFrom?: string

    Commissioned on or after this day (YYYY-MM-DD).

    commissionedTo?: string

    Commissioned on or before this day.

    district?: string

    The district (Landkreis), the whole name.

    energySource?: string

    Energy sources by name, alias or code, comma-separated: "Wind", "Solar, Wind", "2495" (stromerzeugung only).

    filter?: string

    More conditions in the register's grammar, ANDed (see FILTER_GRAMMAR).

    maxCapacity?: number

    Capacity at most this (inclusive).

    minCapacity?: number

    Capacity at least this (inclusive; stromerzeugung: gross kW).

    municipality?: string

    The municipality (Gemeinde), the whole official name ("Frankfurt am Main").

    name?: string

    Part of the unit's display name.

    operator?: string

    Part of the operator's name (organisations only; natural persons are anonymised).

    operatorNumber?: string

    The operator's MaStR number (ABR…).

    place?: string

    The town (Ort), the whole name as the register spells it: the postal town ("Frankfurt", not "Frankfurt am Main").

    postcode?: string

    A postcode, or its first digits (1–5).

    registeredFrom?: string

    Registered in the MaStR on or after this day.

    registeredTo?: string

    Registered on or before this day.

    state?: string

    Länder by name, abbreviation or code, comma-separated: "Bayern", "BY, BW", "NRW".

    status?:
        | "inOperation"
        | "planned"
        | "temporarilyClosed"
        | "permanentlyClosed"
        | "any"

    The operating status (default inOperation); any counts every unit ever registered.