using System.Text.Json.Serialization;

namespace StellaOps.Scanner.Sbomer.BuildXPlugin.Descriptor;

/// <summary>
/// Provenance placeholders that the Attestor will fulfil post-build.
/// </summary>
public sealed record DescriptorProvenance(
    [property: JsonPropertyName("status")] string Status,
    [property: JsonPropertyName("expectedDsseSha256")] string ExpectedDsseSha256,
    [property: JsonPropertyName("nonce")] string Nonce,
    [property: JsonPropertyName("attestorUri")] string? AttestorUri,
    [property: JsonPropertyName("predicateType")] string PredicateType);
