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 Weights, [property: JsonPropertyName("profile_hash")] string ProfileHash);