wiki.lichen.membership

lichen.wiki

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A membership grant for a wiki. The rkey is a TID. The member's DID lives in the record body.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "When the membership was granted.",
            "format": "datetime",
            "type": "string"
          },
          "memberDid": {
            "description": "DID of the member being granted access.",
            "format": "did",
            "maxLength": 2048,
            "type": "string"
          },
          "role": {
            "description": "The member's role in the wiki.",
            "knownValues": [
              "admin",
              "contributor",
              "viewer"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "wikiRef": {
            "description": "AT-URI of the wiki.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "memberDid",
          "wikiRef",
          "role",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "wiki.lichen.membership",
  "lexicon": 1
}

Validate Record

Validate a record against wiki.lichen.membership

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:xfs42pjf3n7imvgrdrp7xvez
CID
bafyreidgohjqeijg3goa4zi2i65oq77iistpg5343u2nswkegihkapseme
Indexed At
2026-07-21 06:08 UTC
AT-URI
at://did:plc:xfs42pjf3n7imvgrdrp7xvez/com.atproto.lexicon.schema/wiki.lichen.membership

Version History (2 versions)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

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

  • A community-side member record granting a user roles within the community. Lives on the community repo and is written when an admission is finalized.

  • Grants a DID a role on a space. Only honored when authored by the space owner. Lives in the owner's repo.

  • A request to join a wiki.

  • dk.raakode.lab.groups.membership recordnot from the namespace authority

    A member's role in the group. Written by the group authority into its repo in the space, never held as app database state — this is what makes a role survive the group changing app. The simplespace member list governs…

Lexicon Garden

@