{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/observeinc/json-schema/observeinc-object-tag-keys-search-response-schema.json",
  "title": "ObjectTagKeysSearchResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/observeinc-objecttags-api-openapi.yml#/components/schemas/ObjectTagKeys-SearchResponse",
  "type": "object",
  "required": [
    "results"
  ],
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ObjectTagKey"
      },
      "description": "Unique tag keys with counts, sorted by count descending then alphabetically"
    }
  },
  "$defs": {
    "ObjectTagKey": {
      "title": "ObjectTagKey",
      "type": "object",
      "required": [
        "key",
        "count"
      ],
      "properties": {
        "key": {
          "type": "string",
          "description": "The tag key"
        },
        "count": {
          "type": "integer",
          "format": "int64",
          "description": "Number of objects with this tag key"
        }
      }
    }
  }
}