using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;

namespace StellaOps.Feedser.Source.CertFr.Internal;

internal sealed record CertFrDto(
    [property: JsonPropertyName("advisoryId")] string AdvisoryId,
    [property: JsonPropertyName("title")] string Title,
    [property: JsonPropertyName("detailUrl")] string DetailUrl,
    [property: JsonPropertyName("published")] DateTimeOffset Published,
    [property: JsonPropertyName("summary")] string? Summary,
    [property: JsonPropertyName("content")] string Content,
    [property: JsonPropertyName("references")] IReadOnlyList<string> References);
