#region ========================================================================= USING =====================================================================================
using System.Text.Json.Serialization;
#endregion
namespace Nemera.Plugins.OpenLibrary.Common.Models.Contracts.Responses;
///
/// Represents a response for the summary of the ratings of a work from the Open Library API.
///
internal sealed record OpenLibraryRatingSummaryResponse
{
///
/// Gets the average rating of the work.
///
[JsonPropertyName("average")]
public decimal? Average { get; init; }
///
/// Gets the number of ratings of the work.
///
[JsonPropertyName("count")]
public int? Count { get; init; }
}