{
  "lexicon": 1,
  "id": "chat.bsky.group.getJoinLinkPreviews",
  "defs": {
    "main": {
      "type": "query",
      "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Get public information about groups from join links. Invalid or disabled codes are silently omitted from results. Use the 'code' property on the views to correlate with the input codes, not array positions.",
      "parameters": {
        "type": "params",
        "required": ["codes"],
        "properties": {
          "codes": {
            "type": "array",
            "minLength": 1,
            "maxLength": 50,
            "items": { "type": "string" }
          }
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["joinLinkPreviews"],
          "properties": {
            "joinLinkPreviews": {
              "type": "array",
              "items": {
                "type": "ref",
                "ref": "chat.bsky.group.defs#joinLinkPreviewView"
              }
            }
          }
        }
      }
    }
  }
}
