mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-08-11 22:12:11 +00:00
26 lines
888 B
C#
26 lines
888 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace AIStudio.Assistants.VisualBriefing;
|
|
|
|
/// <summary>
|
|
/// Defines the bounded semantic input for one compiled chart.
|
|
/// </summary>
|
|
[JsonUnmappedMemberHandling(JsonUnmappedMemberHandling.Disallow)]
|
|
public sealed class VisualBriefingChartSpec
|
|
{
|
|
/// <summary>Gets or sets the owning component identifier.</summary>
|
|
[JsonRequired]
|
|
public string ComponentId { get; set; } = string.Empty;
|
|
|
|
/// <summary>Gets or sets the chart presentation kind.</summary>
|
|
[JsonRequired]
|
|
public VisualBriefingChartKind Kind { get; set; }
|
|
|
|
/// <summary>Gets or sets the ordered category labels.</summary>
|
|
[JsonRequired]
|
|
public List<string> Categories { get; set; } = [];
|
|
|
|
/// <summary>Gets or sets the chart's numeric series.</summary>
|
|
[JsonRequired]
|
|
public List<VisualBriefingChartSeries> Series { get; set; } = [];
|
|
} |