In multimethod to choose input type use Schema type