datalogic-scan2deploy-android
Datalogic Scan2Deploy Android file
.dla.json
Validate
Check your file against this schema
Opens the validator with this schema already loaded. Paste your
.dla.json and it validates in your browser — nothing is uploaded.
Reference
Fields
Generated directly from the schema, following local
$refs, to two levels of nesting.
| Field | Type | Description |
|---|---|---|
layout | object | — |
layout.description | string | — default: "none" |
layout.enroll | boolean | — default: false |
padlock | object | Section used to configure the staging locking feature |
padlock.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" |
padlock.key | string | Padlock key to be used. If value doesn't match the device, the barcode is rejected. Empty string means no key. default: "" |
padlock.state | string | Configures the padlock state default: "undefined"one of: "locked", "unlocked" |
padlock.hide-from-launcher | boolean | Indicates if Scan2Deploy should be disabled after staging is complete. Once disabled, factory reset required to re-enable. default: false |
global | object | Section used to configure application scoped settings |
global.target-path | string | Base destination folder where any archive/fill will be inflated/written. Default is device internal SD-card root |
global.install-path | string | Folder where the application expects auto-installed/auto-updated APKs to be found. Default is value specified in 'target path'. |
global.update-path | string | Folder where the application expects auto-updated OTA packages to be found. Default is value specified in 'target path'. |
global.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 |
global.auto-scan | boolean | Enables/Disables the auto-update of APKs and OTA packages default: false |
global.download-preinstalled | boolean | Used to force the downgrade of pre-installed application (even System app), if required default: false |
global.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: "" |
global.action | string | Specifies the final action performed by the application at the end of the staging process. default: "none"one of: "none", "close", "enterprise-reset", "factory-reset", "reset" |
global.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 |
settings | object | Section used to control inner device settings that typically need to be changed from the Android defaults |
settings.date-time | string | String representation in RFC-1123 format of the date to be set default: "null" |
settings.auto-time | boolean | Controls the 'Date & Time' automatic date-time adjustment setting default: true |
settings.auto-time-zone | boolean | Controls the 'Date & Time' automatic time-zone adjustment setting default: true |
settings.auto-time-server | string | Address of the NTP server to be used for date-time synchronization default: "null" |
settings.debug-bridge | boolean | Controls the state of 'Android Debug Bridge' default: true |
settings.lock-screen | boolean | Controls the state of Android's lock-screen, requiring the user to swipe the display to unlock the device default: true |
settings.status-bar | boolean | Controls the display of the top status-bar. Note: hiding the status-bar will make notification disappear. default: true |
settings.navigation-bar | boolean | Controls the display of the bottom navigation-bar default: true |
settings.charge-threshold | integer | Indicates the charge threshold a battery exhausted device needs to reach to automatically boot when recharging default: 5 |
settings.usb-profile | string | USB communication profile in use default: "BOTH"one of: "NONE", "BOTH", "DATA", "CHARGE" |
settings.usb-function | string | USB communication function in use default: "CHARGING"one of: "MTP", "PTP", "CHARGING" |
network | object | Section used to configure the device Wi-Fi network |
network.essid | string | Wireless network ESSID default: "tsunami" |
network.hidden | boolean | Indicates if the wireless network is using a hidden ESSID default: false |
network.mode | string | Wireless connection mode default: "open"one of: "open", "wep-40", "wep-104", "wpa-psk", "wpa2-psk", "wpa-eap" … (+1) |
network.mode-key | string | Wireless network key, if needed default: "" |
network.mode-key-encrypted | boolean | Indicates if 'mode-key' is written in plain-text or encrypted with a custom encryption algorithm default: false |
network.eap-method | string | Configures the EAP authentication method default: "none"one of: "none", "peap", "tls", "ttls", "pwd", "sim" … (+2) |
network.eap-phase2 | string | Configures the EAP phase 2 authentication method default: "none"one of: "none", "pap", "mschap", "mschapv2", "gtc" |
network.eap-identity | string | Indicates the EAP identity default: "" |
network.eap-anonymous-identity | string | Indicates the EAP anonymous identity, used as the unencrypted identity with certain EAP types default: "" |
network.eap-password | string | EAP password, if needed default: "" |
network.eap-password-encrypted | boolean | Indicates if the 'eap-password' is encrypted with a custom encryption algorithm default: false |
network.eap-certificate | string | Base64 representation of the EAP certificate to use default: "" |
network.proxy-host | string | Server name or IP address of the proxy to be used for HTTP/HTTPS communications default: "" |
network.proxy-port | integer | Server IP port of the proxy for HTTP/HTTPS communications default: 0 |
network.purge | boolean | Indicates if any currently configured wireless network needs to be removed. Can be useful to avoid profile roaming. default: true |
network.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 |
network.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 |
network.frequency-band | string | Controls the frequency bands supported by the device default: "auto"one of: "auto", "5ghz", "2ghz" |
network.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: "" |
network.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 |
network.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 |
deployment | object | Section can be used to download a ZIP archive from a server and inflate it to the 'target-path' folder |
deployment.scheme | string | Deployment download scheme to use default: "http"one of: "http", "https" |
deployment.hostrequired | string | Host-name or internet-protocol address of the server from which the resource is to be fetched |
deployment.port | integer | TCP/IP port to be used to contact the server default: 80 |
deployment.path | string | Path to the server resource to download, complete with query string if needed default: "" |
deployment.fetch-timeout | integer | The timeout value used when fetching resource from host default: 60000 |
deployment.check-timeout | integer | The timeout value used when attempting to reach the host server default: 1000 |
deployment.working-archive | string | String representation of the archive path-file name, once downloaded default: "/mnt/sdcard/scan2deploy.archive" |
deployment.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 |
blobs | array<object> | Section used to transfer binary data to newly created file on device |
Audit
What we found in this schema
- Declared draft: draft-07
- Validates cleanly against its own meta-schema.
- 65 properties, 94% carrying a description, max nesting depth 6.
Standards
Specification sections for the keywords in this schema
| Keyword | Document | Section |
|---|---|---|
$id | JSON Schema Core, draft 2020-12 | §8.2.1 — The "$id" Keyword |
$schema | JSON Schema Core, draft 2020-12 | §8.1.1 — "$schema" |
default | JSON Schema Validation, draft 2020-12 | §9.2 — "default" |
description | JSON Schema Validation, draft 2020-12 | §9.1 — "title" and "description" |
enum | JSON Schema Validation, draft 2020-12 | §6.1.2 — "enum" |
examples | JSON Schema Validation, draft 2020-12 | §9.5 — "examples" |
items | JSON Schema Core, draft 2020-12 | §10.3.1.2 — "items" |
maxLength | JSON Schema Validation, draft 2020-12 | §6.3.1 — "maxLength" |
maximum | JSON Schema Validation, draft 2020-12 | §6.2.2 — "maximum" |
minimum | JSON Schema Validation, draft 2020-12 | §6.2.4 — "minimum" |
properties | JSON Schema Core, draft 2020-12 | §10.3.2.1 — "properties" |
required | JSON Schema Validation, draft 2020-12 | §6.5.3 — "required" |
type | JSON Schema Validation, draft 2020-12 | §6.1.1 — "type" |
Documents
- JSON Schema Core, draft 2020-12 — JSON Schema: A Media Type for Describing JSON Documents, A. Wright, H. Andrews, B. Hutton, G. Dennis, Eds., 2022. draft-bhutton-json-schema-01. An expired Internet-Draft with no formal standing in the IETF standards process; it is nonetheless the specification of record for JSON Schema 2020-12, published by json-schema.org.
- JSON Schema Validation, draft 2020-12 — JSON Schema Validation: A Vocabulary for Structural Validation of JSON, A. Wright, H. Andrews, B. Hutton, Eds., 2022.
- RFC 8259 (STD 90) — The JavaScript Object Notation (JSON) Data Interchange Format, T. Bray, Ed., 2017. The format a schema describes.
- RFC 6901 — JavaScript Object Notation (JSON) Pointer. Defines the pointer syntax used by $ref fragments and the ~0 / ~1 escapes.
Source
Attribution
This schema comes from SchemaStore, distributed under the Apache License 2.0. Copyright 2015–present Mads Kristensen and contributors. View the original file. The field table and audit on this page are generated by JSONTools.tools; the schema itself is unmodified.