PostHog · Schema

GoalLine

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
borderColor string
displayIfCrossed boolean
displayLabel boolean
label string
position object
value number
View JSON Schema on GitHub

JSON Schema

posthog-goalline-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GoalLine",
  "title": "GoalLine",
  "additionalProperties": false,
  "properties": {
    "borderColor": {
      "default": null,
      "title": "Bordercolor",
      "type": "string",
      "nullable": true
    },
    "displayIfCrossed": {
      "default": null,
      "title": "Displayifcrossed",
      "type": "boolean",
      "nullable": true
    },
    "displayLabel": {
      "default": null,
      "title": "Displaylabel",
      "type": "boolean",
      "nullable": true
    },
    "label": {
      "title": "Label",
      "type": "string"
    },
    "position": {
      "default": null,
      "allOf": [
        {
          "$ref": "#/components/schemas/Position"
        }
      ],
      "nullable": true
    },
    "value": {
      "title": "Value",
      "type": "number"
    }
  },
  "required": [
    "label",
    "value"
  ],
  "type": "object"
}