namespace Bitvault; public record ItemConfiguration { public string Name { get; set; } = ""; public IList? Sections { get; set; } public static ItemConfiguration CreditCard => new() { Name = "Credit Card", Sections = new List { new() { Entries = new List { new TextEntryConfiguration { Label = "Cardholder name" }, new DropdownEntryConfiguration { Label = "Type", }, new MaskedTextEntryConfiguration { Label = "Card number" }, new MaskedTextEntryConfiguration { Label = "Expiry date" }, new MaskedTextEntryConfiguration { Label = "Card verification code" }, } } } }; }