Type object
File match .dla.json
Schema URL https://catalog.lintel.tools/schemas/schemastore/datalogic-scan2deploy-android/latest.json
Source https://www.schemastore.org/datalogic-scan2deploy-android.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Schema to validate Android JSON files given as input to DL-Config to generate Scan2Deploy barcodes

Properties

layout object
2 nested properties
description string
Default: "none"
Examples: "This is for our Android devices"
maxLength=350
enroll boolean
Default: false
Examples: true
padlock object

Section used to configure the staging locking feature

4 nested properties
valid-until string

Specifies the expiration date of the barcode sequence. Device date must be synchronized/configured for expiration date to work properly.

Default: "20991231235959"
Examples: "20991231235959"
key string

Padlock key to be used. If value doesn't match the device, the barcode is rejected. Empty string means no key.

Default: ""
Examples: "ihavenomouthandimustscream"
state string

Configures the padlock state

Default: "undefined"
Values: "locked" "unlocked"
Examples: "locked"
hide-from-launcher boolean

Indicates if Scan2Deploy should be disabled after staging is complete. Once disabled, factory reset required to re-enable.

Default: false
Examples: false
global object

Section used to configure application scoped settings

9 nested properties
target-path string

Base destination folder where any archive/fill will be inflated/written. Default is device internal SD-card root

Examples: "/mnt/sdcard/airwatch"
install-path string

Folder where the application expects auto-installed/auto-updated APKs to be found. Default is value specified in 'target path'.

Examples: "/mnt/sdcard/airwatch"
update-path string

Folder where the application expects auto-updated OTA packages to be found. Default is value specified in 'target path'.

Examples: "/mnt/sdcard/airwatch"
purge-target-path boolean

Indicates if target specified in 'target-path' needs to be purged (deleted) prior to inflation of the deployment archive

Default: true
Examples: true
auto-scan boolean

Enables/Disables the auto-update of APKs and OTA packages

Default: false
Examples: true
download-preinstalled boolean

Used to force the downgrade of pre-installed application (even System app), if required

Default: false
Examples: false
script string | array

A string specifying the absolute/relative path of a file, or a JSON array of strings describing the file content line-by-line. The script file will be interpreted last in staging process.

Default: ""
Examples: "setup.s"
action string

Specifies the final action performed by the application at the end of the staging process.

Default: "none"
Values: "none" "close" "enterprise-reset" "factory-reset" "reset"
Examples: "close"
backup-to-enterprise boolean

Activates the enterprise backup persistence for the staging data, resulting in both the staging script and archive being copied to the enterprise partition

Default: false
Examples: true
settings object

Section used to control inner device settings that typically need to be changed from the Android defaults

11 nested properties
date-time string

String representation in RFC-1123 format of the date to be set

Default: "null"
Examples: "Thu, 19 Apr 2018 07:51:37 GMT"
auto-time boolean

Controls the 'Date & Time' automatic date-time adjustment setting

Default: true
Examples: false
auto-time-zone boolean

Controls the 'Date & Time' automatic time-zone adjustment setting

Default: true
Examples: false
auto-time-server string

Address of the NTP server to be used for date-time synchronization

Default: "null"
Examples: "pool.ntp.org"
debug-bridge boolean

Controls the state of 'Android Debug Bridge'

Default: true
Examples: false
lock-screen boolean

Controls the state of Android's lock-screen, requiring the user to swipe the display to unlock the device

Default: true
Examples: false
status-bar boolean

Controls the display of the top status-bar. Note: hiding the status-bar will make notification disappear.

Default: true
Examples: false
navigation-bar boolean

Controls the display of the bottom navigation-bar

Default: true
Examples: true
charge-threshold integer

Indicates the charge threshold a battery exhausted device needs to reach to automatically boot when recharging

Default: 5
Examples: 0
min=0max=100
usb-profile string

USB communication profile in use

Default: "BOTH"
Values: "NONE" "BOTH" "DATA" "CHARGE"
Examples: "NONE"
usb-function string

USB communication function in use

Default: "CHARGING"
Values: "MTP" "PTP" "CHARGING"
Examples: "CHARGING"
network object

Section used to configure the device Wi-Fi network

21 nested properties
essid string

Wireless network ESSID

Default: "tsunami"
Examples: "TESTTKIP"
hidden boolean

Indicates if the wireless network is using a hidden ESSID

Default: false
Examples: false
mode string

Wireless connection mode

Default: "open"
Values: "open" "wep-40" "wep-104" "wpa-psk" "wpa2-psk" "wpa-eap" "wpa2-eap"
Examples: "wpa-psk"
mode-key string

Wireless network key, if needed

Default: ""
Examples: "datalogic"
mode-key-encrypted boolean

Indicates if 'mode-key' is written in plain-text or encrypted with a custom encryption algorithm

Default: false
Examples: false
eap-method string

Configures the EAP authentication method

Default: "none"
Values: "none" "peap" "tls" "ttls" "pwd" "sim" "aka" "aka-prime"
Examples: "none"
eap-phase2 string

Configures the EAP phase 2 authentication method

Default: "none"
Values: "none" "pap" "mschap" "mschapv2" "gtc"
Examples: "none"
eap-identity string

Indicates the EAP identity

Default: ""
Examples: ""
eap-anonymous-identity string

Indicates the EAP anonymous identity, used as the unencrypted identity with certain EAP types

Default: ""
Examples: ""
eap-password string

EAP password, if needed

Default: ""
Examples: ""
eap-password-encrypted boolean

Indicates if the 'eap-password' is encrypted with a custom encryption algorithm

Default: false
Examples: false
eap-certificate string

Base64 representation of the EAP certificate to use

Default: ""
Examples: ""
proxy-host string

Server name or IP address of the proxy to be used for HTTP/HTTPS communications

Default: ""
Examples: ""
proxy-port integer

Server IP port of the proxy for HTTP/HTTPS communications

Default: 0
Examples: 0
min=0max=65535
purge boolean

Indicates if any currently configured wireless network needs to be removed. Can be useful to avoid profile roaming.

Default: true
Examples: true
reconfigure boolean

If true, will reconfigure any existing and matching network. If false, will leave existing network untouched. Setting used when 'purge' is set to false.

Default: true
Examples: false
sleep-policy integer

Wireless sleep policy for Android's Settings.Global parameter (0-WIFI_SLEEP_POLICY_DEFAULT, 1-WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED, 2-WIFI_SLEEP_POLICY_NEVER)

Default: 2
Examples: 2
min=0max=2
frequency-band string

Controls the frequency bands supported by the device

Default: "auto"
Values: "auto" "5ghz" "2ghz"
Examples: "auto"
save-to-file string

Absolute path to the file where the current network configuration will be saved, empty string indicates network configuration won't be serialized to a file

Default: ""
Examples: ""
ephemeral boolean

If true, wireless connection profile will be used during staging process, then deleted after staging. If false, wireless connection profile will still be present after staging process.

Default: true
Examples: false
wait-for-connection boolean

Indicates whether a valid Wi-Fi connection has to be waited once the network configuration is complete. Can be useful when device needs to be configured but a valid Wi-Fi connection is not ready yet.

Default: true
Examples: true
deployment object

Section can be used to download a ZIP archive from a server and inflate it to the 'target-path' folder

8 nested properties
host string required

Host-name or internet-protocol address of the server from which the resource is to be fetched

Examples: "172.19.0.77"
scheme string

Deployment download scheme to use

Default: "http"
Values: "http" "https"
Examples: "http"
port integer

TCP/IP port to be used to contact the server

Default: 80
Examples: 8080
min=0max=65535
path string

Path to the server resource to download, complete with query string if needed

Default: ""
Examples: "/airwatch.zip"
fetch-timeout integer

The timeout value used when fetching resource from host

Default: 60000
Examples: 60000
check-timeout integer

The timeout value used when attempting to reach the host server

Default: 1000
Examples: 1000
working-archive string

String representation of the archive path-file name, once downloaded

Default: "/mnt/sdcard/scan2deploy.archive"
Examples: "/mnt/sdcard/target.zip"
skip-inflation boolean

Instructs the application not to inflate the deployment archive once downloaded, can be useful to speed the OTA update process up

Default: false
Examples: true
blobs object[]

Section used to transfer binary data to newly created file on device