$type = str_replace("_"," ",$type);
$type = \Entity\Researchtypes::getMatch($type);
$structure = \Entity\Researchtypes::getStructure($type);
print_r($structure);
die();
$rules = \Entity\Researchtypes::getValidation($structure);
print_r($rules);
die();
$validation = Validator::make(Input::all(), $rules);