PostHog · Schema

WoWChange

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
percent integer Absolute percentage change, rounded to nearest integer.
direction object Direction of the change relative to the prior period. * `Up` - Up * `Down` - Down
color string Hex color indicating whether the change is a positive or negative signal.
text string Short label, e.g. 'Up 12%'.
long_text string Verbose label, e.g. 'Up 12% from prior period'.
View JSON Schema on GitHub

JSON Schema

posthog-wowchange-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/WoWChange",
  "title": "WoWChange",
  "type": "object",
  "properties": {
    "percent": {
      "type": "integer",
      "description": "Absolute percentage change, rounded to nearest integer."
    },
    "direction": {
      "allOf": [
        {
          "$ref": "#/components/schemas/DirectionEnum"
        }
      ],
      "description": "Direction of the change relative to the prior period.\n\n* `Up` - Up\n* `Down` - Down"
    },
    "color": {
      "type": "string",
      "description": "Hex color indicating whether the change is a positive or negative signal."
    },
    "text": {
      "type": "string",
      "description": "Short label, e.g. 'Up 12%'."
    },
    "long_text": {
      "type": "string",
      "description": "Verbose label, e.g. 'Up 12% from prior period'."
    }
  },
  "required": [
    "color",
    "direction",
    "long_text",
    "percent",
    "text"
  ]
}