tech.tokimeki.forum.role

tokimeki.blue

Documentation

A moderator role the community grants to a member. Written by the community account (the space authority) into its OWN repo within the server's public space, so any reader of the space can verify who may moderate (e.g. whose tech.tokimeki.forum.hide records to honour). rkey is derived from the subject DID ('m' + base32lower(sha256(did))[0:26]) so one record exists per member; delete it to revoke. Plain membership is not a record.

main record

A moderator role the community grants to a member. Written by the community account (the space authority) into its OWN repo within the server's public space, so any reader of the space can verify who may moderate (e.g. whose tech.tokimeki.forum.hide records to honour). rkey is derived from the subject DID ('m' + base32lower(sha256(did))[0:26]) so one record exists per member; delete it to revoke. Plain membership is not a record.

Record Key any Any valid record key

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

role string Required

owner = governs the community; admin = manages structure and roles below admin; mod = moderates content and membership.

maxLength: 32 bytes
Known values: owner, admin, mod
subject string did Required

The member holding the role.

View raw schema
{
  "key": "any",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "subject",
      "role",
      "createdAt"
    ],
    "properties": {
      "role": {
        "type": "string",
        "maxLength": 32,
        "description": "owner = governs the community; admin = manages structure and roles below admin; mod = moderates content and membership.",
        "knownValues": [
          "owner",
          "admin",
          "mod"
        ]
      },
      "subject": {
        "type": "string",
        "format": "did",
        "description": "The member holding the role."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      }
    }
  },
  "description": "A moderator role the community grants to a member. Written by the community account (the space authority) into its OWN repo within the server's public space, so any reader of the space can verify who may moderate (e.g. whose tech.tokimeki.forum.hide records to honour). rkey is derived from the subject DID ('m' + base32lower(sha256(did))[0:26]) so one record exists per member; delete it to revoke. Plain membership is not a record."
}

Lexicon Garden

@