{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Display information of a server. Written by the server owner into their own repo within the server's public space (rkey self), so any client holding a credential for the public space can read it.",
      "key": "literal:self",
      "record": {
        "properties": {
          "avatar": {
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "maxSize": 1000000,
            "type": "blob"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "maxGraphemes": 1024,
            "maxLength": 10240,
            "type": "string"
          },
          "discoverable": {
            "default": true,
            "description": "Whether the server may be listed in public directories.",
            "type": "boolean"
          },
          "labels": {
            "description": "Self-applied labels for the whole server, e.g. adult content.",
            "refs": [
              "com.atproto.label.defs#selfLabels"
            ],
            "type": "union"
          },
          "limitedSpace": {
            "description": "Space URI of the paired tech.tokimeki.forum.server space (same owner and skey) that holds the members-only channels. Makes the pairing discoverable without relying on the naming convention.",
            "format": "at-uri",
            "type": "string"
          },
          "name": {
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "rules": {
            "maxGraphemes": 4096,
            "maxLength": 40960,
            "type": "string"
          }
        },
        "required": [
          "name",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "tech.tokimeki.forum.profile",
  "lexicon": 1
}
