using System.Collections.Generic; using System.Text.Json.Serialization; namespace StellaOps.Scanner.WebService.Contracts; public sealed record EntropyLayerRequest( [property: JsonPropertyName("layerDigest")] string LayerDigest, [property: JsonPropertyName("opaqueRatio")] double OpaqueRatio, [property: JsonPropertyName("opaqueBytes")] long OpaqueBytes, [property: JsonPropertyName("totalBytes")] long TotalBytes); public sealed record EntropyIngestRequest( [property: JsonPropertyName("imageOpaqueRatio")] double ImageOpaqueRatio, [property: JsonPropertyName("layers")] IReadOnlyList Layers);