package schema type WaitType int const ( WaitAudio WaitType = iota WaitVideo WaitTTS WaitRelay WaitWeb ) type TimeModel struct { Start int64 `json:"start"` End int64 `json:"end"` } type WaitItemModel struct { TimeModel Type WaitType `json:"type"` Data string `json:"data"` Interval int64 `json:"interval"` } type WaitModel struct { JsonModel TimeModel Items []WaitItemModel `json:"items"` }