using System.Text.Json.Serialization;

namespace Nalu.Web.Models;

public record ValidatorInfo
{
    [JsonPropertyName("id")]
    public required string Id { get; init; }

    [JsonPropertyName("endpoint")]
    public required string Endpoint { get; init; }

    [JsonPropertyName("mcp_tool")]
    public required string McpTool { get; init; }

    [JsonPropertyName("description")]
    public required string Description { get; init; }

    [JsonPropertyName("version")]
    public required string Version { get; init; }

    [JsonPropertyName("languages")]
    public required List<string> Languages { get; init; }
}
