{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Search for games and other entities via the games.gamesgamesgamesgames catalog. Proxied from the configured games API.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "results": {
              "items": {
                "refs": [
                  "games.gamesgamesgamesgames.defs#gameSummaryView",
                  "games.gamesgamesgamesgames.defs#profileSummaryView",
                  "games.gamesgamesgamesgames.defs#platformSummaryView",
                  "games.gamesgamesgamesgames.defs#collectionSummaryView",
                  "games.gamesgamesgamesgames.defs#engineSummaryView"
                ],
                "type": "union"
              },
              "type": "array"
            },
            "totalResults": {
              "type": "integer"
            }
          },
          "required": [
            "results"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 20,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "q": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "q"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "place.stream.game.search",
  "lexicon": 1
}
