The JSON:API document shape for use by more specific types.

interface JsonApiDocument {
    data?: Arrayable<Data>;
    included?: Data[];
    jsonapi?: {
        ext?: Record<string, unknown>;
        meta?: Meta;
        profile?: string;
        version?: string;
    };
    links?: ApiLinks;
    meta?: Meta;
}

Properties

data?: Arrayable<Data>
included?: Data[]
jsonapi?: {
    ext?: Record<string, unknown>;
    meta?: Meta;
    profile?: string;
    version?: string;
}
links?: ApiLinks
meta?: Meta