chat.yakka.channel.info

A channel's presentation and its gate. Authority-written into the directory space via the space host (ADR 0006). The gate here is the same policy the mint enforces (ADR 0007) — an open and a gated channel are structurally identical spaces, so toggling `allowedRoles` is a policy edit and never a data migration (ADR 0002).

Repository @yakka.chat did:plc:wpjoy2orkqq5m65vq7gg7liz namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritychannel.yakka.chat
Indexed
cid bafyreibspslfhdaz2nm24kmj6dctxobzg7ilhaspfoef4fsbchkxtud74q

Checks

Valid
  • unlimited-string defs.main.record.properties.kindNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A channel's presentation and its gate. Authority-written into the directory space via the space host (ADR 0006). The gate here is the same policy the mint enforces (ADR 0007) — an open and a gated channel are structurally identical spaces, so toggling `allowedRoles` is a policy edit and never a data migration (ADR 0002).",
      "key": "tid",
      "record": {
        "properties": {
          "allowedRoles": {
            "description": "Roles whose holders may be minted a credential for this channel. Absent or empty means any member of the server — which is what an 'open' channel is. Presence of this field is the only difference between an open channel and a gated one.",
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "type": "array"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "group": {
            "description": "Sidebar grouping label. Purely presentational.",
            "maxGraphemes": 64,
            "maxLength": 512,
            "type": "string"
          },
          "kind": {
            "knownValues": [
              "text",
              "voice"
            ],
            "type": "string"
          },
          "name": {
            "maxGraphemes": 64,
            "maxLength": 512,
            "type": "string"
          },
          "topic": {
            "maxGraphemes": 256,
            "maxLength": 2048,
            "type": "string"
          }
        },
        "required": [
          "name",
          "kind",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "chat.yakka.channel.info",
  "lexicon": 1
}