@0x9c1d78015c5c49ee;

struct Person {
       name @0 :Text;
       birthdate @3 :Date;

       email @1 :Text;
       phones @2 :List(PhoneNumber);

       struct PhoneNumber {
       	      number @0 :Text;
	      type @1 :Type;

	      enum Type {
	      	   mobile @0;
		   home @1;
		   work @2;
	      }
       }
}

struct Date {
       year @0 :Int16;
       month @1 :UInt8;
       day @2 :UInt8;
}
