{
"id": "app.voresky.pinnedposts",
"defs": {
"main": {
"key": "literal:self",
"type": "record",
"record": {
"type": "object",
"required": [
"items",
"updatedAt"
],
"properties": {
"items": {
"type": "array",
"items": {
"ref": "#pinnedPost",
"type": "ref"
},
"maxLength": 20,
"description": "Pinned posts in display order. The first item is the main pin."
},
"updatedAt": {
"type": "string",
"format": "datetime"
}
}
},
"description": "An ordered gallery of posts an account has chosen to highlight. Bluesky's own profile record holds a single pinned post; this record holds an ordered list of them. The first item is the account's main pin and is expected to mirror `app.bsky.actor.profile#pinnedPost`, so that clients which do not know about this record still show the same primary pin."
},
"pinnedPost": {
"type": "object",
"required": [
"post"
],
"properties": {
"post": {
"ref": "com.atproto.repo.strongRef",
"type": "ref",
"description": "Strong reference to the pinned post record."
}
}
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}