aboutsummaryrefslogtreecommitdiffhomepage
path: root/main/app/sprinkles/admin/schema/requests/group/create.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'main/app/sprinkles/admin/schema/requests/group/create.yaml')
-rwxr-xr-xmain/app/sprinkles/admin/schema/requests/group/create.yaml35
1 files changed, 35 insertions, 0 deletions
diff --git a/main/app/sprinkles/admin/schema/requests/group/create.yaml b/main/app/sprinkles/admin/schema/requests/group/create.yaml
new file mode 100755
index 0000000..8f5261c
--- /dev/null
+++ b/main/app/sprinkles/admin/schema/requests/group/create.yaml
@@ -0,0 +1,35 @@
+---
+name:
+ validators:
+ required:
+ label: "&NAME"
+ message: VALIDATE.REQUIRED
+ length:
+ label: "&NAME"
+ min: 1
+ max: 255
+ message: VALIDATE.LENGTH_RANGE
+ transformations:
+ - trim
+slug:
+ validators:
+ required:
+ label: "&SLUG"
+ message: VALIDATE.REQUIRED
+ length:
+ label: "&SLUG"
+ min: 1
+ max: 255
+ message: VALIDATE.LENGTH_RANGE
+ transformations:
+ - trim
+icon:
+ validators:
+ length:
+ label: "&ICON"
+ min: 1
+ max: 100
+ message: VALIDATE.LENGTH_RANGE
+ required:
+ message: VALIDATE.REQUIRED
+description: