{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get game counts grouped by genre.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "genres": {
              "items": {
                "properties": {
                  "count": {
                    "type": "integer"
                  },
                  "genre": {
                    "type": "string"
                  }
                },
                "required": [
                  "genre",
                  "count"
                ],
                "type": "object"
              },
              "type": "array"
            }
          },
          "required": [
            "genres"
          ],
          "type": "object"
        }
      },
      "type": "query"
    }
  },
  "id": "games.gamesgamesgamesgames.getGenreCounts",
  "lexicon": 1
}
