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

    Interface BudgetData

    Response of /internalapi/budgetData.

    interface BudgetData {
        children?: (JsonObject | BudgetElement)[];
        detail: JsonObject | BudgetElement;
        meta: BudgetMeta;
        parents?: LabeledElement[][];
        related?: {
            agency?: LabeledElement[];
            function?: LabeledElement[];
            group?: LabeledElement[];
        };
    }
    Index
    children?: (JsonObject | BudgetElement)[]

    The elements one level down. Absent at a leaf (a Titel).

    The selected element. NB: the wire field is detail (singular).

    parents?: LabeledElement[][]

    Below the top level: one list per level above the selection, each holding that level's elements (the selected ancestor among its siblings).

    related?: {
        agency?: LabeledElement[];
        function?: LabeledElement[];
        group?: LabeledElement[];
    }

    At a leaf only: the element's path in each of the other groupings, from the top down (a flat breadcrumb list per grouping).