{
'$schema': "http://adaptivecards.io/schemas/adaptive-card.json",
type: "AdaptiveCard",
version: "1.0",
body: [
{
type: "TextBlock",
text: "Summary",
color: "#086AD8",
wrap: true,
style: "heading"
},
{
type: "ColumnSet",
spacing: "Medium",
separator: true,
columns: [
{
type: "Column",
width: "auto",
items: [
{
type: "TextBlock",
text: "Questions",
color: "#000000",
isSubtle: true,
weight: "Bolder",
wrap: true
}
]
},
{
type: "Column",
width: "auto",
items: [
{
type: "TextBlock",
text: "Responses",
color: "#000000",
isSubtle: true,
horizontalAlignment: "Center",
weight: "Bolder",
wrap: true
}
]
},
{
type: "Column",
width: "auto",
items: [
{
type: "TextBlock",
text: "User Name",
color: "#000000",
isSubtle: true,
horizontalAlignment: "Right",
weight: "Bolder",
wrap: true
}
]
}
]
},
{
Type:"Container",
Items:ForAll(Topic.SummaryContent, { type: "ColumnSet",
spacing: "Small",
separator: true,
columns: [
{
type: "Column",
width: "auto",
items: [
{
type: "TextBlock",
text: ThisRecord.Question,
wrap: true
}
]
},
{
type: "Column",
width: "auto",
items: [
{
type: "TextBlock",
text: ThisRecord.Response,
wrap: true
}
]
},
{
type: "Column",
width: "auto",
items: [
{
type: "TextBlock",
text: ThisRecord.UserName,
horizontalAlignment: "Right",
wrap: true
}
]
}
]
}
)
}
]
}