{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/instana/json-schema/instana-metric-apiresult-schema.json",
  "title": "MetricAPIResult",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/instana-mobile-app-metrics-api-openapi.yml#/components/schemas/MetricAPIResult",
  "type": "object",
  "properties": {
    "adjustedTimeframe": {
      "$ref": "#/$defs/AdjustedTimeframe"
    },
    "metrics": {
      "type": "object",
      "additionalProperties": {
        "type": "array",
        "items": {
          "type": "array",
          "items": {
            "type": "number"
          }
        }
      }
    }
  },
  "required": [
    "metrics"
  ],
  "$defs": {
    "AdjustedTimeframe": {
      "type": "object",
      "description": "Time frame provided in API request is slightly adjusted in response for faster API response.\nFor example, In request payload, if timeframe is 08:03 - 14:03, which is a 6 hour window size. It is adjusted to 08:05 - 14:00\nAnother example, In request payload, if timeframe is 08:20 - 08:20 (next day) which is a 24h window size. It is adjusted to 08:30 - 08:00 (next day)\n",
      "properties": {
        "to": {
          "type": "integer",
          "format": "int64",
          "description": "end of timeframe expressed as the Unix epoch time in milliseconds. Eg: `ISO 8601` standard time `2024-06-27T05:05:55.615Z` can be represented as `1719464755615` in Unix epoch time in milliseconds."
        },
        "windowSize": {
          "type": "integer",
          "format": "int64",
          "description": "windowSize in milliseconds",
          "minimum": 0
        }
      },
      "required": [
        "to"
      ]
    }
  }
}