{
    "plugin_alias": "Wink",
    "schema": {
        "type": "object",
        "properties": {
            "platform": {
                "title": "Platform",
                "type": "string",
                "const": "Wink",
                "readOnly": true
            },
            "name": {
                "title": "Name",
                "type": "string",
                "const": "Wink",
                "required": true
            },
            "client_id": {
                "title": "Client ID",
                "type": "string"
            },
            "client_secret": {
                "title": "Client Secret",
                "type": "string",
                "options": {
                    "hidden": true
                }
            },
            "username": {
                "title": "Wink Username",
                "type": "string"
            },
            "password": {
                "title": "Wink Password",
                "type": "string",
                "options": {
                    "hidden": true
                }
            },
            "access_token": {
                "title": "Access Token",
                "type": "string",
                "readOnly": true
            },
            "refresh_token": {
                "title": "Refresh Token",
                "type": "string",
                "readOnly": true
            }
        }
    }
}
