temporal-explorer 0.0.0-mvp
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +149 -0
- package/dist/api/index.js +4322 -0
- package/dist/cli/index.js +5292 -0
- package/dist/schemas/index.js +612 -0
- package/package.json +108 -0
- package/packages/schemas/json-schema/temporal-analysis.v1.schema.json +372 -0
- package/packages/schemas/json-schema/temporal-overlay.v1.schema.json +246 -0
- package/packages/schemas/json-schema/temporal-trace.v1.schema.json +607 -0
|
@@ -0,0 +1,607 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "https://temporal-explorer.dev/schemas/temporal-trace/v1",
|
|
3
|
+
"title": "temporal-trace/v1",
|
|
4
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"schemaVersion": { "type": "string", "const": "temporal-trace/v1" },
|
|
8
|
+
"artifactId": { "type": "string", "minLength": 1 },
|
|
9
|
+
"metadata": {
|
|
10
|
+
"type": "object",
|
|
11
|
+
"properties": {
|
|
12
|
+
"temporalExplorerVersion": { "type": "string", "minLength": 1 },
|
|
13
|
+
"schemaVersion": { "type": "string", "minLength": 1 },
|
|
14
|
+
"generatedAt": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"format": "date-time",
|
|
17
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
18
|
+
},
|
|
19
|
+
"inputs": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"properties": {
|
|
22
|
+
"projectRoot": { "type": "string" },
|
|
23
|
+
"configHash": { "type": "string" },
|
|
24
|
+
"tsconfigHash": { "type": "string" },
|
|
25
|
+
"packageMetadataHash": { "type": "string" },
|
|
26
|
+
"lockfileHash": { "type": "string" },
|
|
27
|
+
"sourceFileHashes": {
|
|
28
|
+
"type": "object",
|
|
29
|
+
"propertyNames": { "type": "string" },
|
|
30
|
+
"additionalProperties": { "type": "string" }
|
|
31
|
+
},
|
|
32
|
+
"temporalSdkVersions": {
|
|
33
|
+
"type": "object",
|
|
34
|
+
"propertyNames": { "type": "string" },
|
|
35
|
+
"additionalProperties": { "type": "string" }
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"required": ["projectRoot", "configHash", "sourceFileHashes", "temporalSdkVersions"],
|
|
39
|
+
"additionalProperties": false
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"required": ["temporalExplorerVersion", "schemaVersion", "inputs"],
|
|
43
|
+
"additionalProperties": false
|
|
44
|
+
},
|
|
45
|
+
"execution": {
|
|
46
|
+
"type": "object",
|
|
47
|
+
"properties": {
|
|
48
|
+
"workflowType": { "type": "string", "minLength": 1 },
|
|
49
|
+
"workflowId": { "type": "string", "minLength": 1 },
|
|
50
|
+
"runId": { "type": "string", "minLength": 1 },
|
|
51
|
+
"status": {
|
|
52
|
+
"anyOf": [
|
|
53
|
+
{ "type": "string", "const": "running" },
|
|
54
|
+
{ "type": "string", "const": "completed" },
|
|
55
|
+
{ "type": "string", "const": "failed" },
|
|
56
|
+
{ "type": "string", "const": "canceled" },
|
|
57
|
+
{ "type": "string", "const": "terminated" },
|
|
58
|
+
{ "type": "string", "const": "timedOut" },
|
|
59
|
+
{ "type": "string", "const": "continued-as-new" }
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
"startedAt": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"format": "date-time",
|
|
65
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
66
|
+
},
|
|
67
|
+
"closedAt": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"format": "date-time",
|
|
70
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
71
|
+
},
|
|
72
|
+
"durationMs": { "type": "number", "minimum": 0 }
|
|
73
|
+
},
|
|
74
|
+
"required": ["workflowType", "workflowId", "runId", "status", "startedAt"],
|
|
75
|
+
"additionalProperties": false
|
|
76
|
+
},
|
|
77
|
+
"source": {
|
|
78
|
+
"type": "object",
|
|
79
|
+
"properties": {
|
|
80
|
+
"namespace": { "type": "string", "minLength": 1 },
|
|
81
|
+
"taskQueue": { "type": "string", "minLength": 1 },
|
|
82
|
+
"eventCount": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 },
|
|
83
|
+
"importedFrom": {
|
|
84
|
+
"anyOf": [
|
|
85
|
+
{ "type": "string", "const": "file" },
|
|
86
|
+
{ "type": "string", "const": "api" },
|
|
87
|
+
{ "type": "string", "const": "cli" }
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"required": ["eventCount", "importedFrom"],
|
|
92
|
+
"additionalProperties": false
|
|
93
|
+
},
|
|
94
|
+
"operations": {
|
|
95
|
+
"type": "array",
|
|
96
|
+
"items": {
|
|
97
|
+
"oneOf": [
|
|
98
|
+
{
|
|
99
|
+
"type": "object",
|
|
100
|
+
"properties": {
|
|
101
|
+
"id": { "type": "string", "minLength": 1 },
|
|
102
|
+
"kind": { "type": "string", "const": "workflow-lifecycle" },
|
|
103
|
+
"status": {
|
|
104
|
+
"anyOf": [
|
|
105
|
+
{ "type": "string", "const": "started" },
|
|
106
|
+
{ "type": "string", "const": "completed" },
|
|
107
|
+
{ "type": "string", "const": "failed" },
|
|
108
|
+
{ "type": "string", "const": "canceled" },
|
|
109
|
+
{ "type": "string", "const": "terminated" },
|
|
110
|
+
{ "type": "string", "const": "timedOut" },
|
|
111
|
+
{ "type": "string", "const": "continued-as-new" }
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
"eventReferences": { "type": "array", "items": { "$ref": "#/$defs/__schema0" } },
|
|
115
|
+
"payloadReferences": {
|
|
116
|
+
"type": "array",
|
|
117
|
+
"items": { "type": "string", "minLength": 1 }
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"required": ["id", "kind", "status", "eventReferences", "payloadReferences"],
|
|
121
|
+
"additionalProperties": false
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"type": "object",
|
|
125
|
+
"properties": {
|
|
126
|
+
"id": { "type": "string", "minLength": 1 },
|
|
127
|
+
"kind": { "type": "string", "const": "activity" },
|
|
128
|
+
"activityType": { "type": "string", "minLength": 1 },
|
|
129
|
+
"activityId": { "type": "string", "minLength": 1 },
|
|
130
|
+
"status": {
|
|
131
|
+
"anyOf": [
|
|
132
|
+
{ "type": "string", "const": "completed" },
|
|
133
|
+
{ "type": "string", "const": "failed" },
|
|
134
|
+
{ "type": "string", "const": "timedOut" },
|
|
135
|
+
{ "type": "string", "const": "canceled" },
|
|
136
|
+
{ "type": "string", "const": "pending" }
|
|
137
|
+
]
|
|
138
|
+
},
|
|
139
|
+
"attempts": {
|
|
140
|
+
"type": "array",
|
|
141
|
+
"items": {
|
|
142
|
+
"type": "object",
|
|
143
|
+
"properties": {
|
|
144
|
+
"attempt": {
|
|
145
|
+
"type": "integer",
|
|
146
|
+
"exclusiveMinimum": 0,
|
|
147
|
+
"maximum": 9007199254740991
|
|
148
|
+
},
|
|
149
|
+
"scheduledEventId": {
|
|
150
|
+
"type": "integer",
|
|
151
|
+
"exclusiveMinimum": 0,
|
|
152
|
+
"maximum": 9007199254740991
|
|
153
|
+
},
|
|
154
|
+
"startedEventId": {
|
|
155
|
+
"type": "integer",
|
|
156
|
+
"exclusiveMinimum": 0,
|
|
157
|
+
"maximum": 9007199254740991
|
|
158
|
+
},
|
|
159
|
+
"closedEventId": {
|
|
160
|
+
"type": "integer",
|
|
161
|
+
"exclusiveMinimum": 0,
|
|
162
|
+
"maximum": 9007199254740991
|
|
163
|
+
},
|
|
164
|
+
"status": {
|
|
165
|
+
"anyOf": [
|
|
166
|
+
{ "type": "string", "const": "completed" },
|
|
167
|
+
{ "type": "string", "const": "failed" },
|
|
168
|
+
{ "type": "string", "const": "timedOut" },
|
|
169
|
+
{ "type": "string", "const": "canceled" },
|
|
170
|
+
{ "type": "string", "const": "pending" }
|
|
171
|
+
]
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"required": ["attempt", "scheduledEventId", "status"],
|
|
175
|
+
"additionalProperties": false
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"firstScheduledAt": {
|
|
179
|
+
"type": "string",
|
|
180
|
+
"format": "date-time",
|
|
181
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
182
|
+
},
|
|
183
|
+
"closedAt": {
|
|
184
|
+
"type": "string",
|
|
185
|
+
"format": "date-time",
|
|
186
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
187
|
+
},
|
|
188
|
+
"durationMs": { "type": "number", "minimum": 0 },
|
|
189
|
+
"eventReferences": { "type": "array", "items": { "$ref": "#/$defs/__schema0" } },
|
|
190
|
+
"payloadReferences": {
|
|
191
|
+
"type": "array",
|
|
192
|
+
"items": { "type": "string", "minLength": 1 }
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"required": [
|
|
196
|
+
"id",
|
|
197
|
+
"kind",
|
|
198
|
+
"activityType",
|
|
199
|
+
"activityId",
|
|
200
|
+
"status",
|
|
201
|
+
"attempts",
|
|
202
|
+
"firstScheduledAt",
|
|
203
|
+
"eventReferences",
|
|
204
|
+
"payloadReferences"
|
|
205
|
+
],
|
|
206
|
+
"additionalProperties": false
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"type": "object",
|
|
210
|
+
"properties": {
|
|
211
|
+
"id": { "type": "string", "minLength": 1 },
|
|
212
|
+
"kind": { "type": "string", "const": "signal" },
|
|
213
|
+
"signalName": { "type": "string", "minLength": 1 },
|
|
214
|
+
"receivedAt": {
|
|
215
|
+
"type": "string",
|
|
216
|
+
"format": "date-time",
|
|
217
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
218
|
+
},
|
|
219
|
+
"eventReferences": { "type": "array", "items": { "$ref": "#/$defs/__schema0" } },
|
|
220
|
+
"payloadReferences": {
|
|
221
|
+
"type": "array",
|
|
222
|
+
"items": { "type": "string", "minLength": 1 }
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"required": [
|
|
226
|
+
"id",
|
|
227
|
+
"kind",
|
|
228
|
+
"signalName",
|
|
229
|
+
"receivedAt",
|
|
230
|
+
"eventReferences",
|
|
231
|
+
"payloadReferences"
|
|
232
|
+
],
|
|
233
|
+
"additionalProperties": false
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"type": "object",
|
|
237
|
+
"properties": {
|
|
238
|
+
"id": { "type": "string", "minLength": 1 },
|
|
239
|
+
"kind": { "type": "string", "const": "timer" },
|
|
240
|
+
"timerId": { "type": "string", "minLength": 1 },
|
|
241
|
+
"status": {
|
|
242
|
+
"anyOf": [
|
|
243
|
+
{ "type": "string", "const": "fired" },
|
|
244
|
+
{ "type": "string", "const": "canceled" },
|
|
245
|
+
{ "type": "string", "const": "pending" }
|
|
246
|
+
]
|
|
247
|
+
},
|
|
248
|
+
"startedAt": {
|
|
249
|
+
"type": "string",
|
|
250
|
+
"format": "date-time",
|
|
251
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
252
|
+
},
|
|
253
|
+
"closedAt": {
|
|
254
|
+
"type": "string",
|
|
255
|
+
"format": "date-time",
|
|
256
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
257
|
+
},
|
|
258
|
+
"durationText": { "type": "string", "minLength": 1 },
|
|
259
|
+
"eventReferences": { "type": "array", "items": { "$ref": "#/$defs/__schema0" } }
|
|
260
|
+
},
|
|
261
|
+
"required": ["id", "kind", "timerId", "status", "startedAt", "eventReferences"],
|
|
262
|
+
"additionalProperties": false
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"type": "object",
|
|
266
|
+
"properties": {
|
|
267
|
+
"id": { "type": "string", "minLength": 1 },
|
|
268
|
+
"kind": { "type": "string", "const": "update" },
|
|
269
|
+
"updateId": { "type": "string", "minLength": 1 },
|
|
270
|
+
"updateName": { "type": "string", "minLength": 1 },
|
|
271
|
+
"status": {
|
|
272
|
+
"anyOf": [
|
|
273
|
+
{ "type": "string", "const": "accepted" },
|
|
274
|
+
{ "type": "string", "const": "completed" },
|
|
275
|
+
{ "type": "string", "const": "failed" }
|
|
276
|
+
]
|
|
277
|
+
},
|
|
278
|
+
"acceptedAt": {
|
|
279
|
+
"type": "string",
|
|
280
|
+
"format": "date-time",
|
|
281
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
282
|
+
},
|
|
283
|
+
"closedAt": {
|
|
284
|
+
"type": "string",
|
|
285
|
+
"format": "date-time",
|
|
286
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
287
|
+
},
|
|
288
|
+
"eventReferences": { "type": "array", "items": { "$ref": "#/$defs/__schema0" } },
|
|
289
|
+
"payloadReferences": {
|
|
290
|
+
"type": "array",
|
|
291
|
+
"items": { "type": "string", "minLength": 1 }
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
"required": [
|
|
295
|
+
"id",
|
|
296
|
+
"kind",
|
|
297
|
+
"updateId",
|
|
298
|
+
"updateName",
|
|
299
|
+
"status",
|
|
300
|
+
"acceptedAt",
|
|
301
|
+
"eventReferences",
|
|
302
|
+
"payloadReferences"
|
|
303
|
+
],
|
|
304
|
+
"additionalProperties": false
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"type": "object",
|
|
308
|
+
"properties": {
|
|
309
|
+
"id": { "type": "string", "minLength": 1 },
|
|
310
|
+
"kind": { "type": "string", "const": "child-workflow" },
|
|
311
|
+
"workflowType": { "type": "string", "minLength": 1 },
|
|
312
|
+
"childWorkflowId": { "type": "string", "minLength": 1 },
|
|
313
|
+
"childRunId": { "type": "string", "minLength": 1 },
|
|
314
|
+
"status": {
|
|
315
|
+
"anyOf": [
|
|
316
|
+
{ "type": "string", "const": "initiated" },
|
|
317
|
+
{ "type": "string", "const": "startFailed" },
|
|
318
|
+
{ "type": "string", "const": "started" },
|
|
319
|
+
{ "type": "string", "const": "completed" },
|
|
320
|
+
{ "type": "string", "const": "failed" },
|
|
321
|
+
{ "type": "string", "const": "canceled" },
|
|
322
|
+
{ "type": "string", "const": "timedOut" },
|
|
323
|
+
{ "type": "string", "const": "terminated" }
|
|
324
|
+
]
|
|
325
|
+
},
|
|
326
|
+
"initiatedAt": {
|
|
327
|
+
"type": "string",
|
|
328
|
+
"format": "date-time",
|
|
329
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
330
|
+
},
|
|
331
|
+
"closedAt": {
|
|
332
|
+
"type": "string",
|
|
333
|
+
"format": "date-time",
|
|
334
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
335
|
+
},
|
|
336
|
+
"eventReferences": { "type": "array", "items": { "$ref": "#/$defs/__schema0" } },
|
|
337
|
+
"payloadReferences": {
|
|
338
|
+
"type": "array",
|
|
339
|
+
"items": { "type": "string", "minLength": 1 }
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
"required": [
|
|
343
|
+
"id",
|
|
344
|
+
"kind",
|
|
345
|
+
"workflowType",
|
|
346
|
+
"childWorkflowId",
|
|
347
|
+
"status",
|
|
348
|
+
"initiatedAt",
|
|
349
|
+
"eventReferences",
|
|
350
|
+
"payloadReferences"
|
|
351
|
+
],
|
|
352
|
+
"additionalProperties": false
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"type": "object",
|
|
356
|
+
"properties": {
|
|
357
|
+
"id": { "type": "string", "minLength": 1 },
|
|
358
|
+
"kind": { "type": "string", "const": "external-signal" },
|
|
359
|
+
"signalName": { "type": "string", "minLength": 1 },
|
|
360
|
+
"targetWorkflowId": { "type": "string", "minLength": 1 },
|
|
361
|
+
"targetRunId": { "type": "string", "minLength": 1 },
|
|
362
|
+
"status": {
|
|
363
|
+
"anyOf": [
|
|
364
|
+
{ "type": "string", "const": "initiated" },
|
|
365
|
+
{ "type": "string", "const": "signaled" },
|
|
366
|
+
{ "type": "string", "const": "failed" }
|
|
367
|
+
]
|
|
368
|
+
},
|
|
369
|
+
"initiatedAt": {
|
|
370
|
+
"type": "string",
|
|
371
|
+
"format": "date-time",
|
|
372
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
373
|
+
},
|
|
374
|
+
"closedAt": {
|
|
375
|
+
"type": "string",
|
|
376
|
+
"format": "date-time",
|
|
377
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
378
|
+
},
|
|
379
|
+
"eventReferences": { "type": "array", "items": { "$ref": "#/$defs/__schema0" } },
|
|
380
|
+
"payloadReferences": {
|
|
381
|
+
"type": "array",
|
|
382
|
+
"items": { "type": "string", "minLength": 1 }
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
"required": [
|
|
386
|
+
"id",
|
|
387
|
+
"kind",
|
|
388
|
+
"signalName",
|
|
389
|
+
"targetWorkflowId",
|
|
390
|
+
"status",
|
|
391
|
+
"initiatedAt",
|
|
392
|
+
"eventReferences",
|
|
393
|
+
"payloadReferences"
|
|
394
|
+
],
|
|
395
|
+
"additionalProperties": false
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"type": "object",
|
|
399
|
+
"properties": {
|
|
400
|
+
"id": { "type": "string", "minLength": 1 },
|
|
401
|
+
"kind": { "type": "string", "const": "marker" },
|
|
402
|
+
"markerName": { "type": "string", "minLength": 1 },
|
|
403
|
+
"patchId": { "type": "string", "minLength": 1 },
|
|
404
|
+
"deprecated": { "type": "boolean" },
|
|
405
|
+
"recordedAt": {
|
|
406
|
+
"type": "string",
|
|
407
|
+
"format": "date-time",
|
|
408
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
409
|
+
},
|
|
410
|
+
"eventReferences": { "type": "array", "items": { "$ref": "#/$defs/__schema0" } }
|
|
411
|
+
},
|
|
412
|
+
"required": ["id", "kind", "markerName", "recordedAt", "eventReferences"],
|
|
413
|
+
"additionalProperties": false
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"type": "object",
|
|
417
|
+
"properties": {
|
|
418
|
+
"id": { "type": "string", "minLength": 1 },
|
|
419
|
+
"kind": { "type": "string", "const": "continue-as-new" },
|
|
420
|
+
"newRunId": { "type": "string", "minLength": 1 },
|
|
421
|
+
"occurredAt": {
|
|
422
|
+
"type": "string",
|
|
423
|
+
"format": "date-time",
|
|
424
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
425
|
+
},
|
|
426
|
+
"eventReferences": { "type": "array", "items": { "$ref": "#/$defs/__schema0" } },
|
|
427
|
+
"payloadReferences": {
|
|
428
|
+
"type": "array",
|
|
429
|
+
"items": { "type": "string", "minLength": 1 }
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
"required": ["id", "kind", "occurredAt", "eventReferences", "payloadReferences"],
|
|
433
|
+
"additionalProperties": false
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"type": "object",
|
|
437
|
+
"properties": {
|
|
438
|
+
"id": { "type": "string", "minLength": 1 },
|
|
439
|
+
"kind": { "type": "string", "const": "cancel-request" },
|
|
440
|
+
"requestedAt": {
|
|
441
|
+
"type": "string",
|
|
442
|
+
"format": "date-time",
|
|
443
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
444
|
+
},
|
|
445
|
+
"eventReferences": { "type": "array", "items": { "$ref": "#/$defs/__schema0" } }
|
|
446
|
+
},
|
|
447
|
+
"required": ["id", "kind", "requestedAt", "eventReferences"],
|
|
448
|
+
"additionalProperties": false
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"type": "object",
|
|
452
|
+
"properties": {
|
|
453
|
+
"id": { "type": "string", "minLength": 1 },
|
|
454
|
+
"kind": { "type": "string", "const": "unmapped" },
|
|
455
|
+
"eventReferences": { "type": "array", "items": { "$ref": "#/$defs/__schema0" } },
|
|
456
|
+
"reason": { "type": "string", "minLength": 1 }
|
|
457
|
+
},
|
|
458
|
+
"required": ["id", "kind", "eventReferences", "reason"],
|
|
459
|
+
"additionalProperties": false
|
|
460
|
+
}
|
|
461
|
+
]
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
"timeline": {
|
|
465
|
+
"type": "array",
|
|
466
|
+
"items": {
|
|
467
|
+
"type": "object",
|
|
468
|
+
"properties": {
|
|
469
|
+
"id": { "type": "string", "minLength": 1 },
|
|
470
|
+
"operationId": { "type": "string", "minLength": 1 },
|
|
471
|
+
"at": {
|
|
472
|
+
"type": "string",
|
|
473
|
+
"format": "date-time",
|
|
474
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
475
|
+
},
|
|
476
|
+
"label": { "type": "string", "minLength": 1 },
|
|
477
|
+
"eventIds": {
|
|
478
|
+
"type": "array",
|
|
479
|
+
"items": { "type": "integer", "exclusiveMinimum": 0, "maximum": 9007199254740991 }
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
"required": ["id", "operationId", "at", "label", "eventIds"],
|
|
483
|
+
"additionalProperties": false
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
"payloads": {
|
|
487
|
+
"type": "array",
|
|
488
|
+
"items": {
|
|
489
|
+
"type": "object",
|
|
490
|
+
"properties": {
|
|
491
|
+
"id": { "type": "string", "minLength": 1 },
|
|
492
|
+
"eventId": { "type": "integer", "exclusiveMinimum": 0, "maximum": 9007199254740991 },
|
|
493
|
+
"kind": {
|
|
494
|
+
"anyOf": [
|
|
495
|
+
{ "type": "string", "const": "input" },
|
|
496
|
+
{ "type": "string", "const": "result" },
|
|
497
|
+
{ "type": "string", "const": "failure" },
|
|
498
|
+
{ "type": "string", "const": "signal" },
|
|
499
|
+
{ "type": "string", "const": "update" }
|
|
500
|
+
]
|
|
501
|
+
},
|
|
502
|
+
"decoded": { "type": "boolean" },
|
|
503
|
+
"preview": {},
|
|
504
|
+
"redacted": { "type": "boolean" }
|
|
505
|
+
},
|
|
506
|
+
"required": ["id", "eventId", "kind", "decoded", "redacted"],
|
|
507
|
+
"additionalProperties": false
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
"diagnostics": {
|
|
511
|
+
"type": "array",
|
|
512
|
+
"items": {
|
|
513
|
+
"type": "object",
|
|
514
|
+
"properties": {
|
|
515
|
+
"code": { "type": "string", "minLength": 1 },
|
|
516
|
+
"category": {
|
|
517
|
+
"anyOf": [
|
|
518
|
+
{ "type": "string", "const": "configuration" },
|
|
519
|
+
{ "type": "string", "const": "discovery" },
|
|
520
|
+
{ "type": "string", "const": "type-extraction" },
|
|
521
|
+
{ "type": "string", "const": "control-flow" },
|
|
522
|
+
{ "type": "string", "const": "determinism" },
|
|
523
|
+
{ "type": "string", "const": "history" },
|
|
524
|
+
{ "type": "string", "const": "mapping" },
|
|
525
|
+
{ "type": "string", "const": "rendering" },
|
|
526
|
+
{ "type": "string", "const": "privacy" },
|
|
527
|
+
{ "type": "string", "const": "compatibility" }
|
|
528
|
+
]
|
|
529
|
+
},
|
|
530
|
+
"severity": {
|
|
531
|
+
"anyOf": [
|
|
532
|
+
{ "type": "string", "const": "error" },
|
|
533
|
+
{ "type": "string", "const": "warning" },
|
|
534
|
+
{ "type": "string", "const": "info" }
|
|
535
|
+
]
|
|
536
|
+
},
|
|
537
|
+
"message": { "type": "string", "minLength": 1 },
|
|
538
|
+
"source": { "$ref": "#/$defs/__schema1" },
|
|
539
|
+
"relatedSources": { "type": "array", "items": { "$ref": "#/$defs/__schema1" } },
|
|
540
|
+
"confidence": {
|
|
541
|
+
"anyOf": [
|
|
542
|
+
{ "type": "string", "const": "exact" },
|
|
543
|
+
{ "type": "string", "const": "inferred" },
|
|
544
|
+
{ "type": "string", "const": "partial" },
|
|
545
|
+
{ "type": "string", "const": "ambiguous" },
|
|
546
|
+
{ "type": "string", "const": "dynamic" },
|
|
547
|
+
{ "type": "string", "const": "unknown" }
|
|
548
|
+
]
|
|
549
|
+
},
|
|
550
|
+
"documentationUrl": { "type": "string", "format": "uri" }
|
|
551
|
+
},
|
|
552
|
+
"required": ["code", "category", "severity", "message", "confidence"],
|
|
553
|
+
"additionalProperties": false
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
},
|
|
557
|
+
"required": [
|
|
558
|
+
"schemaVersion",
|
|
559
|
+
"artifactId",
|
|
560
|
+
"metadata",
|
|
561
|
+
"execution",
|
|
562
|
+
"source",
|
|
563
|
+
"operations",
|
|
564
|
+
"timeline",
|
|
565
|
+
"payloads",
|
|
566
|
+
"diagnostics"
|
|
567
|
+
],
|
|
568
|
+
"additionalProperties": false,
|
|
569
|
+
"$defs": {
|
|
570
|
+
"__schema0": {
|
|
571
|
+
"type": "object",
|
|
572
|
+
"properties": {
|
|
573
|
+
"eventId": { "type": "integer", "exclusiveMinimum": 0, "maximum": 9007199254740991 },
|
|
574
|
+
"eventType": { "type": "string", "minLength": 1 }
|
|
575
|
+
},
|
|
576
|
+
"required": ["eventId", "eventType"],
|
|
577
|
+
"additionalProperties": false
|
|
578
|
+
},
|
|
579
|
+
"__schema1": {
|
|
580
|
+
"type": "object",
|
|
581
|
+
"properties": {
|
|
582
|
+
"path": { "type": "string", "minLength": 1 },
|
|
583
|
+
"pathKind": {
|
|
584
|
+
"anyOf": [
|
|
585
|
+
{ "type": "string", "const": "project-relative" },
|
|
586
|
+
{ "type": "string", "const": "absolute" }
|
|
587
|
+
]
|
|
588
|
+
},
|
|
589
|
+
"start": { "$ref": "#/$defs/__schema2" },
|
|
590
|
+
"end": { "$ref": "#/$defs/__schema2" },
|
|
591
|
+
"symbolName": { "type": "string", "minLength": 1 }
|
|
592
|
+
},
|
|
593
|
+
"required": ["path", "pathKind", "start", "end"],
|
|
594
|
+
"additionalProperties": false
|
|
595
|
+
},
|
|
596
|
+
"__schema2": {
|
|
597
|
+
"type": "object",
|
|
598
|
+
"properties": {
|
|
599
|
+
"line": { "type": "integer", "exclusiveMinimum": 0, "maximum": 9007199254740991 },
|
|
600
|
+
"column": { "type": "integer", "exclusiveMinimum": 0, "maximum": 9007199254740991 },
|
|
601
|
+
"offset": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 }
|
|
602
|
+
},
|
|
603
|
+
"required": ["line", "column", "offset"],
|
|
604
|
+
"additionalProperties": false
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
}
|