place.pollen.post.poll
An interactive poll post.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | post.pollen.place |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "An interactive poll post.",
"key": "tid",
"record": {
"properties": {
"blueskyPostUri": {
"description": "AT URI of the cross-posted Bluesky post.",
"format": "at-uri",
"type": "string"
},
"closesAt": {
"description": "Absolute timestamp when the poll closes.",
"format": "datetime",
"type": "string"
},
"createdAt": {
"description": "Client-declared timestamp when the post was created.",
"format": "datetime",
"type": "string"
},
"duration": {
"description": "Duration in hours until the poll closes.",
"minimum": 1,
"type": "integer"
},
"facets": {
"description": "Rich text annotations for the text.",
"items": {
"ref": "place.pollen.richtext.facet#main",
"type": "ref"
},
"type": "array"
},
"options": {
"description": "The answer choices.",
"items": {
"maxLength": 200,
"type": "string"
},
"maxLength": 10,
"minLength": 2,
"type": "array"
},
"question": {
"description": "The poll question.",
"maxLength": 500,
"type": "string"
},
"tags": {
"description": "Hashtags for discovery.",
"items": {
"maxLength": 64,
"type": "string"
},
"maxLength": 10,
"type": "array"
},
"text": {
"description": "Optional context or commentary.",
"maxLength": 500,
"type": "string"
}
},
"required": [
"question",
"options",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "place.pollen.post.poll",
"lexicon": 1
}