# wiki.lichen.noteSnapshot

> Published by [lichen.wiki](https://lexicon.garden/identity/did:plc:xfs42pjf3n7imvgrdrp7xvez)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:xfs42pjf3n7imvgrdrp7xvez/wiki.lichen.noteSnapshot)
- [Documentation](https://lexicon.garden/lexicon/did:plc:xfs42pjf3n7imvgrdrp7xvez/wiki.lichen.noteSnapshot/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:xfs42pjf3n7imvgrdrp7xvez/wiki.lichen.noteSnapshot/examples)

## Definitions

### `wiki.lichen.noteSnapshot`

**Type**: `record`

A contributor's full copy of a note as they last saved it. Revisions define the note. The rkey is the note's rkey.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `atRevision` | `string` (at-uri) | Yes | AT-URI of the head revision when this copy was saved. |
| `content` | `string` | Yes | The note's whole body at atRevision. |
| `createdAt` | `string` (datetime) | Yes | When this copy was saved. |
| `noteRef` | `string` (at-uri) | Yes | AT-URI of the note record. |
| `slug` | `string` | Yes | The note's slug. |
| `title` | `string` | Yes | The note's title. |
| `wikiRef` | `string` (at-uri) | Yes | AT-URI of the note's wiki record. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A contributor's full copy of a note as they last saved it. Revisions define the note. The rkey is the note's rkey.",
      "key": "tid",
      "record": {
        "properties": {
          "atRevision": {
            "description": "AT-URI of the head revision when this copy was saved.",
            "format": "at-uri",
            "type": "string"
          },
          "content": {
            "description": "The note's whole body at atRevision.",
            "maxLength": 1000000,
            "type": "string"
          },
          "createdAt": {
            "description": "When this copy was saved.",
            "format": "datetime",
            "type": "string"
          },
          "noteRef": {
            "description": "AT-URI of the note record.",
            "format": "at-uri",
            "type": "string"
          },
          "slug": {
            "description": "The note's slug.",
            "maxGraphemes": 256,
            "maxLength": 2560,
            "type": "string"
          },
          "title": {
            "description": "The note's title.",
            "maxGraphemes": 256,
            "maxLength": 2560,
            "type": "string"
          },
          "wikiRef": {
            "description": "AT-URI of the note's wiki record.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "noteRef",
          "wikiRef",
          "slug",
          "title",
          "content",
          "atRevision",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "wiki.lichen.noteSnapshot",
  "lexicon": 1
}
```
