AI-Studio/app/MindWork AI Studio/Assistants/VisualBriefing/VisualBriefingFormulaSpec.cs
2026-07-30 19:36:52 +02:00

22 lines
771 B
C#

using System.Text.Json.Serialization;
namespace AIStudio.Assistants.VisualBriefing;
/// <summary>
/// Connects one deterministic formula tree to a component result slot.
/// </summary>
[JsonUnmappedMemberHandling(JsonUnmappedMemberHandling.Disallow)]
public sealed class VisualBriefingFormulaSpec
{
/// <summary>Gets or sets the owning component identifier.</summary>
[JsonRequired]
public string ComponentId { get; set; } = string.Empty;
/// <summary>Gets or sets the slot receiving the calculated result.</summary>
[JsonRequired]
public string OutputSlotId { get; set; } = string.Empty;
/// <summary>Gets or sets the bounded formula tree.</summary>
[JsonRequired]
public VisualBriefingFormulaNode Formula { get; set; } = new();
}