added schema to example code