Lemmy · Schema

Comment

A comment on a Lemmy post, supporting threaded nested replies via path-based hierarchy.

CommunitiesFederatedFediverseLink AggregatorOpen-SourceSocial Networks

Properties

Name Type Description
id integer Unique identifier for the comment
creator_id integer ID of the user who wrote the comment
post_id integer ID of the post this comment belongs to
content string Content of the comment (Markdown supported)
removed boolean Whether the comment was removed by a moderator
published string Timestamp when the comment was published
updated stringnull Timestamp when the comment was last updated
deleted boolean Whether the comment was deleted by the author
ap_id string ActivityPub ID for federation
local boolean Whether the comment originated on this instance
path string Dot-delimited path of comment IDs representing the nesting hierarchy (e.g., '0.1.5.7')
distinguished boolean Whether the comment is highlighted/distinguished by a moderator
language_id integer ID of the language the comment is written in
View JSON Schema on GitHub

JSON Schema

comment.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://join-lemmy.org/schema/comment.json",
  "title": "Comment",
  "description": "A comment on a Lemmy post, supporting threaded nested replies via path-based hierarchy.",
  "type": "object",
  "required": ["id", "creator_id", "post_id", "content", "published"],
  "properties": {
    "id": {
      "type": "integer",
      "description": "Unique identifier for the comment"
    },
    "creator_id": {
      "type": "integer",
      "description": "ID of the user who wrote the comment"
    },
    "post_id": {
      "type": "integer",
      "description": "ID of the post this comment belongs to"
    },
    "content": {
      "type": "string",
      "description": "Content of the comment (Markdown supported)"
    },
    "removed": {
      "type": "boolean",
      "description": "Whether the comment was removed by a moderator"
    },
    "published": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the comment was published"
    },
    "updated": {
      "type": ["string", "null"],
      "format": "date-time",
      "description": "Timestamp when the comment was last updated"
    },
    "deleted": {
      "type": "boolean",
      "description": "Whether the comment was deleted by the author"
    },
    "ap_id": {
      "type": "string",
      "format": "uri",
      "description": "ActivityPub ID for federation"
    },
    "local": {
      "type": "boolean",
      "description": "Whether the comment originated on this instance"
    },
    "path": {
      "type": "string",
      "description": "Dot-delimited path of comment IDs representing the nesting hierarchy (e.g., '0.1.5.7')"
    },
    "distinguished": {
      "type": "boolean",
      "description": "Whether the comment is highlighted/distinguished by a moderator"
    },
    "language_id": {
      "type": "integer",
      "description": "ID of the language the comment is written in"
    }
  },
  "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/comment"
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.