PostHog · Schema

QueryResponseAlternative19

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
count_query object
credible_intervals object
exposure_query object
insight array
kind string
p_value number
probability object
significance_code object
significant boolean
stats_version integer
variants array
View JSON Schema on GitHub

JSON Schema

posthog-queryresponsealternative19-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/QueryResponseAlternative19",
  "title": "QueryResponseAlternative19",
  "additionalProperties": false,
  "properties": {
    "count_query": {
      "default": null,
      "allOf": [
        {
          "$ref": "#/components/schemas/TrendsQuery"
        }
      ],
      "nullable": true
    },
    "credible_intervals": {
      "additionalProperties": {
        "items": {
          "type": "number"
        },
        "type": "array"
      },
      "title": "Credible Intervals",
      "type": "object"
    },
    "exposure_query": {
      "default": null,
      "allOf": [
        {
          "$ref": "#/components/schemas/TrendsQuery"
        }
      ],
      "nullable": true
    },
    "insight": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "title": "Insight",
      "type": "array"
    },
    "kind": {
      "default": "ExperimentTrendsQuery",
      "title": "Kind",
      "type": "string",
      "enum": [
        "ExperimentTrendsQuery"
      ]
    },
    "p_value": {
      "title": "P Value",
      "type": "number"
    },
    "probability": {
      "additionalProperties": {
        "type": "number"
      },
      "title": "Probability",
      "type": "object"
    },
    "significance_code": {
      "$ref": "#/components/schemas/ExperimentSignificanceCode"
    },
    "significant": {
      "title": "Significant",
      "type": "boolean"
    },
    "stats_version": {
      "default": null,
      "title": "Stats Version",
      "type": "integer",
      "nullable": true
    },
    "variants": {
      "items": {
        "$ref": "#/components/schemas/ExperimentVariantTrendsBaseStats"
      },
      "title": "Variants",
      "type": "array"
    }
  },
  "required": [
    "credible_intervals",
    "insight",
    "p_value",
    "probability",
    "significance_code",
    "significant",
    "variants"
  ],
  "type": "object"
}