# 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`

**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 |
|----------|------|----------|-------------|
| `note` | `string` | No |  |
| `guest` | `ref` → `#guestInfo` | No |  |
| `subject` | `ref` → `com.atproto.repo.strongRef` | Yes |  |
| `ifNeedBe` | `array` | No |  |
| `timezone` | `string` | No |  |
| `available` | `array` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |

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

**Type**: `object`

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

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

**Type**: `object`

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

## Raw Schema

```json
{
  "id": "lol.letsmeet.poll.response",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "subject",
          "available",
          "createdAt"
        ],
        "properties": {
          "note": {
            "type": "string",
            "maxLength": 1200,
            "maxGraphemes": 300
          },
          "guest": {
            "ref": "#guestInfo",
            "type": "ref"
          },
          "subject": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "ifNeedBe": {
            "type": "array",
            "items": {
              "ref": "#interval",
              "type": "ref"
            },
            "maxLength": 200
          },
          "timezone": {
            "type": "string",
            "maxLength": 64
          },
          "available": {
            "type": "array",
            "items": {
              "ref": "#interval",
              "type": "ref"
            },
            "maxLength": 200
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "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."
    },
    "interval": {
      "type": "object",
      "required": [
        "start",
        "end"
      ],
      "properties": {
        "end": {
          "type": "string",
          "format": "datetime"
        },
        "start": {
          "type": "string",
          "format": "datetime"
        }
      }
    },
    "guestInfo": {
      "type": "object",
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 256,
          "maxGraphemes": 64
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
