pub.leaflet.poll.definition

leaflet.pub

{
  "id": "pub.leaflet.poll.definition",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "name",
          "options"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 500,
            "maxGraphemes": 100
          },
          "endDate": {
            "type": "string",
            "format": "datetime"
          },
          "options": {
            "type": "array",
            "items": {
              "ref": "#option",
              "type": "ref"
            }
          }
        }
      },
      "description": "Record declaring a poll"
    },
    "option": {
      "type": "object",
      "properties": {
        "text": {
          "type": "string",
          "maxLength": 500,
          "maxGraphemes": 50
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "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-01-09 09:26 UTC
AT-URI
at://did:plc:btxrwcaeyodrap5mnjw2fvmz/com.atproto.lexicon.schema/pub.leaflet.poll.definition

Lexicon Garden

@