Data model for account performance stats in the LichessNET namespace. It defines a PerformanceStats class with properties for the user id/name, performance type (Perf), rank, percentile and detailed stat (Stat).
#nullable enable annotations
using System.Text.Json.Serialization;
namespace LichessNET.Entities.Account.Performance;
public class PerformanceStats
{
public string User { get; set; }
public Perf Perf { get; set; }
public int Rank { get; set; }
public double Percentile { get; set; }
public Stat Stat { get; set; }
}