// <copyright file="ParentalRatingSystem.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>

namespace MediaBrowser.Model.Entities;

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

/// <summary>
/// A class representing a parental rating system.
/// </summary>
public class ParentalRatingSystem
{
    /// <summary>
    /// Gets or sets the country code.
    /// </summary>
    [JsonPropertyName("countryCode")]
    public required string CountryCode { get; set; }

    /// <summary>
    /// Gets or sets a value indicating whether sub scores are supported.
    /// </summary>
    [JsonPropertyName("supportsSubScores")]
    public bool SupportsSubScores { get; set; }

    /// <summary>
    /// Gets or sets the ratings.
    /// </summary>
    [JsonPropertyName("ratings")]
    public IReadOnlyList<ParentalRatingEntry>? Ratings { get; set; }
}
