Editor/Resource.cs
using System.Text.Json.Serialization;
namespace Braxnet;
public class Resource
{
[JsonPropertyName( "uri" )] public string Uri { get; set; } = "";
[JsonPropertyName( "name" )] public string Name { get; set; } = "";
[JsonPropertyName( "title" )] public string Title { get; set; }
[JsonPropertyName( "description" )] public string Description { get; set; }
[JsonPropertyName( "mimeType" )] public string MimeType { get; set; }
[JsonPropertyName( "size" )] public long? Size { get; set; }
}