pub.leaflet.poll.definition

leaflet.pub

{
  "$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
}

Validate Record

Validate a record against pub.leaflet.poll.definition

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:btxrwcaeyodrap5mnjw2fvmz
CID
bafyreicdmqacxqcd5mlmwsy6y5e5wu2oq6samgchj2xdbnmnklp7re5mcq
Indexed At
2026-02-18 20:05 UTC
AT-URI
at://did:plc:btxrwcaeyodrap5mnjw2fvmz/com.atproto.lexicon.schema/pub.leaflet.poll.definition

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Record declaring a vote on a poll

  • a poll

  • support.supper.poll.poll recordnot from the namespace authority

    A public Supper poll authored by the repository owner. The question and ordered options are immutable after publication; publish a new poll identity to change them. Never publish member-only poll content in a public rep…

  • A single answer option for a poll. Lives in the poll author's repo; votes are counted as backlinks to this record's at-uri.

  • club.fellas.v0.poll.definition recordnot from the namespace authority

    A poll posted within the fella space.

Lexicon Garden

@