added schema specification into models