{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/instana/json-schema/instana-apdex-configuration-input-schema.json",
  "title": "ApdexConfigurationInput",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/instana-apdex-settings-api-openapi.yml#/components/schemas/ApdexConfigurationInput",
  "type": "object",
  "properties": {
    "apdexEntity": {
      "$ref": "#/$defs/ApdexEntity"
    },
    "apdexName": {
      "type": "string",
      "description": "Name of the Apdex Configuration",
      "maxLength": 256,
      "minLength": 0
    }
  },
  "required": [
    "apdexEntity",
    "apdexName"
  ],
  "$defs": {
    "ApdexEntity": {
      "type": "object",
      "description": "Entity which holds the information of Apdex Configuration",
      "properties": {
        "apdexType": {
          "type": "string"
        },
        "entityId": {
          "type": "string"
        },
        "tagFilterExpression": {
          "$ref": "#/$defs/TagFilterExpressionElement"
        },
        "threshold": {
          "type": "integer",
          "format": "int32",
          "minimum": 1
        }
      },
      "required": [
        "apdexType",
        "entityId",
        "tagFilterExpression"
      ]
    },
    "TagFilterExpressionElement": {
      "type": "object",
      "description": "Boolean expression of tag filters to define the scope of relevant calls.",
      "properties": {
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ]
    }
  }
}