app.protoimsg.chat.poll

lexicon.store View official

{
  "id": "app.protoimsg.chat.poll",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "channel",
          "question",
          "options",
          "createdAt"
        ],
        "properties": {
          "channel": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI of the channel this poll belongs to."
          },
          "options": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 100
            },
            "maxLength": 10,
            "minLength": 2,
            "description": "Poll answer options."
          },
          "question": {
            "type": "string",
            "maxLength": 200,
            "description": "The poll question."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Timestamp of poll creation."
          },
          "expiresAt": {
            "type": "string",
            "format": "datetime",
            "description": "When the poll closes. Omit for no expiry."
          },
          "allowMultiple": {
            "type": "boolean",
            "default": false,
            "description": "Whether voters can select multiple options."
          }
        }
      },
      "description": "A poll within a chat channel. Lives in the creator's repo."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against app.protoimsg.chat.poll

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:web:lexicon.store
CID
bafyreidp7f652lsqrnwwgu4uevzaj2pdxcjwjq5wffufvecs2ee4ppjqua
Indexed At
2026-03-20 15:55 UTC
AT-URI
at://did:web:lexicon.store/com.atproto.lexicon.schema/app.protoimsg.chat.poll

Lexicon Garden

@