forked from legastero/stanza
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdataform-1.json
99 lines (99 loc) · 3.29 KB
/
dataform-1.json
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[
"dataform",
{
"type": "form",
"title": "Bot Configuration",
"instructions": ["Fill out this form to configure your new bot!"],
"fields": [
{
"type": "hidden",
"name": "FORM_TYPE",
"value": "jabber:bot",
"rawValues": ["jabber:bot"]
},
{
"type": "fixed",
"value": "Section 1: Bot Info",
"rawValues": ["Section 1: Bot Info"]
},
{
"type": "text-single",
"name": "botname",
"label": "The name of your bot",
"rawValues": []
},
{
"type": "text-multi",
"name": "description",
"label": "Helpful description of your bot",
"rawValues": [],
"value": []
},
{
"type": "boolean",
"name": "public",
"label": "Public bot?",
"required": true,
"rawValues": []
},
{
"type": "text-private",
"name": "password",
"label": "Password for special access",
"rawValues": []
},
{
"type": "fixed",
"value": "Section 2: Features",
"rawValues": ["Section 2: Features"]
},
{
"type": "list-multi",
"name": "features",
"label": "What features will the bot support?",
"options": [
{ "label": "Contests", "value": "contests" },
{ "label": "News", "value": "news" },
{ "label": "Polls", "value": "polls" },
{ "label": "Reminders", "value": "reminders" },
{ "label": "Search", "value": "search" }
],
"value": ["news", "search"],
"rawValues": ["news", "search"]
},
{
"type": "fixed",
"value": "Section 3: Subscriber List",
"rawValues": ["Section 3: Subscriber List"]
},
{
"type": "list-single",
"name": "maxsubs",
"label": "Maximum number of subscribers",
"options": [
{ "label": "10", "value": "10" },
{ "label": "20", "value": "20" },
{ "label": "30", "value": "30" },
{ "label": "50", "value": "50" },
{ "label": "100", "value": "100" },
{ "label": "None", "value": "none" }
],
"value": "20",
"rawValues": ["20"]
},
{
"type": "fixed",
"value": "Section 4: Invitations",
"rawValues": ["Section 4: Invitations"]
},
{
"type": "jid-multi",
"name": "invitelist",
"label": "People to invite",
"description": "Tell all your friends about your new bot!",
"value": [],
"rawValues": []
}
]
}
]