{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "guestInfo": {
      "properties": {
        "name": {
          "maxGraphemes": 64,
          "maxLength": 256,
          "type": "string"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    },
    "interval": {
      "properties": {
        "end": {
          "format": "datetime",
          "type": "string"
        },
        "start": {
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "start",
        "end"
      ],
      "type": "object"
    },
    "main": {
      "description": "One person's availability for a poll. Lives in the respondent's repo, or the host's repo (with `guest`) for host-attested guest responses.",
      "key": "tid",
      "record": {
        "properties": {
          "available": {
            "items": {
              "ref": "#interval",
              "type": "ref"
            },
            "maxLength": 200,
            "type": "array"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "guest": {
            "ref": "#guestInfo",
            "type": "ref"
          },
          "ifNeedBe": {
            "items": {
              "ref": "#interval",
              "type": "ref"
            },
            "maxLength": 200,
            "type": "array"
          },
          "note": {
            "maxGraphemes": 300,
            "maxLength": 1200,
            "type": "string"
          },
          "subject": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "timezone": {
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "subject",
          "available",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "lol.letsmeet.poll.response",
  "lexicon": 1
}
