# am.noz.atgallery.alpha.libraryIndex

> Published by [noz.am](https://lexicon.garden/identity/did:plc:lmkzmvv6sdxntwtyxpg7fqqq)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:lmkzmvv6sdxntwtyxpg7fqqq/am.noz.atgallery.alpha.libraryIndex)
- [Documentation](https://lexicon.garden/lexicon/did:plc:lmkzmvv6sdxntwtyxpg7fqqq/am.noz.atgallery.alpha.libraryIndex/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:lmkzmvv6sdxntwtyxpg7fqqq/am.noz.atgallery.alpha.libraryIndex/examples)

## Definitions

### `am.noz.atgallery.alpha.libraryIndex`

**Type**: `record`

A private snapshot index and watermark pointer for fast Library synchronization.

**Key**: `literal:current`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `blob` | `blob` | Yes |  |
| `itemCount` | `integer` | Yes |  |
| `updatedAt` | `string` (datetime) | Yes |  |
| `watermark` | `string` | Yes |  |
| `formatVersion` | `integer` | Yes |  |

## Raw Schema

```json
{
  "id": "am.noz.atgallery.alpha.libraryIndex",
  "defs": {
    "main": {
      "key": "literal:current",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "formatVersion",
          "itemCount",
          "updatedAt",
          "watermark",
          "blob"
        ],
        "properties": {
          "blob": {
            "type": "blob",
            "accept": [
              "application/json"
            ],
            "maxSize": 26214400
          },
          "itemCount": {
            "type": "integer",
            "minimum": 0
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime"
          },
          "watermark": {
            "type": "string",
            "maxLength": 200
          },
          "formatVersion": {
            "type": "integer",
            "const": 1
          }
        }
      },
      "description": "A private snapshot index and watermark pointer for fast Library synchronization."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
