{
    "pluginAlias": "fujitsu-airstage",
    "pluginType": "platform",
    "singular": true,
    "schema": {
        "type": "object",
        "properties": {
            "name": {
                "title": "Name",
                "type": "string",
                "default": "Airstage Platform",
                "required": true,
                "description": "The display name for this platform instance."
            },
            "region": {
                "title": "Region",
                "type": "string",
                "default": "us",
                "required": true,
                "oneOf": [
                    {
                        "title": "U.S.",
                        "const": "us"
                    },
                    {
                        "title": "Europe",
                        "const": "eu"
                    }
                ],
                "description": "The region for your Airstage account (us or eu)."
            },
            "country": {
                "title": "Country",
                "type": "string",
                "required": true,
                "default": "United States",
                "description": "The country associated with your Airstage account."
            },
            "language": {
                "title": "Language",
                "type": "string",
                "required": true,
                "default": "en",
                "description": "The language code for your Airstage account (e.g., 'en')."
            },
            "email": {
                "title": "Airstage Email",
                "type": "string",
                "format": "email",
                "default": "",
                "description": "The email address for your Airstage account."
            },
            "password": {
                "title": "Airstage Password",
                "type": "string",
                "default": "",
                "description": "The password for your Airstage account."
            },
            "rememberEmailAndPassword": {
                "title": "Remember Airstage Email and Password",
                "type": "boolean",
                "default": false,
                "description": "If enabled, the Airstage email and password will be stored in the config after a successful authentication with the Airstage API."
            },
            "enableThermostat": {
                "title": "Enable thermostat control",
                "type": "boolean",
                "default": true
            },
            "enableFan": {
                "title": "Enable fan control",
                "type": "boolean",
                "default": true
            },
            "enableVerticalAirflowDirection": {
                "title": "Enable vertical airflow direction control",
                "type": "boolean",
                "default": false
            },
            "enableDryModeSwitch": {
                "title": "Enable 'Dry Mode' switch",
                "type": "boolean",
                "default": false
            },
            "enableEconomySwitch": {
                "title": "Enable 'Economy' switch",
                "type": "boolean",
                "default": false
            },
            "enableEnergySavingFanSwitch": {
                "title": "Enable 'Energy Saving Fan' switch",
                "type": "boolean",
                "default": false
            },
            "enableFanModeSwitch": {
                "title": "Enable 'Fan Mode' switch",
                "type": "boolean",
                "default": false
            },
            "enableMinimumHeatModeSwitch": {
                "title": "Enable 'Minimum Heat Mode' switch",
                "type": "boolean",
                "default": false
            },
            "enablePowerfulSwitch": {
                "title": "Enable 'Powerful' switch",
                "type": "boolean",
                "default": false
            }
        }
    }
}
