Adding more validation on the resource creation prototype.