aboutsummaryrefslogtreecommitdiffhomepage
path: root/main/app/sprinkles/account/schema/requests/check-username.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'main/app/sprinkles/account/schema/requests/check-username.yaml')
-rwxr-xr-xmain/app/sprinkles/account/schema/requests/check-username.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/main/app/sprinkles/account/schema/requests/check-username.yaml b/main/app/sprinkles/account/schema/requests/check-username.yaml
new file mode 100755
index 0000000..778b5e5
--- /dev/null
+++ b/main/app/sprinkles/account/schema/requests/check-username.yaml
@@ -0,0 +1,17 @@
+---
+user_name:
+ validators:
+ length:
+ label: "&USERNAME"
+ min: 1
+ max: 50
+ message: VALIDATE.LENGTH_RANGE
+ no_leading_whitespace:
+ label: "&USERNAME"
+ message: VALIDATE.NO_LEAD_WS
+ no_trailing_whitespace:
+ label: "&USERNAME"
+ message: VALIDATE.NO_TRAIL_WS
+ username:
+ label: "&USERNAME"
+ message: VALIDATE.USERNAME