add @bsky.app/sdk + @atproto/lex, vendor lexicons, codegen via lex cli
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user