aboutsummaryrefslogtreecommitdiffhomepage
path: root/main/app/sprinkles/admin/schema/requests/user/edit-field.yaml
blob: ab3b3aa7e9e517accbdc184c04fc452913fb6725 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
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:
      message: VALIDATE.INTEGER
flag_enabled:
  validators:
    member_of:
      values:
      - '0'
      - '1'
      message: VALIDATE.BOOLEAN
flag_verified:
  validators:
    member_of:
      values:
      - '0'
      - '1'
      message: VALIDATE.BOOLEAN
password:
  validators:
    length:
      label: "&PASSWORD"
      min: 12
      max: 100
      message: VALIDATE.LENGTH_RANGE
roles:
  validators:
    array:
      message: VALIDATE.ARRAY