Samples

{
	"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
	"version": "1.0",
	"type": "AdaptiveCard",
	"speak": "Your flight is confirmed for you and 3 other passengers from San Francisco to Amsterdam on Friday, October 10 8:30 AM",
	"body": [
		{
			"type": "TextBlock",
			"text": "Passengers",
			"weight": "bolder",
			"isSubtle": false
		},
		{
			"type": "TextBlock",
			"text": "Sarah Hum",
			"separator": true
		},
		{
			"type": "TextBlock",
			"text": "Jeremy Goldberg",
			"spacing": "none"
		},
		{
			"type": "TextBlock",
			"text": "Evan Litvak",
			"spacing": "none"
		},
		{
			"type": "TextBlock",
			"text": "2 Stops",
			"weight": "bolder",
			"spacing": "medium"
		},
		{
			"type": "TextBlock",
			"text": "Fri, October 10 8:30 AM",
			"weight": "bolder",
			"spacing": "none"
		},
		{
			"type": "ColumnSet",
			"separator": true,
			"columns": [
				{
					"type": "Column",
					"width": 1,
					"items": [
						{
							"type": "TextBlock",
							"text": "San Francisco",
							"isSubtle": true
						},
						{
							"type": "TextBlock",
							"size": "extraLarge",
							"color": "accent",
							"text": "SFO",
							"spacing": "none"
						}
					]
				},
				{
					"type": "Column",
					"width": "auto",
					"items": [
						{
							"type": "TextBlock",
							"text": " "
						},
						{
							"type": "Image",
							"url": "http://messagecardplayground.azurewebsites.net/assets/airplane.png",
							"size": "small",
							"spacing": "none"
						}
					]
				},
				{
					"type": "Column",
					"width": 1,
					"items": [
						{
							"type": "TextBlock",
							"horizontalAlignment": "right",
							"text": "Amsterdam",
							"isSubtle": true
						},
						{
							"type": "TextBlock",
							"horizontalAlignment": "right",
							"size": "extraLarge",
							"color": "accent",
							"text": "AMS",
							"spacing": "none"
						}
					]
				}
			]
		},
		{
			"type": "TextBlock",
			"text": "Non-Stop",
			"weight": "bolder",
			"spacing": "medium"
		},
		{
			"type": "TextBlock",
			"text": "Fri, October 18 9:50 PM",
			"weight": "bolder",
			"spacing": "none"
		},
		{
			"type": "ColumnSet",
			"separator": true,
			"columns": [
				{
					"type": "Column",
					"width": 1,
					"items": [
						{
							"type": "TextBlock",
							"text": "Amsterdam",
							"isSubtle": true
						},
						{
							"type": "TextBlock",
							"size": "extraLarge",
							"color": "accent",
							"text": "AMS",
							"spacing": "none"
						}
					]
				},
				{
					"type": "Column",
					"width": "auto",
					"items": [
						{
							"type": "TextBlock",
							"text": " "
						},
						{
							"type": "Image",
							"url": "http://messagecardplayground.azurewebsites.net/assets/airplane.png",
							"size": "small",
							"spacing": "none"
						}
					]
				},
				{
					"type": "Column",
					"width": 1,
					"items": [
						{
							"type": "TextBlock",
							"horizontalAlignment": "right",
							"text": "San Francisco",
							"isSubtle": true
						},
						{
							"type": "TextBlock",
							"topSpacing": "none",
							"horizontalAlignment": "right",
							"size": "extraLarge",
							"color": "accent",
							"text": "SFO",
							"spacing": "none"
						}
					]
				}
			]
		},
		{
			"type": "ColumnSet",
			"spacing": "medium",
			"columns": [
				{
					"type": "Column",
					"width": "1",
					"items": [
						{
							"type": "TextBlock",
							"text": "Total",
							"size": "medium",
							"isSubtle": true
						}
					]
				},
				{
					"type": "Column",
					"width": 1,
					"items": [
						{
							"type": "TextBlock",
							"horizontalAlignment": "right",
							"text": "$4,032.54",
							"size": "medium",
							"weight": "bolder"
						}
					]
				}
			]
		}
	]
}
{ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "version": "1.0", "type": "AdaptiveCard", "speak": "Your flight is confirmed for you and 3 other passengers from San Francisco to Amsterdam on Friday, October 10 8:30 AM", "body": [ { "type": "TextBlock", "text": "Passengers", "weight": "bolder", "isSubtle": false }, { "type": "TextBlock", "text": "Sarah Hum", "separator": true }, { "type": "TextBlock", "text": "Jeremy Goldberg", "spacing": "none" }, { "type": "TextBlock", "text": "Evan Litvak", "spacing": "none" }, { "type": "TextBlock", "text": "2 Stops", "weight": "bolder", "spacing": "medium" }, { "type": "TextBlock", "text": "Fri, October 10 8:30 AM", "weight": "bolder", "spacing": "none" }, { "type": "ColumnSet", "separator": true, "columns": [ { "type": "Column", "width": 1, "items": [ { "type": "TextBlock", "text": "San Francisco", "isSubtle": true }, { "type": "TextBlock", "size": "extraLarge", "color": "accent", "text": "SFO", "spacing": "none" } ] }, { "type": "Column", "width": "auto", "items": [ { "type": "TextBlock", "text": " " }, { "type": "Image", "url": "http://messagecardplayground.azurewebsites.net/assets/airplane.png", "size": "small", "spacing": "none" } ] }, { "type": "Column", "width": 1, "items": [ { "type": "TextBlock", "horizontalAlignment": "right", "text": "Amsterdam", "isSubtle": true }, { "type": "TextBlock", "horizontalAlignment": "right", "size": "extraLarge", "color": "accent", "text": "AMS", "spacing": "none" } ] } ] }, { "type": "TextBlock", "text": "Non-Stop", "weight": "bolder", "spacing": "medium" }, { "type": "TextBlock", "text": "Fri, October 18 9:50 PM", "weight": "bolder", "spacing": "none" }, { "type": "ColumnSet", "separator": true, "columns": [ { "type": "Column", "width": 1, "items": [ { "type": "TextBlock", "text": "Amsterdam", "isSubtle": true }, { "type": "TextBlock", "size": "extraLarge", "color": "accent", "text": "AMS", "spacing": "none" } ] }, { "type": "Column", "width": "auto", "items": [ { "type": "TextBlock", "text": " " }, { "type": "Image", "url": "http://messagecardplayground.azurewebsites.net/assets/airplane.png", "size": "small", "spacing": "none" } ] }, { "type": "Column", "width": 1, "items": [ { "type": "TextBlock", "horizontalAlignment": "right", "text": "San Francisco", "isSubtle": true }, { "type": "TextBlock", "topSpacing": "none", "horizontalAlignment": "right", "size": "extraLarge", "color": "accent", "text": "SFO", "spacing": "none" } ] } ] }, { "type": "ColumnSet", "spacing": "medium", "columns": [ { "type": "Column", "width": "1", "items": [ { "type": "TextBlock", "text": "Total", "size": "medium", "isSubtle": true } ] }, { "type": "Column", "width": 1, "items": [ { "type": "TextBlock", "horizontalAlignment": "right", "text": "$4,032.54", "size": "medium", "weight": "bolder" } ] } ] } ] }
Try it Yourself ยป