add lexicon codegen: vendored lexicons, lex cli and generation scripts

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Samuel Newman
2026-08-03 12:06:59 +03:00
parent a2129885c6
commit a3243820c9
311 changed files with 23342 additions and 14 deletions
@@ -0,0 +1,52 @@
{
"id": "app.bsky.embed.recordWithMedia",
"defs": {
"main": {
"type": "object",
"required": [
"record",
"media"
],
"properties": {
"media": {
"refs": [
"app.bsky.embed.images",
"app.bsky.embed.video",
"app.bsky.embed.gallery",
"app.bsky.embed.external"
],
"type": "union"
},
"record": {
"ref": "app.bsky.embed.record",
"type": "ref"
}
}
},
"view": {
"type": "object",
"required": [
"record",
"media"
],
"properties": {
"media": {
"refs": [
"app.bsky.embed.images#view",
"app.bsky.embed.video#view",
"app.bsky.embed.gallery#view",
"app.bsky.embed.external#view"
],
"type": "union"
},
"record": {
"ref": "app.bsky.embed.record#view",
"type": "ref"
}
}
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"description": "A representation of a record embedded in a Bluesky record (eg, a post), alongside other compatible embeds. For example, a quote post and image, or a quote post and external URL card."
}