Norway Open Data SDK
    Preparing search index...

    Type Alias OpenDataResponse<T>

    Common response envelope used by successful SDK operations.

    type OpenDataResponse<T> = {
        cached: boolean;
        data: T;
        raw?: unknown;
        retrievedAt: string;
        source: OpenDataSource;
    }

    Type Parameters

    • T
    Index
    cached: boolean

    Whether the provider payload was served from the SDK memory cache.

    data: T

    Provider data, normalized only where semantics are unambiguous.

    raw?: unknown

    Provider-native payload, present only when includeRaw is true.

    retrievedAt: string

    ISO-8601 timestamp for this SDK retrieval.

    The public-data source responsible for the result.