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