added a schema builder to post types