Built-in Simple Types (constraining facets)
| length | specifies the length of the value |
| minLength | specifies the minimum length of the value |
| maxLength | specifies the maximum length of the value |
| pattern | specifies the pattern of the value (regular expression) |
| enumeration | specifies a set of predefined values |
| whiteSpace | specifies the behavior for white-space normalization, values can be: preserve, replace or collapse. |
| maxInclusive | maximum inclusive number |
| maxExclusive | maximum exclusive number |
| minInclusive | minimum inclusive number |
| minExclusive | minimum exclusive number |
| totalDigits | total number of digits |
| frationDigits | total number of fraction digits |
Note
only a subset of all facets is supported by the data-types