Simple schema types can optionally have a restriction
objects that narrows the value space for the type.
The restrictions introduce additional requirements
for the value to be considered valid for the type.
For example, enumeration restriction defines
a closed set of values that are legal for the type.