# 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. |
| `createdAt` | `string` (datetime) | Yes |  |
| `image` | `blob` | No | A reference to an image uploaded to the repo's blob store. |
| `text` | `string` | Yes | The note itself. |

## Raw Schema

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