fyi.opensocial.putRole

lexicons.opensocial.fyi

Schema Diff

+7 -0

From

CID
bafyreifs6v3ustj...
Indexed At
2026-09-24 00:10 UTC
View this version

To

CID
bafyreidfrhefred...
Indexed At
2026-09-25 03:15 UTC
View this version

Compatibility Analysis

Backward Compatible

Backward compatible. 4 non-breaking changes.

Non-Breaking Changes (4)
  • AddedVertex AddedVertex { vertex_id: "fyi.opensocial.putRole:input.repoCollections" }
  • AddedVertex AddedVertex { vertex_id: "fyi.opensocial.putRole:input.repoCollections:items" }
  • AddedEdge AddedEdge { src: "fyi.opensocial.putRole:input", tgt: "fyi.opensocial.putRole:input.repoCollections", kind: "prop", name: Some("repoCollections") }
  • AddedEdge AddedEdge { src: "fyi.opensocial.putRole:input.repoCollections", tgt: "fyi.opensocial.putRole:input.repoCollections:items", kind: "items", name: None }

Migration Guidance

Added Elements

  • AddedVertex { vertex_id: "fyi.opensocial.putRole:input.repoCollections" }
  • AddedVertex { vertex_id: "fyi.opensocial.putRole:input.repoCollections:items" }

Additional Notes

  • Non-breaking: AddedEdge { src: "fyi.opensocial.putRole:input", tgt: "fyi.opensocial.putRole:input.repoCollections", kind: "prop", name: Some("repoCollections") }
  • Non-breaking: AddedEdge { src: "fyi.opensocial.putRole:input.repoCollections", tgt: "fyi.opensocial.putRole:input.repoCollections:items", kind: "items", name: None }
1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "main": {
5 5
      "description": "Create or update a role and its action bindings. Requires group.configure.",
6 6
      "input": {
7 7
        "encoding": "application/json",
8 8
        "schema": {
9 9
          "properties": {
10 10
            "actions": {
11 11
              "items": {
12 12
                "ref": "fyi.opensocial.permissions#action",
13 13
                "type": "ref"
14 14
              },
15 15
              "type": "array"
16 16
            },
17 17
            "assignable": {
18 18
              "items": {
19 19
                "maxLength": 64,
20 20
                "type": "string"
21 21
              },
22 22
              "type": "array"
23 23
            },
24 24
            "description": {
25 25
              "type": "string"
26 26
            },
27 27
            "group": {
28 28
              "description": "The group DID. Every method is served by the group's host and authorized against that group's roles.",
29 29
              "format": "did",
30 30
              "type": "string"
31 31
            },
32 32
            "name": {
33 33
              "type": "string"
34 34
            },
35 +
            "repoCollections": {
36 +
              "description": "See fyi.opensocial.permissions#binding. Omitted keeps the role's current value.",
37 +
              "items": {
38 +
                "type": "string"
39 +
              },
40 +
              "type": "array"
41 +
            },
35 42
            "role": {
36 43
              "maxLength": 64,
37 44
              "type": "string"
38 45
            }
39 46
          },
40 47
          "required": [
41 48
            "group",
42 49
            "role",
43 50
            "name",
44 51
            "actions"
45 52
          ],
46 53
          "type": "object"
47 54
        }
48 55
      },
49 56
      "output": {
50 57
        "encoding": "application/json",
51 58
        "schema": {
52 59
          "properties": {
53 60
            "cid": {
54 61
              "format": "cid",
55 62
              "type": "string"
56 63
            },
57 64
            "uri": {
58 65
              "format": "at-uri",
59 66
              "type": "string"
60 67
            }
61 68
          },
62 69
          "required": [
63 70
            "uri",
64 71
            "cid"
65 72
          ],
66 73
          "type": "object"
67 74
        }
68 75
      },
69 76
      "type": "procedure"
70 77
    }
71 78
  },
72 79
  "id": "fyi.opensocial.putRole",
73 80
  "lexicon": 1
74 81
}

Compare Other Versions

Lexicon Garden

@