add schema to avro record