diff --git a/lib/config/v2/busway.ex b/lib/config/v2/busway.ex index e4ddcb0..f4ca961 100644 --- a/lib/config/v2/busway.ex +++ b/lib/config/v2/busway.ex @@ -22,10 +22,14 @@ defmodule ScreensConfig.V2.Busway do } @enforce_keys [:departures, :header] - defstruct departures: nil, + defstruct audio: %Audio{ + start_time: ~T[00:00:00], + stop_time: ~T[23:59:59], + days_active: [1, 2, 3, 4, 5, 6, 7] + }, + departures: nil, evergreen_content: [], - header: nil, - audio: Audio.from_json(:default) + header: nil use ScreensConfig.Struct, children: [