Lemmy · Schema

Community

A Lemmy community (subreddit-equivalent) where posts and discussions are organized.

CommunitiesFederatedFediverseLink AggregatorOpen-SourceSocial Networks

Properties

Name Type Description
id integer Unique identifier for the community
name string Short identifier name of the community (slug)
title string Display title of the community
description stringnull Sidebar description (Markdown supported)
removed boolean Whether the community was removed by a site admin
published string Timestamp when the community was created
updated stringnull Timestamp when the community was last updated
deleted boolean Whether the community was deleted
nsfw boolean Whether the community is marked as NSFW
actor_id string ActivityPub actor ID for federation
local boolean Whether the community is hosted on this instance
icon stringnull URL of the community icon image
banner stringnull URL of the community banner image
hidden boolean Whether the community is hidden from listings
posting_restricted_to_mods boolean Whether only moderators can create posts
instance_id integer ID of the instance hosting this community
visibility string Visibility scope of the community
View JSON Schema on GitHub

JSON Schema

community.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://join-lemmy.org/schema/community.json",
  "title": "Community",
  "description": "A Lemmy community (subreddit-equivalent) where posts and discussions are organized.",
  "type": "object",
  "required": ["id", "name", "title", "published"],
  "properties": {
    "id": {
      "type": "integer",
      "description": "Unique identifier for the community"
    },
    "name": {
      "type": "string",
      "description": "Short identifier name of the community (slug)",
      "maxLength": 100
    },
    "title": {
      "type": "string",
      "description": "Display title of the community",
      "maxLength": 100
    },
    "description": {
      "type": ["string", "null"],
      "description": "Sidebar description (Markdown supported)"
    },
    "removed": {
      "type": "boolean",
      "description": "Whether the community was removed by a site admin"
    },
    "published": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the community was created"
    },
    "updated": {
      "type": ["string", "null"],
      "format": "date-time",
      "description": "Timestamp when the community was last updated"
    },
    "deleted": {
      "type": "boolean",
      "description": "Whether the community was deleted"
    },
    "nsfw": {
      "type": "boolean",
      "description": "Whether the community is marked as NSFW"
    },
    "actor_id": {
      "type": "string",
      "format": "uri",
      "description": "ActivityPub actor ID for federation"
    },
    "local": {
      "type": "boolean",
      "description": "Whether the community is hosted on this instance"
    },
    "icon": {
      "type": ["string", "null"],
      "format": "uri",
      "description": "URL of the community icon image"
    },
    "banner": {
      "type": ["string", "null"],
      "format": "uri",
      "description": "URL of the community banner image"
    },
    "hidden": {
      "type": "boolean",
      "description": "Whether the community is hidden from listings"
    },
    "posting_restricted_to_mods": {
      "type": "boolean",
      "description": "Whether only moderators can create posts"
    },
    "instance_id": {
      "type": "integer",
      "description": "ID of the instance hosting this community"
    },
    "visibility": {
      "type": "string",
      "enum": ["Public", "LocalOnly"],
      "description": "Visibility scope of the community"
    }
  },
  "additionalProperties": false
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/community"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.