// Copyright (c) Microsoft. All rights reserved. using System.Text.Json.Serialization; namespace AGUIDojoClient.Components.Demos.AgenticGenerativeUI; /// /// Represents a JSON Patch operation (RFC 6902). /// public sealed class JsonPatchOperation { /// /// The operation to perform (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 (used with "replace", "add", "test"). /// [JsonPropertyName("value")] public object? Value { get; set; } }