eslint-plugin-json-schema-validator
Version:
ESLint plugin that validates data using JSON Schema Validator.
1 lines • 6.45 kB
JSON
{"definitions":{},"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://example.com/root.json","type":"object","title":"CE-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 WEC7 devices"],"maxLength":350}}},"global":{"$id":"#/properties/global","type":"object","title":"Global-Section Schema","properties":{"target-path":{"$id":"#/properties/global/properties/target-path","type":"string","title":"Target-Path Schema","default":"\\FlashDisk","examples":["\\FlashDisk"]},"action":{"$id":"#/properties/global/properties/action","type":"string","enum":["stay","close","warm-boot","cold-boot","clean-boot"],"title":"Action Schema","default":"cold-boot","examples":["warm-boot"]},"ping-timeout":{"$id":"#/properties/global/properties/ping-timeout","type":"integer","title":"Ping-Timeout Schema","default":1000,"examples":[1000],"minimum":1,"maximum":4000}}},"settings":{"$id":"#/properties/settings","type":"object","title":"Settings-Section Schema","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","default":"active-sync-usb","examples":["usblan"]}}},"network":{"$id":"#/properties/network","type":"object","title":"Network-Section Schema","properties":{"profile":{"$id":"#/properties/network/properties/profile","type":"string","title":"Profile Schema","default":"datalogic","examples":["my_fast"]},"essid":{"$id":"#/properties/network/properties/essid","type":"string","title":"Essid Schema","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","default":"open","examples":["wpa2-aes"]},"mode-key":{"$id":"#/properties/network/properties/mode-key","type":"string","title":"Mode-Key Schema","default":"","examples":["0123456789"],"minLength":5,"maxLength":63},"index":{"$id":"#/properties/network/properties/index","type":"integer","title":"Index Schema","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","default":"none","examples":["fast"]},"eap-username":{"$id":"#/properties/network/properties/eap-username","type":"string","title":"Eap-Username Schema","default":"","examples":["eapfast"]},"eap-password":{"$id":"#/properties/network/properties/eap-password","type":"string","title":"Eap-Password Schema","default":"","examples":["1234567890"]},"credentials-type":{"$id":"#/properties/network/properties/credentials-type","type":"string","enum":["password","token","certificate","unknown"],"title":"Credentials-Type Schema","default":"password","examples":["password"]},"credentials-source":{"$id":"#/properties/network/properties/credentials-source","type":"string","enum":["user","logon","profile","auto","unknown"],"title":"Credentials-Source Schema","default":"user","examples":["profile"]},"validate-server":{"$id":"#/properties/network/properties/validate-server","type":"boolean","title":"Validate-Server Schema","default":false,"examples":[false]},"connect-to-server":{"$id":"#/properties/network/properties/connect-to-server","type":"boolean","title":"Connect-To-Server Schema","default":false,"examples":[false]},"connect-to-server-names":{"$id":"#/properties/network/properties/connect-to-server-names","type":"string","title":"Connect-To-Server-Names Schema","default":"","examples":[""]},"server-cert-name":{"$id":"#/properties/network/properties/server-cert-name","type":"string","title":"Server-Cert-Name Schema","default":"","examples":[""]},"outer-identity":{"$id":"#/properties/network/properties/outer-identity","type":"string","title":"Outer-Identity Schema","default":"","examples":[""]},"fast-reconnect":{"$id":"#/properties/network/properties/fast-reconnect","type":"boolean","title":"Fast-Reconnect Schema","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","default":"eap-tls","examples":["eap-MsChapV2"]},"auto-pac":{"$id":"#/properties/network/properties/auto-pac","type":"boolean","title":"Auto-Pac Schema","default":false,"examples":[true]},"pac-file-path":{"$id":"#/properties/network/properties/pac-file-path","type":"string","title":"Pac-File-Path Schema","default":"","examples":[""]},"pac-aid-info":{"$id":"#/properties/network/properties/pac-aid-info","type":"string","title":"Pac-Aid-Info Schema","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","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","default":"","examples":["10.1.20.123"]},"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":["target.zip"]}},"required":["host"]},"shell":{"$id":"#/properties/shell","type":"object","title":"Shell-Section Schema","required":["cmds"],"properties":{"cmds":{"$id":"#/properties/shell/properties/cmds","type":"array","title":"Cmds Schema","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","default":"","examples":["\\windows\\dldxu.exe"]},"args":{"$id":"#/properties/shell/properties/cmds/items/properties/args","type":"string","title":"Args Schema","default":"","examples":["\\FlashDisk\\target\\config.dxu"]}}}}}}}}