using System.Text.Json.Serialization;

namespace StellaOps.Scanner.Sbomer.BuildXPlugin.Attestation;

public sealed record AttestorProvenanceRequest(
    [property: JsonPropertyName("imageDigest")] string ImageDigest,
    [property: JsonPropertyName("sbomDigest")] string SbomDigest,
    [property: JsonPropertyName("expectedDsseSha256")] string ExpectedDsseSha256,
    [property: JsonPropertyName("nonce")] string Nonce,
    [property: JsonPropertyName("predicateType")] string PredicateType,
    [property: JsonPropertyName("schema")] string Schema);
