org.simocracy.history
Schema Diff
+5 -5
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, senate hearings launched, and individual sim comments during hearings.",
5
+
"description": "Tracks user interactions — chat messages with sims and S-Process deliberation events.",
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
-
"description": "Unique ID for grouping events from the same hearing session",
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
-
"description": "Title of the proposal (for hearing/comment events)",
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
-
"description": "Hearing round: 1=evaluation, 2=response, 3=summary (for comment events)",
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
"type": {
53
-
"description": "Event type: chat, hearing, or comment",
53
+
"description": "Event type: \"chat\" or \"sprocess\"",
54
54
"type": "string"
55
55
},
56
56
"userMessage": {
57
57
"description": "User's message that prompted the response (for chat events)",
58
58
"maxGraphemes": 2000,
59
59
"type": "string"
60
60
}
61
61
},
62
62
"required": [
63
63
"type",
64
64
"actorDid",
65
65
"simNames",
66
66
"createdAt"
67
67
],
68
68
"type": "object"
69
69
},
70
70
"type": "record"
71
71
}
72
72
},
73
73
"id": "org.simocracy.history",
74
74
"lexicon": 1
75
75
}