-
Notifications
You must be signed in to change notification settings - Fork 2
/
template.json
41 lines (41 loc) · 1016 Bytes
/
template.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
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"themeColor": "ff0000",
"summary": "$condition_name",
"sections": [{
"activityTitle": "$condition_name",
"activitySubtitle": "$summary",
"facts": [{
"name": "Start Time",
"value": " "
}, {
"name": "Project",
"value": " "
}, {
"name": "Policy",
"value": " "
}, {
"name": "Condition",
"value": " "
}, {
"name": "Metric",
"value": " "
}, {
"name": "Threshold",
"value": " "
}, {
"name": "Observed",
"value": " "
}],
"markdown": true
}],
"potentialAction": [{
"@type": "OpenUri",
"name": "View Incident",
"targets": [{
"os": "default",
"uri": "$incident_url"
}]
}]
}