{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Fetch a single collection record + a recent-items preview for the cover. Returns 404 if visibility=private and viewer != owner.",
      "output": {
        "encoding": "application/json"
      },
      "parameters": {
        "properties": {
          "uri": {
            "description": "AT-URI of the app.zeens.collection record.",
            "format": "at-uri",
            "type": "string"
          },
          "viewer": {
            "description": "DID of the requester.",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "uri"
        ],
        "type": "params"
      },
      "target_collection": "app.zeens.collection",
      "type": "query"
    }
  },
  "id": "app.zeens.getCollection",
  "lexicon": 1
}
