wiki.lichen.membership

lichen.wiki

Documentation

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

main record

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

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

When the membership was granted.

memberDid string did Required

DID of the member being granted access.

maxLength: 2048 bytes
role string Required

The member's role in the wiki.

maxLength: 32 bytes
Known values: admin, contributor, viewer
wikiRef string at-uri Required

AT-URI of the wiki.

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

Lexicon Garden

@