Samples
These samples are just a teaser of the type of cards you can create. Go ahead and tweak them to make any scenario possible!
Simple fallback
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.2",
"body": [
{
"type": "TextBlock",
"text": "Fallback test:"
},
{
"type": "Steve Holt!",
"egg": "her?",
"fallback": "drop"
},
{
"type": "Graph",
"someProperty": "foo",
"fallback": {
"type": "TextBlock",
"text": "No graph support. Guess we'll just use this textblock instead."
}
}
]
}
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.2",
"body": [
{
"type": "TextBlock",
"text": "Fallback test:"
},
{
"type": "Steve Holt!",
"egg": "her?",
"fallback": "drop"
},
{
"type": "Graph",
"someProperty": "foo",
"fallback": {
"type": "TextBlock",
"text": "No graph support. Guess we'll just use this textblock instead."
}
}
]
}
Try it Yourself »