using System.Collections.Generic;

namespace StellaOps.Vexer.Policy;

public sealed class VexPolicyOptions
{
    public string? Version { get; set; }

    public VexPolicyWeightOptions Weights { get; set; } = new();

    public IDictionary<string, double>? ProviderOverrides { get; set; }
}

public sealed class VexPolicyWeightOptions
{
    public double? Vendor { get; set; }

    public double? Distro { get; set; }

    public double? Platform { get; set; }

    public double? Hub { get; set; }

    public double? Attestation { get; set; }
}
