diff options
Diffstat (limited to 'main/app/sprinkles/admin/schema/requests/role/create.yaml')
-rwxr-xr-x | main/app/sprinkles/admin/schema/requests/role/create.yaml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/main/app/sprinkles/admin/schema/requests/role/create.yaml b/main/app/sprinkles/admin/schema/requests/role/create.yaml new file mode 100755 index 0000000..8004184 --- /dev/null +++ b/main/app/sprinkles/admin/schema/requests/role/create.yaml @@ -0,0 +1,26 @@ +--- +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 +description: |