standard-types
The standard-types
expansion-resource provides several additional ValueTypes:
Type | Description |
---|---|
Ean13 | A string value representing an international article number code. It provides length and pattern constraints, but also full validation including checksum in JEE applications. |
EmailAddress | A string value representing an email address. It provides a pattern constraint, but also full validation against the RFC822 standard in JEE applications. |
EmailAddresses | A string value representing a comma-separated string with multiple email addresses. It provides a pattern constraint, but also full validation against the RFC822 standard in JEE applications. |
Iban | A string value representing an international bank account number. It provides length and pattern constraints, but also full validation including checksum in JEE applications. |
TelephoneNumber | A string value representing a telephone number. It provides length and pattern constraints, but also full validation for phone numbers in JEE applications. |
Url | A string representing an URL for http(s), ftp or file protocol. It provides a pattern constraint, but also validation against the URL standard in JEE applications. |
VarText | A variable-length string value. It provides additional information for sql-expanders to generate the correct type in database scripts. |
TelephoneNumber
telephone.region
SimpleValueType
Field
Telephone numbers can have a default region assigned. In that case, numbers without the country code prefix will be interpreted as numbers within this region.
<options>
<telephone.region>BE</telephone.region>
</options>
<options>
<telephone.region>FR</telephone.region>
</options>