pub.leaflet.poll.definition
Record declaring a poll
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | poll.leaflet.pub |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Record declaring a poll",
"key": "tid",
"record": {
"properties": {
"endDate": {
"format": "datetime",
"type": "string"
},
"name": {
"maxGraphemes": 100,
"maxLength": 500,
"type": "string"
},
"options": {
"items": {
"ref": "#option",
"type": "ref"
},
"type": "array"
}
},
"required": [
"name",
"options"
],
"type": "object"
},
"type": "record"
},
"option": {
"properties": {
"text": {
"maxGraphemes": 50,
"maxLength": 500,
"type": "string"
}
},
"type": "object"
}
},
"id": "pub.leaflet.poll.definition",
"lexicon": 1
}