mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-08-11 20:52:11 +00:00
19 lines
591 B
C#
19 lines
591 B
C#
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)]
|
|
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; }
|
|
} |