comp schema build