You are on page 1of 4

{

"type": "AdaptiveCard",
"body": [
{
"type": "Image",
"url": "${creator.profileImage}",
"size": "Large",
"horizontalAlignment": "Right",
"backgroundColor": "RED"
},
{
"type": "TextBlock",
"spacing": "None",
"text": "Created {{DATE(${createdUtc},SHORT)}}",
"isSubtle": true,
"wrap": true
},
{
"type": "TextBlock",
"size": "Medium",
"weight": "Bolder",
"text": "${title}"
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"items": [
{
"type": "TextBlock",
"weight": "Bolder",
"text": "${creator.name}",
"wrap": true
}
],
"width": "stretch"
}
]
},
{
"type": "TextBlock",
"text": "${description}",
"wrap": true
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"id": "Col1",
"items": [
{
"type": "TextBlock",
"text": "UserNames",
"weight": "Bolder"
},
{
"type": "TextBlock",
"text": "User1",
"spacing": "Small"
},
{
"type": "TextBlock",
"text": "User2",
"spacing": "None"
},
{
"type": "TextBlock",
"text": "User3",
"spacing": "None"
}
],
"width": "stretch"
},
{
"type": "Column",
"id": "Col2",
"items": [
{
"type": "TextBlock",
"text": "AccntExtnReqd",
"weight": "Bolder",
"size": "Default",
"color": "Good"
},
{
"type": "Input.ChoiceSet",
"choices": [
{
"title": "ToBeExtended",
"value": "Usr1",
"id": "rad1"
},
{
"title": "ToBeExtended",
"value": "Usr2"
},
{
"title": "ToBeExtended",
"value": "Usr3"
}
],
"style": "expanded",
"spacing": "Small"

}
],
"width": "stretch"
},
{
"type": "Column",
"id": "Col3",
"items": [
{
"type": "TextBlock",
"text": "AccntExtnNOTReqd",
"weight": "Bolder",
"size": "Default",
"color": "Attention"
},
{
"type": "Input.ChoiceSet",
"choices": [
{
"title": "ExtnNotReqd",
"value": "ExtnNtReqd1",
"id": "rad1"
},
{
"title": "ExtnNotReqd",
"value": "ExtnNtReqd2"
},
{
"title": "ExtnNotReqd",
"value": "ExtnNtReqd3"
}
],
"style": "expanded",
"spacing": "Small"

}
],
"width": "stretch"
}
]
},
{
"type": "Input.Text",
"label": "Business Justification:",
"isMultiline": true,
"isRequired": true,
"placeholder": "Enter Business justification"
},
{
"type": "Input.ChoiceSet",
"choices": [
{
"title": "30",
"value": "30"
},
{
"title": "60",
"value": "60"
},
{
"title": "90",
"value": "90"
}
],
"placeholder": "Select Number of Days",
"label": "Select Number of Days, account to be extended:",
"isRequired": true
}
],
"actions": [
{
"type": "Action.OpenUrl",
"title": "Submit",
"url": "${viewUrl}"
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.3"
}

=======
{
"title": "Hi <ManagerName>,",
"description": "Please select appropriate action from below options:",
"creator": {
"name": "This is to inform you that below users reporting to you have their
account expiration in next 14 days.",
"profileImage":
"https://cdn.aarp.net/content/dam/aarp/graphics/aarp_logos/139x36-aarp-logo-header-
white-smaller.imgcache.rev5a931b762f5ebff74aa86c12542767eb.svg"
},
"createdUtc": "2017-02-14T06:08:39Z",
"viewUrl": "https://adaptivecards.io",
"properties": [
{
"key": "Board",
"value": "Adaptive Cards"
},
{
"key": "List",
"value": "Backlog"
},
{
"key": "Assigned to",
"value": "Matt Hidinger"
},
{
"key": "Due date",
"value": "Not set"
}
]
}

You might also like