2026-07-30 17:36:52 +00:00
|
|
|
using System.Text.Json;
|
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace AIStudio.Assistants.VisualBriefing;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Assigns a validated JSON value to one planned semantic slot.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonUnmappedMemberHandling(JsonUnmappedMemberHandling.Disallow)]
|
2026-08-02 17:02:56 +00:00
|
|
|
[CanonicalJsonShape("6cfa3f02")]
|
2026-07-30 17:36:52 +00:00
|
|
|
public sealed class VisualBriefingSlotValue
|
|
|
|
|
{
|
|
|
|
|
/// <summary>Gets or sets the planned slot identifier.</summary>
|
|
|
|
|
[JsonRequired]
|
|
|
|
|
public string SlotId { get; init; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
/// <summary>Gets or sets the validated slot value.</summary>
|
|
|
|
|
[JsonRequired]
|
|
|
|
|
public JsonElement Value { get; init; }
|
|
|
|
|
}
|