Actually just `paramType` should be moved to the top. Static values such as `required: true` below can remain being in the same order as the query one here.