#region ========================================================================= USING ===================================================================================== using System.Text.Json.Serialization; #endregion namespace Lumina.Plugins.OpenLibrary.Common.Models.Contracts.Responses; /// /// Represents a response for an author reference within a work from the Open Library API. /// internal sealed record OpenLibraryWorkAuthorResponse { /// /// Gets the author of the work. /// [JsonPropertyName("author")] public OpenLibraryKeyReferenceResponse? Author { get; init; } /// /// Gets the key of the author reference. /// [JsonPropertyName("key")] public string? Key { get; init; } // Older records can contain a direct key rather than an author wrapper. }