Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

485 KB
Raw Blame
{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "properties": {
        "allow_unknown_events": {
            "default": false,
            "description": "Suppresses the validation that rejects metrics referencing events not yet ingested by this project. REQUIRES explicit user confirmation before being set to true — never flip this silently to retry a failed call. The default validation catches typo'd event names and missing instrumentation. Set this to true only when the user has confirmed the event is intentional (e.g. they are about to instrument it).",
            "type": "boolean"
        },
        "description": {
            "anyOf": [
                {
                    "maxLength": 3000,
                    "type": "string"
                },
                {
                    "type": "null"
                }
            ],
            "description": "Description of the experiment hypothesis and expected outcomes."
        },
        "exposure_criteria": {
            "anyOf": [
                {
                    "properties": {
                        "activation_config": {
                            "anyOf": [
                                {
                                    "properties": {
                                        "event": {
                                            "anyOf": [
                                                {
                                                    "type": "string"
                                                },
                                                {
                                                    "type": "null"
                                                }
                                            ],
                                            "description": "Custom exposure event name. Required when kind is 'ExperimentEventExposureConfig'."
                                        },
                                        "id": {
                                            "anyOf": [
                                                {
                                                    "type": "number"
                                                },
                                                {
                                                    "type": "null"
                                                }
                                            ],
                                            "description": "Action ID. Required when kind is 'ActionsNode'."
                                        },
                                        "kind": {
                                            "anyOf": [
                                                {
                                                    "enum": ["ExperimentEventExposureConfig", "ActionsNode"],
                                                    "type": "string"
                                                },
                                                {
                                                    "type": "null"
                                                }
                                            ],
                                            "description": "Defaults to 'ExperimentEventExposureConfig' when omitted. Pass 'ActionsNode' for an action-based exposure."
                                        },
                                        "properties": {
                                            "description": "Property filters (event, person, and other supported types). Pass an empty array if no filters needed.",
                                            "items": {
                                                "anyOf": [
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "anyOf": [
                                                                    {
                                                                        "enum": [
                                                                            "exact",
                                                                            "is_not",
                                                                            "icontains",
                                                                            "not_icontains",
                                                                            "starts_with",
                                                                            "not_starts_with",
                                                                            "ends_with",
                                                                            "not_ends_with",
                                                                            "regex",
                                                                            "not_regex",
                                                                            "gt",
                                                                            "gte",
                                                                            "lt",
                                                                            "lte",
                                                                            "is_set",
                                                                            "is_not_set",
                                                                            "is_date_exact",
                                                                            "is_date_before",
                                                                            "is_date_after",
                                                                            "between",
                                                                            "not_between",
                                                                            "min",
                                                                            "max",
                                                                            "in",
                                                                            "not_in",
                                                                            "is_cleaned_path_exact",
                                                                            "is_cleaned_path_not_exact",
                                                                            "flag_evaluates_to",
                                                                            "semver_eq",
                                                                            "semver_neq",
                                                                            "semver_gt",
                                                                            "semver_gte",
                                                                            "semver_lt",
                                                                            "semver_lte",
                                                                            "semver_tilde",
                                                                            "semver_caret",
                                                                            "semver_wildcard",
                                                                            "icontains_multi",
                                                                            "not_icontains_multi"
                                                                        ],
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ],
                                                                "default": "exact"
                                                            },
                                                            "type": {
                                                                "const": "event",
                                                                "default": "event",
                                                                "description": "Event properties",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "person",
                                                                "default": "person",
                                                                "description": "Person properties",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "person_metadata",
                                                                "default": "person_metadata",
                                                                "description": "Top-level columns on the persons table (e.g. created_at), not properties JSON",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "enum": ["tag_name", "text", "href", "selector"],
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "element",
                                                                "default": "element",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "event_metadata",
                                                                "default": "event_metadata",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "session",
                                                                "default": "session",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "cohort_deleted": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ],
                                                                "description": "Set by the feature flag API when the cohort is deleted or does not exist."
                                                            },
                                                            "cohort_missing": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ],
                                                                "description": "Set by the feature flag API when the cohort does not exist, so it cannot be restored."
                                                            },
                                                            "cohort_name": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "key": {
                                                                "const": "id",
                                                                "default": "id",
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "anyOf": [
                                                                    {
                                                                        "enum": [
                                                                            "exact",
                                                                            "is_not",
                                                                            "icontains",
                                                                            "not_icontains",
                                                                            "starts_with",
                                                                            "not_starts_with",
                                                                            "ends_with",
                                                                            "not_ends_with",
                                                                            "regex",
                                                                            "not_regex",
                                                                            "gt",
                                                                            "gte",
                                                                            "lt",
                                                                            "lte",
                                                                            "is_set",
                                                                            "is_not_set",
                                                                            "is_date_exact",
                                                                            "is_date_before",
                                                                            "is_date_after",
                                                                            "between",
                                                                            "not_between",
                                                                            "min",
                                                                            "max",
                                                                            "in",
                                                                            "not_in",
                                                                            "is_cleaned_path_exact",
                                                                            "is_cleaned_path_not_exact",
                                                                            "flag_evaluates_to",
                                                                            "semver_eq",
                                                                            "semver_neq",
                                                                            "semver_gt",
                                                                            "semver_gte",
                                                                            "semver_lt",
                                                                            "semver_lte",
                                                                            "semver_tilde",
                                                                            "semver_caret",
                                                                            "semver_wildcard",
                                                                            "icontains_multi",
                                                                            "not_icontains_multi"
                                                                        ],
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ],
                                                                "default": "in"
                                                            },
                                                            "type": {
                                                                "const": "cohort",
                                                                "default": "cohort",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "type": "number"
                                                            }
                                                        },
                                                        "required": ["value"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "anyOf": [
                                                                    {
                                                                        "enum": [
                                                                            "duration",
                                                                            "active_seconds",
                                                                            "inactive_seconds"
                                                                        ],
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    }
                                                                ]
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "recording",
                                                                "default": "recording",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "log_entry",
                                                                "default": "log_entry",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "group_key_names": {
                                                                "anyOf": [
                                                                    {
                                                                        "additionalProperties": {
                                                                            "type": "string"
                                                                        },
                                                                        "propertyNames": {
                                                                            "type": "string"
                                                                        },
                                                                        "type": "object"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "group_type_index": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "group",
                                                                "default": "group",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "feature",
                                                                "default": "feature",
                                                                "description": "Event property with \"$feature/\" prepended",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "description": "The key should be the flag ID",
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "const": "flag_evaluates_to",
                                                                "default": "flag_evaluates_to",
                                                                "description": "Only flag_evaluates_to operator is allowed for flag dependencies",
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "flag",
                                                                "default": "flag",
                                                                "description": "Feature flag dependency",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    }
                                                                ],
                                                                "description": "The value can be true, false, or a variant name"
                                                            }
                                                        },
                                                        "required": ["key", "value"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "type": {
                                                                "const": "hogql",
                                                                "default": "hogql",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "type": {
                                                                "const": "empty",
                                                                "default": "empty",
                                                                "type": "string"
                                                            }
                                                        },
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "data_warehouse",
                                                                "default": "data_warehouse",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "data_warehouse_person_property",
                                                                "default": "data_warehouse_person_property",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "error_tracking_issue",
                                                                "default": "error_tracking_issue",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "enum": [
                                                                    "log",
                                                                    "log_attribute",
                                                                    "log_resource_attribute"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator", "type"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "metric_attribute",
                                                                "default": "metric_attribute",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "enum": [
                                                                    "span",
                                                                    "span_attribute",
                                                                    "span_resource_attribute"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator", "type"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "revenue_analytics",
                                                                "default": "revenue_analytics",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "account_custom_property",
                                                                "default": "account_custom_property",
                                                                "description": "Customer analytics account custom property — the key is the property definition id",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "workflow_variable",
                                                                "default": "workflow_variable",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "event_filters": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "properties": {
                                                                                        "key": {
                                                                                            "type": "string"
                                                                                        },
                                                                                        "label": {
                                                                                            "anyOf": [
                                                                                                {
                                                                                                    "type": "string"
                                                                                                },
                                                                                                {
                                                                                                    "type": "null"
                                                                                                }
                                                                                            ]
                                                                                        },
                                                                                        "operator": {
                                                                                            "anyOf": [
                                                                                                {
                                                                                                    "enum": [
                                                                                                        "exact",
                                                                                                        "is_not",
                                                                                                        "icontains",
                                                                                                        "not_icontains",
                                                                                                        "starts_with",
                                                                                                        "not_starts_with",
                                                                                                        "ends_with",
                                                                                                        "not_ends_with",
                                                                                                        "regex",
                                                                                                        "not_regex",
                                                                                                        "gt",
                                                                                                        "gte",
                                                                                                        "lt",
                                                                                                        "lte",
                                                                                                        "is_set",
                                                                                                        "is_not_set",
                                                                                                        "is_date_exact",
                                                                                                        "is_date_before",
                                                                                                        "is_date_after",
                                                                                                        "between",
                                                                                                        "not_between",
                                                                                                        "min",
                                                                                                        "max",
                                                                                                        "in",
                                                                                                        "not_in",
                                                                                                        "is_cleaned_path_exact",
                                                                                                        "is_cleaned_path_not_exact",
                                                                                                        "flag_evaluates_to",
                                                                                                        "semver_eq",
                                                                                                        "semver_neq",
                                                                                                        "semver_gt",
                                                                                                        "semver_gte",
                                                                                                        "semver_lt",
                                                                                                        "semver_lte",
                                                                                                        "semver_tilde",
                                                                                                        "semver_caret",
                                                                                                        "semver_wildcard",
                                                                                                        "icontains_multi",
                                                                                                        "not_icontains_multi"
                                                                                                    ],
                                                                                                    "type": "string"
                                                                                                },
                                                                                                {
                                                                                                    "type": "null"
                                                                                                }
                                                                                            ],
                                                                                            "default": "exact"
                                                                                        },
                                                                                        "type": {
                                                                                            "const": "event",
                                                                                            "default": "event",
                                                                                            "description": "Event properties",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "value": {
                                                                                            "anyOf": [
                                                                                                {
                                                                                                    "items": {
                                                                                                        "anyOf": [
                                                                                                            {
                                                                                                                "type": "string"
                                                                                                            },
                                                                                                            {
                                                                                                                "type": "number"
                                                                                                            },
                                                                                                            {
                                                                                                                "type": "boolean"
                                                                                                            }
                                                                                                        ]
                                                                                                    },
                                                                                                    "type": "array"
                                                                                                },
                                                                                                {
                                                                                                    "type": "string"
                                                                                                },
                                                                                                {
                                                                                                    "type": "number"
                                                                                                },
                                                                                                {
                                                                                                    "type": "boolean"
                                                                                                },
                                                                                                {
                                                                                                    "type": "null"
                                                                                                }
                                                                                            ]
                                                                                        }
                                                                                    },
                                                                                    "required": ["key"],
                                                                                    "type": "object"
                                                                                },
                                                                                {
                                                                                    "properties": {
                                                                                        "key": {
                                                                                            "type": "string"
                                                                                        },
                                                                                        "label": {
                                                                                            "anyOf": [
                                                                                                {
                                                                                                    "type": "string"
                                                                                                },
                                                                                                {
                                                                                                    "type": "null"
                                                                                                }
                                                                                            ]
                                                                                        },
                                                                                        "operator": {
                                                                                            "enum": [
                                                                                                "exact",
                                                                                                "is_not",
                                                                                                "icontains",
                                                                                                "not_icontains",
                                                                                                "starts_with",
                                                                                                "not_starts_with",
                                                                                                "ends_with",
                                                                                                "not_ends_with",
                                                                                                "regex",
                                                                                                "not_regex",
                                                                                                "gt",
                                                                                                "gte",
                                                                                                "lt",
                                                                                                "lte",
                                                                                                "is_set",
                                                                                                "is_not_set",
                                                                                                "is_date_exact",
                                                                                                "is_date_before",
                                                                                                "is_date_after",
                                                                                                "between",
                                                                                                "not_between",
                                                                                                "min",
                                                                                                "max",
                                                                                                "in",
                                                                                                "not_in",
                                                                                                "is_cleaned_path_exact",
                                                                                                "is_cleaned_path_not_exact",
                                                                                                "flag_evaluates_to",
                                                                                                "semver_eq",
                                                                                                "semver_neq",
                                                                                                "semver_gt",
                                                                                                "semver_gte",
                                                                                                "semver_lt",
                                                                                                "semver_lte",
                                                                                                "semver_tilde",
                                                                                                "semver_caret",
                                                                                                "semver_wildcard",
                                                                                                "icontains_multi",
                                                                                                "not_icontains_multi"
                                                                                            ],
                                                                                            "type": "string"
                                                                                        },
                                                                                        "type": {
                                                                                            "const": "person",
                                                                                            "default": "person",
                                                                                            "description": "Person properties",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "value": {
                                                                                            "anyOf": [
                                                                                                {
                                                                                                    "items": {
                                                                                                        "anyOf": [
                                                                                                            {
                                                                                                                "type": "string"
                                                                                                            },
                                                                                                            {
                                                                                                                "type": "number"
                                                                                                            },
                                                                                                            {
                                                                                                                "type": "boolean"
                                                                                                            }
                                                                                                        ]
                                                                                                    },
                                                                                                    "type": "array"
                                                                                                },
                                                                                                {
                                                                                                    "type": "string"
                                                                                                },
                                                                                                {
                                                                                                    "type": "number"
                                                                                                },
                                                                                                {
                                                                                                    "type": "boolean"
                                                                                                },
                                                                                                {
                                                                                                    "type": "null"
                                                                                                }
                                                                                            ]
                                                                                        }
                                                                                    },
                                                                                    "required": ["key", "operator"],
                                                                                    "type": "object"
                                                                                },
                                                                                {
                                                                                    "properties": {
                                                                                        "key": {
                                                                                            "enum": [
                                                                                                "tag_name",
                                                                                                "text",
                                                                                                "href",
                                                                                                "selector"
                                                                                            ],
                                                                                            "type": "string"
                                                                                        },
                                                                                        "label": {
                                                                                            "anyOf": [
                                                                                                {
                                                                                                    "type": "string"
                                                                                                },
                                                                                                {
                                                                                                    "type": "null"
                                                                                                }
                                                                                            ]
                                                                                        },
                                                                                        "operator": {
                                                                                            "enum": [
                                                                                                "exact",
                                                                                                "is_not",
                                                                                                "icontains",
                                                                                                "not_icontains",
                                                                                                "starts_with",
                                                                                                "not_starts_with",
                                                                                                "ends_with",
                                                                                                "not_ends_with",
                                                                                                "regex",
                                                                                                "not_regex",
                                                                                                "gt",
                                                                                                "gte",
                                                                                                "lt",
                                                                                                "lte",
                                                                                                "is_set",
                                                                                                "is_not_set",
                                                                                                "is_date_exact",
                                                                                                "is_date_before",
                                                                                                "is_date_after",
                                                                                                "between",
                                                                                                "not_between",
                                                                                                "min",
                                                                                                "max",
                                                                                                "in",
                                                                                                "not_in",
                                                                                                "is_cleaned_path_exact",
                                                                                                "is_cleaned_path_not_exact",
                                                                                                "flag_evaluates_to",
                                                                                                "semver_eq",
                                                                                                "semver_neq",
                                                                                                "semver_gt",
                                                                                                "semver_gte",
                                                                                                "semver_lt",
                                                                                                "semver_lte",
                                                                                                "semver_tilde",
                                                                                                "semver_caret",
                                                                                                "semver_wildcard",
                                                                                                "icontains_multi",
                                                                                                "not_icontains_multi"
                                                                                            ],
                                                                                            "type": "string"
                                                                                        },
                                                                                        "type": {
                                                                                            "const": "element",
                                                                                            "default": "element",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "value": {
                                                                                            "anyOf": [
                                                                                                {
                                                                                                    "items": {
                                                                                                        "anyOf": [
                                                                                                            {
                                                                                                                "type": "string"
                                                                                                            },
                                                                                                            {
                                                                                                                "type": "number"
                                                                                                            },
                                                                                                            {
                                                                                                                "type": "boolean"
                                                                                                            }
                                                                                                        ]
                                                                                                    },
                                                                                                    "type": "array"
                                                                                                },
                                                                                                {
                                                                                                    "type": "string"
                                                                                                },
                                                                                                {
                                                                                                    "type": "number"
                                                                                                },
                                                                                                {
                                                                                                    "type": "boolean"
                                                                                                },
                                                                                                {
                                                                                                    "type": "null"
                                                                                                }
                                                                                            ]
                                                                                        }
                                                                                    },
                                                                                    "required": ["key", "operator"],
                                                                                    "type": "object"
                                                                                },
                                                                                {
                                                                                    "properties": {
                                                                                        "key": {
                                                                                            "type": "string"
                                                                                        },
                                                                                        "label": {
                                                                                            "anyOf": [
                                                                                                {
                                                                                                    "type": "string"
                                                                                                },
                                                                                                {
                                                                                                    "type": "null"
                                                                                                }
                                                                                            ]
                                                                                        },
                                                                                        "operator": {
                                                                                            "enum": [
                                                                                                "exact",
                                                                                                "is_not",
                                                                                                "icontains",
                                                                                                "not_icontains",
                                                                                                "starts_with",
                                                                                                "not_starts_with",
                                                                                                "ends_with",
                                                                                                "not_ends_with",
                                                                                                "regex",
                                                                                                "not_regex",
                                                                                                "gt",
                                                                                                "gte",
                                                                                                "lt",
                                                                                                "lte",
                                                                                                "is_set",
                                                                                                "is_not_set",
                                                                                                "is_date_exact",
                                                                                                "is_date_before",
                                                                                                "is_date_after",
                                                                                                "between",
                                                                                                "not_between",
                                                                                                "min",
                                                                                                "max",
                                                                                                "in",
                                                                                                "not_in",
                                                                                                "is_cleaned_path_exact",
                                                                                                "is_cleaned_path_not_exact",
                                                                                                "flag_evaluates_to",
                                                                                                "semver_eq",
                                                                                                "semver_neq",
                                                                                                "semver_gt",
                                                                                                "semver_gte",
                                                                                                "semver_lt",
                                                                                                "semver_lte",
                                                                                                "semver_tilde",
                                                                                                "semver_caret",
                                                                                                "semver_wildcard",
                                                                                                "icontains_multi",
                                                                                                "not_icontains_multi"
                                                                                            ],
                                                                                            "type": "string"
                                                                                        },
                                                                                        "type": {
                                                                                            "const": "feature",
                                                                                            "default": "feature",
                                                                                            "description": "Event property with \"$feature/\" prepended",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "value": {
                                                                                            "anyOf": [
                                                                                                {
                                                                                                    "items": {
                                                                                                        "anyOf": [
                                                                                                            {
                                                                                                                "type": "string"
                                                                                                            },
                                                                                                            {
                                                                                                                "type": "number"
                                                                                                            },
                                                                                                            {
                                                                                                                "type": "boolean"
                                                                                                            }
                                                                                                        ]
                                                                                                    },
                                                                                                    "type": "array"
                                                                                                },
                                                                                                {
                                                                                                    "type": "string"
                                                                                                },
                                                                                                {
                                                                                                    "type": "number"
                                                                                                },
                                                                                                {
                                                                                                    "type": "boolean"
                                                                                                },
                                                                                                {
                                                                                                    "type": "null"
                                                                                                }
                                                                                            ]
                                                                                        }
                                                                                    },
                                                                                    "required": ["key", "operator"],
                                                                                    "type": "object"
                                                                                },
                                                                                {
                                                                                    "properties": {
                                                                                        "key": {
                                                                                            "type": "string"
                                                                                        },
                                                                                        "label": {
                                                                                            "anyOf": [
                                                                                                {
                                                                                                    "type": "string"
                                                                                                },
                                                                                                {
                                                                                                    "type": "null"
                                                                                                }
                                                                                            ]
                                                                                        },
                                                                                        "type": {
                                                                                            "const": "hogql",
                                                                                            "default": "hogql",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "value": {
                                                                                            "anyOf": [
                                                                                                {
                                                                                                    "items": {
                                                                                                        "anyOf": [
                                                                                                            {
                                                                                                                "type": "string"
                                                                                                            },
                                                                                                            {
                                                                                                                "type": "number"
                                                                                                            },
                                                                                                            {
                                                                                                                "type": "boolean"
                                                                                                            }
                                                                                                        ]
                                                                                                    },
                                                                                                    "type": "array"
                                                                                                },
                                                                                                {
                                                                                                    "type": "string"
                                                                                                },
                                                                                                {
                                                                                                    "type": "number"
                                                                                                },
                                                                                                {
                                                                                                    "type": "boolean"
                                                                                                },
                                                                                                {
                                                                                                    "type": "null"
                                                                                                }
                                                                                            ]
                                                                                        }
                                                                                    },
                                                                                    "required": ["key"],
                                                                                    "type": "object"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ],
                                                                "description": "Extra property filters the matching events must satisfy. Deliberately excludes nested behavioral/cohort filters and groups"
                                                            },
                                                            "event_type": {
                                                                "enum": ["events", "actions"],
                                                                "type": "string"
                                                            },
                                                            "explicit_datetime": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ],
                                                                "description": "Absolute or relative (e.g. -30d) lower date bound — alternative to time_value/time_interval"
                                                            },
                                                            "explicit_datetime_to": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "key": {
                                                                "description": "Event name, or action id when event_type is 'actions'",
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "negation": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ],
                                                                "description": "Match persons who did NOT satisfy the criterion. Not the same as a low count — zero-occurrence persons never match count operators"
                                                            },
                                                            "operator": {
                                                                "anyOf": [
                                                                    {
                                                                        "enum": [
                                                                            "exact",
                                                                            "is_not",
                                                                            "icontains",
                                                                            "not_icontains",
                                                                            "starts_with",
                                                                            "not_starts_with",
                                                                            "ends_with",
                                                                            "not_ends_with",
                                                                            "regex",
                                                                            "not_regex",
                                                                            "gt",
                                                                            "gte",
                                                                            "lt",
                                                                            "lte",
                                                                            "is_set",
                                                                            "is_not_set",
                                                                            "is_date_exact",
                                                                            "is_date_before",
                                                                            "is_date_after",
                                                                            "between",
                                                                            "not_between",
                                                                            "min",
                                                                            "max",
                                                                            "in",
                                                                            "not_in",
                                                                            "is_cleaned_path_exact",
                                                                            "is_cleaned_path_not_exact",
                                                                            "flag_evaluates_to",
                                                                            "semver_eq",
                                                                            "semver_neq",
                                                                            "semver_gt",
                                                                            "semver_gte",
                                                                            "semver_lt",
                                                                            "semver_lte",
                                                                            "semver_tilde",
                                                                            "semver_caret",
                                                                            "semver_wildcard",
                                                                            "icontains_multi",
                                                                            "not_icontains_multi"
                                                                        ],
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ],
                                                                "description": "Count comparison for performed_event_multiple, defaults to exact"
                                                            },
                                                            "operator_value": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ],
                                                                "description": "Count threshold for performed_event_multiple"
                                                            },
                                                            "time_interval": {
                                                                "anyOf": [
                                                                    {
                                                                        "enum": ["day", "week", "month", "year"],
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "time_value": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ],
                                                                "description": "Relative time window size, paired with time_interval"
                                                            },
                                                            "type": {
                                                                "const": "behavioral",
                                                                "default": "behavioral",
                                                                "description": "Person performed (or didn't perform) an event in a time window. ClickHouse-only — not evaluable by flags or CDP",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "enum": ["performed_event", "performed_event_multiple"],
                                                                "type": "string"
                                                            }
                                                        },
                                                        "required": ["event_type", "key", "value"],
                                                        "type": "object"
                                                    }
                                                ]
                                            },
                                            "type": "array"
                                        }
                                    },
                                    "required": ["properties"],
                                    "type": "object"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "Additional event (or action) an entity must emit at/after their first default exposure event before they count as exposed; exposure time becomes this event's timestamp. Only valid with the default exposure event, not a custom `exposure_config`."
                        },
                        "exposure_config": {
                            "anyOf": [
                                {
                                    "properties": {
                                        "event": {
                                            "anyOf": [
                                                {
                                                    "type": "string"
                                                },
                                                {
                                                    "type": "null"
                                                }
                                            ],
                                            "description": "Custom exposure event name. Required when kind is 'ExperimentEventExposureConfig'."
                                        },
                                        "id": {
                                            "anyOf": [
                                                {
                                                    "type": "number"
                                                },
                                                {
                                                    "type": "null"
                                                }
                                            ],
                                            "description": "Action ID. Required when kind is 'ActionsNode'."
                                        },
                                        "kind": {
                                            "anyOf": [
                                                {
                                                    "enum": ["ExperimentEventExposureConfig", "ActionsNode"],
                                                    "type": "string"
                                                },
                                                {
                                                    "type": "null"
                                                }
                                            ],
                                            "description": "Defaults to 'ExperimentEventExposureConfig' when omitted. Pass 'ActionsNode' for an action-based exposure."
                                        },
                                        "properties": {
                                            "description": "Property filters (event, person, and other supported types). Pass an empty array if no filters needed.",
                                            "items": {
                                                "anyOf": [
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "anyOf": [
                                                                    {
                                                                        "enum": [
                                                                            "exact",
                                                                            "is_not",
                                                                            "icontains",
                                                                            "not_icontains",
                                                                            "starts_with",
                                                                            "not_starts_with",
                                                                            "ends_with",
                                                                            "not_ends_with",
                                                                            "regex",
                                                                            "not_regex",
                                                                            "gt",
                                                                            "gte",
                                                                            "lt",
                                                                            "lte",
                                                                            "is_set",
                                                                            "is_not_set",
                                                                            "is_date_exact",
                                                                            "is_date_before",
                                                                            "is_date_after",
                                                                            "between",
                                                                            "not_between",
                                                                            "min",
                                                                            "max",
                                                                            "in",
                                                                            "not_in",
                                                                            "is_cleaned_path_exact",
                                                                            "is_cleaned_path_not_exact",
                                                                            "flag_evaluates_to",
                                                                            "semver_eq",
                                                                            "semver_neq",
                                                                            "semver_gt",
                                                                            "semver_gte",
                                                                            "semver_lt",
                                                                            "semver_lte",
                                                                            "semver_tilde",
                                                                            "semver_caret",
                                                                            "semver_wildcard",
                                                                            "icontains_multi",
                                                                            "not_icontains_multi"
                                                                        ],
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ],
                                                                "default": "exact"
                                                            },
                                                            "type": {
                                                                "const": "event",
                                                                "default": "event",
                                                                "description": "Event properties",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "person",
                                                                "default": "person",
                                                                "description": "Person properties",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "person_metadata",
                                                                "default": "person_metadata",
                                                                "description": "Top-level columns on the persons table (e.g. created_at), not properties JSON",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "enum": ["tag_name", "text", "href", "selector"],
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "element",
                                                                "default": "element",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "event_metadata",
                                                                "default": "event_metadata",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "session",
                                                                "default": "session",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "cohort_deleted": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ],
                                                                "description": "Set by the feature flag API when the cohort is deleted or does not exist."
                                                            },
                                                            "cohort_missing": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ],
                                                                "description": "Set by the feature flag API when the cohort does not exist, so it cannot be restored."
                                                            },
                                                            "cohort_name": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "key": {
                                                                "const": "id",
                                                                "default": "id",
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "anyOf": [
                                                                    {
                                                                        "enum": [
                                                                            "exact",
                                                                            "is_not",
                                                                            "icontains",
                                                                            "not_icontains",
                                                                            "starts_with",
                                                                            "not_starts_with",
                                                                            "ends_with",
                                                                            "not_ends_with",
                                                                            "regex",
                                                                            "not_regex",
                                                                            "gt",
                                                                            "gte",
                                                                            "lt",
                                                                            "lte",
                                                                            "is_set",
                                                                            "is_not_set",
                                                                            "is_date_exact",
                                                                            "is_date_before",
                                                                            "is_date_after",
                                                                            "between",
                                                                            "not_between",
                                                                            "min",
                                                                            "max",
                                                                            "in",
                                                                            "not_in",
                                                                            "is_cleaned_path_exact",
                                                                            "is_cleaned_path_not_exact",
                                                                            "flag_evaluates_to",
                                                                            "semver_eq",
                                                                            "semver_neq",
                                                                            "semver_gt",
                                                                            "semver_gte",
                                                                            "semver_lt",
                                                                            "semver_lte",
                                                                            "semver_tilde",
                                                                            "semver_caret",
                                                                            "semver_wildcard",
                                                                            "icontains_multi",
                                                                            "not_icontains_multi"
                                                                        ],
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ],
                                                                "default": "in"
                                                            },
                                                            "type": {
                                                                "const": "cohort",
                                                                "default": "cohort",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "type": "number"
                                                            }
                                                        },
                                                        "required": ["value"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "anyOf": [
                                                                    {
                                                                        "enum": [
                                                                            "duration",
                                                                            "active_seconds",
                                                                            "inactive_seconds"
                                                                        ],
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    }
                                                                ]
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "recording",
                                                                "default": "recording",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "log_entry",
                                                                "default": "log_entry",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "group_key_names": {
                                                                "anyOf": [
                                                                    {
                                                                        "additionalProperties": {
                                                                            "type": "string"
                                                                        },
                                                                        "propertyNames": {
                                                                            "type": "string"
                                                                        },
                                                                        "type": "object"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "group_type_index": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "group",
                                                                "default": "group",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "feature",
                                                                "default": "feature",
                                                                "description": "Event property with \"$feature/\" prepended",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "description": "The key should be the flag ID",
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "const": "flag_evaluates_to",
                                                                "default": "flag_evaluates_to",
                                                                "description": "Only flag_evaluates_to operator is allowed for flag dependencies",
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "flag",
                                                                "default": "flag",
                                                                "description": "Feature flag dependency",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    }
                                                                ],
                                                                "description": "The value can be true, false, or a variant name"
                                                            }
                                                        },
                                                        "required": ["key", "value"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "type": {
                                                                "const": "hogql",
                                                                "default": "hogql",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "type": {
                                                                "const": "empty",
                                                                "default": "empty",
                                                                "type": "string"
                                                            }
                                                        },
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "data_warehouse",
                                                                "default": "data_warehouse",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "data_warehouse_person_property",
                                                                "default": "data_warehouse_person_property",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "error_tracking_issue",
                                                                "default": "error_tracking_issue",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "enum": [
                                                                    "log",
                                                                    "log_attribute",
                                                                    "log_resource_attribute"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator", "type"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "metric_attribute",
                                                                "default": "metric_attribute",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "enum": [
                                                                    "span",
                                                                    "span_attribute",
                                                                    "span_resource_attribute"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator", "type"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "revenue_analytics",
                                                                "default": "revenue_analytics",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "account_custom_property",
                                                                "default": "account_custom_property",
                                                                "description": "Customer analytics account custom property — the key is the property definition id",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "operator": {
                                                                "enum": [
                                                                    "exact",
                                                                    "is_not",
                                                                    "icontains",
                                                                    "not_icontains",
                                                                    "starts_with",
                                                                    "not_starts_with",
                                                                    "ends_with",
                                                                    "not_ends_with",
                                                                    "regex",
                                                                    "not_regex",
                                                                    "gt",
                                                                    "gte",
                                                                    "lt",
                                                                    "lte",
                                                                    "is_set",
                                                                    "is_not_set",
                                                                    "is_date_exact",
                                                                    "is_date_before",
                                                                    "is_date_after",
                                                                    "between",
                                                                    "not_between",
                                                                    "min",
                                                                    "max",
                                                                    "in",
                                                                    "not_in",
                                                                    "is_cleaned_path_exact",
                                                                    "is_cleaned_path_not_exact",
                                                                    "flag_evaluates_to",
                                                                    "semver_eq",
                                                                    "semver_neq",
                                                                    "semver_gt",
                                                                    "semver_gte",
                                                                    "semver_lt",
                                                                    "semver_lte",
                                                                    "semver_tilde",
                                                                    "semver_caret",
                                                                    "semver_wildcard",
                                                                    "icontains_multi",
                                                                    "not_icontains_multi"
                                                                ],
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "const": "workflow_variable",
                                                                "default": "workflow_variable",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "string"
                                                                                },
                                                                                {
                                                                                    "type": "number"
                                                                                },
                                                                                {
                                                                                    "type": "boolean"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": ["key", "operator"],
                                                        "type": "object"
                                                    },
                                                    {
                                                        "properties": {
                                                            "event_filters": {
                                                                "anyOf": [
                                                                    {
                                                                        "items": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "properties": {
                                                                                        "key": {
                                                                                            "type": "string"
                                                                                        },
                                                                                        "label": {
                                                                                            "anyOf": [
                                                                                                {
                                                                                                    "type": "string"
                                                                                                },
                                                                                                {
                                                                                                    "type": "null"
                                                                                                }
                                                                                            ]
                                                                                        },
                                                                                        "operator": {
                                                                                            "anyOf": [
                                                                                                {
                                                                                                    "enum": [
                                                                                                        "exact",
                                                                                                        "is_not",
                                                                                                        "icontains",
                                                                                                        "not_icontains",
                                                                                                        "starts_with",
                                                                                                        "not_starts_with",
                                                                                                        "ends_with",
                                                                                                        "not_ends_with",
                                                                                                        "regex",
                                                                                                        "not_regex",
                                                                                                        "gt",
                                                                                                        "gte",
                                                                                                        "lt",
                                                                                                        "lte",
                                                                                                        "is_set",
                                                                                                        "is_not_set",
                                                                                                        "is_date_exact",
                                                                                                        "is_date_before",
                                                                                                        "is_date_after",
                                                                                                        "between",
                                                                                                        "not_between",
                                                                                                        "min",
                                                                                                        "max",
                                                                                                        "in",
                                                                                                        "not_in",
                                                                                                        "is_cleaned_path_exact",
                                                                                                        "is_cleaned_path_not_exact",
                                                                                                        "flag_evaluates_to",
                                                                                                        "semver_eq",
                                                                                                        "semver_neq",
                                                                                                        "semver_gt",
                                                                                                        "semver_gte",
                                                                                                        "semver_lt",
                                                                                                        "semver_lte",
                                                                                                        "semver_tilde",
                                                                                                        "semver_caret",
                                                                                                        "semver_wildcard",
                                                                                                        "icontains_multi",
                                                                                                        "not_icontains_multi"
                                                                                                    ],
                                                                                                    "type": "string"
                                                                                                },
                                                                                                {
                                                                                                    "type": "null"
                                                                                                }
                                                                                            ],
                                                                                            "default": "exact"
                                                                                        },
                                                                                        "type": {
                                                                                            "const": "event",
                                                                                            "default": "event",
                                                                                            "description": "Event properties",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "value": {
                                                                                            "anyOf": [
                                                                                                {
                                                                                                    "items": {
                                                                                                        "anyOf": [
                                                                                                            {
                                                                                                                "type": "string"
                                                                                                            },
                                                                                                            {
                                                                                                                "type": "number"
                                                                                                            },
                                                                                                            {
                                                                                                                "type": "boolean"
                                                                                                            }
                                                                                                        ]
                                                                                                    },
                                                                                                    "type": "array"
                                                                                                },
                                                                                                {
                                                                                                    "type": "string"
                                                                                                },
                                                                                                {
                                                                                                    "type": "number"
                                                                                                },
                                                                                                {
                                                                                                    "type": "boolean"
                                                                                                },
                                                                                                {
                                                                                                    "type": "null"
                                                                                                }
                                                                                            ]
                                                                                        }
                                                                                    },
                                                                                    "required": ["key"],
                                                                                    "type": "object"
                                                                                },
                                                                                {
                                                                                    "properties": {
                                                                                        "key": {
                                                                                            "type": "string"
                                                                                        },
                                                                                        "label": {
                                                                                            "anyOf": [
                                                                                                {
                                                                                                    "type": "string"
                                                                                                },
                                                                                                {
                                                                                                    "type": "null"
                                                                                                }
                                                                                            ]
                                                                                        },
                                                                                        "operator": {
                                                                                            "enum": [
                                                                                                "exact",
                                                                                                "is_not",
                                                                                                "icontains",
                                                                                                "not_icontains",
                                                                                                "starts_with",
                                                                                                "not_starts_with",
                                                                                                "ends_with",
                                                                                                "not_ends_with",
                                                                                                "regex",
                                                                                                "not_regex",
                                                                                                "gt",
                                                                                                "gte",
                                                                                                "lt",
                                                                                                "lte",
                                                                                                "is_set",
                                                                                                "is_not_set",
                                                                                                "is_date_exact",
                                                                                                "is_date_before",
                                                                                                "is_date_after",
                                                                                                "between",
                                                                                                "not_between",
                                                                                                "min",
                                                                                                "max",
                                                                                                "in",
                                                                                                "not_in",
                                                                                                "is_cleaned_path_exact",
                                                                                                "is_cleaned_path_not_exact",
                                                                                                "flag_evaluates_to",
                                                                                                "semver_eq",
                                                                                                "semver_neq",
                                                                                                "semver_gt",
                                                                                                "semver_gte",
                                                                                                "semver_lt",
                                                                                                "semver_lte",
                                                                                                "semver_tilde",
                                                                                                "semver_caret",
                                                                                                "semver_wildcard",
                                                                                                "icontains_multi",
                                                                                                "not_icontains_multi"
                                                                                            ],
                                                                                            "type": "string"
                                                                                        },
                                                                                        "type": {
                                                                                            "const": "person",
                                                                                            "default": "person",
                                                                                            "description": "Person properties",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "value": {
                                                                                            "anyOf": [
                                                                                                {
                                                                                                    "items": {
                                                                                                        "anyOf": [
                                                                                                            {
                                                                                                                "type": "string"
                                                                                                            },
                                                                                                            {
                                                                                                                "type": "number"
                                                                                                            },
                                                                                                            {
                                                                                                                "type": "boolean"
                                                                                                            }
                                                                                                        ]
                                                                                                    },
                                                                                                    "type": "array"
                                                                                                },
                                                                                                {
                                                                                                    "type": "string"
                                                                                                },
                                                                                                {
                                                                                                    "type": "number"
                                                                                                },
                                                                                                {
                                                                                                    "type": "boolean"
                                                                                                },
                                                                                                {
                                                                                                    "type": "null"
                                                                                                }
                                                                                            ]
                                                                                        }
                                                                                    },
                                                                                    "required": ["key", "operator"],
                                                                                    "type": "object"
                                                                                },
                                                                                {
                                                                                    "properties": {
                                                                                        "key": {
                                                                                            "enum": [
                                                                                                "tag_name",
                                                                                                "text",
                                                                                                "href",
                                                                                                "selector"
                                                                                            ],
                                                                                            "type": "string"
                                                                                        },
                                                                                        "label": {
                                                                                            "anyOf": [
                                                                                                {
                                                                                                    "type": "string"
                                                                                                },
                                                                                                {
                                                                                                    "type": "null"
                                                                                                }
                                                                                            ]
                                                                                        },
                                                                                        "operator": {
                                                                                            "enum": [
                                                                                                "exact",
                                                                                                "is_not",
                                                                                                "icontains",
                                                                                                "not_icontains",
                                                                                                "starts_with",
                                                                                                "not_starts_with",
                                                                                                "ends_with",
                                                                                                "not_ends_with",
                                                                                                "regex",
                                                                                                "not_regex",
                                                                                                "gt",
                                                                                                "gte",
                                                                                                "lt",
                                                                                                "lte",
                                                                                                "is_set",
                                                                                                "is_not_set",
                                                                                                "is_date_exact",
                                                                                                "is_date_before",
                                                                                                "is_date_after",
                                                                                                "between",
                                                                                                "not_between",
                                                                                                "min",
                                                                                                "max",
                                                                                                "in",
                                                                                                "not_in",
                                                                                                "is_cleaned_path_exact",
                                                                                                "is_cleaned_path_not_exact",
                                                                                                "flag_evaluates_to",
                                                                                                "semver_eq",
                                                                                                "semver_neq",
                                                                                                "semver_gt",
                                                                                                "semver_gte",
                                                                                                "semver_lt",
                                                                                                "semver_lte",
                                                                                                "semver_tilde",
                                                                                                "semver_caret",
                                                                                                "semver_wildcard",
                                                                                                "icontains_multi",
                                                                                                "not_icontains_multi"
                                                                                            ],
                                                                                            "type": "string"
                                                                                        },
                                                                                        "type": {
                                                                                            "const": "element",
                                                                                            "default": "element",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "value": {
                                                                                            "anyOf": [
                                                                                                {
                                                                                                    "items": {
                                                                                                        "anyOf": [
                                                                                                            {
                                                                                                                "type": "string"
                                                                                                            },
                                                                                                            {
                                                                                                                "type": "number"
                                                                                                            },
                                                                                                            {
                                                                                                                "type": "boolean"
                                                                                                            }
                                                                                                        ]
                                                                                                    },
                                                                                                    "type": "array"
                                                                                                },
                                                                                                {
                                                                                                    "type": "string"
                                                                                                },
                                                                                                {
                                                                                                    "type": "number"
                                                                                                },
                                                                                                {
                                                                                                    "type": "boolean"
                                                                                                },
                                                                                                {
                                                                                                    "type": "null"
                                                                                                }
                                                                                            ]
                                                                                        }
                                                                                    },
                                                                                    "required": ["key", "operator"],
                                                                                    "type": "object"
                                                                                },
                                                                                {
                                                                                    "properties": {
                                                                                        "key": {
                                                                                            "type": "string"
                                                                                        },
                                                                                        "label": {
                                                                                            "anyOf": [
                                                                                                {
                                                                                                    "type": "string"
                                                                                                },
                                                                                                {
                                                                                                    "type": "null"
                                                                                                }
                                                                                            ]
                                                                                        },
                                                                                        "operator": {
                                                                                            "enum": [
                                                                                                "exact",
                                                                                                "is_not",
                                                                                                "icontains",
                                                                                                "not_icontains",
                                                                                                "starts_with",
                                                                                                "not_starts_with",
                                                                                                "ends_with",
                                                                                                "not_ends_with",
                                                                                                "regex",
                                                                                                "not_regex",
                                                                                                "gt",
                                                                                                "gte",
                                                                                                "lt",
                                                                                                "lte",
                                                                                                "is_set",
                                                                                                "is_not_set",
                                                                                                "is_date_exact",
                                                                                                "is_date_before",
                                                                                                "is_date_after",
                                                                                                "between",
                                                                                                "not_between",
                                                                                                "min",
                                                                                                "max",
                                                                                                "in",
                                                                                                "not_in",
                                                                                                "is_cleaned_path_exact",
                                                                                                "is_cleaned_path_not_exact",
                                                                                                "flag_evaluates_to",
                                                                                                "semver_eq",
                                                                                                "semver_neq",
                                                                                                "semver_gt",
                                                                                                "semver_gte",
                                                                                                "semver_lt",
                                                                                                "semver_lte",
                                                                                                "semver_tilde",
                                                                                                "semver_caret",
                                                                                                "semver_wildcard",
                                                                                                "icontains_multi",
                                                                                                "not_icontains_multi"
                                                                                            ],
                                                                                            "type": "string"
                                                                                        },
                                                                                        "type": {
                                                                                            "const": "feature",
                                                                                            "default": "feature",
                                                                                            "description": "Event property with \"$feature/\" prepended",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "value": {
                                                                                            "anyOf": [
                                                                                                {
                                                                                                    "items": {
                                                                                                        "anyOf": [
                                                                                                            {
                                                                                                                "type": "string"
                                                                                                            },
                                                                                                            {
                                                                                                                "type": "number"
                                                                                                            },
                                                                                                            {
                                                                                                                "type": "boolean"
                                                                                                            }
                                                                                                        ]
                                                                                                    },
                                                                                                    "type": "array"
                                                                                                },
                                                                                                {
                                                                                                    "type": "string"
                                                                                                },
                                                                                                {
                                                                                                    "type": "number"
                                                                                                },
                                                                                                {
                                                                                                    "type": "boolean"
                                                                                                },
                                                                                                {
                                                                                                    "type": "null"
                                                                                                }
                                                                                            ]
                                                                                        }
                                                                                    },
                                                                                    "required": ["key", "operator"],
                                                                                    "type": "object"
                                                                                },
                                                                                {
                                                                                    "properties": {
                                                                                        "key": {
                                                                                            "type": "string"
                                                                                        },
                                                                                        "label": {
                                                                                            "anyOf": [
                                                                                                {
                                                                                                    "type": "string"
                                                                                                },
                                                                                                {
                                                                                                    "type": "null"
                                                                                                }
                                                                                            ]
                                                                                        },
                                                                                        "type": {
                                                                                            "const": "hogql",
                                                                                            "default": "hogql",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "value": {
                                                                                            "anyOf": [
                                                                                                {
                                                                                                    "items": {
                                                                                                        "anyOf": [
                                                                                                            {
                                                                                                                "type": "string"
                                                                                                            },
                                                                                                            {
                                                                                                                "type": "number"
                                                                                                            },
                                                                                                            {
                                                                                                                "type": "boolean"
                                                                                                            }
                                                                                                        ]
                                                                                                    },
                                                                                                    "type": "array"
                                                                                                },
                                                                                                {
                                                                                                    "type": "string"
                                                                                                },
                                                                                                {
                                                                                                    "type": "number"
                                                                                                },
                                                                                                {
                                                                                                    "type": "boolean"
                                                                                                },
                                                                                                {
                                                                                                    "type": "null"
                                                                                                }
                                                                                            ]
                                                                                        }
                                                                                    },
                                                                                    "required": ["key"],
                                                                                    "type": "object"
                                                                                }
                                                                            ]
                                                                        },
                                                                        "type": "array"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ],
                                                                "description": "Extra property filters the matching events must satisfy. Deliberately excludes nested behavioral/cohort filters and groups"
                                                            },
                                                            "event_type": {
                                                                "enum": ["events", "actions"],
                                                                "type": "string"
                                                            },
                                                            "explicit_datetime": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ],
                                                                "description": "Absolute or relative (e.g. -30d) lower date bound — alternative to time_value/time_interval"
                                                            },
                                                            "explicit_datetime_to": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "key": {
                                                                "description": "Event name, or action id when event_type is 'actions'",
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "negation": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "boolean"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ],
                                                                "description": "Match persons who did NOT satisfy the criterion. Not the same as a low count — zero-occurrence persons never match count operators"
                                                            },
                                                            "operator": {
                                                                "anyOf": [
                                                                    {
                                                                        "enum": [
                                                                            "exact",
                                                                            "is_not",
                                                                            "icontains",
                                                                            "not_icontains",
                                                                            "starts_with",
                                                                            "not_starts_with",
                                                                            "ends_with",
                                                                            "not_ends_with",
                                                                            "regex",
                                                                            "not_regex",
                                                                            "gt",
                                                                            "gte",
                                                                            "lt",
                                                                            "lte",
                                                                            "is_set",
                                                                            "is_not_set",
                                                                            "is_date_exact",
                                                                            "is_date_before",
                                                                            "is_date_after",
                                                                            "between",
                                                                            "not_between",
                                                                            "min",
                                                                            "max",
                                                                            "in",
                                                                            "not_in",
                                                                            "is_cleaned_path_exact",
                                                                            "is_cleaned_path_not_exact",
                                                                            "flag_evaluates_to",
                                                                            "semver_eq",
                                                                            "semver_neq",
                                                                            "semver_gt",
                                                                            "semver_gte",
                                                                            "semver_lt",
                                                                            "semver_lte",
                                                                            "semver_tilde",
                                                                            "semver_caret",
                                                                            "semver_wildcard",
                                                                            "icontains_multi",
                                                                            "not_icontains_multi"
                                                                        ],
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ],
                                                                "description": "Count comparison for performed_event_multiple, defaults to exact"
                                                            },
                                                            "operator_value": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ],
                                                                "description": "Count threshold for performed_event_multiple"
                                                            },
                                                            "time_interval": {
                                                                "anyOf": [
                                                                    {
                                                                        "enum": ["day", "week", "month", "year"],
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ]
                                                            },
                                                            "time_value": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "number"
                                                                    },
                                                                    {
                                                                        "type": "null"
                                                                    }
                                                                ],
                                                                "description": "Relative time window size, paired with time_interval"
                                                            },
                                                            "type": {
                                                                "const": "behavioral",
                                                                "default": "behavioral",
                                                                "description": "Person performed (or didn't perform) an event in a time window. ClickHouse-only — not evaluable by flags or CDP",
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "enum": ["performed_event", "performed_event_multiple"],
                                                                "type": "string"
                                                            }
                                                        },
                                                        "required": ["event_type", "key", "value"],
                                                        "type": "object"
                                                    }
                                                ]
                                            },
                                            "type": "array"
                                        }
                                    },
                                    "required": ["properties"],
                                    "type": "object"
                                },
                                {
                                    "type": "null"
                                }
                            ]
                        },
                        "filterTestAccounts": {
                            "anyOf": [
                                {
                                    "type": "boolean"
                                },
                                {
                                    "type": "null"
                                }
                            ]
                        },
                        "multiple_variant_handling": {
                            "anyOf": [
                                {
                                    "enum": ["exclude", "first_seen"],
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "How to handle entities exposed to multiple variants. 'exclude' (default) drops them from the analysis; 'first_seen' assigns them to the variant from their earliest exposure."
                        }
                    },
                    "type": "object"
                },
                {
                    "type": "null"
                }
            ],
            "description": "Exposure configuration including filter test accounts and custom exposure events."
        },
        "feature_flag": {
            "description": "Variant split, rollout scope, payloads, and experience continuity for the auto-created feature flag, in the flag's own filters shape. This is the canonical input for flag config. If the user mentions a specific percentage, load the configuring-experiment-rollout skill and clarify before setting these values. Set filters.multivariate.variants (each with key and rollout_percentage; percentages must sum to 100) to customize the variant split. Set filters.groups to a single group [{\"properties\": [], \"rollout_percentage\": N}] (0-100) to control the overall fraction of users entering the experiment. Default: 50/50 control/test, 100% rollout. Omit this parameter entirely when feature_flag_key refers to a pre-existing flag: the experiment links to that flag as-is and explicit config is rejected. No specific variant key is required. The analysis baseline defaults to the variant keyed `control` (lowercase) when present, else the first variant; override with stats_config.baseline_variant_key. Convention: when the user describes variants as \"A/B\", \"old/new\", \"original/redesign\", or any other natural-language pair without naming explicit keys, key the baseline `control` and keep their wording in the variant `name`. When the user asks for specific keys, use them as-is and put the baseline first.",
            "properties": {
                "ensure_experience_continuity": {
                    "anyOf": [
                        {
                            "type": "boolean"
                        },
                        {
                            "type": "null"
                        }
                    ],
                    "description": "Whether the flag persists variant assignment across authentication steps."
                },
                "filters": {
                    "description": "Flag config to apply: `multivariate.variants` (2 to 20 variants; the baseline defaults to the variant keyed 'control' when present, else the first variant), `groups` (a single group with `rollout_percentage` only; release conditions are not supported here, edit the feature flag directly), `aggregation_group_type_index`, and `payloads` (JSON-encoded strings keyed by variant key). On update, config this object omits is preserved from the linked flag's current state.",
                    "properties": {
                        "aggregation_group_type_index": {
                            "anyOf": [
                                {
                                    "type": "number"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "Group type index for group-based feature flags."
                        },
                        "groups": {
                            "description": "Overall rollout as a single group: [{\"properties\": [], \"rollout_percentage\": N}].",
                            "items": {
                                "description": "A single release-condition group carrying only the overall rollout percentage, the one\ngroups entry the experiment input applies.",
                                "properties": {
                                    "properties": {
                                        "description": "Must be empty or omitted: release-condition properties are not supported via the experiment input. Edit the feature flag directly for targeting.",
                                        "items": {},
                                        "maxItems": 0,
                                        "type": "array"
                                    },
                                    "rollout_percentage": {
                                        "anyOf": [
                                            {
                                                "maximum": 100,
                                                "minimum": 0,
                                                "type": "number"
                                            },
                                            {
                                                "type": "null"
                                            }
                                        ],
                                        "description": "Percentage of users who enter the experiment (0-100)."
                                    }
                                },
                                "type": "object"
                            },
                            "type": "array"
                        },
                        "multivariate": {
                            "anyOf": [
                                {
                                    "description": "Multivariate config for the experiment's feature flag.",
                                    "properties": {
                                        "variants": {
                                            "description": "Variant definitions (2 to 20). The baseline defaults to the variant keyed 'control' when present, else the first variant.",
                                            "items": {
                                                "description": "A single multivariate variant. Extra per-variant keys are dropped.",
                                                "properties": {
                                                    "key": {
                                                        "description": "Unique variant key. The baseline defaults to the variant keyed 'control' when present, else the first variant.",
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "description": "Human-readable variant name.",
                                                        "type": "string"
                                                    },
                                                    "rollout_percentage": {
                                                        "description": "Variant rollout percentage (0-100). Across variants these must sum to 100.",
                                                        "maximum": 100,
                                                        "minimum": 0,
                                                        "type": "number"
                                                    }
                                                },
                                                "required": ["key", "rollout_percentage"],
                                                "type": "object"
                                            },
                                            "type": "array"
                                        }
                                    },
                                    "required": ["variants"],
                                    "type": "object"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "Multivariate variant configuration."
                        },
                        "payloads": {
                            "additionalProperties": {
                                "type": "string"
                            },
                            "description": "Optional payload values keyed by variant key.",
                            "propertyNames": {
                                "type": "string"
                            },
                            "type": "object"
                        }
                    },
                    "type": "object"
                }
            },
            "type": "object"
        },
        "feature_flag_key": {
            "description": "Unique key for the experiment's feature flag. Letters, numbers, hyphens, and underscores only. Search existing flags with the feature-flag-get-all tool first — reuse an existing flag when possible.",
            "type": "string"
        },
        "holdout_id": {
            "anyOf": [
                {
                    "type": "number"
                },
                {
                    "type": "null"
                }
            ],
            "description": "ID of a holdout group to exclude from the experiment."
        },
        "name": {
            "description": "Name of the experiment.",
            "maxLength": 400,
            "type": "string"
        },
        "running_time_calculation": {
            "anyOf": [
                {
                    "properties": {
                        "exposure_estimate_config": {
                            "anyOf": [
                                {
                                    "properties": {
                                        "conversionRateInputType": {
                                            "description": "'manual' when the baseline value and exposure rate were entered by hand, 'automatic' when derived from live experiment data.",
                                            "enum": ["manual", "automatic"],
                                            "type": "string"
                                        },
                                        "manualBaselineValue": {
                                            "anyOf": [
                                                {
                                                    "type": "number"
                                                },
                                                {
                                                    "type": "null"
                                                }
                                            ],
                                            "description": "Manually entered baseline metric value (a conversion percentage for funnel metrics). Only used in manual mode."
                                        },
                                        "manualExposureRate": {
                                            "anyOf": [
                                                {
                                                    "type": "number"
                                                },
                                                {
                                                    "type": "null"
                                                }
                                            ],
                                            "description": "Manually entered estimate of users exposed to the experiment per day. Only used in manual mode."
                                        },
                                        "manualMetricType": {
                                            "anyOf": [
                                                {
                                                    "enum": ["funnel", "mean_count", "mean_sum_or_avg"],
                                                    "type": "string"
                                                },
                                                {
                                                    "type": "null"
                                                }
                                            ],
                                            "description": "Metric type the manual baseline value refers to. Only used in manual mode."
                                        }
                                    },
                                    "required": ["conversionRateInputType"],
                                    "type": "object"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "How the exposure estimate is configured: manual user-entered values or automatic from live experiment data."
                        },
                        "minimum_detectable_effect": {
                            "anyOf": [
                                {
                                    "type": "number"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "Minimum detectable effect as a percentage. Lower values need more users but catch smaller changes."
                        },
                        "recommended_running_time": {
                            "anyOf": [
                                {
                                    "type": "number"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "Estimated number of days needed to reach the recommended sample size."
                        },
                        "recommended_sample_size": {
                            "anyOf": [
                                {
                                    "type": "number"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "Recommended number of exposed users needed for statistical significance."
                        }
                    },
                    "type": "object"
                },
                {
                    "type": "null"
                }
            ],
            "description": "Persist a running-time / sample-size plan onto the experiment (the planning target shown in the experiment's running-time panel). Object with optional keys: minimum_detectable_effect (percentage, e.g. 20 for a 20% lift), recommended_sample_size (total across all variants), recommended_running_time (days), and exposure_estimate_config. When minimum_detectable_effect is omitted, the project's default MDE is stored instead, if the project has one."
        },
        "stats_config": {},
        "tags": {
            "description": "Organizational tags for this experiment (up to 100, 255 characters each).",
            "items": {
                "maxLength": 255,
                "type": "string"
            },
            "maxItems": 100,
            "type": "array"
        },
        "variant_notes": {
            "additionalProperties": {
                "type": "string"
            },
            "description": "Free-text notes per variant, keyed by variant key, shown under each variant in the experiment view. Use them to document what each variant changes. On update, only the variants you pass change and the notes of other variants stay. Pass an empty string to clear the note of a variant.",
            "propertyNames": {
                "type": "string"
            },
            "type": "object"
        },
        "variant_screenshot_media_ids": {
            "additionalProperties": {
                "items": {
                    "type": "string"
                },
                "type": "array"
            },
            "description": "Screenshot media IDs per variant, keyed by variant key, shown under each variant in the experiment view. Each value is the complete list of uploaded media IDs for that variant. To add a screenshot, upload the image with media-image-upload-start and media-image-upload-complete with purpose \"experiment\", then pass the returned id here. On update, only the variants you pass change and the screenshots of other variants stay. Pass an empty list to remove all screenshots of a variant.",
            "propertyNames": {
                "type": "string"
            },
            "type": "object"
        }
    },
    "required": ["name", "feature_flag_key"],
    "type": "object"
}