using System.Xml.Serialization;

namespace Kavita.Models.DTOs.OPDS;

public sealed record FeedCategory
{
    [XmlAttribute("scheme")]
    public string Scheme { get; } = "http://www.bisg.org/standards/bisac_subject/index.html";

    [XmlAttribute("term")]
    public string Term { get; set; } = default!;

    /// <summary>
    /// The actual genre
    /// </summary>
    [XmlAttribute("label")]
    public string Label { get; set; } = default!;
}
