# pub.leaflet.interactions.question

> Published by [leaflet.pub](https://lexicon.garden/identity/did:plc:btxrwcaeyodrap5mnjw2fvmz)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:btxrwcaeyodrap5mnjw2fvmz/pub.leaflet.interactions.question)
- [Documentation](https://lexicon.garden/lexicon/did:plc:btxrwcaeyodrap5mnjw2fvmz/pub.leaflet.interactions.question/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:btxrwcaeyodrap5mnjw2fvmz/pub.leaflet.interactions.question/examples)

## Definitions

### `pub.leaflet.interactions.question`

**Type**: `record`

A public question asked of a document's author, shown on the document once the author answers it (pub.leaflet.interactions.answer)

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `facets` | `array` | No |  |
| `plaintext` | `string` | Yes |  |
| `subject` | `string` (at-uri) | Yes | The document the question is asked on. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A public question asked of a document's author, shown on the document once the author answers it (pub.leaflet.interactions.answer)",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "facets": {
            "items": {
              "ref": "pub.leaflet.richtext.facet",
              "type": "ref"
            },
            "type": "array"
          },
          "plaintext": {
            "maxGraphemes": 1000,
            "maxLength": 10000,
            "type": "string"
          },
          "subject": {
            "description": "The document the question is asked on.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "subject",
          "plaintext",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "pub.leaflet.interactions.question",
  "lexicon": 1
}
```
