{
  "$meta": {
    "package": "@walkeros/web-destination-mixpanel",
    "version": "4.2.1",
    "type": "destination",
    "platform": [
      "web"
    ],
    "docs": "https://www.walkeros.io/docs/destinations/web/mixpanel",
    "source": "https://github.com/elbwalker/walkerOS/tree/main/packages/web/destinations/mixpanel/src"
  },
  "schemas": {
    "mapping": {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "type": "object",
      "properties": {
        "identify": {
          "description": "Per-event identity mapping. Resolves to { distinctId } → mixpanel.identify(distinctId)."
        },
        "people": {
          "description": "Per-event people operations. Resolves to an object with any of: set, set_once, increment, append, union, remove, unset, delete_user. Each key fires a separate mixpanel.people.* call."
        },
        "group": {
          "description": "Per-event group assignment. Resolves to { key, id } → mixpanel.set_group(key, id)."
        },
        "groupProfile": {
          "description": "Per-event group profile operations. Resolves to { key, id, set?, set_once?, unset?, union?, remove?, delete? } → mixpanel.get_group(key, id).set/... calls."
        },
        "reset": {
          "description": "Logout trigger. Resolves to a truthy value → mixpanel.reset(). Typically used with silent: true on a user logout rule."
        }
      },
      "additionalProperties": false
    },
    "settings": {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "type": "object",
      "properties": {
        "apiKey": {
          "type": "string",
          "minLength": 1,
          "description": "Your Mixpanel project token. Find it in your Mixpanel project settings under \"Project Settings\" and \"Access Keys\". Passed to mixpanel.init() as the first argument (like a1b2c3d4e5f6789012345678abcdef12)."
        },
        "api_host": {
          "type": "string",
          "description": "Mixpanel ingestion host. Default: https://api-js.mixpanel.com. Use https://api-eu.mixpanel.com for EU residency."
        },
        "persistence": {
          "type": "string",
          "enum": [
            "cookie",
            "localStorage"
          ],
          "description": "Client-side persistence backend. Default: cookie."
        },
        "cross_subdomain_cookie": {
          "type": "boolean",
          "description": "Share cookie across subdomains. Default: true."
        },
        "cookie_expiration": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991,
          "description": "Cookie expiration in days. Default: 365."
        },
        "secure_cookie": {
          "type": "boolean",
          "description": "Only send cookie over HTTPS. Default: false."
        },
        "ip": {
          "type": "boolean",
          "description": "Enable server-side IP geolocation. Default: true."
        },
        "batch_requests": {
          "type": "boolean",
          "description": "Use the /batch endpoint instead of individual requests. Default: true."
        },
        "batch_size": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991,
          "description": "Max events per batch. Default: 50."
        },
        "batch_flush_interval_ms": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991,
          "description": "Batch flush interval in ms. Default: 5000."
        },
        "debug": {
          "type": "boolean",
          "description": "Enable verbose SDK logging. Default: false."
        },
        "opt_out_tracking_by_default": {
          "type": "boolean",
          "description": "Start in opted-out state until opt_in_tracking() is called. Default: false."
        },
        "track_pageview": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "string"
            }
          ],
          "description": "Enable Mixpanel auto-pageview tracking. walkerOS default: false — walkerOS sources handle page views."
        },
        "autocapture": {
          "description": "Enable Mixpanel web autocapture. walkerOS default: false — walkerOS sources handle event capture."
        },
        "record_sessions_percent": {
          "type": "number",
          "minimum": 0,
          "maximum": 100,
          "description": "Session replay sampling rate (0-100). Default: 0 (disabled). Session replay is bundled in the npm build."
        },
        "record_mask_all_inputs": {
          "type": "boolean",
          "description": "Mask all input values in session replay. Default: true."
        },
        "identify": {
          "description": "walkerOS mapping value resolving to an identity object. Keys: distinctId."
        },
        "group": {
          "description": "walkerOS mapping value resolving to { key, id } → mixpanel.set_group(key, id). Runs on destination init or per-event."
        }
      },
      "required": [
        "apiKey"
      ],
      "additionalProperties": false
    }
  },
  "examples": {
    "env": {
      "init": {
        "mixpanel": {
          "init": {
            "$code": "()=>{}"
          },
          "track": {
            "$code": "()=>{}"
          },
          "identify": {
            "$code": "()=>{}"
          },
          "reset": {
            "$code": "()=>{}"
          },
          "set_group": {
            "$code": "()=>{}"
          },
          "get_group": {
            "$code": "()=>m"
          },
          "opt_in_tracking": {
            "$code": "()=>{}"
          },
          "opt_out_tracking": {
            "$code": "()=>{}"
          },
          "stop_batch_senders": {
            "$code": "()=>{}"
          },
          "people": {
            "set": {
              "$code": "()=>{}"
            },
            "set_once": {
              "$code": "()=>{}"
            },
            "increment": {
              "$code": "()=>{}"
            },
            "append": {
              "$code": "()=>{}"
            },
            "union": {
              "$code": "()=>{}"
            },
            "remove": {
              "$code": "()=>{}"
            },
            "unset": {
              "$code": "()=>{}"
            },
            "delete_user": {
              "$code": "()=>{}"
            }
          }
        }
      },
      "push": {
        "mixpanel": {
          "init": {
            "$code": "()=>{}"
          },
          "track": {
            "$code": "()=>{}"
          },
          "identify": {
            "$code": "()=>{}"
          },
          "reset": {
            "$code": "()=>{}"
          },
          "set_group": {
            "$code": "()=>{}"
          },
          "get_group": {
            "$code": "()=>m"
          },
          "opt_in_tracking": {
            "$code": "()=>{}"
          },
          "opt_out_tracking": {
            "$code": "()=>{}"
          },
          "stop_batch_senders": {
            "$code": "()=>{}"
          },
          "people": {
            "set": {
              "$code": "()=>{}"
            },
            "set_once": {
              "$code": "()=>{}"
            },
            "increment": {
              "$code": "()=>{}"
            },
            "append": {
              "$code": "()=>{}"
            },
            "union": {
              "$code": "()=>{}"
            },
            "remove": {
              "$code": "()=>{}"
            },
            "unset": {
              "$code": "()=>{}"
            },
            "delete_user": {
              "$code": "()=>{}"
            }
          }
        }
      },
      "simulation": [
        "call:mixpanel.init",
        "call:mixpanel.track",
        "call:mixpanel.identify",
        "call:mixpanel.reset",
        "call:mixpanel.set_group",
        "call:mixpanel.get_group",
        "call:mixpanel.opt_in_tracking",
        "call:mixpanel.opt_out_tracking",
        "call:mixpanel.people.set",
        "call:mixpanel.people.set_once",
        "call:mixpanel.people.increment",
        "call:mixpanel.people.append",
        "call:mixpanel.people.union",
        "call:mixpanel.people.remove",
        "call:mixpanel.people.unset",
        "call:mixpanel.people.delete_user"
      ]
    },
    "step": {
      "accountDeleteUser": {
        "title": "Delete user",
        "description": "An account delete fires Mixpanel people.delete_user to remove the user profile from the project.",
        "in": {
          "name": "account delete",
          "data": {
            "string": "foo",
            "number": 1,
            "boolean": true,
            "array": [
              0,
              "text",
              false
            ]
          },
          "context": {
            "dev": [
              "test",
              1
            ]
          },
          "globals": {
            "lang": "elb"
          },
          "custom": {
            "completely": "random"
          },
          "user": {
            "id": "us3r",
            "device": "c00k13",
            "session": "s3ss10n"
          },
          "nested": [
            {
              "entity": "child",
              "data": {
                "is": "subordinated"
              }
            }
          ],
          "consent": {
            "functional": true
          },
          "id": "2f3fe0d41a190333",
          "trigger": "test",
          "entity": "account",
          "action": "delete",
          "timestamp": 1700000107,
          "timing": 3.14,
          "source": {
            "count": 1,
            "trace": "0a1b2c3d4e5f60718293a4b5c6d7e8f9",
            "type": "collector",
            "schema": "4"
          }
        },
        "mapping": {
          "silent": true,
          "settings": {
            "people": {
              "map": {
                "delete_user": {
                  "value": true
                }
              }
            }
          }
        },
        "out": [
          [
            "mixpanel.people.delete_user"
          ]
        ]
      },
      "companyUpdateGroupProfile": {
        "title": "Group profile",
        "description": "A company update sets Mixpanel group profile properties via get_group.set and get_group.set_once.",
        "in": {
          "name": "company update",
          "data": {
            "company_id": "acme-inc",
            "company_name": "Acme, Inc.",
            "plan": "enterprise",
            "employee_count": 250,
            "founded_year": 2010
          },
          "context": {
            "dev": [
              "test",
              1
            ]
          },
          "globals": {
            "lang": "elb"
          },
          "custom": {
            "completely": "random"
          },
          "user": {
            "id": "us3r",
            "device": "c00k13",
            "session": "s3ss10n"
          },
          "nested": [
            {
              "entity": "child",
              "data": {
                "is": "subordinated"
              }
            }
          ],
          "consent": {
            "functional": true
          },
          "id": "e5b8f167c45726dc",
          "trigger": "test",
          "entity": "company",
          "action": "update",
          "timestamp": 1700000110,
          "timing": 3.14,
          "source": {
            "count": 1,
            "trace": "0a1b2c3d4e5f60718293a4b5c6d7e8f9",
            "type": "collector",
            "schema": "4"
          }
        },
        "mapping": {
          "silent": true,
          "settings": {
            "groupProfile": {
              "map": {
                "key": {
                  "value": "company_id"
                },
                "id": "data.company_id",
                "set": {
                  "map": {
                    "name": "data.company_name",
                    "plan": "data.plan",
                    "employee_count": "data.employee_count"
                  }
                },
                "set_once": {
                  "map": {
                    "founded": "data.founded_year"
                  }
                }
              }
            }
          }
        },
        "out": [
          [
            "mixpanel.get_group.set",
            "company_id",
            "acme-inc",
            {
              "name": "Acme, Inc.",
              "plan": "enterprise",
              "employee_count": 250
            }
          ],
          [
            "mixpanel.get_group.set_once",
            "company_id",
            "acme-inc",
            {
              "founded": 2010
            }
          ]
        ]
      },
      "consentGrantOptIn": {
        "title": "Consent granted",
        "description": "A walker consent command with analytics granted calls mixpanel.opt_in_tracking to resume event capture.",
        "command": "consent",
        "in": {
          "analytics": true
        },
        "settings": {},
        "out": [
          [
            "mixpanel.opt_in_tracking"
          ]
        ]
      },
      "consentRevokeOptOut": {
        "title": "Consent revoked",
        "description": "A walker consent command with analytics denied calls mixpanel.opt_out_tracking to stop event capture.",
        "command": "consent",
        "before": {
          "analytics": true
        },
        "in": {
          "analytics": false
        },
        "settings": {},
        "out": [
          [
            "mixpanel.opt_in_tracking"
          ],
          [
            "mixpanel.opt_out_tracking"
          ]
        ]
      },
      "defaultEventForwarding": {
        "title": "Default track",
        "description": "A walker event becomes a Mixpanel track call with the event name and empty properties.",
        "in": {
          "name": "product view",
          "data": {
            "id": "ers",
            "name": "Everyday Ruck Snack",
            "color": "black",
            "size": "l",
            "price": 420
          },
          "context": {
            "shopping": [
              "detail",
              0
            ]
          },
          "globals": {
            "pagegroup": "shop"
          },
          "custom": {
            "completely": "random"
          },
          "user": {
            "id": "us3r",
            "device": "c00k13",
            "session": "s3ss10n"
          },
          "nested": [],
          "consent": {
            "functional": true
          },
          "id": "6c51ee73b55dc6b5",
          "trigger": "load",
          "entity": "product",
          "action": "view",
          "timestamp": 1700000100,
          "timing": 3.14,
          "source": {
            "count": 1,
            "trace": "0a1b2c3d4e5f60718293a4b5c6d7e8f9",
            "type": "collector",
            "schema": "4"
          }
        },
        "out": [
          [
            "mixpanel.track",
            "product view",
            {}
          ]
        ]
      },
      "destinationLevelIdentify": {
        "title": "Destination identify",
        "description": "Destination-level identify calls mixpanel.identify with a resolved distinctId before firing the default track.",
        "in": {
          "name": "page view",
          "data": {
            "domain": "www.example.com",
            "title": "walkerOS documentation",
            "referrer": "https://www.walkeros.io/",
            "search": "?foo=bar",
            "hash": "#hash",
            "id": "/docs/"
          },
          "context": {
            "dev": [
              "test",
              1
            ]
          },
          "globals": {
            "pagegroup": "docs"
          },
          "custom": {
            "completely": "random"
          },
          "user": {
            "id": "us3r",
            "device": "c00k13",
            "session": "s3ss10n"
          },
          "nested": [
            {
              "entity": "child",
              "data": {
                "is": "subordinated"
              }
            }
          ],
          "consent": {
            "functional": true
          },
          "id": "4f38d2615ec489ba",
          "trigger": "load",
          "entity": "page",
          "action": "view",
          "timestamp": 1700000104,
          "timing": 3.14,
          "source": {
            "count": 1,
            "trace": "0a1b2c3d4e5f60718293a4b5c6d7e8f9",
            "type": "collector",
            "schema": "4"
          }
        },
        "settings": {
          "identify": {
            "map": {
              "distinctId": "user.id"
            }
          }
        },
        "out": [
          [
            "mixpanel.identify",
            "us3r"
          ],
          [
            "mixpanel.track",
            "page view",
            {}
          ]
        ]
      },
      "destinationLevelInclude": {
        "title": "Include data",
        "description": "Destination-level include flattens the event data section into prefixed Mixpanel track properties.",
        "in": {
          "name": "product view",
          "data": {
            "id": "ers",
            "name": "Everyday Ruck Snack",
            "color": "black",
            "size": "l",
            "price": 420
          },
          "context": {
            "shopping": [
              "detail",
              0
            ]
          },
          "globals": {
            "pagegroup": "shop"
          },
          "custom": {
            "completely": "random"
          },
          "user": {
            "id": "us3r",
            "device": "c00k13",
            "session": "s3ss10n"
          },
          "nested": [],
          "consent": {
            "functional": true
          },
          "id": "439c60924c676a79",
          "trigger": "load",
          "entity": "product",
          "action": "view",
          "timestamp": 1700000102,
          "timing": 3.14,
          "source": {
            "count": 1,
            "trace": "0a1b2c3d4e5f60718293a4b5c6d7e8f9",
            "type": "collector",
            "schema": "4"
          }
        },
        "configInclude": [
          "data"
        ],
        "out": [
          [
            "mixpanel.track",
            "product view",
            {
              "data_id": "ers",
              "data_name": "Everyday Ruck Snack",
              "data_color": "black",
              "data_size": "l",
              "data_price": 420
            }
          ]
        ]
      },
      "profileUpdateAllPeopleOperations": {
        "title": "All people operations",
        "description": "A profile update exercises the full Mixpanel people vocabulary including set, increment, append, union, and remove.",
        "in": {
          "name": "profile update",
          "data": {
            "name": "Jane Doe",
            "email": "jane@acme.com",
            "page": "/docs/getting-started",
            "removed_tag": "trial",
            "source": "referral"
          },
          "context": {
            "dev": [
              "test",
              1
            ]
          },
          "globals": {
            "lang": "elb"
          },
          "custom": {
            "completely": "random"
          },
          "user": {
            "id": "us3r",
            "device": "c00k13",
            "session": "s3ss10n"
          },
          "nested": [
            {
              "entity": "child",
              "data": {
                "is": "subordinated"
              }
            }
          ],
          "consent": {
            "functional": true
          },
          "id": "c69d681951e67a98",
          "trigger": "test",
          "entity": "profile",
          "action": "update",
          "timestamp": 1700000106,
          "timing": 3.14,
          "source": {
            "count": 1,
            "trace": "0a1b2c3d4e5f60718293a4b5c6d7e8f9",
            "type": "collector",
            "schema": "4"
          }
        },
        "mapping": {
          "silent": true,
          "settings": {
            "people": {
              "map": {
                "set": {
                  "map": {
                    "name": "data.name",
                    "email": "data.email"
                  }
                },
                "set_once": {
                  "map": {
                    "signup_source": "data.source"
                  }
                },
                "increment": {
                  "map": {
                    "page_views": {
                      "value": 1
                    }
                  }
                },
                "append": {
                  "map": {
                    "visited_pages": "data.page"
                  }
                },
                "union": {
                  "map": {
                    "unique_tags": {
                      "value": [
                        "active"
                      ]
                    }
                  }
                },
                "remove": {
                  "map": {
                    "tags": "data.removed_tag"
                  }
                },
                "unset": {
                  "value": [
                    "old_plan"
                  ]
                }
              }
            }
          }
        },
        "out": [
          [
            "mixpanel.people.set",
            {
              "name": "Jane Doe",
              "email": "jane@acme.com"
            }
          ],
          [
            "mixpanel.people.set_once",
            {
              "signup_source": "referral"
            }
          ],
          [
            "mixpanel.people.increment",
            {
              "page_views": 1
            }
          ],
          [
            "mixpanel.people.append",
            {
              "visited_pages": "/docs/getting-started"
            }
          ],
          [
            "mixpanel.people.union",
            {
              "unique_tags": [
                "active"
              ]
            }
          ],
          [
            "mixpanel.people.remove",
            {
              "tags": "trial"
            }
          ],
          [
            "mixpanel.people.unset",
            [
              "old_plan"
            ]
          ]
        ]
      },
      "ruleIncludeReplaces": {
        "title": "Rule include overrides",
        "description": "A per-rule include replaces the destination-level include for this event, forwarding only globals here.",
        "in": {
          "name": "order complete",
          "data": {
            "id": "0rd3r1d",
            "currency": "EUR",
            "shipping": 5.22,
            "taxes": 73.76,
            "total": 555
          },
          "context": {
            "shopping": [
              "complete",
              0
            ]
          },
          "globals": {
            "pagegroup": "shop"
          },
          "custom": {
            "completely": "random"
          },
          "user": {
            "id": "us3r",
            "device": "c00k13",
            "session": "s3ss10n"
          },
          "nested": [
            {
              "entity": "product",
              "data": {
                "id": "ers",
                "name": "Everyday Ruck Snack",
                "color": "black",
                "size": "l",
                "price": 420
              },
              "context": {
                "shopping": [
                  "complete",
                  0
                ]
              },
              "nested": []
            },
            {
              "entity": "product",
              "data": {
                "id": "cc",
                "name": "Cool Cap",
                "size": "one size",
                "price": 42
              },
              "context": {
                "shopping": [
                  "complete",
                  0
                ]
              },
              "nested": []
            },
            {
              "entity": "gift",
              "data": {
                "name": "Surprise"
              },
              "context": {
                "shopping": [
                  "complete",
                  0
                ]
              },
              "nested": []
            }
          ],
          "consent": {
            "functional": true
          },
          "id": "660a08d1791bba1f",
          "trigger": "load",
          "entity": "order",
          "action": "complete",
          "timestamp": 1700000103,
          "timing": 3.14,
          "source": {
            "count": 1,
            "trace": "0a1b2c3d4e5f60718293a4b5c6d7e8f9",
            "type": "collector",
            "schema": "4"
          }
        },
        "configInclude": [
          "data"
        ],
        "mapping": {
          "include": [
            "globals"
          ]
        },
        "out": [
          [
            "mixpanel.track",
            "order complete",
            {
              "globals_pagegroup": "shop"
            }
          ]
        ]
      },
      "userGroupAssociation": {
        "title": "Group association",
        "description": "A user login associates the user to a company group via mixpanel.set_group and fires the default track.",
        "in": {
          "name": "user login",
          "data": {
            "user_id": "user-456",
            "company_id": "acme-inc"
          },
          "context": {
            "dev": [
              "test",
              1
            ]
          },
          "globals": {
            "lang": "elb"
          },
          "custom": {
            "completely": "random"
          },
          "user": {
            "id": "us3r",
            "device": "c00k13",
            "session": "s3ss10n"
          },
          "nested": [
            {
              "entity": "child",
              "data": {
                "is": "subordinated"
              }
            }
          ],
          "consent": {
            "functional": true
          },
          "id": "5d7bb5d0d1d0b783",
          "trigger": "test",
          "entity": "user",
          "action": "login",
          "timestamp": 1700000109,
          "timing": 3.14,
          "source": {
            "count": 1,
            "trace": "0a1b2c3d4e5f60718293a4b5c6d7e8f9",
            "type": "collector",
            "schema": "4"
          }
        },
        "mapping": {
          "settings": {
            "group": {
              "map": {
                "key": {
                  "value": "company_id"
                },
                "id": "data.company_id"
              }
            }
          }
        },
        "out": [
          [
            "mixpanel.set_group",
            "company_id",
            "acme-inc"
          ],
          [
            "mixpanel.track",
            "user login",
            {}
          ]
        ]
      },
      "userLoginIdentifyAndPeople": {
        "title": "User login identify",
        "description": "A user login identifies the user and fires Mixpanel people set, set_once, and increment operations.",
        "in": {
          "name": "user login",
          "data": {
            "user_id": "new-user-123",
            "plan": "premium",
            "company": "Acme",
            "email": "user@acme.com"
          },
          "context": {
            "dev": [
              "test",
              1
            ]
          },
          "globals": {
            "lang": "elb"
          },
          "custom": {
            "completely": "random"
          },
          "user": {
            "id": "us3r",
            "device": "c00k13",
            "session": "s3ss10n"
          },
          "nested": [
            {
              "entity": "child",
              "data": {
                "is": "subordinated"
              }
            }
          ],
          "consent": {
            "functional": true
          },
          "id": "6ea76cf6368a0eed",
          "trigger": "test",
          "entity": "user",
          "action": "login",
          "timestamp": 1700000105,
          "timing": 3.14,
          "source": {
            "count": 1,
            "trace": "0a1b2c3d4e5f60718293a4b5c6d7e8f9",
            "type": "collector",
            "schema": "4"
          }
        },
        "mapping": {
          "silent": true,
          "settings": {
            "identify": {
              "map": {
                "distinctId": "data.user_id"
              }
            },
            "people": {
              "map": {
                "set": {
                  "map": {
                    "plan": "data.plan",
                    "company": "data.company",
                    "email": "data.email"
                  }
                },
                "set_once": {
                  "map": {
                    "first_login": "timestamp"
                  }
                },
                "increment": {
                  "map": {
                    "login_count": {
                      "value": 1
                    }
                  }
                }
              }
            }
          }
        },
        "out": [
          [
            "mixpanel.identify",
            "new-user-123"
          ],
          [
            "mixpanel.people.set",
            {
              "plan": "premium",
              "company": "Acme",
              "email": "user@acme.com"
            }
          ],
          [
            "mixpanel.people.set_once",
            {
              "first_login": 1700000105
            }
          ],
          [
            "mixpanel.people.increment",
            {
              "login_count": 1
            }
          ]
        ]
      },
      "userLogoutReset": {
        "title": "User logout reset",
        "description": "A user logout calls mixpanel.reset to clear persistence and generate a new anonymous distinct id.",
        "in": {
          "name": "user logout",
          "data": {
            "string": "foo",
            "number": 1,
            "boolean": true,
            "array": [
              0,
              "text",
              false
            ]
          },
          "context": {
            "dev": [
              "test",
              1
            ]
          },
          "globals": {
            "lang": "elb"
          },
          "custom": {
            "completely": "random"
          },
          "user": {
            "id": "us3r",
            "device": "c00k13",
            "session": "s3ss10n"
          },
          "nested": [
            {
              "entity": "child",
              "data": {
                "is": "subordinated"
              }
            }
          ],
          "consent": {
            "functional": true
          },
          "id": "26c596c85ca93bf6",
          "trigger": "test",
          "entity": "user",
          "action": "logout",
          "timestamp": 1700000108,
          "timing": 3.14,
          "source": {
            "count": 1,
            "trace": "0a1b2c3d4e5f60718293a4b5c6d7e8f9",
            "type": "collector",
            "schema": "4"
          }
        },
        "mapping": {
          "silent": true,
          "settings": {
            "reset": true
          }
        },
        "out": [
          [
            "mixpanel.reset"
          ]
        ]
      },
      "wildcardIgnored": {
        "public": false,
        "in": {
          "name": "debug noise",
          "data": {
            "string": "foo",
            "number": 1,
            "boolean": true,
            "array": [
              0,
              "text",
              false
            ]
          },
          "context": {
            "dev": [
              "test",
              1
            ]
          },
          "globals": {
            "lang": "elb"
          },
          "custom": {
            "completely": "random"
          },
          "user": {
            "id": "us3r",
            "device": "c00k13",
            "session": "s3ss10n"
          },
          "nested": [
            {
              "entity": "child",
              "data": {
                "is": "subordinated"
              }
            }
          ],
          "consent": {
            "functional": true
          },
          "id": "f1807e87360a2468",
          "trigger": "test",
          "entity": "debug",
          "action": "noise",
          "timestamp": 1700000101,
          "timing": 3.14,
          "source": {
            "count": 1,
            "trace": "0a1b2c3d4e5f60718293a4b5c6d7e8f9",
            "type": "collector",
            "schema": "4"
          }
        },
        "mapping": {
          "ignore": true
        },
        "out": []
      }
    }
  }
}