added schema to posts