# is.danny.scrapbook.entry

> Published by [danny.is](https://lexicon.garden/identity/did:plc:aes3lokiqtv63fk62nwnjeuf)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:aes3lokiqtv63fk62nwnjeuf/is.danny.scrapbook.entry)
- [Documentation](https://lexicon.garden/lexicon/did:plc:aes3lokiqtv63fk62nwnjeuf/is.danny.scrapbook.entry/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:aes3lokiqtv63fk62nwnjeuf/is.danny.scrapbook.entry/examples)

## Definitions

### `is.danny.scrapbook.entry`

**Type**: `record`

A scrap: a bit of text, optionally with a picture pinned to it.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `alt` | `string` | No | Alt text for the image. |
| `text` | `string` | Yes | The note itself. |
| `image` | `blob` | No | A reference to an image uploaded to the repo's blob store. |
| `createdAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "is.danny.scrapbook.entry",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "text",
          "createdAt"
        ],
        "properties": {
          "alt": {
            "type": "string",
            "maxLength": 2000,
            "description": "Alt text for the image.",
            "maxGraphemes": 200
          },
          "text": {
            "type": "string",
            "maxLength": 3000,
            "description": "The note itself.",
            "maxGraphemes": 300
          },
          "image": {
            "type": "blob",
            "accept": [
              "image/*"
            ],
            "maxSize": 1000000,
            "description": "A reference to an image uploaded to the repo's blob store."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "A scrap: a bit of text, optionally with a picture pinned to it."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
