{
  "lexicon": 1,
  "id": "sh.tangled.repo.getIssues",
  "defs": {
    "main": {
      "type": "query",
      "parameters": {
        "type": "params",
        "required": ["issues"],
        "properties": {
          "issues": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "at-uri"
            },
            "maxLength": 50,
            "description": "AT-URIs of the sh.tangled.repo.issue records to fetch. At most 50 per request."
          }
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["items"],
          "properties": {
            "items": {
              "type": "array",
              "items": {
                "type": "ref",
                "ref": "#recordView"
              }
            }
          }
        }
      }
    },
    "recordView": {
      "type": "object",
      "required": ["uri", "value"],
      "properties": {
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "cid": {
          "type": "string",
          "format": "cid"
        },
        "value": {
          "type": "unknown",
          "description": "Embedded sh.tangled.repo.issue record."
        }
      }
    }
  }
}
