Amplitude · Schema

SegmentationResult

A/B TestingAnalyticsExperimentationFeature FlagsProduct AnalyticsUser Behavior

Properties

Name Type Description
data object
View JSON Schema on GitHub

JSON Schema

amplitude-segmentationresult-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SegmentationResult",
  "title": "SegmentationResult",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "series": {
          "type": "array",
          "description": "An array of data series, one per segment or group-by value.",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "seriesLabels": {
          "type": "array",
          "description": "Labels corresponding to each series.",
          "items": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "xValues": {
          "type": "array",
          "description": "The x-axis values representing time periods.",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}