PostHog · Schema
CohortFilter
A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording
Properties
| Name | Type | Description |
|---|---|---|
| bytecode | array | |
| bytecode_error | string | |
| conditionHash | string | |
| type | string | |
| key | string | |
| value | integer | |
| negation | boolean |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/CohortFilter",
"title": "CohortFilter",
"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": [
"cohort"
]
},
"key": {
"title": "Key",
"type": "string",
"enum": [
"id"
]
},
"value": {
"title": "Value",
"type": "integer"
},
"negation": {
"default": false,
"title": "Negation",
"type": "boolean"
}
},
"required": [
"type",
"key",
"value"
],
"type": "object"
}