-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprojection_generation_event.v1.json
More file actions
59 lines (59 loc) · 1.81 KB
/
Copy pathprojection_generation_event.v1.json
File metadata and controls
59 lines (59 loc) · 1.81 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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://waveframe.ai/schemas/projection_generation_event.v1.json",
"title": "projection_generation_event.v1",
"type": "object",
"required": [
"schema_version",
"event_id",
"event_type",
"timestamp",
"authority_ref",
"authority_version",
"severity",
"caused_by_event_id",
"event_category",
"immutability_posture",
"projection_name",
"generated_at",
"source_event_ids",
"freshness_posture",
"projection_version",
"projection_dependencies"
],
"properties": {
"schema_version": { "const": "projection_generation_event.v1" },
"event_id": { "type": "string", "minLength": 1 },
"event_type": { "const": "projection_generated" },
"timestamp": { "type": "string", "minLength": 1 },
"authority_ref": { "type": "string", "minLength": 1 },
"authority_version": { "type": "string", "minLength": 1 },
"severity": {
"enum": [
"info",
"warning",
"critical",
"continuity_risk",
"replay_risk",
"authority_conflict"
]
},
"caused_by_event_id": { "type": ["string", "null"] },
"event_category": { "const": "projection" },
"immutability_posture": { "const": "append_only" },
"projection_name": { "type": "string", "minLength": 1 },
"generated_at": { "type": "string", "minLength": 1 },
"source_event_ids": {
"type": "array",
"items": { "type": "string", "minLength": 1 }
},
"freshness_posture": { "enum": ["fresh", "stale", "invalidated"] },
"projection_version": { "type": "string", "minLength": 1 },
"projection_dependencies": {
"type": "array",
"items": { "type": "string", "minLength": 1 }
},
"summary": { "type": "string" }
},
"additionalProperties": false
}