Last active
April 30, 2018 05:34
-
-
Save marctrem/5b4ebbd32bcc8b1609643fe62144280c to your computer and use it in GitHub Desktop.
Using Avro in FoundationDB
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
{ | |
"type": "record", | |
"namespace": "gov.ed.schoolofrock", | |
"name": "Student", | |
"doc": "Represents a student", | |
"fields": [ | |
{ | |
"name": "name", | |
"type": "string" | |
}, | |
{ | |
"name": "age", | |
"type": "int" | |
}, | |
{ | |
"name": "instruments", | |
"type": { | |
"type": "array", | |
"items": "string" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment