80ada8f476
* lexicon: initial lexicons for video embeds in bsky app * lexicon: fix video caption file size limit * codegen * appview: stub out video embed view logic * api prerelease * api prerelease * lexicon: video upload/processing lexicons * tidy * lexicon: app.bsky.video lexicons for uploads * codegen * api prerelease * appview: present video embeds on posts * appview: snaps * changeset * appview: fix wiring of video url config
44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"lexicon": 1,
|
|
"id": "app.bsky.embed.recordWithMedia",
|
|
"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.",
|
|
"defs": {
|
|
"main": {
|
|
"type": "object",
|
|
"required": ["record", "media"],
|
|
"properties": {
|
|
"record": {
|
|
"type": "ref",
|
|
"ref": "app.bsky.embed.record"
|
|
},
|
|
"media": {
|
|
"type": "union",
|
|
"refs": [
|
|
"app.bsky.embed.images",
|
|
"app.bsky.embed.video",
|
|
"app.bsky.embed.external"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"view": {
|
|
"type": "object",
|
|
"required": ["record", "media"],
|
|
"properties": {
|
|
"record": {
|
|
"type": "ref",
|
|
"ref": "app.bsky.embed.record#view"
|
|
},
|
|
"media": {
|
|
"type": "union",
|
|
"refs": [
|
|
"app.bsky.embed.images#view",
|
|
"app.bsky.embed.video#view",
|
|
"app.bsky.embed.external#view"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|