-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSamplersConfig.json
More file actions
133 lines (129 loc) · 3.16 KB
/
SamplersConfig.json
File metadata and controls
133 lines (129 loc) · 3.16 KB
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"project": {
"app_path" : "app/src/main/java/com/example/myApplication/",
"package_name" : "com.example.myApplication"
} ,
"application": {
"title" : "Samplers Hello World App",
"welcomeMessage" : "Welcome to your first Samplers App!",
"networkConfiguration" : {
"url" : "http://192.168.0.10/samplers/upload.php",
"paramName" : "sample",
"paramNameUserId" : "user_id",
"paramNameAuthenticationType" : "authentication_type"
},
"authenticationEnabled" : true,
"authenticationOptional" : true,
"googleMaps_API_KEY" : "AIzaSyBSdAX453WDiPJmPotF5akUQNQw_W_MzJ4",
"mainHelpFileName" : "mainhelp.html"
} ,
"workflow": {
"actionLabel" : "Take a sample",
"steps": [
{
"id":1,
"type" : "Information",
"text" : "Please, follow the instructions",
"nextStepId": 2
},
{
"id":2,
"type" : "Location",
"text" : "Please, positionate the sample on the map",
"nextStepId": 3,
"helpFileName" : "locationhelp.html"
},
{
"id":3,
"type": "MultipleSelect",
"title" : "Select what you see",
"nextStepId": 4,
"options" : [
{
"id":1,
"text":"Trees"
},
{
"id":2,
"text":"Trash"
},
{
"id":3,
"text":"Water"
},
{
"id":4,
"text":"Animals"
}
]
},
{
"id" : 4,
"type": "SelectOne",
"title" : "Select one",
"options" : [
{
"id":1,
"text":"Option 1",
"nextStepId": 5
},
{
"id":2,
"text":"Option 2",
"nextStepId": 5
},
{
"id":3,
"text":"Option 3",
"nextStepId": 5
},
{
"id":4,
"text":"Option 4",
"nextStepId": 5
}
]
},
{
"id" : 5,
"type" : "Photo",
"text" : "Take a photo of your cat",
"nextStepId": 6,
"helpFileName" : "photohelp.html"
},
{
"id" : 6,
"type" : "InsertDate",
"text" : "Select the date of the sample",
"nextStepId": 7
},
{
"id" : 7,
"type" : "InsertTime",
"text" : "Select the time of the sample",
"nextStepId": 8
},
{
"id" : 8,
"type" : "InsertText",
"text" : "Insert a comment",
"sampleText" : "your comments",
"inputType" : "text",
"maxLength" : 50,
"optional" : true,
"nextStepId": 9
},
{
"id" : 9,
"type" : "Sound",
"text" : "Please, record the sound",
"nextStepId": 10
},
{
"id":10,
"type" : "Route",
"text" : "Please, Please, record the route"
}
]
}
}