PostHog · Schema

RetentionResult

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
breakdown_value object Optional breakdown value for retention cohorts
date string
label string
values array
View JSON Schema on GitHub

JSON Schema

posthog-retentionresult-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RetentionResult",
  "title": "RetentionResult",
  "additionalProperties": false,
  "properties": {
    "breakdown_value": {
      "default": null,
      "description": "Optional breakdown value for retention cohorts",
      "title": "Breakdown Value",
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        }
      ],
      "nullable": true
    },
    "date": {
      "format": "date-time",
      "title": "Date",
      "type": "string"
    },
    "label": {
      "title": "Label",
      "type": "string"
    },
    "values": {
      "items": {
        "$ref": "#/components/schemas/RetentionValue"
      },
      "title": "Values",
      "type": "array"
    }
  },
  "required": [
    "date",
    "label",
    "values"
  ],
  "type": "object"
}