The current workflow makes the creation of user-defined types a bit difficult, because we need to select a validator while creating the type, but the validator cannot be defined yet until the type is there.
We could resolve in a number of ways:
- pre-select the object validator as the validator (Z101)
- create a validator function during type creation, with an implementation calling the object validator (Z101)
I would prefer option 2, but if too hard to implement I take option 1.