include "Id.fbs";
include "templates/TemplateRoot.fbs";
include "templates/DefaultDatatypes.fbs";
include "Action.fbs";
include "DefaultViews/TextData.fbs";
include "DefaultViews/ListData.fbs";
include "DefaultViews/MessagingData.fbs";
namespace AllWatchSerialize;
union ViewData{TextData, ListData, MessagingData}
enum DefaultStyle:short{
    Notification,
            TextWall,
            ToBottom,
            ToTop,
            Center,
}
table View{
    id:Id;
    name:string;
    datatype:DefaultDatatypes;
    usesTemplate:bool;
    template:TemplateRoot;
    data:ViewData;
    actions:[Action];
    defaultStyle:DefaultStyle;
}