bnewbold 9579bec720
update descriptions in Lexicons (#2110)
* lexicons: update descriptions in com.atproto.*

* lexicons: update descriptions in app.bsky.*

* Apply suggestions from code review

Thanks Emily!

Co-authored-by: Emily Liu <emilyliu7321@gmail.com>

* codegen description-only Lexicon updates

---------

Co-authored-by: Emily Liu <emilyliu7321@gmail.com>
2024-02-11 16:06:58 -08:00

48 lines
1.4 KiB
JSON

{
"lexicon": 1,
"id": "app.bsky.graph.list",
"defs": {
"main": {
"type": "record",
"description": "Record representing a list of accounts (actors). Scope includes both moderation-oriented lists and curration-oriented lists.",
"key": "tid",
"record": {
"type": "object",
"required": ["name", "purpose", "createdAt"],
"properties": {
"purpose": {
"type": "ref",
"description": "Defines the purpose of the list (aka, moderation-oriented or curration-oriented)",
"ref": "app.bsky.graph.defs#listPurpose"
},
"name": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Display name for list; can not be empty."
},
"description": {
"type": "string",
"maxGraphemes": 300,
"maxLength": 3000
},
"descriptionFacets": {
"type": "array",
"items": { "type": "ref", "ref": "app.bsky.richtext.facet" }
},
"avatar": {
"type": "blob",
"accept": ["image/png", "image/jpeg"],
"maxSize": 1000000
},
"labels": {
"type": "union",
"refs": ["com.atproto.label.defs#selfLabels"]
},
"createdAt": { "type": "string", "format": "datetime" }
}
}
}
}
}