app.bsky.draft.defs
Details · defs
| Kind | defs |
|---|---|
| Authority | draft.bsky.app |
| Indexed |
Showing version bafyreiewy3wgajj4al6xifjc2e5gpg4yyj4laf2gl7pe3liekulfzxnlcu. Show the latest
#draft
objectA draft containing an array of draft posts.
Properties
deviceId
stringUUIDv4 identifier of the device that created this draft.
maxLength: 100
deviceName
stringThe device and/or platform on which the draft was created.
maxLength: 100
langs
arrayIndicates human language of posts primary text content.
maxLength: 3
Embedding rules for the postgates to be created when this draft is published.
maxLength: 5
Array of draft posts that compose this draft.
minLength: 1maxLength: 100
threadgateAllow
arrayAllow-rules for the threadgate to be created when this draft is published.
maxLength: 5
#draftEmbedCaption
object#draftEmbedExternal
objectProperties
#draftEmbedGallery
objectProperties
#draftEmbedGalleryItems
arrayThe schema-level maxLength of 20 is a future-proof ceiling. Clients should currently enforce a soft limit of 10 items in authoring UIs.
maxLength: 20
Items
#draftEmbedImage
objectProperties
alt
stringmaxGraphemes: 2000
#draftEmbedLocalRef
objectProperties
Local, on-device ref to file to be embedded. Embeds are currently device-bound for drafts.
minLength: 1maxLength: 1024
#draftEmbedRecord
objectProperties
#draftEmbedVideo
object#draftPost
objectOne of the posts that compose a draft.
Properties
embedExternals
arraymaxLength: 1
embedGallery
refembedImages
arraymaxLength: 4
embedRecords
arraymaxLength: 1
embedVideos
arraymaxLength: 1
labels
unionSelf-label values for this post. Effectively content warnings.
The primary post content. It has a higher limit than post contents to allow storing a larger text that can later be refined into smaller posts.
maxLength: 10000maxGraphemes: 1000
#draftView
objectView to present drafts data to users.
#draftWithId
objectA draft with an identifier, used to store drafts in private storage (stash).
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
A draft containing an array of draft posts.
-
net.anisota.feed.draft
recordRecord containing a draft post that can be edited and later published as app.bsky.feed.post
-
Ready owner-private photo only; asset kind must be photo, byteLength at most 1000000, with name and MIME matching the local asset descriptor.
-
Draft post created under a delegation. Lives on the agent's PDS. Accumulating record keyed by TID.
-
us.off-the-clock.draft
recordAn unfinished post, event, listing or review, kept in the member's personal space until they post it (D43). The drafted record is carried as written so far and is validated only when it is posted.