org.simocracy.history
Schema Diff
+2 -2
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "Tracks user interactions — chat messages with sims, S-Process deliberation events, and record lifecycle events.",
5
+
"description": "Tracks user interactions — chat messages with sims, S-Process deliberation events, record lifecycle events, and sim-attribution sidecars for comments authored on behalf of a sim.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"actorDid": {
10
10
"description": "DID of the user who triggered the event",
11
11
"type": "string"
12
12
},
13
13
"content": {
14
14
"description": "The actual content — sim response for chat, sim opinion for comment",
15
15
"maxGraphemes": 5000,
16
16
"type": "string"
17
17
},
18
18
"createdAt": {
19
19
"format": "datetime",
20
20
"type": "string"
21
21
},
22
22
"hearingId": {
23
23
"description": "Opaque run ID grouping events from the same session (legacy name; also used by S-Process runs)",
24
24
"maxLength": 32,
25
25
"type": "string"
26
26
},
27
27
"proposalTitle": {
28
28
"description": "Title of the proposal or floor the event relates to",
29
29
"maxGraphemes": 500,
30
30
"type": "string"
31
31
},
32
32
"round": {
33
33
"description": "Ordering index within a multi-step event (e.g. sim index within an S-Process run)",
34
34
"type": "integer"
35
35
},
36
36
"simNames": {
37
37
"description": "Names of sims involved",
38
38
"items": {
39
39
"type": "string"
40
40
},
41
41
"maxLength": 10,
42
42
"type": "array"
43
43
},
44
44
"simUris": {
45
45
"description": "AT-URIs of sims involved",
46
46
"items": {
47
47
"type": "string"
48
48
},
49
49
"maxLength": 10,
50
50
"type": "array"
51
51
},
52
52
"subjectCollection": {
53
53
"description": "Collection NSID of the record this history event is about",
54
54
"maxLength": 500,
55
55
"type": "string"
56
56
},
57
57
"subjectName": {
58
58
"description": "Human-readable name/title of the record this history event is about",
59
59
"maxGraphemes": 500,
60
60
"type": "string"
61
61
},
62
62
"subjectUri": {
63
63
"description": "AT-URI of the record this history event is about (used for record deletion events)",
64
64
"maxLength": 5000,
65
65
"type": "string"
66
66
},
67
67
"type": {
68
-
"description": "Event type: \"chat\", \"sprocess\", or \"delete\"",
68
+
"description": "Event type: \"chat\", \"sprocess\", \"delete\", or \"comment\" (sim-attribution sidecar for an org.impactindexer.review.comment record — see docs/SIM_AUTHORED_COMMENTS.md in pi-simocracy)",
69
69
"type": "string"
70
70
},
71
71
"userMessage": {
72
72
"description": "User's message that prompted the response (for chat events)",
73
73
"maxGraphemes": 2000,
74
74
"type": "string"
75
75
}
76
76
},
77
77
"required": [
78
78
"type",
79
79
"actorDid",
80
80
"simNames",
81
81
"createdAt"
82
82
],
83
83
"type": "object"
84
84
},
85
85
"type": "record"
86
86
}
87
87
},
88
88
"id": "org.simocracy.history",
89
89
"lexicon": 1
90
90
}