# pub.leaflet.interactions.answer

> 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.answer)
- [Documentation](https://lexicon.garden/lexicon/did:plc:btxrwcaeyodrap5mnjw2fvmz/pub.leaflet.interactions.answer/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:btxrwcaeyodrap5mnjw2fvmz/pub.leaflet.interactions.answer/examples)

## Definitions

### `pub.leaflet.interactions.answer`

**Type**: `record`

The author's answer to a pub.leaflet.interactions.question, written in the repo that owns the question's subject document. One record per question.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `content` | `ref` → `pub.leaflet.pages.linearDocument` | Yes | The answer's blocks. |
| `createdAt` | `string` (datetime) | Yes |  |
| `document` | `string` (at-uri) | Yes | The document the question was asked on. |
| `question` | `ref` → `com.atproto.repo.strongRef` | Yes | The question being answered. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The author's answer to a pub.leaflet.interactions.question, written in the repo that owns the question's subject document. One record per question.",
      "key": "any",
      "record": {
        "properties": {
          "content": {
            "description": "The answer's blocks.",
            "ref": "pub.leaflet.pages.linearDocument",
            "type": "ref"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "document": {
            "description": "The document the question was asked on.",
            "format": "at-uri",
            "type": "string"
          },
          "question": {
            "description": "The question being answered.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "question",
          "document",
          "content",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "pub.leaflet.interactions.answer",
  "lexicon": 1
}
```
