{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Profile",
"title": "Profile",
"properties": {
"authType": {
"description": "The type of Wi-Fi network. Possible values: **wpa-psk**, **wpa2-psk**, **wpa-eap**, **wpa2-eap**.",
"type": "string"
},
"autoWifi": {
"description": "Indicates whether to automatically select the best authentication method available. Does not work on older terminal models.",
"type": "boolean"
},
"bssType": {
"description": "Use **infra** for infrastructure-based networks. This applies to most networks. Use **adhoc** only if the communication is p2p-based between base stations.",
"type": "string"
},
"channel": {
"description": "The channel number of the Wi-Fi network. The recommended setting is **0** for automatic channel selection.",
"format": "int32",
"type": "integer"
},
"defaultProfile": {
"description": "Indicates whether this is your preferred wireless network. If **true**, the terminal will try connecting to this network first.",
"type": "boolean"
},
"eap": {
"description": "For `authType` **wpa-eap** or **wpa2-eap**. Possible values: **tls**, **peap**, **leap**, **fast**",
"type": "string"
},
"eapCaCert": {
"description": "For `authType` **wpa-eap** or **wpa2-eap**. The root certificate from the CA that signed the certificate of the RADIUS server that is part of your wireless network.",
"$ref": "#/components/schemas/File"
},
"eapClientCert": {
"description": "For `eap` **tls**. The certificate chain for the terminals. All terminals in the same network will use the same EAP client certificate.",
"$ref": "#/components/schemas/File"
},
"eapClientKey": {
"description": "For `eap` **tls**. The RSA private key for the client. Include the lines BEGIN RSA PRIVATE KEY and END RSA PRIVATE KEY.",
"$ref": "#/components/schemas/File"
},
"eapClientPwd": {
"description": "For `eap` **tls**. The password of the RSA key file, if that file is password-protected.",
"type": "string"
},
"eapIdentity": {
"description": "For `authType` **wpa-eap** or **wpa2-eap**. The EAP-PEAP username from your MS-CHAP account. Must match the configuration of your RADIUS server.",
"type": "string"
},
"eapIntermediateCert": {
"description": "For `eap` **tls**. The EAP intermediate certificate.",
"$ref": "#/components/schemas/File"
},
"eapPwd": {
"description": "For `eap` **peap**. The EAP-PEAP password from your MS-CHAP account. Must match the configuration of your RADIUS server.",
"type": "string"
},
"hiddenSsid": {
"description": "Indicates if the network doesn't broadcast its SSID. Mandatory for Android terminals, because these terminals rely on this setting to be able to connect to any network.",
"type": "boolean"
},
"name": {
"description": "Your name for the Wi-Fi profile.",
"type": "string"
},
"psk": {
"description": "For `authType` **wpa-psk or **wpa2-psk**. The password to the wireless network.",
"type": "string"
},
"ssid": {
"description": "The name of the wireless network.",
"type": "string"
},
"wsec": {
"description": "The type of encryption. Possible values: **auto**, **ccmp** (recommended), **tkip**",
"type": "string"
}
},
"required": [
"ssid",
"bssType",
"authType",
"wsec"
],
"type": "object"
}