Skip to content

Instantly share code, notes, and snippets.

@majensen
Created December 23, 2020 18:08
Show Gist options
  • Save majensen/e75b9f1cef405dc5a1cbb896c6f5f8df to your computer and use it in GitHub Desktop.
Save majensen/e75b9f1cef405dc5a1cbb896c6f5f8df to your computer and use it in GitHub Desktop.
{
"type": "enum",
"name": "Bros",
"namespace": "namespace",
"symbols": ["Bobby","Eddie","Ishbosheth"]
}
{
"type": "record",
"namespace": "namespace",
"name": "Child",
"fields": [
{
"name":"toys",
"type": {
"type": "array",
"items": "Toy"
}
},
{
"name":"sibs",
"type": {
"type": "array",
"items": "Bros"
}
},
{
"name":"name",
"type":"string"
}
]
}
{
"type":"enum",
"name":"Toy",
"namespace":"namespace",
"symbols":["plane","train","automobile"]
}
{
"type": "record",
"name": "Parent",
"namespace": "namespace",
"fields": [
{
"name": "child",
"type": {
"type":"array",
"items":"Child"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment