validate project type