#nullable enable
using System.Text.Json.Serialization;

namespace ErsatzTV.Core.Api.Settings;

/// <summary>
///     Wire-contract mirror of <c>ErsatzTV.Application.Configuration.XmltvTimeZone</c>.
///     Duplicated here (rather than referenced directly) because <c>ErsatzTV.Core</c> may not depend on
///     <c>ErsatzTV.Application</c> (see <c>ErsatzTV.Architecture.Tests</c>); the controller mapper translates
///     between the two by value.
/// </summary>
[JsonConverter(typeof(JsonStringEnumConverter<XmltvTimeZone>))]
public enum XmltvTimeZone
{
    Local = 0,
    Utc = 1
}
