fyi. opensocial. profile
The group's profile. Written by the group authority into the meta space.
- Kind
- A record
- Part of
- The reference host
- Record
at://did:plc:2gqnilpksz2e7faj3bwvo6qc/com.atproto.lexicon.schema/fyi.opensocial.profile
main record
Record key: literal:self
| Field | Type | Description |
|---|---|---|
avatar | blob
| |
banner | blob
| |
createdAt | string (datetime) | |
description | string
| |
displayName (required) | string
| |
joinPolicy (required) | fyi. | |
languages | array of fyi.
| The languages it uses, as BCP 47 tags: en, pl, sl. |
links | array of fyi.
| Where else the group is, in the order it shows them: each an http or https address, and what it is. |
location | union of community., community., community., community. | Where it meets, if it meets somewhere: a town or city is enough. |
online | boolean | It meets online, as well as or instead of somewhere. |
topics | array of fyi.
| What it's about, a few words each, as the group puts it: climbing, choir, renters' union. |
url | string (uri) | The group's own site, if it keeps one. A third-party app that shows the group can link back to it. |
The schema as published
{
"defs": {
"main": {
"description": "The group's profile. Written by the group authority into the meta space.",
"key": "literal:self",
"record": {
"properties": {
"avatar": {
"accept": [
"image/png",
"image/jpeg",
"image/webp"
],
"maxSize": 2000000,
"type": "blob"
},
"banner": {
"accept": [
"image/png",
"image/jpeg",
"image/webp"
],
"maxSize": 2000000,
"type": "blob"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"description": {
"maxGraphemes": 2000,
"maxLength": 20000,
"type": "string"
},
"displayName": {
"maxGraphemes": 64,
"maxLength": 640,
"type": "string"
},
"joinPolicy": {
"ref": "fyi.opensocial.defs#joinPolicy",
"type": "ref"
},
"languages": {
"description": "The languages it uses, as BCP 47 tags: en, pl, sl.",
"items": {
"ref": "fyi.opensocial.defs#languageRef",
"type": "ref"
},
"maxLength": 5,
"type": "array"
},
"links": {
"description": "Where else the group is, in the order it shows them: each an http or https address, and what it is.",
"items": {
"ref": "fyi.opensocial.defs#link",
"type": "ref"
},
"maxLength": 5,
"type": "array"
},
"location": {
"description": "Where it meets, if it meets somewhere: a town or city is enough.",
"refs": [
"community.lexicon.location.address",
"community.lexicon.location.geo",
"community.lexicon.location.fsq",
"community.lexicon.location.hthree"
],
"type": "union"
},
"online": {
"description": "It meets online, as well as or instead of somewhere.",
"type": "boolean"
},
"topics": {
"description": "What it's about, a few words each, as the group puts it: climbing, choir, renters' union.",
"items": {
"ref": "fyi.opensocial.defs#topicRef",
"type": "ref"
},
"maxLength": 10,
"type": "array"
},
"url": {
"description": "The group's own site, if it keeps one. A third-party app that shows the group can link back to it.",
"format": "uri",
"type": "string"
}
},
"required": [
"displayName",
"joinPolicy"
],
"type": "object"
},
"type": "record"
}
},
"id": "fyi.opensocial.profile",
"lexicon": 1
}