# lol.atmobin.paste

> Published by [chris.pardy.family](https://lexicon.garden/identity/did:plc:dp7v5b5kejmmzzpwmqyf5wj6)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:dp7v5b5kejmmzzpwmqyf5wj6/lol.atmobin.paste)
- [Documentation](https://lexicon.garden/lexicon/did:plc:dp7v5b5kejmmzzpwmqyf5wj6/lol.atmobin.paste/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:dp7v5b5kejmmzzpwmqyf5wj6/lol.atmobin.paste/examples)

## Definitions

### `lol.atmobin.paste`

**Type**: `record`

A paste: a snippet of text and/or attached images, pastebin style.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `text` | `string` | No | The pasted text content. |
| `title` | `string` | No | Optional title for the paste. |
| `images` | `array` | No | Optional attached images. |
| `language` | `string` | No | Optional language hint for syntax highlighting. |
| `createdAt` | `string` (datetime) | Yes |  |

### `lol.atmobin.paste#image`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `alt` | `string` | No |  |
| `image` | `blob` | Yes |  |

## Raw Schema

```json
{
  "id": "lol.atmobin.paste",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "createdAt"
        ],
        "properties": {
          "text": {
            "type": "string",
            "maxLength": 100000,
            "description": "The pasted text content."
          },
          "title": {
            "type": "string",
            "maxLength": 1280,
            "description": "Optional title for the paste.",
            "maxGraphemes": 128
          },
          "images": {
            "type": "array",
            "items": {
              "ref": "#image",
              "type": "ref"
            },
            "maxLength": 4,
            "description": "Optional attached images."
          },
          "language": {
            "type": "string",
            "maxLength": 64,
            "description": "Optional language hint for syntax highlighting."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "A paste: a snippet of text and/or attached images, pastebin style."
    },
    "image": {
      "type": "object",
      "required": [
        "image"
      ],
      "properties": {
        "alt": {
          "type": "string",
          "maxLength": 2000
        },
        "image": {
          "type": "blob",
          "accept": [
            "image/*"
          ],
          "maxSize": 1000000
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
