namespace PolyTraderSharp.Models
{
    public class MarketData
    {
        public string Id { get; set; } = string.Empty;
        public string ConditionId { get; set; } = string.Empty;
        public string Question { get; set; } = string.Empty;
        public string Slug { get; set; } = string.Empty;
        public DateTime? EndDate { get; set; }
        public bool Active { get; set; }
        public bool Closed { get; set; }
        public string Category { get; set; } = string.Empty;

        // Will store the JSON array string of token IDs, e.g. "[\"123\", \"456\"]"
        public string ClobTokenIds { get; set; } = string.Empty;
        
        public string Outcomes { get; set; } = string.Empty; // e.g. "[\"Yes\", \"No\"]"

        public bool NegRisk { get; set; }

        /// <summary>
        /// Taker-Fee dieses Marktes in Basispunkten (100 = 1,0 %). 0 = keine/unbekannt.
        /// Wird beim Markt-Sync gesetzt (API-Feld bevorzugt, sonst Kategorie-Fallback via FeeModel).
        /// </summary>
        public int TakerFeeBps { get; set; }
    }
}
