PostHog · Schema

MarketingAnalyticsItem

A/B TestingAnalyticsFeature FlagsOpen-SourceProduct AnalyticsSession Recording

Properties

Name Type Description
changeFromPreviousPct number
hasComparison boolean
isIncreaseBad boolean
key string
kind object
previous object
value object
View JSON Schema on GitHub

JSON Schema

posthog-marketinganalyticsitem-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/MarketingAnalyticsItem",
  "title": "MarketingAnalyticsItem",
  "additionalProperties": false,
  "properties": {
    "changeFromPreviousPct": {
      "default": null,
      "title": "Changefrompreviouspct",
      "type": "number",
      "nullable": true
    },
    "hasComparison": {
      "default": null,
      "title": "Hascomparison",
      "type": "boolean",
      "nullable": true
    },
    "isIncreaseBad": {
      "default": null,
      "title": "Isincreasebad",
      "type": "boolean",
      "nullable": true
    },
    "key": {
      "title": "Key",
      "type": "string"
    },
    "kind": {
      "$ref": "#/components/schemas/WebAnalyticsItemKind"
    },
    "previous": {
      "default": null,
      "title": "Previous",
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ],
      "nullable": true
    },
    "value": {
      "default": null,
      "title": "Value",
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ],
      "nullable": true
    }
  },
  "required": [
    "key",
    "kind"
  ],
  "type": "object"
}