A community, or "server", is where users join to interact with each other on Colibri. Singleton record on the community DID's repo.
literal:self
Fixed literal value
Properties
$type
string
nsid
Optional
The type of the record.
appview
string
did
Optional
DID of the AppView that administers this community and acts as its off-protocol hub (Humming presence relay and voice SFU host). Written by the credential-holding AppView. Consumers that find this field absent fall back to did:web:api.colibri.social.
banner
blob
Optional
A banner for the community that will be shown to users.
categoryOrder
array
of
string
record-key
Required
The order of the categories in this community.
description
string
Required
A description of the community.
maxLength: 256 byteslinkEmbeds
boolean
Optional
Whether link previews are displayed in this community by default. Individual channels may override this.
truemigratedFrom
string
at-uri
Optional
Set on a community created by migrating a legacy community. Points at the legacy community record this one replaces.
migratedTo
string
at-uri
Optional
Set on a legacy community record once it has been migrated. Points at the new community record that replaces it; consumers treat this community as retired and hide it.
name
string
Required
The name of the community.
maxLength: 32 bytesminLength: 1 bytesNew Communitypicture
blob
Optional
An image for the community that will be shown to users.
requiresApprovalToJoin
boolean
Required
Whether users can chat in this community without the owner having to create an acknowledgement record.
trueView raw schema
{
"description": "A community, or \"server\", is where users join to interact with each other on Colibri. Singleton record on the community DID's repo.",
"key": "literal:self",
"record": {
"properties": {
"$type": {
"description": "The type of the record.",
"format": "nsid",
"type": "string"
},
"appview": {
"description": "DID of the AppView that administers this community and acts as its off-protocol hub (Humming presence relay and voice SFU host). Written by the credential-holding AppView. Consumers that find this field absent fall back to did:web:api.colibri.social.",
"format": "did",
"type": "string"
},
"banner": {
"accept": [
"image/jpeg",
"image/png",
"image/gif",
"image/webp"
],
"description": "A banner for the community that will be shown to users.",
"type": "blob"
},
"categoryOrder": {
"description": "The order of the categories in this community.",
"items": {
"description": "A category in this community.",
"format": "record-key",
"type": "string"
},
"type": "array"
},
"description": {
"default": "",
"description": "A description of the community.",
"maxLength": 256,
"type": "string"
},
"linkEmbeds": {
"default": true,
"description": "Whether link previews are displayed in this community by default. Individual channels may override this.",
"type": "boolean"
},
"migratedFrom": {
"description": "Set on a community created by migrating a legacy community. Points at the legacy community record this one replaces.",
"format": "at-uri",
"type": "string"
},
"migratedTo": {
"description": "Set on a legacy community record once it has been migrated. Points at the new community record that replaces it; consumers treat this community as retired and hide it.",
"format": "at-uri",
"type": "string"
},
"name": {
"default": "New Community",
"description": "The name of the community.",
"maxLength": 32,
"minLength": 1,
"type": "string"
},
"picture": {
"accept": [
"image/jpeg",
"image/png",
"image/gif",
"image/webp"
],
"description": "An image for the community that will be shown to users.",
"type": "blob"
},
"requiresApprovalToJoin": {
"default": true,
"description": "Whether users can chat in this community without the owner having to create an acknowledgement record.",
"type": "boolean"
}
},
"required": [
"name",
"description",
"categoryOrder",
"requiresApprovalToJoin"
],
"type": "object"
},
"type": "record"
}