A draft containing an array of draft posts.
Properties
deviceId
string
Optional
UUIDv4 identifier of the device that created this draft.
maxLength: 100 bytesdeviceName
string
Optional
The device and/or platform on which the draft was created.
maxLength: 100 byteslangs
array
of stringlanguage
Optional
Indicates human language of posts primary text content.
maxLength: 3 itemspostgateEmbeddingRules
array
of union
Optional
Embedding rules for the postgates to be created when this draft is published.
maxLength: 5 itemsposts
array
of ref#draftPost
Required
Array of draft posts that compose this draft.
maxLength: 100 itemsminLength: 1 itemsthreadgateAllow
array
of union
Optional
Allow-rules for the threadgate to be created when this draft is published.
maxLength: 5 itemsView raw schema
{
"description": "A draft containing an array of draft posts.",
"properties": {
"deviceId": {
"description": "UUIDv4 identifier of the device that created this draft.",
"maxLength": 100,
"type": "string"
},
"deviceName": {
"description": "The device and/or platform on which the draft was created.",
"maxLength": 100,
"type": "string"
},
"langs": {
"description": "Indicates human language of posts primary text content.",
"items": {
"format": "language",
"type": "string"
},
"maxLength": 3,
"type": "array"
},
"postgateEmbeddingRules": {
"description": "Embedding rules for the postgates to be created when this draft is published.",
"items": {
"refs": [
"town.delve.feed.postgate#disableRule"
],
"type": "union"
},
"maxLength": 5,
"type": "array"
},
"posts": {
"description": "Array of draft posts that compose this draft.",
"items": {
"ref": "#draftPost",
"type": "ref"
},
"maxLength": 100,
"minLength": 1,
"type": "array"
},
"threadgateAllow": {
"description": "Allow-rules for the threadgate to be created when this draft is published.",
"items": {
"refs": [
"town.delve.feed.threadgate#mentionRule",
"town.delve.feed.threadgate#followerRule",
"town.delve.feed.threadgate#followingRule",
"town.delve.feed.threadgate#listRule"
],
"type": "union"
},
"maxLength": 5,
"type": "array"
}
},
"required": [
"posts"
],
"type": "object"
}