diff --git a/ArchiSteamFarm/SteamItem.cs b/ArchiSteamFarm/SteamItem.cs index 50703e70b1681..3f6fcfbd9a39c 100644 --- a/ArchiSteamFarm/SteamItem.cs +++ b/ArchiSteamFarm/SteamItem.cs @@ -28,25 +28,25 @@ namespace ArchiSteamFarm { internal sealed class SteamItem { // REF: https://developer.valvesoftware.com/wiki/Steam_Web_API/IEconService#CEcon_Asset - [JsonProperty(Required = Required.Always)] + [JsonProperty(Required = Required.DisallowNull)] internal string appid { get; set; } - [JsonProperty(Required = Required.Always)] + [JsonProperty(Required = Required.DisallowNull)] internal string contextid { get; set; } - [JsonProperty(Required = Required.Always)] + [JsonProperty(Required = Required.DisallowNull)] internal string assetid { get; set; } - [JsonProperty] + [JsonProperty(Required = Required.DisallowNull)] internal string id { get { return assetid; } set { assetid = value; } } - [JsonProperty(Required = Required.Always)] + [JsonProperty(Required = Required.AllowNull)] internal string classid { get; set; } - [JsonProperty(Required = Required.Always)] + [JsonProperty(Required = Required.AllowNull)] internal string instanceid { get; set; } [JsonProperty(Required = Required.Always)]