How validation works
When Maestra receives data for a customer profile, it checks each field against its validation rules. Invalid values aren’t saved. In most cases the operation still completes with a warning, and all valid fields on the same record are preserved — only the bad field is dropped. There are a few exceptions where the whole operation fails:- A full name exceeds the character limit.
- An enumeration field exceeds its character limit or contains the
|character. - The only identifier supplied for a customer is invalid (Maestra can’t match or create a customer without at least one valid identifier).
Validation rules apply to all entry points — imports, API, integrations, pop-ups, in-app forms, and any other source that writes to a customer profile.
Full name
Default: Latin alphabet
By default, full name fields accept Latin letters with a small set of allowed punctuation. Regex pattern:^[A-Za-z][A-Za-z'\- ]*$
Rules:
- The first character must be a letter.
- Subsequent characters can be letters, apostrophes, hyphens, or spaces.
- Each field (first name, last name, middle name) is limited to 100 characters.
Alternative alphabets
You can switch the full name validation to one of several alphabets: English, Belarusian, Kazakh, Kyrgyz, Polish, Ukrainian, or an “any characters” option that supports a broad set of Unicode scripts. The “any characters” option accepts characters from these Unicode blocks:- Arabic
- Armenian
- Bengali
- Cherokee
- Cyrillic
- Devanagari
- Ethiopian
- Georgian
- Greek
- Hebrew
- Hiragana
- Kannada
- Khmer
- Malayalam
- Mongolian
- Myanmar
- Tamil
- Telugu
- Thai
- Tibetan
- CJK (Chinese, Japanese, Korean)
Mobile number
Allowed characters
Only digits are stored. Maestra strips parentheses, hyphens, plus signs, and spaces during processing, so customers can enter numbers in any common format and the value will normalize correctly.Country codes
Mobile numbers must begin with a country code. Both international and domestic prefixes are accepted on input, but the number is always saved in international format.Length
- US numbers: country code (
1) plus 10 digits. - Other countries: at least one digit after the country code, with a total length of up to 19 digits.
- Before the
@: at least one character. Allowed characters are letters, digits, and_ - ! # $ % & ' * + / = ? ^ ` { } | ~. - After the
@: one or more domain groups separated by periods. Each group is 1–63 characters long, and the first and last characters must be a letter or digit. - Total length: up to 254 characters.
Gender
Gender accepts the following values (case-insensitive):| Male | Female |
|---|---|
male | female |
m | f |
m | w |
Custom fields
You can add custom fields to a customer profile. Each custom field has a type, and the type determines its validation rules.String / Identifier
- Any characters.
- Up to 1,000 characters.
Enumeration
- Any characters except
|(the pipe character is reserved as a value separator). - Up to 250 characters per value.
Integer
- Digits only.
- Range: −2,147,483,648 to 2,147,483,647.
Decimal
- Digits with either a period or a comma as the decimal separator.
- Up to 16 digits before the separator and 2 digits after.
- Range: −9,999,999,999,999,999.99 to 9,999,999,999,999,999.99.
Boolean
Boolean fields accept any of the following (case-insensitive):| True | False |
|---|---|
true | false |
yes | no |
1 | 0 |
Date and date-time
Maestra accepts 29 distinct date and date-time formats, including common variants such as:dd.MM.yyyyyyyy-MM-ddMM/dd/yyyy
If you submit a date-time value to a date-only field, Maestra discards the time portion and stores just the date.
Validation failures at a glance
Invalid value, operation continues
Most invalid values are dropped with a warning. Other valid fields on the same record are saved.