Mixpanel · Schema

SchemaDefinition

AnalyticsData AnalysisEvent TrackingProduct AnalyticsUser Behavior

Properties

Name Type Description
entityType string The type of entity this schema describes
name string Name of the event or property
description string Human-readable description
isHidden boolean Whether this schema is hidden in the UI
isDropped boolean Whether events matching this schema should be dropped
properties object Property definitions for this schema
View JSON Schema on GitHub

JSON Schema

mixpanel-schemadefinition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SchemaDefinition",
  "title": "SchemaDefinition",
  "type": "object",
  "properties": {
    "entityType": {
      "type": "string",
      "enum": [
        "event",
        "profile",
        "group",
        "lookup_table"
      ],
      "description": "The type of entity this schema describes"
    },
    "name": {
      "type": "string",
      "description": "Name of the event or property"
    },
    "description": {
      "type": "string",
      "description": "Human-readable description"
    },
    "isHidden": {
      "type": "boolean",
      "description": "Whether this schema is hidden in the UI"
    },
    "isDropped": {
      "type": "boolean",
      "description": "Whether events matching this schema should be dropped"
    },
    "properties": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/components/schemas/PropertySchema"
      },
      "description": "Property definitions for this schema"
    }
  }
}