{"definitions":{},"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://example.com/root.json","type":"object","title":"Android-Scan2Deploy Schema","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 Android devices"],"maxLength":350},"enroll":{"$id":"#/properties/layout/properties/enroll","type":"boolean","title":"Enroll Schema","default":false,"examples":[true]}}},"padlock":{"$id":"#/properties/padlock","type":"object","title":"Padlock Schema","properties":{"valid-until":{"$id":"#/properties/padlock/properties/valid-until","type":"string","title":"Valid-Until Schema","default":"20991231235959","examples":["20991231235959"]},"key":{"$id":"#/properties/padlock/properties/key","type":"string","title":"Key Schema","default":"","examples":["ihavenomouthandimustscream"]},"state":{"$id":"#/properties/padlock/properties/state","type":"string","enum":["locked","unlocked"],"title":"State Schema","default":"undefined","examples":["locked"]},"hide-from-launcher":{"$id":"#/properties/padlock/properties/hide-from-launcher","type":"boolean","title":"Hide-From-Launcher Schema","default":false,"examples":[false]}}},"global":{"$id":"#/properties/global","type":"object","title":"Global Schema","properties":{"target-path":{"$id":"#/properties/global/properties/target-path","type":"string","title":"Target-Path Schema","examples":["/mnt/sdcard/airwatch"]},"install-path":{"$id":"#/properties/global/properties/install-path","type":"string","title":"Install-Path Schema","examples":["/mnt/sdcard/airwatch"]},"update-path":{"$id":"#/properties/global/properties/update-path","type":"string","title":"Update-Path Schema","examples":["/mnt/sdcard/airwatch"]},"purge-target-path":{"$id":"#/properties/global/properties/purge-target-path","type":"boolean","title":"Purge-Target-Path Schema","default":true,"examples":[true]},"auto-scan":{"$id":"#/properties/global/properties/auto-scan","type":"boolean","title":"Auto-Scan Schema","default":false,"examples":[true]},"download-preinstalled":{"$id":"#/properties/global/properties/download-preinstalled","type":"boolean","title":"Download-Preinstalled Schema","default":false,"examples":[false]},"script":{"$id":"#/properties/global/properties/script","type":["string","array"],"title":"Script Schema","items":{"$id":"#/properties/global/properties/script/items","type":"string","title":"Items Schema","default":"","examples":["[Install]","INSTALL /sdcard/Download/fa.apk","[Post-Install]","SHELL am start -a android.intent.action.MAIN -n com.example.mchew.fakeapp/.MainActivity"]},"default":"","examples":["setup.s"]},"action":{"$id":"#/properties/global/properties/action","type":"string","enum":["none","close","enterprise-reset","factory-reset","reset"],"title":"Action Schema","default":"none","examples":["close"]},"backup-to-enterprise":{"$id":"#/properties/global/properties/backup-to-enterprise","type":"boolean","title":"Backup-To-Enterprise Schema","default":false,"examples":[true]}}},"settings":{"$id":"#/properties/settings","type":"object","title":"Settings Schema","properties":{"date-time":{"$id":"#/properties/settings/properties/date-time","type":"string","title":"Date-Time Schema","default":"null","examples":["Thu, 19 Apr 2018 07:51:37 GMT"]},"auto-time":{"$id":"#/properties/settings/properties/auto-time","type":"boolean","title":"Auto-Time Schema","default":true,"examples":[false]},"auto-time-zone":{"$id":"#/properties/settings/properties/auto-time-zone","type":"boolean","title":"Auto-Time-Zone Schema","default":true,"examples":[false]},"auto-time-server":{"$id":"#/properties/settings/properties/auto-time-server","type":"string","title":"Auto-Time-Server Schema","default":"null","examples":["pool.ntp.org"]},"debug-bridge":{"$id":"#/properties/settings/properties/debug-bridge","type":"boolean","title":"Debug-Bridge Schema","default":true,"examples":[false]},"lock-screen":{"$id":"#/properties/settings/properties/lock-screen","type":"boolean","title":" Lock-Screen Schema","default":true,"examples":[false]},"status-bar":{"$id":"#/properties/settings/properties/status-bar","type":"boolean","title":"Status-Bar Schema","default":true,"examples":[false]},"navigation-bar":{"$id":"#/properties/settings/properties/navigation-bar","type":"boolean","title":"Navigation-Bar Schema","default":true,"examples":[true]},"charge-threshold":{"$id":"#/properties/settings/properties/charge-threshold","type":"integer","title":"Charge-Threshold Schema","default":5,"examples":[0],"minimum":0,"maximum":100},"usb-profile":{"$id":"#/properties/settings/properties/usb-profile","type":"string","enum":["NONE","BOTH","DATA","CHARGE"],"title":"Usb-Profile Schema","default":"BOTH","examples":["NONE"]},"usb-function":{"$id":"#/properties/settings/properties/usb-function","type":"string","enum":["MTP","PTP","CHARGING"],"title":"Usb-Function Schema","default":"CHARGING","examples":["CHARGING"]}}},"network":{"$id":"#/properties/network","type":"object","title":"Network Schema","properties":{"essid":{"$id":"#/properties/network/properties/essid","type":"string","title":"Essid Schema","default":"tsunami","examples":["TESTTKIP"]},"hidden":{"$id":"#/properties/network/properties/hidden","type":"boolean","title":"Hidden Schema","default":false,"examples":[false]},"mode":{"$id":"#/properties/network/properties/mode","type":"string","enum":["open","wep-40","wep-104","wpa-psk","wpa2-psk","wpa-eap","wpa2-eap"],"title":"Mode Schema","default":"open","examples":["wpa-psk"]},"mode-key":{"$id":"#/properties/network/properties/mode-key","type":"string","title":"Mode-Key Schema","default":"","examples":["datalogic"]},"mode-key-encrypted":{"$id":"#/properties/network/properties/mode-key-encrypted","type":"boolean","title":"Mode-Key-Encrypted Schema","default":false,"examples":[false]},"eap-method":{"$id":"#/properties/network/properties/eap-method","type":"string","enum":["none","peap","tls","ttls","pwd","sim","aka","aka-prime"],"title":"Eap-Method Schema","default":"none","examples":["none"]},"eap-phase2":{"$id":"#/properties/network/properties/eap-phase2","type":"string","enum":["none","pap","mschap","mschapv2","gtc"],"title":"Eap-Phase2 Schema","default":"none","examples":["none"]},"eap-identity":{"$id":"#/properties/network/properties/eap-identity","type":"string","title":"Eap-Identity Schema","default":"","examples":[""]},"eap-anonymous-identity":{"$id":"#/properties/network/properties/eap-anonymous-identity","type":"string","title":"Eap-Anonymous-Identity Schema","default":"","examples":[""]},"eap-password":{"$id":"#/properties/network/properties/eap-password","type":"string","title":"Eap-Password Schema","default":"","examples":[""]},"eap-password-encrypted":{"$id":"#/properties/network/properties/eap-password-encrypted","type":"boolean","title":"Eap-Password-Encrypted Schema","default":false,"examples":[false]},"eap-certificate":{"$id":"#/properties/network/properties/eap-certificate","type":"string","title":"Eap-Certificate Schema","default":"","examples":[""]},"proxy-host":{"$id":"#/properties/network/properties/proxy-host","type":"string","title":"Proxy-Host Schema","default":"","examples":[""]},"proxy-port":{"$id":"#/properties/network/properties/proxy-port","type":"integer","title":"Proxy-Port Schema","default":0,"examples":[0],"minimum":0,"maximum":65535},"purge":{"$id":"#/properties/network/properties/purge","type":"boolean","title":"Purge Schema","default":true,"examples":[true]},"reconfigure":{"$id":"#/properties/network/properties/reconfigure","type":"boolean","title":"Reconfigure Schema","default":true,"examples":[false]},"sleep-policy":{"$id":"#/properties/network/properties/sleep-policy","type":"integer","title":"Sleep-Policy Schema","default":2,"examples":[2],"minimum":0,"maximum":2},"frequency-band":{"$id":"#/properties/network/properties/frequency-band","type":"string","enum":["auto","5ghz","2ghz"],"title":"Frequency-Band Schema","default":"auto","examples":["auto"]},"save-to-file":{"$id":"#/properties/network/properties/save-to-file","type":"string","title":"Save-To-File Schema","default":"","examples":[""]},"ephemeral":{"$id":"#/properties/network/properties/ephemeral","type":"boolean","title":"Ephemeral Schema","default":true,"examples":[false]},"wait-for-connection":{"$id":"#/properties/network/properties/wait-for-connection","type":"boolean","title":"Wait-For-Connection Schema","default":true,"examples":[true]}},"if":{"properties":{"mode":{"enum":["wpa-psk","wpa2-psk","wep-40","wep-104"]}}},"then":{"required":["mode-key"]}},"deployment":{"$id":"#/properties/deployment","type":"object","title":"Deployment Schema","properties":{"scheme":{"$id":"#/properties/deployment/properties/scheme","type":"string","enum":["http","https"],"title":"Scheme Schema","default":"http","examples":["http"]},"host":{"$id":"#/properties/deployment/properties/host","type":"string","title":"Host Schema","examples":["172.19.0.77"]},"port":{"$id":"#/properties/deployment/properties/port","type":"integer","title":"Port Schema","default":80,"examples":[8080],"minimum":0,"maximum":65535},"path":{"$id":"#/properties/deployment/properties/path","type":"string","title":"Path Schema","default":"","examples":["/airwatch.zip"]},"fetch-timeout":{"$id":"#/properties/deployment/properties/fetch-timeout","type":"integer","title":"Fetch-Timeout Schema","default":60000,"examples":[60000]},"check-timeout":{"$id":"#/properties/deployment/properties/check-timeout","type":"integer","title":"Check-Timeout Schema","default":1000,"examples":[1000]},"working-archive":{"$id":"#/properties/deployment/properties/working-archive","type":"string","title":"Working-Archive Schema","default":"/mnt/sdcard/scan2deploy.archive","examples":["/mnt/sdcard/target.zip"]},"skip-inflation":{"$id":"#/properties/deployment/properties/skip-inflation","type":"boolean","title":"Skip-Inflation Schema","default":false,"examples":[true]}},"required":["host"]},"blobs":{"$id":"#/properties/blobs","type":"array","title":"Blobs Schema","items":{"$id":"#/properties/blobs/items","type":"object","title":"Items Schema","required":["file","content"],"properties":{"file":{"$id":"#/properties/blobs/items/properties/file","type":"string","title":"File Schema","examples":["/mnt/sdcard/airwatch/credentials.bin"]},"content":{"$id":"#/properties/blobs/items/properties/content","type":"string","title":"Content Schema","examples":["fd09B1iL/k4jRWrjrP0/sO44teY+B3UafBLsMsCEqd1KOv6b6JYBXLVv70FmHdZhIVoEOQvHu7O4PUJStpZQ+4PYjPqCO+NQr81M7GOF421Ke8L2u4EYyqDE5qXfLy2shEgaRwRpr2f35/38WZkh6edyiWZQJjyLeZcuI7WiaJPpw7Jcw7ye7mb7Rl+ePNFmfvUrpeRFtN+5kUsx/SbB1v0gDyOOuoep"]}}}}}}