Files

23 lines
324 B
Cap'n Proto

@0xe1f2a3b4c5d6e7f8;
struct AddressBook {
people @0 :List(Person);
struct Person {
name @0 :Text;
email @1 :Text;
phones @2 :List(PhoneNumber);
struct PhoneNumber {
number @0 :Text;
type @1 :Type;
enum Type {
mobile @0;
home @1;
work @2;
}
}
}
}