fyi.opensocial.membership

Grants a member their roles. Written by the group authority; the record key is the member's DID.

Details · record, key any
Kindrecord
Record keyany
Authorityopensocial.fyi
Indexed

Showing version bafyreiabxarcra7rwzf7yov6ygtufgoe4rx6zympqvtwg2bzn2icpvng5e. Show the latest

cid bafyreiabxarcra7rwzf7yov6ygtufgoe4rx6zympqvtwg2bzn2icpvng5e

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Grants a member their roles. Written by the group authority; the record key is the member's DID.",
      "key": "any",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "member": {
            "format": "did",
            "type": "string"
          },
          "roles": {
            "items": {
              "description": "A role id: the record key of a fyi.opensocial.role record.",
              "maxLength": 64,
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "member",
          "roles",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "fyi.opensocial.membership",
  "lexicon": 1
}