using MessagePack; using System.Text.Json.Serialization; namespace SVSim.EmulatedEntrypoint.Models.Dtos.Requests.Card; /// /// POST /card/create. The single payload field is a JSON-encoded STRING (double-encoded — /// see docs/api-spec/endpoints/post-login/card-create.md). Inner object maps /// cardId → "<num_to_create>,<client_possession_snapshot>". Both inner values /// are strings. Same wire format as /card/destruct; CardController parses both with the /// shared TryParseCardCountDict helper. /// [MessagePackObject] public class CardCreateRequest : BaseRequest { [JsonPropertyName("card_id_number_array")] [Key("card_id_number_array")] public string CardIdNumberArray { get; set; } = string.Empty; }