pub.leaflet.poll.definition

Record declaring a poll

Repository @leaflet.pub did:plc:btxrwcaeyodrap5mnjw2fvmz namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritypoll.leaflet.pub
Indexed
cid bafyreicdmqacxqcd5mlmwsy6y5e5wu2oq6samgchj2xdbnmnklp7re5mcq

Checks

Valid Lint pass
JSONDownload
{
  "$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
}