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 |
JSON Schema
{
"$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
}