added definition of visibility json