blob: e984cb3114b2f3480ef25abf62c1a78d7522b35b [file] [log] [blame]
namespace Example;
enum Status:byte { Active, Inactive, Pending }
struct Point {
x:int;
y:int;
}
table User {
id:uint;
name:string;
points:[Point];
status:Status = Active;
metadata:[string];
}
table Group {
name:string;
users:[User];
leader:User;
}
root_type Group;