PostHog · Schema

PersonFilter

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
bytecode array
bytecode_error string
conditionHash string
type string
key string
operator string
value object
negation boolean
View JSON Schema on GitHub

JSON Schema

posthog-personfilter-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PersonFilter",
  "title": "PersonFilter",
  "additionalProperties": false,
  "properties": {
    "bytecode": {
      "default": null,
      "title": "Bytecode",
      "items": {},
      "type": "array",
      "nullable": true
    },
    "bytecode_error": {
      "default": null,
      "title": "Bytecode Error",
      "type": "string",
      "nullable": true
    },
    "conditionHash": {
      "default": null,
      "title": "Conditionhash",
      "type": "string",
      "nullable": true
    },
    "type": {
      "title": "Type",
      "type": "string",
      "enum": [
        "person"
      ]
    },
    "key": {
      "title": "Key",
      "type": "string"
    },
    "operator": {
      "default": null,
      "title": "Operator",
      "type": "string",
      "nullable": true
    },
    "value": {
      "default": null,
      "title": "Value",
      "nullable": true
    },
    "negation": {
      "default": false,
      "title": "Negation",
      "type": "boolean"
    }
  },
  "required": [
    "type",
    "key"
  ],
  "type": "object"
}