fields
type
description
event
string
type of an event
value
bool
whether switch is enabled