change: survey schema to have a type