# at.pasteb.paste

> Published by [dropb.at](https://lexicon.garden/identity/did:plc:jbaidutg6wkd5ckqqwlhrnej)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:jbaidutg6wkd5ckqqwlhrnej/at.pasteb.paste)
- [Documentation](https://lexicon.garden/lexicon/did:plc:jbaidutg6wkd5ckqqwlhrnej/at.pasteb.paste/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:jbaidutg6wkd5ckqqwlhrnej/at.pasteb.paste/examples)

## Definitions

### `at.pasteb.paste`

**Type**: `record`

A paste

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `lang` | `string` | No | Language/syntax identifier for highlighting |
| `title` | `string` | No |  |
| `content` | `blob` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `thumbnail` | `blob` | No |  |
| `updatedAt` | `string` (datetime) | No |  |
| `description` | `string` | No | Optional description of the paste |

## Raw Schema

```json
{
  "id": "at.pasteb.paste",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "content",
          "createdAt"
        ],
        "properties": {
          "lang": {
            "type": "string",
            "maxLength": 32,
            "description": "Language/syntax identifier for highlighting"
          },
          "title": {
            "type": "string",
            "maxLength": 256
          },
          "content": {
            "type": "blob",
            "accept": [
              "*/*"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "thumbnail": {
            "type": "blob",
            "accept": [
              "image/webp"
            ],
            "maxSize": 102400
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime"
          },
          "description": {
            "type": "string",
            "maxLength": 2048,
            "description": "Optional description of the paste",
            "maxGraphemes": 1024
          }
        }
      },
      "description": "A paste"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
