Some checks failed
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Docs CI / lint-and-preview (push) Has been cancelled
Mirror Thin Bundle Sign & Verify / mirror-sign (push) Has been cancelled
api-governance / spectral-lint (push) Has been cancelled
14 lines
595 B
C#
14 lines
595 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace StellaOps.Policy.Engine.TrustWeighting;
|
|
|
|
internal sealed record TrustWeightingEntry(
|
|
[property: JsonPropertyName("source")] string Source,
|
|
[property: JsonPropertyName("weight")] decimal Weight,
|
|
[property: JsonPropertyName("justification")] string? Justification,
|
|
[property: JsonPropertyName("updated_at")] string UpdatedAt);
|
|
|
|
internal sealed record TrustWeightingProfile(
|
|
[property: JsonPropertyName("weights")] IReadOnlyList<TrustWeightingEntry> Weights,
|
|
[property: JsonPropertyName("profile_hash")] string ProfileHash);
|