Skip to content

Instantly share code, notes, and snippets.

@antwatkins
Created July 12, 2012 14:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antwatkins/3098472 to your computer and use it in GitHub Desktop.
Save antwatkins/3098472 to your computer and use it in GitHub Desktop.
Sample Avro Ad Response
{
"protocol": "AvroAdResponse", "namespace": "com.flurry.avroserver.protocol.v1",
"types": [
{"name": "Ad", "type": "record",
"fields": [
{"name": "adSpace", "type": "string"},
{"name": "adName", "type": "string"}
]
},
{"name": "AdResponse", "type": "record",
"fields": [
{"name": "ads", "type": {"type": "array", "items": "Ad"}},
{"name": "errors", "type": {"type": "array", "items": "string"}, "default":[] }
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment