Updated capnp schema to conform with new union rules
This commit is contained in:
@@ -17,11 +17,11 @@ struct Person {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
employment @4 union {
|
employment :union {
|
||||||
unemployed @5 :Void;
|
unemployed @4 :Void;
|
||||||
employer @6 :Text;
|
employer @5 :Text;
|
||||||
school @7 :Text;
|
school @6 :Text;
|
||||||
selfEmployed @8 :Void;
|
selfEmployed @7 :Void;
|
||||||
# We assume that a person is only one of these.
|
# We assume that a person is only one of these.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user