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