re: your idea on generating traits with a compiler/parser: that's something that we'd like to generally support for strongly-typed client libraries. i've got an idea to have zed generate proto enums based on the schema using information it already has access to, and then that's available for a user to consume via protoc