# lol.letsmeet.poll.response

> Published by [ken.wzrdz.cool](https://lexicon.garden/identity/did:plc:s6bsxutpplnkmlllri6nif6d)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:s6bsxutpplnkmlllri6nif6d/lol.letsmeet.poll.response)
- [Documentation](https://lexicon.garden/lexicon/did:plc:s6bsxutpplnkmlllri6nif6d/lol.letsmeet.poll.response/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:s6bsxutpplnkmlllri6nif6d/lol.letsmeet.poll.response/examples)

## Definitions

### `lol.letsmeet.poll.response#guestInfo`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | Yes |  |

### `lol.letsmeet.poll.response#interval`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `end` | `string` (datetime) | Yes |  |
| `start` | `string` (datetime) | Yes |  |

### `lol.letsmeet.poll.response`

**Type**: `record`

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`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `available` | `array` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `guest` | `ref` → `#guestInfo` | No |  |
| `ifNeedBe` | `array` | No |  |
| `note` | `string` | No |  |
| `subject` | `ref` → `com.atproto.repo.strongRef` | Yes |  |
| `timezone` | `string` | No |  |

## Raw Schema

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