app.userinput.member

Grants a DID a role on a space. Only honored when authored by the space owner. Lives in the owner's repo.

Repository @userinput.app did:plc:uyixj57k6nmxrdj7pjs2ss5s namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authorityuserinput.app
Indexed
cid bafyreic6q3r426skyazeyvcfqecgoybxk3wlqxxkstnjebxtmxpj2mn6iq

Checks

Valid
  • unlimited-string defs.main.record.properties.roleNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Grants a DID a role on a space. Only honored when authored by the space owner. Lives in the owner's repo.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "role": {
            "enum": [
              "moderator",
              "admin"
            ],
            "type": "string"
          },
          "space": {
            "description": "The space this membership applies to. Indexed by constellation at space.uri.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "subject": {
            "description": "The DID being granted a role.",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "space",
          "subject",
          "role",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.userinput.member",
  "lexicon": 1
}