Fixed a major bug in POST /posts

Was using 'schema' and not 'type' when loading post json