{
  "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.",
      "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"
              }
            }
          }
        }
      }
    }
  }
}

