Record containing a draft post that can be edited and later published as app.bsky.feed.post
Record Key
tid
Timestamp-based ID
Properties
createdAt
string
datetime
Required
Client-declared timestamp when this draft was originally created.
embed
union
Optional
No description provided.
facets
array
of
ref
app.bsky.richtext.facet
Optional
Annotations of text (mentions, URLs, hashtags, etc)
labels
union
Optional
Self-label values for this post. Effectively content warnings.
Known types:
langs
array
of
string
language
Optional
Indicates human language of post primary text content.
maxLength: 3 bytesreply
ref
#replyRef
Optional
No description provided.
tags
array
of
string
Optional
Additional hashtags, in addition to any included in post text and facets.
maxLength: 8 bytestext
string
Required
The primary post content. May be an empty string, if there are embeds.
maxLength: 3000 bytesmaxGraphemes: 300 graphemesupdatedAt
string
datetime
Optional
Client-declared timestamp when this draft was last updated.
View raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"text",
"createdAt"
],
"properties": {
"tags": {
"type": "array",
"items": {
"type": "string",
"maxLength": 640,
"maxGraphemes": 64
},
"maxLength": 8,
"description": "Additional hashtags, in addition to any included in post text and facets."
},
"text": {
"type": "string",
"maxLength": 3000,
"description": "The primary post content. May be an empty string, if there are embeds.",
"maxGraphemes": 300
},
"embed": {
"refs": [
"app.bsky.embed.images",
"app.bsky.embed.video",
"app.bsky.embed.external",
"app.bsky.embed.record",
"app.bsky.embed.recordWithMedia"
],
"type": "union"
},
"langs": {
"type": "array",
"items": {
"type": "string",
"format": "language"
},
"maxLength": 3,
"description": "Indicates human language of post primary text content."
},
"reply": {
"ref": "#replyRef",
"type": "ref"
},
"facets": {
"type": "array",
"items": {
"ref": "app.bsky.richtext.facet",
"type": "ref"
},
"description": "Annotations of text (mentions, URLs, hashtags, etc)"
},
"labels": {
"refs": [
"com.atproto.label.defs#selfLabels"
],
"type": "union",
"description": "Self-label values for this post. Effectively content warnings."
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Client-declared timestamp when this draft was originally created."
},
"updatedAt": {
"type": "string",
"format": "datetime",
"description": "Client-declared timestamp when this draft was last updated."
}
}
},
"description": "Record containing a draft post that can be edited and later published as app.bsky.feed.post"
}