full diff

us.off-the-clock.admin.defs

off-the-clock.us +17 −0
From
bafyreih4ivgd3mzymbnhi3asxq3kqcoqsazqdcbh5bu45sehi47tqdjdzu indexed 2026-11-08 20:44 UTC View this version
To
bafyreidqm6kqrfrhrz6q745u3iy6fpyn265istmukfodrg56735lgts64y indexed 2026-11-10 03:55 UTC View this version

Compatibility

backward compatible Backward compatible. 13 non-breaking changes.

Non-breaking changes (13)
  • AddedVertex AddedVertex { vertex_id: "us.off-the-clock.admin.defs#automodOutcome.warning" }
  • AddedVertex AddedVertex { vertex_id: "us.off-the-clock.admin.defs#automodRule.warning" }
  • AddedVertex AddedVertex { vertex_id: "us.off-the-clock.admin.defs#record.warnings" }
  • AddedVertex AddedVertex { vertex_id: "us.off-the-clock.admin.defs#record.warnings:items" }
  • AddedVertex AddedVertex { vertex_id: "us.off-the-clock.automod.rule#warning" }
  • AddedVertex AddedVertex { vertex_id: "us.off-the-clock.defs#warningView" }
  • AddedEdge AddedEdge { src: "us.off-the-clock.admin.defs#automodOutcome", tgt: "us.off-the-clock.admin.defs#automodOutcome.warning", kind: "prop", name: Some("warning") }
  • AddedEdge AddedEdge { src: "us.off-the-clock.admin.defs#automodOutcome.warning", tgt: "us.off-the-clock.automod.rule#warning", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "us.off-the-clock.admin.defs#automodRule", tgt: "us.off-the-clock.admin.defs#automodRule.warning", kind: "prop", name: Some("warning") }
  • AddedEdge AddedEdge { src: "us.off-the-clock.admin.defs#automodRule.warning", tgt: "us.off-the-clock.automod.rule#warning", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "us.off-the-clock.admin.defs#record", tgt: "us.off-the-clock.admin.defs#record.warnings", kind: "prop", name: Some("warnings") }
  • AddedEdge AddedEdge { src: "us.off-the-clock.admin.defs#record.warnings", tgt: "us.off-the-clock.admin.defs#record.warnings:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "us.off-the-clock.admin.defs#record.warnings:items", tgt: "us.off-the-clock.defs#warningView", kind: "ref", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "us.off-the-clock.admin.defs#automodOutcome.warning" }
  • AddedVertex { vertex_id: "us.off-the-clock.admin.defs#automodRule.warning" }
  • AddedVertex { vertex_id: "us.off-the-clock.admin.defs#record.warnings" }
  • AddedVertex { vertex_id: "us.off-the-clock.admin.defs#record.warnings:items" }
  • AddedVertex { vertex_id: "us.off-the-clock.automod.rule#warning" }
  • AddedVertex { vertex_id: "us.off-the-clock.defs#warningView" }

Notes

  • Non-breaking: AddedEdge { src: "us.off-the-clock.admin.defs#automodOutcome", tgt: "us.off-the-clock.admin.defs#automodOutcome.warning", kind: "prop", name: Some("warning") }
  • Non-breaking: AddedEdge { src: "us.off-the-clock.admin.defs#automodOutcome.warning", tgt: "us.off-the-clock.automod.rule#warning", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "us.off-the-clock.admin.defs#automodRule", tgt: "us.off-the-clock.admin.defs#automodRule.warning", kind: "prop", name: Some("warning") }
  • Non-breaking: AddedEdge { src: "us.off-the-clock.admin.defs#automodRule.warning", tgt: "us.off-the-clock.automod.rule#warning", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "us.off-the-clock.admin.defs#record", tgt: "us.off-the-clock.admin.defs#record.warnings", kind: "prop", name: Some("warnings") }
  • Non-breaking: AddedEdge { src: "us.off-the-clock.admin.defs#record.warnings", tgt: "us.off-the-clock.admin.defs#record.warnings:items", kind: "items", name: None }
  • Non-breaking: AddedEdge { src: "us.off-the-clock.admin.defs#record.warnings:items", tgt: "us.off-the-clock.defs#warningView", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "automodOutcome": {
55 "description": "What one rule did in a run (AUT-16).",
66 "properties": {
77 "labels": {
88 "items": {
99 "maxLength": 128,
1010 "type": "string"
1111 },
1212 "type": "array"
1313 },
1414 "name": {
1515 "type": "string"
1616 },
1717 "outcome": {
1818 "knownValues": [
1919 "matched",
2020 "missed",
2121 "skipped",
2222 "stopped",
2323 "failed"
2424 ],
2525 "maxLength": 64,
2626 "type": "string"
2727 },
2828 "rkey": {
2929 "maxLength": 64,
3030 "type": "string"
3131 },
32 "warning": {
33 "description": "A matching rule's warning types, when the content-warning it applies is one the run adds (AUT-13, CW-9).",
34 "ref": "us.off-the-clock.automod.rule#warning",
35 "type": "ref"
36 },
3237 "why": {
3338 "maxLength": 3000,
3439 "type": "string"
3540 }
3641 },
3742 "required": [
3843 "name",
3944 "outcome"
4045 ],
4146 "type": "object"
4247 },
4348 "automodRule": {
4449 "description": "A pair's effective automod rule (AUT-1), as it runs.",
4550 "properties": {
4651 "author": {
4752 "format": "did",
4853 "type": "string"
4954 },
5055 "createdAt": {
5156 "format": "datetime",
5257 "type": "string"
5358 },
5459 "description": {
5560 "type": "string"
5661 },
5762 "enabled": {
5863 "type": "boolean"
5964 },
6065 "engine": {
6166 "maxLength": 64,
6267 "type": "string"
6368 },
6469 "labels": {
6570 "items": {
6671 "maxLength": 128,
6772 "type": "string"
6873 },
6974 "type": "array"
7075 },
7176 "name": {
7277 "type": "string"
7378 },
7479 "precondition": {
7580 "ref": "us.off-the-clock.automod.rule#precondition",
7681 "type": "ref"
7782 },
7883 "priority": {
7984 "type": "integer"
8085 },
8186 "rkey": {
8287 "format": "tid",
8388 "type": "string"
8489 },
8590 "rule": {
8691 "type": "unknown"
8792 },
8893 "stackKey": {
8994 "maxLength": 64,
9095 "type": "string"
96 },
97 "warning": {
98 "ref": "us.off-the-clock.automod.rule#warning",
99 "type": "ref"
91100 }
92101 },
93102 "required": [
94103 "rkey",
95104 "author",
96105 "name",
97106 "priority",
98107 "engine",
99108 "rule",
100109 "labels",
101110 "enabled",
102111 "createdAt"
103112 ],
104113 "type": "object"
105114 },
106115 "blob": {
107116 "description": "A blob records in the space reference.",
108117 "properties": {
109118 "cid": {
110119 "format": "cid",
111120 "type": "string"
112121 },
113122 "did": {
114123 "format": "did",
115124 "type": "string"
116125 },
117126 "labels": {
118127 "items": {
119128 "ref": "us.off-the-clock.admin.defs#label",
120129 "type": "ref"
121130 },
122131 "type": "array"
123132 },
124133 "mime": {
125134 "type": "string"
126135 },
127136 "records": {
128137 "type": "integer"
129138 }
130139 },
131140 "required": [
132141 "did",
133142 "cid",
134143 "records",
135144 "labels"
136145 ],
137146 "type": "object"
138147 },
139148 "collectionCount": {
140149 "properties": {
141150 "collection": {
142151 "format": "nsid",
143152 "type": "string"
144153 },
145154 "count": {
146155 "type": "integer"
147156 }
148157 },
149158 "required": [
150159 "collection",
151160 "count"
152161 ],
153162 "type": "object"
154163 },
155164 "feed": {
156165 "description": "The effective feed of a pair's record key (D13, D36).",
157166 "properties": {
158167 "author": {
159168 "format": "did",
160169 "type": "string"
161170 },
162171 "configuration": {
163172 "type": "unknown"
164173 },
165174 "default": {
166175 "description": "The feed the pair's space record names.",
167176 "type": "boolean"
168177 },
169178 "displayName": {
170179 "type": "string"
171180 },
172181 "rkey": {
173182 "format": "record-key",
174183 "type": "string"
175184 },
176185 "sort": {
177186 "knownValues": [
178187 "newest",
179188 "startsAt"
180189 ],
181190 "type": "string"
182191 },
183192 "text": {
184193 "type": "string"
185194 },
186195 "view": {
187196 "description": "How the feed is shown (D93).",
188197 "knownValues": [
189198 "cards",
190199 "wall"
191200 ],
192201 "maxLength": 64,
193202 "type": "string"
194203 }
195204 },
196205 "required": [
197206 "rkey",
198207 "author",
199208 "displayName",
200209 "text",
201210 "configuration",
202211 "sort",
203212 "default"
204213 ],
205214 "type": "object"
206215 },
207216 "label": {
208217 "description": "A label that counts.",
209218 "properties": {
210219 "cid": {
211220 "format": "cid",
212221 "type": "string"
213222 },
214223 "cts": {
215224 "format": "datetime",
216225 "type": "string"
217226 },
218227 "record": {
219228 "description": "The label record, in the management space.",
220229 "format": "at-uri",
221230 "type": "string"
222231 },
223232 "src": {
224233 "format": "did",
225234 "type": "string"
226235 },
227236 "target": {
228237 "description": "The record URI, blob CID or DID labelled.",
229238 "type": "string"
230239 },
231240 "val": {
232241 "type": "string"
233242 }
234243 },
235244 "required": [
236245 "record",
237246 "src",
238247 "val",
239248 "target",
240249 "cts"
241250 ],
242251 "type": "object"
243252 },
244253 "member": {
245254 "description": "A DID with an entry in any followed space, with every entry naming it.",
246255 "properties": {
247256 "admin": {
248257 "description": "An effective admin (admin on the self management space), or the community identity.",
249258 "type": "boolean"
250259 },
251260 "adminOf": {
252261 "description": "The TIDs of the pairs whose team the DID is on.",
253262 "items": {
254263 "format": "tid",
255264 "type": "string"
256265 },
257266 "type": "array"
258267 },
259268 "did": {
260269 "format": "did",
261270 "type": "string"
262271 },
263272 "entries": {
264273 "items": {
265274 "ref": "#memberEntry",
266275 "type": "ref"
267276 },
268277 "type": "array"
269278 },
270279 "handle": {
271280 "format": "handle",
272281 "type": "string"
273282 },
274283 "invited": {
275284 "description": "A root entry with both read and write false: invited, not yet joined (D80).",
276285 "type": "boolean"
277286 },
278287 "joinedAt": {
279288 "description": "When the DID joined: when its joined root entry was indexed.",
280289 "format": "datetime",
281290 "type": "string"
282291 },
283292 "member": {
284293 "type": "boolean"
285294 },
286295 "spaces": {
287296 "description": "The content halves where the DID holds read or write.",
288297 "items": {
289298 "description": "<space-type>/<space-id>: a pair's content space",
290299 "maxLength": 512,
291300 "type": "string"
292301 },
293302 "type": "array"
294303 }
295304 },
296305 "required": [
297306 "did",
298307 "member",
299308 "admin",
300309 "adminOf",
301310 "spaces",
302311 "entries"
303312 ],
304313 "type": "object"
305314 },
306315 "memberEntry": {
307316 "description": "One published member entry naming the DID: its flags in one space (D77).",
308317 "properties": {
309318 "admin": {
310319 "type": "boolean"
311320 },
312321 "indexedAt": {
313322 "format": "datetime",
314323 "type": "string"
315324 },
316325 "read": {
317326 "type": "boolean"
318327 },
319328 "space": {
320329 "description": "The space, as <space-type>/<space-id>.",
321330 "maxLength": 512,
322331 "type": "string"
323332 },
324333 "write": {
325334 "type": "boolean"
326335 }
327336 },
328337 "required": [
329338 "space",
330339 "read",
331340 "write",
332341 "admin"
333342 ],
334343 "type": "object"
335344 },
336345 "pair": {
337346 "description": "A registered pair (D33, D34): its space record, its team and both halves.",
338347 "properties": {
339348 "admins": {
340349 "description": "The pair's own team: admin entries on its content half, less the effective admins (D79).",
341350 "items": {
342351 "format": "did",
343352 "type": "string"
344353 },
345354 "type": "array"
346355 },
347356 "content": {
348357 "ref": "#space",
349358 "type": "ref"
350359 },
351360 "default": {
352361 "type": "boolean"
353362 },
354363 "defaultFeed": {
355364 "format": "record-key",
356365 "type": "string"
357366 },
358367 "description": {
359368 "type": "string"
360369 },
361370 "displayName": {
362371 "type": "string"
363372 },
364373 "management": {
365374 "ref": "#space",
366375 "type": "ref"
367376 },
368377 "tid": {
369378 "format": "tid",
370379 "type": "string"
371380 }
372381 },
373382 "required": [
374383 "tid",
375384 "displayName",
376385 "defaultFeed",
377386 "default",
378387 "admins",
379388 "management",
380389 "content"
381390 ],
382391 "type": "object"
383392 },
384393 "record": {
385394 "description": "Any indexed record, hidden or not.",
386395 "properties": {
387396 "author": {
388397 "format": "did",
389398 "type": "string"
390399 },
391400 "authorMember": {
392401 "description": "The author may still use the record's space; if not, the record is hidden.",
393402 "type": "boolean"
394403 },
395404 "cid": {
396405 "format": "cid",
397406 "type": "string"
398407 },
399408 "collection": {
400409 "format": "nsid",
401410 "type": "string"
402411 },
403412 "handle": {
404413 "format": "handle",
405414 "type": "string"
406415 },
407416 "indexedAt": {
408417 "format": "datetime",
409418 "type": "string"
410419 },
411420 "labels": {
412421 "items": {
413422 "ref": "us.off-the-clock.admin.defs#label",
414423 "type": "ref"
415424 },
416425 "type": "array"
417426 },
418427 "rkey": {
419428 "format": "record-key",
420429 "type": "string"
421430 },
422431 "uri": {
423432 "format": "at-uri",
424433 "type": "string"
425434 },
426435 "value": {
427436 "type": "unknown"
437 },
438 "warnings": {
439 "description": "The record's counting content warnings as views carry them, the author's first, then the community's oldest first (LEX-77, CW-11).",
440 "items": {
441 "ref": "us.off-the-clock.defs#warningView",
442 "type": "ref"
443 },
444 "type": "array"
428445 }
429446 },
430447 "required": [
431448 "uri",
432449 "cid",
433450 "author",
434451 "collection",
435452 "rkey",
436453 "value",
437454 "indexedAt",
438455 "authorMember",
439456 "labels"
440457 ],
441458 "type": "object"
442459 },
443460 "space": {
444461 "description": "A space the community names (D34), and how the AppView follows it.",
445462 "properties": {
446463 "blobs": {
447464 "type": "integer"
448465 },
449466 "caughtUp": {
450467 "type": "boolean"
451468 },
452469 "credential": {
453470 "description": "The AppView's credential state in the space.",
454471 "type": "unknown"
455472 },
456473 "followed": {
457474 "type": "boolean"
458475 },
459476 "key": {
460477 "description": "The pair's TID, for a pair's half.",
461478 "maxLength": 512,
462479 "type": "string"
463480 },
464481 "records": {
465482 "type": "integer"
466483 },
467484 "space": {
468485 "description": "<space-type>/<space-id>",
469486 "maxLength": 512,
470487 "type": "string"
471488 },
472489 "uri": {
473490 "format": "uri",
474491 "type": "string"
475492 }
476493 },
477494 "required": [
478495 "space",
479496 "uri",
480497 "followed",
481498 "caughtUp",
482499 "records",
483500 "blobs"
484501 ],
485502 "type": "object"
486503 }
487504 },
488505 "id": "us.off-the-clock.admin.defs",
489506 "lexicon": 1
490507}

Compare other versions