1 | {
|
2 | "Basic information": [{
|
3 | "key": "admin",
|
4 | "type": "hidden"
|
5 | }, {
|
6 | "key": "fname",
|
7 | "label": "First name",
|
8 | "required": true
|
9 | }, {
|
10 | "key": "lname",
|
11 | "label": "Last name",
|
12 | "required": true
|
13 | }, {
|
14 | "key": "email",
|
15 | "label": "Email",
|
16 | "required": true
|
17 | }, {
|
18 | "key": "sex",
|
19 | "label": "Gender",
|
20 | "type": "radio",
|
21 | "fields": [{
|
22 | "key": "xy",
|
23 | "label": "Male"
|
24 | }, {
|
25 | "key": "xx",
|
26 | "label": "Female"
|
27 | }]
|
28 | }, {
|
29 | "key": "birthday",
|
30 | "label": "Birthday",
|
31 | "type": "date"
|
32 | }, {
|
33 | "key": "call",
|
34 | "label": "Mobile number",
|
35 | "type": "number"
|
36 | }, {
|
37 | "key": "admin",
|
38 | "label": "Grant admin access?",
|
39 | "admin": true,
|
40 | "type": "radio",
|
41 | "fields": [{
|
42 | "key": true,
|
43 | "label": "True"
|
44 | }, {
|
45 | "key": false,
|
46 | "label": "False"
|
47 | }]
|
48 | }, {
|
49 | "key": "office",
|
50 | "label": "Office",
|
51 | "type": "radio",
|
52 | "fields": [{
|
53 | "key": "dc",
|
54 | "label": "DC"
|
55 | }, {
|
56 | "key": "sf",
|
57 | "label": "SF"
|
58 | }, {
|
59 | "key": "ayacucho",
|
60 | "label": "Peru"
|
61 | }, {
|
62 | "key": "bengaluru",
|
63 | "label": "India"
|
64 | }]
|
65 | }, {
|
66 | "key": "homeaddress",
|
67 | "label": "Home Address",
|
68 | "type": "textarea"
|
69 | }, {
|
70 | "key": "teams",
|
71 | "label": "Teams (check all that apply)",
|
72 | "required": true,
|
73 | "type": "checkbox",
|
74 | "fields": [{
|
75 | "key": "business",
|
76 | "label": "Business"
|
77 | }, {
|
78 | "key": "design",
|
79 | "label": "Design"
|
80 | }, {
|
81 | "key": "engineering",
|
82 | "label": "Engineering"
|
83 | }, {
|
84 | "key": "operations",
|
85 | "label": "Operations"
|
86 | }, {
|
87 | "key": "support",
|
88 | "label": "Support"
|
89 | }]
|
90 | }],
|
91 | "Social links": [{
|
92 | "key": "twitter",
|
93 | "label": "Twitter username"
|
94 | }, {
|
95 | "key": "github",
|
96 | "label": "Github username",
|
97 | "required": true
|
98 | }, {
|
99 | "key": "foursquare",
|
100 | "label": "Foursquare username"
|
101 | }, {
|
102 | "key": "other-links",
|
103 | "type": "add",
|
104 | "label": "Other links"
|
105 | }]
|
106 | }
|