Code/Entities/Analysis/TablebaseMove.cs

Plain data model representing a tablebase move from Lichess analysis. It stores UCI and SAN move strings, several distance-to-... integer metrics (Dtz, PreciseDtz, Dtm, optional Dtw), several boolean flags about outcome or special states, and a Category string.

#nullable enable annotations

namespace LichessNET.Entities.Analysis;

public class TablebaseMove
{
    public string Uci { get; set; }
    public string San { get; set; }
    public int Dtz { get; set; }
    public int PreciseDtz { get; set; }
    public int Dtm { get; set; }
    public int? Dtw { get; set; }
    public bool Zeroing { get; set; }
    public bool Checkmate { get; set; }
    public bool Stalemate { get; set; }
    public bool VariantWin { get; set; }
    public bool VariantLoss { get; set; }
    public bool InsufficientMaterial { get; set; }
    public string Category { get; set; }
}