-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathautotune-config.json
119 lines (119 loc) · 3.24 KB
/
autotune-config.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "Headline randomizer",
"description": "",
"type": "graphic",
"preview_type": "live",
"theme_type" : "dynamic",
"sample_data": "data/autotune.json",
"thumbnail": "thumbnail.png",
"tags": ["Middleman"],
"authors": [""],
"form": {
"schema": {
"type": "object",
"properties": {
"title": {
"title": "Title",
"type": "string"
},
"customColor": {
"title": "Primary theme color",
"type": "string",
"dependencies": "theme"
},
"heading": {
"title": "Headers",
"type": "string",
"required": false
},
"response": {
"title": "Button labels",
"type": "string",
"default": "Generate another!",
"required": true
},
"template": {
"title": "Headline templates",
"type": "string",
"required": true
},
"word_bags": {
"type": "array",
"title": "Randomizer Content",
"default": [{}],
"items": {
"type": "object",
"title": "Word Group",
"properties": {
"_key": {
"title": "Group name",
"type": "string",
"pattern": "[A-Za-z0-9_-]*"
},
"words": {
"title": "Words",
"type": "string"
}
}
}
}
}
},
"options": {
"fields": {
"title": {
"placeholder": "Title"
},
"customColor": {
"helper": "Color for custom theme. Eg:<i> #F0F0F0</i>",
"dependencies": {
"theme": "custom"
}
},
"word_bags": {
"type": "map",
"actionbarStyle": "bottom",
"toolbarSticky": true,
"hideToolbarWithChildren": false,
"toolbar": {
"showLabels": true,
"actions": [{
"label": "Add Word Group",
"action": "add"
}]
},
"items": {
"fieldClass": "well",
"fields": {
"_key": {
"helper": "Name corresponds to the @name used in the headline templates above. Don't include the @ symbol.",
"placeholder": "Group"
},
"words": {
"helper": "Comma-separated list of words to use in the template",
"placeholder": "Words"
}
}
}
},
"heading": {
"helper": "Displayed above the headline, one per line, not required",
"placeholder": "Check this out:\nThis is a cool headline",
"type": "textarea",
"rows": 3
},
"response": {
"helper": "Label for the button, one per line",
"type": "textarea",
"rows": 3
},
"template": {
"helper": "Templates for the generated headline, one per line, put a @ before a word to use a word from the groups below, madlib-style",
"placeholder": "Oooo! Its a @adj @animal\nGross. I don't like this @adj @animal",
"type": "textarea",
"rows": 3
}
}
}
}
}