-
Notifications
You must be signed in to change notification settings - Fork 0
/
resultLayout.json
77 lines (77 loc) · 1.81 KB
/
resultLayout.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"type": "AdaptiveCard",
"version": "1.3",
"body": [
{
"type": "TextBlock",
"text": "Invoice Number: ${invoiceNumber}",
"weight": "Bolder",
"size": "Medium"
},
{
"type": "TextBlock",
"text": "Customer: ${customer}",
"weight": "Bolder",
"size": "Medium"
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "auto",
"items": [
{
"type": "TextBlock",
"text": "Date: ${date}",
"wrap": true
},
{
"type": "TextBlock",
"text": "City: ${city}",
"wrap": true
},
{
"type": "TextBlock",
"text": "Country: ${country}",
"wrap": true
},
{
"type": "TextBlock",
"text": "Post Code: ${postcode}",
"wrap": true
},
{
"type": "TextBlock",
"text": "Total Amount: ${totalAmount}",
"wrap": true
},
{
"type": "TextBlock",
"text": "Address: ${address}",
"wrap": true
},
{
"type": "TextBlock",
"text": "${url}",
"wrap": true,
"maxLines": 3
}
]
}
]
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"$data": {
"invoiceNumber": "100234",
"customer": "Ana Heath",
"totalAmount": "175.00",
"date": "04/04/2024",
"city": "Burmantofts",
"country": "England",
"postcode": "LS10 1RR",
"address": "10 High Street",
"url": "file://groot.eng.qumulo.com/content/Invoice100234.pdf"
}
}