{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/instana/json-schema/instana-tag-schema.json",
  "title": "Tag",
  "description": "List of queryable tags available in a tagTree. Eg: `call.erroneous`.\nConsider these tags as attributes of a tagTree. Eg: `Call` tagTree has have `Erroneous`, `Call name`, `Latency` etc as attributes.\n",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/instana-application-catalog-api-openapi.yml#/components/schemas/Tag",
  "type": "object",
  "properties": {
    "aliases": {
      "type": "array",
      "description": "List of other names that can refer to this tag\n",
      "items": {
        "type": "string",
        "description": "List of other names that can refer to this tag\n"
      },
      "uniqueItems": true
    },
    "availability": {
      "type": "array",
      "description": "List of product areas this tag is available in\n",
      "items": {
        "type": "string",
        "description": "List of product areas this tag is available in\n",
        "enum": [
          "INFRASTRUCTURE_METRICS",
          "APPLICATION",
          "WEBSITE",
          "MOBILE_APP",
          "EUM",
          "EUM_IMPACTED_BEACON",
          "EVENT",
          "SLI",
          "SLO",
          "SLO_PREVIEW",
          "USAGE",
          "LOG",
          "SYNTHETICS",
          "SYNTHETICS_DETAIL",
          "APDEX",
          "BIZOPS",
          "BUSINESS_METRICS",
          "SUBTRACE",
          "UNKNOWN"
        ]
      },
      "uniqueItems": true
    },
    "canApplyToDestination": {
      "type": "boolean",
      "description": "Whether the tag is available for destination or not.\nIf source and destination is false, it means the tag is independent of source and destination. Eg: of such tag is `call.http.path`.\n"
    },
    "canApplyToSource": {
      "type": "boolean",
      "description": "Whether the tag is available for source or not.\nIf source and destination is false, it means the tag is independent of source and destination. Eg: of such tag is `call.http.path`.\n"
    },
    "description": {
      "type": "string",
      "description": "The description of the tag if it is provided."
    },
    "idTag": {
      "type": "boolean",
      "description": "Whether the Tag is a unique ID or not.\nEg: `idTag` for `endpoint.id` is true but for `call.rpc.method` it is false.\n"
    },
    "label": {
      "type": "string",
      "description": "The name of the tag which is seen in the UI. Eg: `Call name`",
      "maxLength": 256,
      "minLength": 0
    },
    "name": {
      "type": "string",
      "description": "The name of the tag. Eg: `call.name`"
    },
    "type": {
      "type": "string",
      "description": "The data type of the tag. Eg: `call.name` accepts `STRING` value.",
      "enum": [
        "BOOLEAN",
        "STRING",
        "NUMBER",
        "STRING_SET",
        "STRING_LIST",
        "KEY_VALUE_PAIR",
        "FLOAT_LIST",
        "KEY_NUMBER_PAIR"
      ]
    }
  },
  "required": [
    "name",
    "type"
  ]
}