forked from SchemaStore/schemastore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdatalogic-scan2deploy-ce.json
455 lines (455 loc) · 14 KB
/
datalogic-scan2deploy-ce.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
{
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://example.com/root.json",
"type": "object",
"title": "CE-Scan2Deploy Schema",
"description": "Schema to validate Windows CE JSON files given as input to DL-Config to generate Scan2Deploy barcodes",
"properties": {
"layout": {
"$id": "#/properties/layout",
"type": "object",
"title": "Layout Schema",
"properties": {
"description": {
"$id": "#/properties/layout/properties/description",
"type": "string",
"title": "Description Schema",
"default": "none",
"examples": [
"This is for our WEC7 devices"
],
"maxLength": 350
}
}
},
"global": {
"$id": "#/properties/global",
"type": "object",
"title": "Global-Section Schema",
"description": "Section used to configure application scoped settings",
"properties": {
"target-path": {
"$id": "#/properties/global/properties/target-path",
"type": "string",
"title": "Target-Path Schema",
"description": "Base destination folder where archive/folder will be inflated",
"default": "\\FlashDisk",
"examples": [
"\\FlashDisk"
]
},
"action": {
"$id": "#/properties/global/properties/action",
"type": "string",
"enum": [
"stay",
"close",
"warm-boot",
"cold-boot",
"clean-boot"
],
"title": "Action Schema",
"description": "Specifies final action performed by the application at the end of the staging process",
"default": "cold-boot",
"examples": [
"warm-boot"
]
},
"ping-timeout": {
"$id": "#/properties/global/properties/ping-timeout",
"type": "integer",
"title": "Ping-Timeout Schema",
"description": "The timeout value used when attempting to reach the host server",
"default": 1000,
"examples": [
1000
],
"minimum": 1,
"maximum": 4000
}
}
},
"settings": {
"$id": "#/properties/settings",
"type": "object",
"title": "Settings-Section Schema",
"description": "Section used to configure inner device settings",
"properties": {
"usb-function": {
"$id": "#/properties/settings/properties/usb-function",
"type": "string",
"enum": [
"active-sync-usb",
"active-sync-com",
"usblan",
"mass-storage"
],
"title": "USB-Function Schema",
"description": "USB communication function to use",
"default": "active-sync-usb",
"examples": [
"usblan"
]
}
}
},
"network": {
"$id": "#/properties/network",
"type": "object",
"title": "Network-Section Schema",
"description": "Section used to configure device Wi-Fi network",
"properties": {
"profile": {
"$id": "#/properties/network/properties/profile",
"type": "string",
"title": "Profile Schema",
"description": "\"Friendly\" name to associate with the network connection",
"default": "datalogic",
"examples": [
"my_fast"
]
},
"essid": {
"$id": "#/properties/network/properties/essid",
"type": "string",
"title": "Essid Schema",
"description": "Wireless network ESSID",
"default": "tsunami",
"examples": [
"eapfast"
]
},
"mode": {
"$id": "#/properties/network/properties/mode",
"type": "string",
"enum": [
"open",
"wep-40",
"wep-104",
"wpa-psk",
"wpa2-psk",
"wpa-tkip",
"wpa2-aes"
],
"title": "Mode Schema",
"description": "Wireless connection mode",
"default": "open",
"examples": [
"wpa2-aes"
]
},
"mode-key": {
"$id": "#/properties/network/properties/mode-key",
"type": "string",
"title": "Mode-Key Schema",
"description": "Wireless network key for 'wep-40', 'wep-104', 'wpa-psk', and 'wpa2-psk' networks",
"default": "",
"examples": [
"0123456789"
],
"minLength": 5,
"maxLength": 63
},
"index": {
"$id": "#/properties/network/properties/index",
"type": "integer",
"title": "Index Schema",
"description": "Wireless network key index for 'wep-40' and 'wep-104' networks",
"default": 1,
"examples": [
1
],
"minimum": 1,
"maximum": 4
},
"eap-method": {
"$id": "#/properties/network/properties/eap-method",
"type": "string",
"enum": [
"none",
"peap",
"tls",
"ttls",
"fast",
"leap"
],
"title": "Eap-Method Schema",
"description": "Configures the EAP authentication method",
"default": "none",
"examples": [
"fast"
]
},
"eap-username": {
"$id": "#/properties/network/properties/eap-username",
"type": "string",
"title": "Eap-Username Schema",
"description": "Username for the EAP method",
"default": "",
"examples": [
"eapfast"
]
},
"eap-password": {
"$id": "#/properties/network/properties/eap-password",
"type": "string",
"title": "Eap-Password Schema",
"description": "Password for EAP method",
"default": "",
"examples": [
"1234567890"
]
},
"credentials-type": {
"$id": "#/properties/network/properties/credentials-type",
"type": "string",
"enum": [
"password",
"token",
"certificate",
"unknown"
],
"title": "Credentials-Type Schema",
"description": "Indicates the EAP credentials type",
"default": "password",
"examples": [
"password"
]
},
"credentials-source": {
"$id": "#/properties/network/properties/credentials-source",
"type": "string",
"enum": [
"user",
"logon",
"profile",
"auto",
"unknown"
],
"title": "Credentials-Source Schema",
"description": "Indicates the EAP credentials source",
"default": "user",
"examples": [
"profile"
]
},
"validate-server": {
"$id": "#/properties/network/properties/validate-server",
"type": "boolean",
"title": "Validate-Server Schema",
"description": "Indicates if the server certificate should be validated",
"default": false,
"examples": [
false
]
},
"connect-to-server": {
"$id": "#/properties/network/properties/connect-to-server",
"type": "boolean",
"title": "Connect-To-Server Schema",
"description": "Indicates if only the servers listed in the 'connect-to-server-names' list should be connected to",
"default": false,
"examples": [
false
]
},
"connect-to-server-names": {
"$id": "#/properties/network/properties/connect-to-server-names",
"type": "string",
"title": "Connect-To-Server-Names Schema",
"description": "Semi-colon separated list of servers that are valid to connect to during server certificate validation",
"default": "",
"examples": [
""
]
},
"server-cert-name": {
"$id": "#/properties/network/properties/server-cert-name",
"type": "string",
"title": "Server-Cert-Name Schema",
"description": "\"Friendly\" name of the server digital certificate that should be validated",
"default": "",
"examples": [
""
]
},
"outer-identity": {
"$id": "#/properties/network/properties/outer-identity",
"type": "string",
"title": "Outer-Identity Schema",
"description": "The outer-identity of the EAP method",
"default": "",
"examples": [
""
]
},
"fast-reconnect": {
"$id": "#/properties/network/properties/fast-reconnect",
"type": "boolean",
"title": "Fast-Reconnect Schema",
"description": "Indicate if fast reconnect should be enabled",
"default": false,
"examples": [
false
]
},
"inner-method": {
"$id": "#/properties/network/properties/inner-method",
"type": "string",
"enum": [
"eap-tls",
"eap-MsChapV2",
"eap-gtc"
],
"title": "Inner-Method Schema",
"description": "Inner EAP authentication method to use",
"default": "eap-tls",
"examples": [
"eap-MsChapV2"
]
},
"auto-pac": {
"$id": "#/properties/network/properties/auto-pac",
"type": "boolean",
"title": "Auto-Pac Schema",
"description": "Indicates if automatic PAC provisioning is used for an EAP-FAST network",
"default": false,
"examples": [
true
]
},
"pac-file-path": {
"$id": "#/properties/network/properties/pac-file-path",
"type": "string",
"title": "Pac-File-Path Schema",
"description": "Full path to the PAC file for manual PAC provisioning",
"default": "",
"examples": [
""
]
},
"pac-aid-info": {
"$id": "#/properties/network/properties/pac-aid-info",
"type": "string",
"title": "Pac-Aid-Info Schema",
"description": "PAC authority identity (AID) information used to select PAC from a list of PACs on the device",
"default": "",
"examples": [
""
]
}
},
"if": {
"properties": {
"mode": { "enum": [ "wpa-psk", "wpa2-psk", "wep-40", "wep-104" ] }
}
},
"then": { "required": [ "mode-key" ] }
},
"deployment": {
"$id": "#/properties/deployment",
"type": "object",
"title": "Deployment-Section Schema",
"description": "Section used to download a ZIP archive from a server and inflate it to the 'target-path' folder",
"properties": {
"scheme": {
"$id": "#/properties/deployment/properties/scheme",
"type": "string",
"enum": [
"http",
"https"
],
"title": "Scheme Schema",
"description": "Deployment download scheme to use",
"default": "http",
"examples": [
"http"
]
},
"host": {
"$id": "#/properties/deployment/properties/host",
"type": "string",
"title": "Host Schema",
"description": "Host name or internet protocol address of the server from which the resource is to be fetched",
"default": "",
"examples": [
"10.1.20.123"
]
},
"port": {
"$id": "#/properties/deployment/properties/port",
"type": "integer",
"title": "Port Schema",
"description": "TCP/IP port to be used to contact the server",
"default": 80,
"examples": [
8080
],
"minimum": 0,
"maximum": 65535
},
"path": {
"$id": "#/properties/deployment/properties/path",
"type": "string",
"title": "Path Schema",
"description": "Path to server resource to download, complete with query string if needed",
"default": "",
"examples": [
"target.zip"
]
}
},
"required": [
"host"
]
},
"shell": {
"$id": "#/properties/shell",
"type": "object",
"title": "Shell-Section Schema",
"description": "Section for executable shell commands to be performed in the final staging phase",
"required": [
"cmds"
],
"properties": {
"cmds": {
"$id": "#/properties/shell/properties/cmds",
"type": "array",
"title": "Cmds Schema",
"description": "Each object in 'cmds' is a shell command to execute in the final phase of staging",
"items": {
"$id": "#/properties/shell/properties/cmds/items",
"type": "object",
"title": "Items Schema",
"required": [
"app-name"
],
"properties": {
"app-name": {
"$id": "#/properties/shell/properties/cmds/items/properties/app-name",
"type": "string",
"title": "App-Name Schema",
"description": "Full path to the application to be executed",
"default": "",
"examples": [
"\\windows\\dldxu.exe"
]
},
"args": {
"$id": "#/properties/shell/properties/cmds/items/properties/args",
"type": "string",
"title": "Args Schema",
"description": "Command line arguments",
"default": "",
"examples": [
"\\FlashDisk\\target\\config.dxu"
]
}
}
}
}
}
}
}
}