PostHog · Schema

PropertyValuesQuery

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
event_names array
is_column boolean
kind string
modifiers object Modifiers used when performing the query
property_key string
property_type object
response object
search_value string
tags object
version number version of the node, used for schema migrations
View JSON Schema on GitHub

JSON Schema

posthog-propertyvaluesquery-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PropertyValuesQuery",
  "title": "PropertyValuesQuery",
  "additionalProperties": false,
  "properties": {
    "event_names": {
      "default": null,
      "title": "Event Names",
      "items": {
        "type": "string"
      },
      "type": "array",
      "nullable": true
    },
    "is_column": {
      "default": null,
      "title": "Is Column",
      "type": "boolean",
      "nullable": true
    },
    "kind": {
      "default": "PropertyValuesQuery",
      "title": "Kind",
      "type": "string",
      "enum": [
        "PropertyValuesQuery"
      ]
    },
    "modifiers": {
      "default": null,
      "description": "Modifiers used when performing the query",
      "allOf": [
        {
          "$ref": "#/components/schemas/HogQLQueryModifiers"
        }
      ],
      "nullable": true
    },
    "property_key": {
      "title": "Property Key",
      "type": "string"
    },
    "property_type": {
      "$ref": "#/components/schemas/PropertyType"
    },
    "response": {
      "default": null,
      "allOf": [
        {
          "$ref": "#/components/schemas/PropertyValuesQueryResponse"
        }
      ],
      "nullable": true
    },
    "search_value": {
      "default": null,
      "title": "Search Value",
      "type": "string",
      "nullable": true
    },
    "tags": {
      "default": null,
      "allOf": [
        {
          "$ref": "#/components/schemas/QueryLogTags"
        }
      ],
      "nullable": true
    },
    "version": {
      "default": null,
      "description": "version of the node, used for schema migrations",
      "title": "Version",
      "type": "number",
      "nullable": true
    }
  },
  "required": [
    "property_key",
    "property_type"
  ],
  "type": "object"
}