{
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.5",
    "type": "AdaptiveCard",
    "verticalContentAlignment": "center",
    "refresh": {
        "action": {
            "type": "Action.Execute",
            "verb": "refresh"
        }
    },
    "body": [
        {
            "type": "TextBlock",
            "weight": "bolder",
            "text": "${title}",
            "wrap": true
        },
        {
            "type": "ColumnSet",
            "$when": "${$host.widgetSize != \"small\"}",
            "spacing": "medium",
            "columns": [
                {
                    "type": "Column",
                    "items": [
                        {
                            "type": "Image",
                            "url": "${if($host.hostTheme == \"light\" || $host.hostTheme == \"highcontrastlight\", $root.callslight, $root.callsdark)}",
                            "size": "Stretch"
                        }
                    ],
                    "width": "16px"
                },
                {
                    "type": "Column",
                    "items": [
                        {
                            "type": "TextBlock",
                            "spacing": "None",
                            "size": "Small",
                            "text": "${callsvalueproptext}",
                            "wrap": true,
                            "horizontalAlignment": "Left"
                        }
                    ],
                    "width": "stretch"
                }
            ]
        },
        {
            "type": "ColumnSet",
            "$when": "${$host.widgetSize != \"small\"}",
            "spacing": "small",
            "columns": [
                {
                    "type": "Column",
                    "items": [
                        {
                            "type": "Image",
                            "url": "${if($host.hostTheme == \"light\" || $host.hostTheme == \"highcontrastlight\", $root.messageslight, $root.messagesdark)}",
                            "size": "Stretch"
                        }
                    ],
                    "width": "16px"
                },
                {
                    "type": "Column",
                    "items": [
                        {
                            "type": "TextBlock",
                            "spacing": "None",
                            "size": "Small",
                            "text": "${messagesvalueproptext}",
                            "wrap": true,
                            "horizontalAlignment": "Left"
                        }
                    ],
                    "width": "stretch"
                }
            ]
        },
        {
            "type": "ColumnSet",
            "$when": "${$host.widgetSize != \"small\"}",
            "spacing": "small",
            "columns": [
                {
                    "type": "Column",
                    "items": [
                        {
                            "type": "Image",
                            "url": "${if($host.hostTheme == \"light\" || $host.hostTheme == \"highcontrastlight\", $root.notificationslight, $root.notificationsdark)}",
                            "size": "Stretch"
                        }
                    ],
                    "width": "16px"
                },
                {
                    "type": "Column",
                    "items": [
                        {
                            "type": "TextBlock",
                            "spacing": "None",
                            "size": "Small",
                            "text": "${notificationsvalueproptext}",
                            "wrap": true,
                            "horizontalAlignment": "Left"
                        }
                    ],
                    "width": "stretch"
                }
            ]
        },
        {
            "type": "TextBlock",
            "weight": "Bolder",
            "size": "Small",
            "text": "${selectdevicetext}",
            "wrap": false,
            "spacing": "${if($host.widgetSize != \"small\", \"medium\", \"default\")}"
        },
        {
            "type": "Container",
            "width": "auto",
            "items": [
                {
                    "type": "ActionSet",
                    "horizontalAlignment": "Left",
                    "spacing": "small",
                    "actions": [
                        {
                            "type": "Action.Execute",
                            "title": "${androidtext}",
                            "tooltip": "${androidtooltip}",
                            "verb": "setup-android"
                        },
                        {
                            "type": "Action.Execute",
                            "title": "${iphonetext}",
                            "tooltip": "{iphonetooltip}",
                            "isEnabled": "${isiphoneenabled}",
                            "verb": "setup-iphone"
                        }
                    ]
                }
            ]
        }
    ],
    "backgroundImage": {
        "url": "${if($host.hostTheme == \"light\", $root.backgroundlight, $root.backgrounddark)}"
    }
}
