A community's profile information (V2: stored in community's own repository)
literal:self
Fixed literal value
Properties
avatar
blob
Optional
No description available.
maxSize: 1.0 MBbanner
blob
Optional
No description available.
maxSize: 2.0 MBcontentWarnings
array
of
string
Optional
Required content warnings for this community
createdAt
string
datetime
Required
An RFC 3339 formatted timestamp.
createdBy
string
did
Optional
DID of the user who created this community
description
string
Optional
Community description with rich text support
maxLength: 10000 bytesmaxGraphemes: 1000 graphemesdescriptionFacets
array
of
ref
social.coves.richtext.facet
Optional
Rich text annotations for description
displayName
string
Optional
Display name for the community
maxLength: 1280 bytesmaxGraphemes: 128 graphemeshostedBy
string
did
Optional
DID of the instance hosting this community
moderationType
string
Optional
Type of moderation system (moderator=traditional moderator team, sortition=community tribunal)
maxLength: 64 bytesmoderator, sortitionmoderatorname
string
Required
Short community name (local part of handle). Must be a valid DNS label: ASCII letters, digits, and hyphens only.
maxLength: 63 bytesorigin
string
Optional
Instance this community actually lives on (hostname only, e.g. lemmy.world). Self-asserted; appviews must validate against the verified handle.
maxLength: 253 bytesvisibility
string
Optional
Community visibility level
maxLength: 64 bytespublic, unlisted, privatepublicView raw schema
{
"description": "A community's profile information (V2: stored in community's own repository)",
"key": "literal:self",
"record": {
"properties": {
"avatar": {
"accept": [
"image/png",
"image/jpeg",
"image/webp"
],
"maxSize": 1000000,
"type": "blob"
},
"banner": {
"accept": [
"image/png",
"image/jpeg",
"image/webp"
],
"maxSize": 2000000,
"type": "blob"
},
"contentWarnings": {
"description": "Required content warnings for this community",
"items": {
"knownValues": [
"nsfw",
"violence",
"spoilers"
],
"maxLength": 32,
"type": "string"
},
"type": "array"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"createdBy": {
"description": "DID of the user who created this community",
"format": "did",
"type": "string"
},
"description": {
"description": "Community description with rich text support",
"maxGraphemes": 1000,
"maxLength": 10000,
"type": "string"
},
"descriptionFacets": {
"description": "Rich text annotations for description",
"items": {
"ref": "social.coves.richtext.facet",
"type": "ref"
},
"type": "array"
},
"displayName": {
"description": "Display name for the community",
"maxGraphemes": 128,
"maxLength": 1280,
"type": "string"
},
"hostedBy": {
"description": "DID of the instance hosting this community",
"format": "did",
"type": "string"
},
"moderationType": {
"default": "moderator",
"description": "Type of moderation system (moderator=traditional moderator team, sortition=community tribunal)",
"knownValues": [
"moderator",
"sortition"
],
"maxLength": 64,
"type": "string"
},
"name": {
"description": "Short community name (local part of handle). Must be a valid DNS label: ASCII letters, digits, and hyphens only.",
"maxLength": 63,
"type": "string"
},
"origin": {
"description": "Instance this community actually lives on (hostname only, e.g. lemmy.world). Self-asserted; appviews must validate against the verified handle.",
"maxLength": 253,
"type": "string"
},
"visibility": {
"default": "public",
"description": "Community visibility level",
"knownValues": [
"public",
"unlisted",
"private"
],
"maxLength": 64,
"type": "string"
}
},
"required": [
"name",
"createdAt"
],
"type": "object"
},
"type": "record"
}