{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get a single album; permissioned albums require space credentials.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "album": {
              "ref": "net.atpix.gallery.defs#albumView",
              "type": "ref"
            },
            "items": {
              "items": {
                "ref": "net.atpix.gallery.defs#photoView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "album"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "hydrateItems": {
            "default": false,
            "type": "boolean"
          },
          "uri": {
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "uri"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "net.atpix.gallery.getAlbum",
  "lexicon": 1,
  "target_collection": "net.atpix.gallery.album"
}
