diff options
Diffstat (limited to 'main/app/sprinkles/extend-user/schema/requests/user/edit-info.yaml')
-rwxr-xr-x | main/app/sprinkles/extend-user/schema/requests/user/edit-info.yaml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/main/app/sprinkles/extend-user/schema/requests/user/edit-info.yaml b/main/app/sprinkles/extend-user/schema/requests/user/edit-info.yaml new file mode 100755 index 0000000..edfae6e --- /dev/null +++ b/main/app/sprinkles/extend-user/schema/requests/user/edit-info.yaml @@ -0,0 +1,50 @@ +--- +first_name: + validators: + length: + label: "&FIRST_NAME" + min: 1 + max: 20 + message: VALIDATE.LENGTH_RANGE +last_name: + validators: + length: + label: "&LAST_NAME" + min: 1 + max: 30 + message: VALIDATE.LENGTH_RANGE +email: + validators: + length: + label: "&EMAIL" + min: 1 + max: 150 + message: VALIDATE.LENGTH_RANGE + email: + message: VALIDATE.INVALID_EMAIL +locale: + validators: + length: + label: "&LOCALE" + min: 1 + max: 10 + message: VALIDATE.LENGTH_RANGE +group_id: + validators: + integer: + label: "&GROUP" + message: VALIDATE.INTEGER +city: + validators: + length: + label: City + min: 1 + max: 255 + message: VALIDATE.LENGTH_RANGE +country: + validators: + length: + label: Country + min: 1 + max: 255 + message: VALIDATE.LENGTH_RANGE
\ No newline at end of file |