using System.Text.Json.Serialization; namespace OI.Metrology.Shared.Models; public record Surfscan( [property: JsonPropertyName("surfscanSigReq")] bool SurfscanSigReq, [property: JsonPropertyName("surfscanRecipes")] SurfscanRecipe[] SurfscanRecipes ); [JsonSourceGenerationOptions(WriteIndented = true)] [JsonSerializable(typeof(Surfscan))] public partial class SurfscanSourceGenerationContext : JsonSerializerContext { }