Validation Rules

Validation Rules

Field Name

Class

Validation

Min

Max

Allow empty

Field Name

Class

Validation

Min

Max

Allow empty

Personal Identifier

ExternalCustomerValue

^[A-Za-z0-9]{10,48}$

10

48

@NotBlank

First Name

ExternalCustomerValue

^[\p{IsLatin}\p{IsHebrew}\p{IsCyrillic}\p{Digit}.\-\s']*$ will change to ^[\p{L}\p{Mc}\p{Mn}\p{Digit}.\-\s']*$

1

255

@NotBlank

Last Name

ExternalCustomerValue

^[\p{IsLatin}\p{IsHebrew}\p{IsCyrillic}\p{Digit}.\-\s']*$ will change to ^[\p{L}\p{Mc}\p{Mn}\p{Digit}.\-\s']*$

1

255

@NotBlank

Phone Number

ExternalCustomerValue

^[\p{Digit}+\-\s]*$

-

255

-

Email

ExternalCustomerValue

^[a-zA-Z0-9_+&-]+(?:\.[a-zA-Z0-9_+&-]+)*@(?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{2,25}$ Make sure it is not more restrictive before changing

Email annotation

1

255

@NotBlank

Date of Birth

ExternalCustomerValue

@Past LocalDate

-

255

-