{ "$schema": "http://json-schema.org/draft-04/schema#", "$$version": 1, "title": "resin-cli demo", "type": "object", "additionalProperties": false, "required": [ "network", "advanced" ], "$$order": [ "network", "advanced" ], "properties": { "network": { "title": "Network", "required": [ "ssid", "passphrase" ], "$$order": [ "ssid", "passphrase" ], "type": "object", "additionalProperties": false, "properties": { "ssid": { "title": "Network SSID", "type": "string", "minLength": 1, "maxLength": 32 }, "passphrase": { "title": "Network Key", "type": "string", "writeOnly": true, "minLength": 8 } } }, "advanced": { "title": "Advanced", "required": [ "hostname", "persistentLogging" ], "$$order": [ "hostname", "persistentLogging" ], "type": "object", "additionalProperties": false, "properties": { "hostname": { "title": "Device Hostname", "type": "string" }, "persistentLogging": { "title": "Do you want to enable persistent logging?", "type": "boolean", "default": false } } } } }