diff options
Diffstat (limited to 'main/app/sprinkles/account/schema/requests/profile-settings.yaml')
-rwxr-xr-x | main/app/sprinkles/account/schema/requests/profile-settings.yaml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/main/app/sprinkles/account/schema/requests/profile-settings.yaml b/main/app/sprinkles/account/schema/requests/profile-settings.yaml new file mode 100755 index 0000000..c2b5ee8 --- /dev/null +++ b/main/app/sprinkles/account/schema/requests/profile-settings.yaml @@ -0,0 +1,24 @@ +--- +first_name: + validators: + length: + label: "&FIRST_NAME" + min: 1 + max: 20 + message: VALIDATE.LENGTH_RANGE + required: + label: "&FIRST_NAME" + message: VALIDATE.REQUIRED +last_name: + validators: + length: + label: "&LAST_NAME" + min: 1 + max: 30 + message: VALIDATE.LENGTH_RANGE +locale: + validators: + required: + label: "&LOCALE" + domain: server + message: VALIDATE.REQUIRED |