@maschinenlesbar.org/deutsche-digitale-bibliothek-cli
    Preparing search index...

    Interface ObjectRecord

    The answer of getObjectRecord.

    interface ObjectRecord {
        chunks: string[];
        contentType?: string;
        format?: "json" | "text" | "xml";
        heldBy?: string;
        nextOffset?: number;
        notes: string[];
        offset: number;
        reason?: string;
        searched: {
            id: string;
            lang?: string;
            part:
                | "aip"
                | "edm"
                | "source"
                | "source-description"
                | "source-record"
                | "iiif"
                | "citation";
        };
        status: "ok"
        | "empty";
        totalChunks: number;
    }
    Index
    chunks: string[]

    A page of the record's text, in order.

    contentType?: string
    format?: "json" | "text" | "xml"

    json (the JSON, indented), xml (edm, source-record) or text (citation).

    heldBy?: string

    The ancestor whose record this is, when the object has none of its own.

    nextOffset?: number
    notes: string[]
    offset: number
    reason?: string
    searched: {
        id: string;
        lang?: string;
        part:
            | "aip"
            | "edm"
            | "source"
            | "source-description"
            | "source-record"
            | "iiif"
            | "citation";
    }
    status: "ok" | "empty"
    totalChunks: number

    How many chunks the whole record has.