Skip to content

Commit 9f86023

Browse files
committed
events: prefer EventModel envelopes; add real-world guards and event types; remove seed examples
1 parent e73b59b commit 9f86023

27 files changed

+8437
-23
lines changed

pnpm-lock.yaml

Lines changed: 4983 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
[
2+
{
3+
"id": "7b5d71e1-bfb4-4abf-9720-59eb79a42f6f",
4+
"subject": "/facility/f5456fe9-5829-45ec-9721-2f6bf130e9c5/location/f5456fe9-5829-45ec-9721-2f6bf130e9c5/bay/47f65ad5-cd9c-45c9-be6f-8b7dc64e60d3",
5+
"data": {
6+
"EventModel": {
7+
"Id": "warmup-sample",
8+
"Event": "ScriptReceived"
9+
},
10+
"Facility": {
11+
"Id": "f5456fe9-5829-45ec-9721-2f6bf130e9c5",
12+
"Name": "DSG Global Dev"
13+
},
14+
"Location": {
15+
"Id": "f5456fe9-5829-45ec-9721-2f6bf130e9c5",
16+
"Name": "DSG Global Dev"
17+
},
18+
"Bay": {
19+
"Id": "47f65ad5-cd9c-45c9-be6f-8b7dc64e60d3",
20+
"Name": "Innovation Bay"
21+
},
22+
"Client": {
23+
"Name": "TrackMan Performance Studio",
24+
"Properties": {
25+
"Version": "10.2.0-ci.1479+feature.scripting.5bbe5b86aee3a5ce4ad3f0985e2193d3cbaf0cdf"
26+
}
27+
},
28+
"Device": {
29+
"Id": "b5367812-c481-4169-b268-fc84c32f1c64"
30+
},
31+
"Radar": {
32+
"Properties": {
33+
"Model": "TMA4A",
34+
"Serial": "20424035",
35+
"Firmware": "2.9.4"
36+
}
37+
},
38+
"User": {
39+
"Id": "0b1dc69a-0a42-4075-abc2-e0de50cd9186",
40+
"Name": "Ryan mangis"
41+
},
42+
"CustomerSession": {
43+
"Id": "7d692f5a-f172-4418-ab4e-d03ecac0b884"
44+
},
45+
"ActivitySession": {
46+
"Id": "6709add0-6d43-4461-baf6-1084fde19c38"
47+
}
48+
},
49+
"eventType": "AppScripting.Status",
50+
"dataVersion": "1.0",
51+
"metadataVersion": "1",
52+
"eventTime": "2025-09-27T11:48:57.8338029Z",
53+
"topic": "/subscriptions/09c4d679-8b43-4520-ad0a-c598267ed94c/resourceGroups/dr2-dev/providers/Microsoft.EventGrid/domains/dr-eventgrid-dev/topics/facility-f5456fe9-5829-45ec-9721-2f6bf130e9c5"
54+
}
55+
]
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
[
2+
{
3+
"id": "ce971512-c99e-442f-9ff1-c595020f045c",
4+
"subject": "/facility/f5456fe9-5829-45ec-9721-2f6bf130e9c5/location/f5456fe9-5829-45ec-9721-2f6bf130e9c5/bay/47f65ad5-cd9c-45c9-be6f-8b7dc64e60d3",
5+
"data": {
6+
"EventModel": {
7+
"Id": "b86dad69-481e-4d6e-9a16-8443f7dfac28-open-range-script",
8+
"Event": "ScriptSkipped"
9+
},
10+
"Facility": {
11+
"Id": "f5456fe9-5829-45ec-9721-2f6bf130e9c5",
12+
"Name": "DSG Global Dev"
13+
},
14+
"Location": {
15+
"Id": "f5456fe9-5829-45ec-9721-2f6bf130e9c5",
16+
"Name": "DSG Global Dev"
17+
},
18+
"Bay": {
19+
"Id": "47f65ad5-cd9c-45c9-be6f-8b7dc64e60d3",
20+
"Name": "Innovation Bay"
21+
},
22+
"Client": {
23+
"Name": "TrackMan Performance Studio",
24+
"Properties": {
25+
"Version": "10.2.0-ci.1479+feature.scripting.5bbe5b86aee3a5ce4ad3f0985e2193d3cbaf0cdf"
26+
}
27+
},
28+
"Device": {
29+
"Id": "b5367812-c481-4169-b268-fc84c32f1c64"
30+
},
31+
"Radar": {
32+
"Properties": {
33+
"Model": "TMA4A",
34+
"Serial": "20424035",
35+
"Firmware": "2.9.4"
36+
}
37+
},
38+
"User": {
39+
"Id": "0b1dc69a-0a42-4075-abc2-e0de50cd9186",
40+
"Name": "Ryan mangis"
41+
},
42+
"CustomerSession": {
43+
"Id": "7d692f5a-f172-4418-ab4e-d03ecac0b884"
44+
},
45+
"ActivitySession": {
46+
"Id": "6709add0-6d43-4461-baf6-1084fde19c38"
47+
}
48+
},
49+
"eventType": "AppScripting.Status",
50+
"dataVersion": "1.0",
51+
"metadataVersion": "1",
52+
"eventTime": "2025-09-27T11:48:57.8340771Z",
53+
"topic": "/subscriptions/09c4d679-8b43-4520-ad0a-c598267ed94c/resourceGroups/dr2-dev/providers/Microsoft.EventGrid/domains/dr-eventgrid-dev/topics/facility-f5456fe9-5829-45ec-9721-2f6bf130e9c5"
54+
}
55+
]
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
[
2+
{
3+
"id": "4bf77e5f-a9a9-44a2-bb81-3e79b5c72a99",
4+
"subject": "/facility/f5456fe9-5829-45ec-9721-2f6bf130e9c5/location/f5456fe9-5829-45ec-9721-2f6bf130e9c5/bay/e9acfb8b-6ddd-45ac-9d5b-f23e51b1fe2d",
5+
"data": {
6+
"EventModel": {
7+
"Name": "Shot Analysis",
8+
"Description": "Actionable data at your fingertips. Every time you hit a shot you receive key information in real time. Select a view that fits your needs, from easy-to-understand numbers over video recordings to a 3D view of the ball flight.",
9+
"ImageUrl": "https://cdn.trackmangolf.com/tps-resources/shotanalysis_Splash_34154b3d-f678-49eb-b2a5-8dc1a989bcd2",
10+
"Kind": "ShotAnalysisActivity"
11+
},
12+
"Facility": {
13+
"Id": "f5456fe9-5829-45ec-9721-2f6bf130e9c5",
14+
"Name": "DSG Global Dev"
15+
},
16+
"Location": {
17+
"Id": "f5456fe9-5829-45ec-9721-2f6bf130e9c5",
18+
"Name": "DSG Global"
19+
},
20+
"Bay": {
21+
"Id": "e9acfb8b-6ddd-45ac-9d5b-f23e51b1fe2d",
22+
"Name": "JFE Office"
23+
},
24+
"Client": {
25+
"Name": "TrackMan Performance Studio",
26+
"Properties": {
27+
"Version": "10.2.119"
28+
}
29+
},
30+
"Device": {
31+
"Id": "1d1d211b-981e-4ff4-907c-fc22f776358c"
32+
},
33+
"Radar": {
34+
"Properties": {
35+
"Model": "TMA4A",
36+
"Serial": "17404099",
37+
"Firmware": "2.10.0"
38+
}
39+
},
40+
"User": {
41+
"Id": "dab917d3-9588-476d-aeb0-0b65e775d0bc",
42+
"Name": "Michael Bertelsen"
43+
},
44+
"CustomerSession": {
45+
"Id": "3c0cea98-2bf9-451b-8ffd-c787dc304cb2"
46+
},
47+
"ActivitySession": {
48+
"Id": "bb13e9cd-7dfd-4e4d-b4d6-c4ab4cd3614b"
49+
}
50+
},
51+
"eventType": "TPS.EndActivity",
52+
"dataVersion": "1.0",
53+
"metadataVersion": "1",
54+
"eventTime": "2025-09-27T14:53:14.6824648Z",
55+
"topic": "/subscriptions/09c4d679-8b43-4520-ad0a-c598267ed94c/resourceGroups/dr2-dev/providers/Microsoft.EventGrid/domains/dr-eventgrid-dev/topics/facility-f5456fe9-5829-45ec-9721-2f6bf130e9c5"
56+
}
57+
]
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
[
2+
{
3+
"id": "232e013e-958e-4bba-b50e-dac436d1508d",
4+
"subject": "/facility/f5456fe9-5829-45ec-9721-2f6bf130e9c5/location/f5456fe9-5829-45ec-9721-2f6bf130e9c5/bay/e9acfb8b-6ddd-45ac-9d5b-f23e51b1fe2d",
5+
"data": {
6+
"EventModel": {
7+
"Name": "Adare Manor",
8+
"Description": "The Golf Course at Adare Manor, host to the Ryder Cup in 2027, offers a spectacular golfing experience in a beautiful parkland estate. With mature trees, gorgeously landscaped terrain, and bounded by the peaceful waters of the River Maigue, the course is every bit as strategic as it is scenic. It demands precision but rewards risk and courage. ",
9+
"ImageUrl": "https://cdn.trackmangolf.com/course-resources/adaremanor_Splash_c13622fa-85b9-4ae3-8ff7-9e3c9dbba25f",
10+
"Kind": "CoursePlayActivity"
11+
},
12+
"Facility": {
13+
"Id": "f5456fe9-5829-45ec-9721-2f6bf130e9c5",
14+
"Name": "DSG Global Dev"
15+
},
16+
"Location": {
17+
"Id": "f5456fe9-5829-45ec-9721-2f6bf130e9c5",
18+
"Name": "DSG Global"
19+
},
20+
"Bay": {
21+
"Id": "e9acfb8b-6ddd-45ac-9d5b-f23e51b1fe2d",
22+
"Name": "JFE Office"
23+
},
24+
"Client": {
25+
"Name": "TrackMan Performance Studio",
26+
"Properties": {
27+
"Version": "10.2.119"
28+
}
29+
},
30+
"Device": {
31+
"Id": "1d1d211b-981e-4ff4-907c-fc22f776358c"
32+
},
33+
"Radar": {
34+
"Properties": {
35+
"Model": "TMA4A",
36+
"Serial": "17404099",
37+
"Firmware": "2.10.0"
38+
}
39+
},
40+
"User": {
41+
"Id": "dab917d3-9588-476d-aeb0-0b65e775d0bc",
42+
"Name": "Michael Bertelsen"
43+
},
44+
"CustomerSession": {
45+
"Id": "2744d13e-6efc-4a6d-b7af-c9c08a632dae"
46+
},
47+
"ActivitySession": {
48+
"Id": "6ad15aa5-e658-467a-be62-63b5d258068f"
49+
}
50+
},
51+
"eventType": "TPS.EndActivity",
52+
"dataVersion": "1.0",
53+
"metadataVersion": "1",
54+
"eventTime": "2025-09-28T00:15:48.9732697Z",
55+
"topic": "/subscriptions/09c4d679-8b43-4520-ad0a-c598267ed94c/resourceGroups/dr2-dev/providers/Microsoft.EventGrid/domains/dr-eventgrid-dev/topics/facility-f5456fe9-5829-45ec-9721-2f6bf130e9c5"
56+
}
57+
]

0 commit comments

Comments
 (0)