{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A community's public identity. Lives in the community's profile space, which is readable without membership unless the community is private.",
      "key": "literal:self",
      "record": {
        "properties": {
          "banner": {
            "accept": [
              "image/jpeg",
              "image/png",
              "image/gif",
              "image/webp"
            ],
            "description": "Wide image shown at the top of the community.",
            "maxSize": 4194304,
            "type": "blob"
          },
          "description": {
            "description": "A short description.",
            "maxLength": 256,
            "type": "string"
          },
          "managingApp": {
            "description": "The AppView that manages this community's spaces, named without a service fragment. Clients read it here rather than from the space policy, because com.atproto.space.getSpace only serves a policy to the space owner.",
            "format": "did",
            "type": "string"
          },
          "migratedFrom": {
            "description": "Set on a community created by migrating a repo-backed community. Points at the legacy community record it replaces, so its history can be served alongside.",
            "format": "at-uri",
            "type": "string"
          },
          "name": {
            "description": "The community's name.",
            "maxLength": 32,
            "minLength": 1,
            "type": "string"
          },
          "picture": {
            "accept": [
              "image/jpeg",
              "image/png",
              "image/gif",
              "image/webp"
            ],
            "description": "Square image shown as the community's icon.",
            "maxSize": 1048576,
            "type": "blob"
          }
        },
        "required": [
          "name",
          "managingApp"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "social.colibri.beta.community",
  "lexicon": 1
}
