{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gloat/json-schema/gloat-tag-usage-count-response-schema.json",
  "title": "TagUsageCountResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gloat-stats-api-openapi.yml#/components/schemas/TagUsageCountResponse",
  "properties": {
    "counts": {
      "items": {
        "$ref": "#/$defs/TagUsageCount"
      },
      "type": "array",
      "title": "Counts"
    }
  },
  "type": "object",
  "required": [
    "counts"
  ],
  "$defs": {
    "TagUsageCount": {
      "properties": {
        "tag_name": {
          "type": "string",
          "title": "Tag Name"
        },
        "language": {
          "type": "string",
          "title": "Language"
        },
        "type": {
          "type": "string",
          "title": "Type"
        },
        "counts": {
          "additionalProperties": {
            "type": "integer"
          },
          "type": "object",
          "title": "Counts",
          "description": "Mapping of object_type (e.g., 'user') to count"
        }
      },
      "type": "object",
      "required": [
        "tag_name",
        "language",
        "type",
        "counts"
      ],
      "title": "TagUsageCount"
    }
  }
}