using System.ComponentModel; namespace ErsatzTV.Core.Api.ScriptedPlayout; public record PlayoutContext { [Description("The current time of the playout build")] public required DateTimeOffset CurrentTime { get; set; } [Description("The start time of the playout build")] public required DateTimeOffset StartTime { get; set; } [Description("The finish time of the playout build")] public required DateTimeOffset FinishTime { get; set; } [Description("Indicates whether the current playout build is complete")] public required bool IsDone { get; set; } }