app.protoimsg.chat.role

lexicon.store View official

{
  "id": "app.protoimsg.chat.role",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "room",
          "subject",
          "role",
          "createdAt"
        ],
        "properties": {
          "role": {
            "type": "string",
            "description": "The role being assigned.",
            "knownValues": [
              "moderator",
              "owner"
            ]
          },
          "room": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI of the room."
          },
          "subject": {
            "type": "string",
            "format": "did",
            "description": "DID of the user being assigned the role."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Timestamp of role assignment."
          }
        }
      },
      "description": "Assign a moderator role to a user for a specific room."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against app.protoimsg.chat.role

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:web:lexicon.store
CID
bafyreiflbrt7sls5vdbvoouk75keqwiq2mdjhuczw6gnsssw7qirjxz52i
Indexed At
2026-03-20 15:55 UTC
AT-URI
at://did:web:lexicon.store/com.atproto.lexicon.schema/app.protoimsg.chat.role

Lexicon Garden

@