-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsample-trace.json
More file actions
119 lines (119 loc) · 3.06 KB
/
Copy pathsample-trace.json
File metadata and controls
119 lines (119 loc) · 3.06 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"traceId": "example-simple-trace",
"metadata": {
"stationId": "CS-EXAMPLE-001",
"ocppVersion": "1.6",
"source": "synthetic-example",
"description": "Synthetic trace for the simple-trace example."
},
"events": [
{
"timestamp": "2024-01-15T10:00:00.000Z",
"direction": "CS_TO_CSMS",
"message": [
2,
"msg-001",
"BootNotification",
{
"chargePointVendor": "ExampleVendor",
"chargePointModel": "EX-100",
"chargePointSerialNumber": "CS-EXAMPLE-001",
"firmwareVersion": "1.0.0"
}
]
},
{
"timestamp": "2024-01-15T10:00:00.500Z",
"direction": "CSMS_TO_CS",
"message": [
3,
"msg-001",
{ "currentTime": "2024-01-15T10:00:00.500Z", "interval": 300, "status": "Accepted" }
]
},
{
"timestamp": "2024-01-15T10:01:00.000Z",
"direction": "CS_TO_CSMS",
"message": [2, "msg-002", "Authorize", { "idTag": "EXAMPLE-TAG-001" }]
},
{
"timestamp": "2024-01-15T10:01:00.500Z",
"direction": "CSMS_TO_CS",
"message": [
3,
"msg-002",
{ "idTagInfo": { "status": "Accepted", "expiryDate": "2024-12-31T23:59:59.000Z" } }
]
},
{
"timestamp": "2024-01-15T10:02:00.000Z",
"direction": "CS_TO_CSMS",
"message": [
2,
"msg-003",
"StartTransaction",
{
"connectorId": 1,
"idTag": "EXAMPLE-TAG-001",
"meterStart": 0,
"timestamp": "2024-01-15T10:02:00.000Z"
}
]
},
{
"timestamp": "2024-01-15T10:02:00.500Z",
"direction": "CSMS_TO_CS",
"message": [3, "msg-003", { "transactionId": 200001, "idTagInfo": { "status": "Accepted" } }]
},
{
"timestamp": "2024-01-15T10:03:00.000Z",
"direction": "CS_TO_CSMS",
"message": [
2,
"msg-004",
"MeterValues",
{
"connectorId": 1,
"transactionId": 200001,
"meterValue": [{ "sampledValue": [{ "value": "5000" }] }]
}
]
},
{
"timestamp": "2024-01-15T10:03:00.500Z",
"direction": "CSMS_TO_CS",
"message": [3, "msg-004", {}]
},
{
"timestamp": "2024-01-15T10:05:00.000Z",
"direction": "CS_TO_CSMS",
"message": [2, "msg-005", "Heartbeat", {}]
},
{
"timestamp": "2024-01-15T10:05:00.500Z",
"direction": "CSMS_TO_CS",
"message": [3, "msg-005", { "currentTime": "2024-01-15T10:05:00.500Z" }]
},
{
"timestamp": "2024-01-15T10:30:00.000Z",
"direction": "CS_TO_CSMS",
"message": [
2,
"msg-006",
"StopTransaction",
{
"transactionId": 200001,
"idTag": "EXAMPLE-TAG-001",
"meterStop": 5000,
"timestamp": "2024-01-15T10:30:00.000Z",
"reason": "EVDisconnected"
}
]
},
{
"timestamp": "2024-01-15T10:30:00.500Z",
"direction": "CSMS_TO_CS",
"message": [3, "msg-006", { "idTagInfo": { "status": "Accepted" } }]
}
]
}