How to create an Avro schema?
Following schema should work
{ "type" : "record", "name" : "twitter_schema", "namespace" : "com.miguno.avro", "fields" : [ {"name": "_id", "type": { "type" : "record", "name" : "Id", "namespace" : "com.miguno.avro", "fields" : [ { "name" : "oid","type" : "string"} ] } }, { "name" : "nome","type" : "string","doc" : "Name of the user account on Twitter.com" }, { "name" : "tweet", "type" : "string","doc" : "The content of the user's Twitter message" }, { "name" : "datahora", "type" : "string","doc" : "Unix epoch time in seconds"} ] }