Created
June 30, 2012 20:22
-
-
Save hasghari/3025355 to your computer and use it in GitHub Desktop.
Avro avdl file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@namespace("org.sample") | |
protocol AccountService { | |
record Account { | |
long id; | |
string name; | |
union {null, string} description = null; | |
} | |
Account addAccount(string name, union {null, string} description); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment