chat.yakka.grant

yakka.chat

Documentation

One member holds one role. Authority-written (ADR 0006) — a member cannot grant themselves a role, which is why this is not self-written the way membership is. The mint reads these to decide gated-channel credentials (ADR 0007).

main record

One member holds one role. Authority-written (ADR 0006) — a member cannot grant themselves a role, which is why this is not self-written the way membership is. The mint reads these to decide gated-channel credentials (ADR 0007).

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

role string at-uri Required

The chat.yakka.role record granted.

subject string did Required

The member holding the role.

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "subject",
      "role",
      "createdAt"
    ],
    "properties": {
      "role": {
        "type": "string",
        "format": "at-uri",
        "description": "The chat.yakka.role record granted."
      },
      "subject": {
        "type": "string",
        "format": "did",
        "description": "The member holding the role."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      }
    }
  },
  "description": "One member holds one role. Authority-written (ADR 0006) — a member cannot grant themselves a role, which is why this is not self-written the way membership is. The mint reads these to decide gated-channel credentials (ADR 0007)."
}

Lexicon Garden

@