PostHog · Schema

ShipVariant

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
conclusion object The conclusion of the experiment. * `won` - won * `lost` - lost * `inconclusive` - inconclusive * `stopped_early` - stopped_early * `invalid` - invalid
conclusion_comment string Optional comment about the experiment conclusion.
variant_key string The key of the variant to ship to 100% of users.
View JSON Schema on GitHub

JSON Schema

posthog-shipvariant-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ShipVariant",
  "title": "ShipVariant",
  "type": "object",
  "properties": {
    "conclusion": {
      "nullable": true,
      "description": "The conclusion of the experiment.\n\n* `won` - won\n* `lost` - lost\n* `inconclusive` - inconclusive\n* `stopped_early` - stopped_early\n* `invalid` - invalid",
      "oneOf": [
        {
          "$ref": "#/components/schemas/ConclusionEnum"
        },
        {
          "$ref": "#/components/schemas/NullEnum"
        }
      ]
    },
    "conclusion_comment": {
      "type": "string",
      "nullable": true,
      "description": "Optional comment about the experiment conclusion."
    },
    "variant_key": {
      "type": "string",
      "description": "The key of the variant to ship to 100% of users."
    }
  },
  "required": [
    "variant_key"
  ]
}