fyi.opensocial.defs
Schema Diff
+4 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "fyi.opensocial.defs#groupView.deactivated" }
- AddedEdge AddedEdge { src: "fyi.opensocial.defs#groupView", tgt: "fyi.opensocial.defs#groupView.deactivated", kind: "prop", name: Some("deactivated") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "fyi.opensocial.defs#groupView.deactivated" }
Additional Notes
- Non-breaking: AddedEdge { src: "fyi.opensocial.defs#groupView", tgt: "fyi.opensocial.defs#groupView.deactivated", kind: "prop", name: Some("deactivated") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"eventView": {
5
5
"properties": {
6
6
"actor": {
7
7
"format": "did",
8
8
"type": "string"
9
9
},
10
10
"createdAt": {
11
11
"format": "datetime",
12
12
"type": "string"
13
13
},
14
14
"note": {
15
15
"type": "string"
16
16
},
17
17
"reason": {
18
18
"type": "string"
19
19
},
20
20
"reasonType": {
21
21
"type": "string"
22
22
},
23
23
"type": {
24
24
"knownValues": [
25
25
"report",
26
26
"label",
27
27
"negate",
28
28
"resolve",
29
29
"escalate",
30
30
"note",
31
31
"eject"
32
32
],
33
33
"type": "string"
34
34
},
35
35
"val": {
36
36
"type": "string"
37
37
}
38
38
},
39
39
"required": [
40
40
"type",
41
41
"createdAt"
42
42
],
43
43
"type": "object"
44
44
},
45
45
"groupRule": {
46
46
"properties": {
47
47
"rkey": {
48
48
"type": "string"
49
49
},
50
50
"text": {
51
51
"type": "string"
52
52
},
53
53
"title": {
54
54
"type": "string"
55
55
}
56
56
},
57
57
"required": [
58
58
"rkey",
59
59
"title"
60
60
],
61
61
"type": "object"
62
62
},
63
63
"groupView": {
64
64
"properties": {
65
65
"avatar": {
66
66
"description": "CID of the avatar blob; the host serves it at /img/{did}/avatar.",
67
67
"type": "string"
68
68
},
69
+
"deactivated": {
70
+
"description": "Set while a steward has the group switched off. Its spaces cannot be read until one of the stewards who could switch it off switches it back on.",
71
+
"type": "boolean"
72
+
},
69
73
"description": {
70
74
"type": "string"
71
75
},
72
76
"did": {
73
77
"format": "did",
74
78
"type": "string"
75
79
},
76
80
"displayName": {
77
81
"type": "string"
78
82
},
79
83
"handle": {
80
84
"format": "handle",
81
85
"type": "string"
82
86
},
83
87
"joinPolicy": {
84
88
"description": "How new members get in, as the profile states it.",
85
89
"type": "string"
86
90
},
87
91
"members": {
88
92
"format": "space-ref",
89
93
"type": "string"
90
94
},
91
95
"meta": {
92
96
"format": "space-ref",
93
97
"type": "string"
94
98
},
95
99
"rules": {
96
100
"items": {
97
101
"ref": "#groupRule",
98
102
"type": "ref"
99
103
},
100
104
"type": "array"
101
105
},
102
106
"url": {
103
107
"description": "The group's own site, if it keeps one.",
104
108
"format": "uri",
105
109
"type": "string"
106
110
}
107
111
},
108
112
"required": [
109
113
"did",
110
114
"handle",
111
115
"meta",
112
116
"members"
113
117
],
114
118
"type": "object"
115
119
},
116
120
"inviteView": {
117
121
"properties": {
118
122
"createdAt": {
119
123
"format": "datetime",
120
124
"type": "string"
121
125
},
122
126
"expiresAt": {
123
127
"format": "datetime",
124
128
"type": "string"
125
129
},
126
130
"invitee": {
127
131
"format": "did",
128
132
"type": "string"
129
133
},
130
134
"message": {
131
135
"type": "string"
132
136
},
133
137
"uri": {
134
138
"format": "at-uri",
135
139
"type": "string"
136
140
}
137
141
},
138
142
"required": [
139
143
"uri",
140
144
"invitee",
141
145
"createdAt"
142
146
],
143
147
"type": "object"
144
148
},
145
149
"joinRequestView": {
146
150
"properties": {
147
151
"createdAt": {
148
152
"format": "datetime",
149
153
"type": "string"
150
154
},
151
155
"did": {
152
156
"format": "did",
153
157
"type": "string"
154
158
},
155
159
"invite": {
156
160
"format": "at-uri",
157
161
"type": "string"
158
162
},
159
163
"message": {
160
164
"type": "string"
161
165
}
162
166
},
163
167
"required": [
164
168
"did",
165
169
"createdAt"
166
170
],
167
171
"type": "object"
168
172
},
169
173
"subjectView": {
170
174
"properties": {
171
175
"createdAt": {
172
176
"format": "datetime",
173
177
"type": "string"
174
178
},
175
179
"lastReportedAt": {
176
180
"format": "datetime",
177
181
"type": "string"
178
182
},
179
183
"reportCount": {
180
184
"type": "integer"
181
185
},
182
186
"status": {
183
187
"knownValues": [
184
188
"open",
185
189
"escalated",
186
190
"resolved"
187
191
],
188
192
"type": "string"
189
193
},
190
194
"subject": {
191
195
"description": "A record's at-uri, or an account's DID.",
192
196
"format": "uri",
193
197
"type": "string"
194
198
},
195
199
"updatedAt": {
196
200
"format": "datetime",
197
201
"type": "string"
198
202
}
199
203
},
200
204
"required": [
201
205
"subject",
202
206
"status",
203
207
"createdAt"
204
208
],
205
209
"type": "object"
206
210
}
207
211
},
208
212
"id": "fyi.opensocial.defs",
209
213
"lexicon": 1
210
214
}