What are you trying to do? (Actually, I’m writing some documentation about it right now).
The resourceTypes seem to be well defined, but remember that <> is a reserved parameter, so, the populated value will depend on the resource that is applying the type.
In this case, it will be resources and resource (for post).
I don’t see the “secured” trait defined on your code (maybe you copied a partial code).
But the weird thing I’m seeing is schema: <>. It is like if you were expecting some other kind of entity to reuse /users and to pass a parameter to it. I don’t think that makes sense, so I think you might be confusing and you would like to pass some particular schema to the /users get responses body. In that case, yes, you CAN overwrite the one defined in the resource type, but not using <<>>… Just writing the real value.
I’ll end like I started. What are you trying to do? If you describe it, I might be more helpful.