wiki.lichen.membership

A membership grant for a wiki. The rkey is a TID. The member's DID lives in the record body.

Repository @lichen.wiki did:plc:xfs42pjf3n7imvgrdrp7xvez namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritylichen.wiki
Indexed
cid bafyreiayykyiamk2p2seud3cmeoyvx7tbtcymnnneqblxfmfq35k7kp5ja

Checks

Valid Lint pass
JSONDownload
{
  "$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": "admin manages members and settings and can edit. contributor can edit notes. viewer can read a private 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
}