{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "a poll",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "options": {
            "items": {
              "maxLength": 100,
              "type": "string"
            },
            "maxLength": 10,
            "minLength": 2,
            "type": "array"
          },
          "text": {
            "maxLength": 300,
            "type": "string"
          }
        },
        "required": [
          "text",
          "options",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "tech.waow.pollz.poll",
  "lexicon": 1
}
