full diff

social.colibri.beta.category

colibri.social +14 −5
From
bafyreiextraarakpdvl2tx3yxeift5mwt2dirzmnsvi34hcuddq7zoy7vm indexed 2026-10-15 15:34 UTC View this version
To
bafyreidppuxj25htaz3txifplrgjbujk3ukxhz5awmzmvpowquhcs3ikbm indexed 2026-11-14 11:13 UTC View this version

Compatibility

backward compatible Backward compatible. 6 non-breaking changes.

Non-breaking changes (6)
  • AddedVertex AddedVertex { vertex_id: "social.colibri.beta.category:body.permissionOverrides" }
  • AddedVertex AddedVertex { vertex_id: "social.colibri.beta.category:body.permissionOverrides:items" }
  • AddedVertex AddedVertex { vertex_id: "social.colibri.beta.defs#permissionOverride" }
  • AddedEdge AddedEdge { src: "social.colibri.beta.category:body", tgt: "social.colibri.beta.category:body.permissionOverrides", kind: "prop", name: Some("permissionOverrides") }
  • AddedEdge AddedEdge { src: "social.colibri.beta.category:body.permissionOverrides", tgt: "social.colibri.beta.category:body.permissionOverrides:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "social.colibri.beta.category:body.permissionOverrides:items", tgt: "social.colibri.beta.defs#permissionOverride", kind: "ref", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "social.colibri.beta.category:body.permissionOverrides" }
  • AddedVertex { vertex_id: "social.colibri.beta.category:body.permissionOverrides:items" }
  • AddedVertex { vertex_id: "social.colibri.beta.defs#permissionOverride" }

Notes

  • Non-breaking: AddedEdge { src: "social.colibri.beta.category:body", tgt: "social.colibri.beta.category:body.permissionOverrides", kind: "prop", name: Some("permissionOverrides") }
  • Non-breaking: AddedEdge { src: "social.colibri.beta.category:body.permissionOverrides", tgt: "social.colibri.beta.category:body.permissionOverrides:items", kind: "items", name: None }
  • Non-breaking: AddedEdge { src: "social.colibri.beta.category:body.permissionOverrides:items", tgt: "social.colibri.beta.defs#permissionOverride", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "A named group of channels within a community.",
66 "key": "tid",
77 "record": {
88 "properties": {
99 "allowedMembers": {
10 "description": "Members allowed to post in the category's channels in addition to allowedRoles.",
10 "description": "Deprecated, superseded by permissionOverrides. Honoured only while permissionOverrides is absent.",
1111 "items": {
1212 "description": "A member permitted to post.",
1313 "format": "did",
1414 "type": "string"
1515 },
1616 "type": "array"
1717 },
1818 "allowedRoles": {
19 "description": "Roles allowed to post in the category's channels. Empty means no role restriction. A channel that sets its own posting restriction overrides this.",
19 "description": "Deprecated, superseded by permissionOverrides. Honoured only while permissionOverrides is absent.",
2020 "items": {
2121 "description": "A role permitted to post.",
2222 "format": "record-key",
2323 "type": "string"
2424 },
2525 "type": "array"
2626 },
2727 "channelOrder": {
2828 "description": "The channels in this category, in display order, by space key.",
2929 "items": {
3030 "description": "The space key of a channel in this category.",
3131 "format": "record-key",
3232 "type": "string"
3333 },
3434 "type": "array"
3535 },
3636 "name": {
3737 "description": "The category's name.",
3838 "maxLength": 32,
3939 "minLength": 1,
4040 "type": "string"
4141 },
4242 "ownerOnly": {
4343 "default": false,
44 "description": "Whether only community admins may post in the category's channels. A channel that sets its own posting restriction overrides this.",
44 "description": "Deprecated, superseded by permissionOverrides. Honoured only while permissionOverrides is absent.",
4545 "type": "boolean"
4646 },
47 "permissionOverrides": {
48 "description": "Per-role and per-member permission overrides for every channel in this category. A channel's own override for the same permission and target takes precedence.",
49 "items": {
50 "ref": "social.colibri.beta.defs#permissionOverride",
51 "type": "ref"
52 },
53 "maxLength": 200,
54 "type": "array"
55 },
4756 "visibleToMembers": {
48 "description": "Members that may read the category's channels in addition to visibleToRoles.",
57 "description": "Deprecated, superseded by permissionOverrides. Honoured only while permissionOverrides is absent.",
4958 "items": {
5059 "description": "A member permitted to read.",
5160 "format": "did",
5261 "type": "string"
5362 },
5463 "type": "array"
5564 },
5665 "visibleToRoles": {
57 "description": "Roles that may read the category's channels. Empty or absent means every member may read them. A channel with its own non-empty visibleToRoles or visibleToMembers overrides this. A non-empty list makes the category's other channels private, enforced the same way as a private channel.",
66 "description": "Deprecated, superseded by permissionOverrides. Honoured only while permissionOverrides is absent.",
5867 "items": {
5968 "description": "A role permitted to read.",
6069 "format": "record-key",
6170 "type": "string"
6271 },
6372 "type": "array"
6473 }
6574 },
6675 "required": [
6776 "name",
6877 "channelOrder"
6978 ],
7079 "type": "object"
7180 },
7281 "type": "record"
7382 }
7483 },
7584 "id": "social.colibri.beta.category",
7685 "lexicon": 1
7786}

Compare other versions