Passing Type in Schema Array - Effect Community