PostHog · Schema

SurveyResponseBasedBranching

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
type object Branch based on the selected or entered response. * `response_based` - response_based
responseValues object Response-based branching map. Values can be a question index or 'end'.
View JSON Schema on GitHub

JSON Schema

posthog-surveyresponsebasedbranching-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SurveyResponseBasedBranching",
  "title": "SurveyResponseBasedBranching",
  "type": "object",
  "properties": {
    "type": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SurveyResponseBasedBranchingTypeEnum"
        }
      ],
      "description": "Branch based on the selected or entered response.\n\n* `response_based` - response_based"
    },
    "responseValues": {
      "type": "object",
      "additionalProperties": {
        "oneOf": [
          {
            "type": "integer",
            "minimum": 0
          },
          {
            "type": "string",
            "enum": [
              "end"
            ]
          }
        ]
      },
      "description": "Response-based branching map. Values can be a question index or 'end'."
    }
  },
  "required": [
    "responseValues",
    "type"
  ]
}