using System.Collections.Generic;

namespace QuestValidator.Models.Output
{
    public class AssortRoot
    {
        public List<Item> items { get; set; }
        public Dictionary<string, object> barter_scheme { get; set; }
        public Dictionary<string, int> loyal_level_items { get; set; }
    }

    public class Item
    {
        public string _id { get; set; }
        public string _tpl { get; set; }
        public string parentId { get; set; }
        public string slotId { get; set; }
        public Upd upd { get; set; }
    }

    public class Upd
    {
        public bool UnlimitedCount { get; set; }
        public int StackObjectsCount { get; set; }
        public int? BuyRestrictionMax { get; set; }
        public int? BuyRestrictionCurrent { get; set; }
    }

    public class BarterObject
    {
        public int count { get; set; }
        public string _tpl { get; set; }
    }
}