using Newtonsoft.Json;

namespace Nop.Web.Models.JsonLD;

public partial record JsonLdReviewModel : JsonLdModel
{
    #region Properties

    [JsonProperty("@type")]
    public static string Type => "Review";

    [JsonProperty("author")]
    public JsonLdPersonModel Author { get; set; }

    [JsonProperty("datePublished")]
    public string DatePublished { get; set; }

    [JsonProperty("name")]
    public string Name { get; set; }

    [JsonProperty("reviewBody")]
    public string ReviewBody { get; set; }

    [JsonProperty("reviewRating")]
    public JsonLdRatingModel ReviewRating { get; set; }

    #endregion
}