for example To validate the following element:
100
The constraint I want on the text
It is not possible without adding a new type; you can't extend and restrict at the same time.