This repository has no description
1{
2 "lexicon": 1,
3 "id": "io.prefect.v0.event",
4 "defs": {
5 "main": {
6 "type": "record",
7 "description": "something that happened to a resource. the only append-only observability shape: state transitions, lifecycle changes, and custom events all land here. a TID-keyed collection scan is the chronological event log.",
8 "key": "tid",
9 "record": {
10 "type": "object",
11 "required": ["occurred", "event", "resource"],
12 "properties": {
13 "occurred": {
14 "type": "string",
15 "format": "datetime",
16 "description": "when the event happened from the sender's perspective"
17 },
18 "event": {
19 "type": "string",
20 "maxLength": 256,
21 "description": "dotted kebab-case event name, e.g. prefect.flow-run.Completed"
22 },
23 "resource": {
24 "type": "ref",
25 "ref": "io.prefect.v0.defs#labels",
26 "description": "the primary resource this event concerns"
27 },
28 "related": {
29 "type": "array",
30 "items": { "type": "ref", "ref": "io.prefect.v0.defs#labels" },
31 "description": "additional resources involved in this event"
32 },
33 "payload": {
34 "type": "unknown",
35 "description": "open-ended data describing what happened; state transitions carry intended/validated_state shaped by io.prefect.v0.defs#state"
36 },
37 "eventId": {
38 "type": "string",
39 "maxLength": 64,
40 "description": "client-provided identifier (uuid7), for dedup and causal references"
41 },
42 "follows": {
43 "type": "string",
44 "maxLength": 64,
45 "description": "eventId of an event known to have occurred before this one"
46 }
47 }
48 }
49 }
50 }
51}