Skip to content

Variable: GenieDatasetSchema

const GenieDatasetSchema: ZodObject<{ chart: ZodOptional<ZodObject<{ chartId: ZodString; chartType: ZodUnion<readonly [ZodLiteral<"bar">, ZodLiteral<"horizontalBar">, ZodLiteral<"line">, ZodLiteral<"area">, ZodLiteral<"combo">, ZodLiteral<"waterfall">, ZodLiteral<"scatter">, ZodLiteral<"heatmap">, ZodLiteral<"radar">, ZodLiteral<"pie">, ZodLiteral<"funnel">, ZodLiteral<"treemap">, ZodLiteral<"custom">]>; }, $strip>>; data: ZodObject<{ columns: ZodArray<ZodString>; rowCount: ZodNumber; rows: ZodArray<ZodRecord<ZodString, ZodUnknown>>; }, $strip>; }, $strip>

Dataset bundle attached to a GenieSummaryItem visualize item. data is always populated; chart is best-effort and absent when the workflow’s chart-planner failed (timeout, malformed plan, abort) so the host UI can still render the underlying table.