Rename project and namespaces

This commit is contained in:
Eirik Tsarpalis 2025-03-19 10:51:27 +02:00
commit c9ed453745

View file

@ -0,0 +1,26 @@
namespace ModelContextProtocol.Protocol.Types;
/// <summary>
/// Represents a root URI and its metadata.
/// <see href="https://github.com/modelcontextprotocol/specification/blob/main/schema/2024-11-05/schema.json">See the schema for details</see>
/// </summary>
public class Root
{
/// <summary>
/// The URI of the root.
/// </summary>
[System.Text.Json.Serialization.JsonPropertyName("uri")]
public required string Uri { get; init; }
/// <summary>
/// A human-readable name for the root.
/// </summary>
[System.Text.Json.Serialization.JsonPropertyName("name")]
public string? Name { get; init; }
/// <summary>
/// Additional metadata for the root. Reserved by the protocol for future use.
/// </summary>
[System.Text.Json.Serialization.JsonPropertyName("meta")]
public object? Meta { get; init; }
}