Migrate from 2.4 code repo
[platform/core/context/context-service.git] / data / trigger-template.json
1 {
2         "templates": [
3                 {
4                         "name": "timer/event",
5                         "attributes": ["TimeOfDay", "DayOfWeek"]
6                 },
7                 {
8                         "name": "timer/state",
9                         "attributes": ["TimeOfDay", "DayOfWeek", "DayOfMonth"]
10                 },
11                 {
12                         "name": "system/state/battery",
13                         "attributes": ["Level", "IsCharging"]
14                 },
15                 {
16                         "name": "system/state/charger",
17                         "attributes": ["IsConnected"]
18                 },
19                 {
20                         "name": "system/state/flight_mode",
21                         "attributes": ["IsEnabled"]
22                 },
23                 {
24                         "name": "system/state/gps",
25                         "attributes": ["State"]
26                 },
27                 {
28                         "name": "system/state/headphone",
29                         "attributes": ["IsConnected", "Type"]
30                 },
31                 {
32                         "name": "system/state/ps_mode",
33                         "attributes": ["IsEnabled"]
34                 },
35                 {
36                         "name": "system/state/silent_mode",
37                         "attributes": ["IsEnabled"]
38                 },
39                 {
40                         "name": "system/state/vibration_mode",
41                         "attributes": ["IsEnabled"]
42                 },
43                 {
44                         "name": "system/state/usb",
45                         "attributes": ["IsConnected"]
46                 },
47                 {
48                         "name": "system/state/wifi",
49                         "attributes": ["State", "BSSID"]
50                 },
51                 {
52                         "name": "social/state/call",
53                         "attributes": ["Medium", "State", "Address"]
54                 },
55                 {
56                         "name": "social/event/email",
57                         "attributes": ["Event"]
58                 },
59                 {
60                         "name": "social/event/message",
61                         "attributes": ["Event", "Type", "Address"]
62                 },
63                 {
64                         "name": "activity/event/stationary",
65                         "attributes": ["Event", "Accuracy"]
66                 },
67                 {
68                         "name": "activity/event/walking",
69                         "attributes": ["Event", "Accuracy"]
70                 },
71                 {
72                         "name": "activity/event/running",
73                         "attributes": ["Event", "Accuracy"]
74                 },
75                 {
76                         "name": "activity/event/in_vehicle",
77                         "attributes": ["Event", "Accuracy"]
78                 },
79                 {
80                         "name": "place/event/geofence",
81                         "attributes": ["Event"],
82                         "option": ["PlaceId"]
83                 },
84                 {
85                         "name": "app/history/use_freq",
86                         "attributes": ["Rank", "TotalCount"],
87                         "option": ["AppId", "TimeOfDay", "DayOfWeek"]
88                 },
89                 {
90                         "name": "contact/history/comm_freq",
91                         "attributes": ["Rank", "TotalCount"],
92                         "option": ["Address", "TimeOfDay", "DayOfWeek"]
93                 },
94                 {
95                         "name": "music/history/play_freq",
96                         "attributes": ["TotalCount"],
97                         "option": ["TimeOfDay", "DayOfWeek"]
98                 },
99                 {
100                         "name": "video/history/play_freq",
101                         "attributes": ["TotalCount"],
102                         "option": ["TimeOfDay", "DayOfWeek"]
103                 }
104         ]
105 }