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