Validate resource schema

Validates the given request body against the schema of the specified resource type.