// Copyright (c) Microsoft. All rights reserved.
using System.Text.Json.Serialization;
namespace AGUIDojoClient.Components.Demos.HumanInTheLoop;
///
/// Represents a JSON Patch operation.
///
public sealed class JsonPatchOperation
{
///
/// The operation type (e.g., "replace", "add", "remove").
///
[JsonPropertyName("op")]
public string Op { get; set; } = string.Empty;
///
/// The JSON Pointer path to the target location.
///
[JsonPropertyName("path")]
public string Path { get; set; } = string.Empty;
///
/// The value for the operation.
///
[JsonPropertyName("value")]
public object? Value { get; set; }
}