Skip to main content

ScheduleSlot

One stretch of the station's day: from this time, on these days, the station plays this

Attributes (16)
AttributeTypeRequiredDescription
idstringYesread-only
labelstringYesWhat the operator calls this stretch of the day. Becomes the broadcast's name
startsAtMinutesnumberYesWhen it starts, as minutes past midnight on the station's clock
endsAtMinutesnumberYesWhen it stops, in the same terms. Before the start means the block runs past midnight, which is ordinary for a late show; equal to it means a full twenty-four hours
daysnumber[]NoThe weekdays it runs on, Sunday 0. Absent or empty means every day
sourcePluginIdstringNoThe plugin the records come from. Absent, with no playlist, is a slot the station fills itself
sourcePlaylistIdstringNo
sourceChartIdstringNoA published chart to play instead, as pluginId:chartId. An ALTERNATIVE to the playlist pair rather than a companion, and it wins if both are sent: a playlist names copies the station can already fetch and a chart names records it has to look up
sourceChartOrder'countdown' | 'ranked' | 'unordered'NoWhich way round that chart is played. Absent is countdown, which ends on number one. Ignored without sourceChartId
personaIdstringNoWho hosts this stretch of the day. Absent means the station's own active persona
briefstringNoWhat this stretch of the day is asked to play, in the operator's own words. The same ceiling PutOnAirInput.brief has, because a changeover builds one of those from this and the two boxes are one field set on the console
eraFromnumberNoThe earliest release year this stretch of the day plays. Absent means no lower bound, and a record whose year the catalog does not know is played whatever the period
eraTonumberNoThe latest release year, on the same terms. Set with eraFrom for a decade; either may stand alone
callinsbooleanNoWhether somebody phones in during this stretch of the day. Absent leaves the station's own setting standing, exactly as it does when an operator briefs a broadcast by hand; a setlist or a feature takes no calls whatever this says
mode'rotation' | 'setlist' | 'feature'Yes
onEnd'extend' | 'repeat' | 'stop'Yes