{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/observeinc/json-schema/observeinc-tag-values-response-schema.json",
  "title": "TagValuesResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/observeinc-tag-values-api-openapi.yml#/components/schemas/TagValues-Response",
  "type": "object",
  "required": [
    "tagValuePairs",
    "meta"
  ],
  "properties": {
    "tagValuePairs": {
      "type": "array",
      "description": "Tag name-value pairs matching the query and pagination.",
      "items": {
        "$ref": "#/$defs/TagValuePair"
      }
    },
    "meta": {
      "$ref": "#/$defs/Meta"
    }
  },
  "$defs": {
    "Meta": {
      "description": "List Response Metadata",
      "type": "object",
      "required": [
        "totalCount"
      ],
      "properties": {
        "totalCount": {
          "description": "The total number of resources available, independent of pagination.\nThe API may return -1 if the total count is unknown or cannot be computed\nin reasonable time.\n",
          "type": "integer",
          "format": "int64"
        }
      }
    },
    "TagKind": {
      "title": "TagKind",
      "type": "string",
      "enum": [
        "Metric",
        "Correlation"
      ],
      "description": "Kind of tag."
    },
    "TagValuePair": {
      "title": "TagValuePair",
      "type": "object",
      "required": [
        "name",
        "value",
        "kind"
      ],
      "properties": {
        "name": {
          "type": "string",
          "description": "Tag name."
        },
        "value": {
          "type": "string",
          "description": "Tag value."
        },
        "kind": {
          "$ref": "#/$defs/TagKind"
        }
      }
    }
  }
}