Mixpanel · Schema

TableConfig

AnalyticsData AnalysisEvent TrackingProduct AnalyticsUser Behavior

Properties

Name Type Description
tableName string Full table name (schema.table)
importType string How to import this table's data
eventNameColumn string Column to use as event name (event type only)
distinctIdColumn string Column to use as distinct_id
timeColumn string Column to use as event timestamp
View JSON Schema on GitHub

JSON Schema

mixpanel-tableconfig-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TableConfig",
  "title": "TableConfig",
  "type": "object",
  "required": [
    "tableName",
    "importType"
  ],
  "properties": {
    "tableName": {
      "type": "string",
      "description": "Full table name (schema.table)"
    },
    "importType": {
      "type": "string",
      "enum": [
        "event",
        "user",
        "group",
        "lookup_table"
      ],
      "description": "How to import this table's data"
    },
    "eventNameColumn": {
      "type": "string",
      "description": "Column to use as event name (event type only)"
    },
    "distinctIdColumn": {
      "type": "string",
      "description": "Column to use as distinct_id"
    },
    "timeColumn": {
      "type": "string",
      "description": "Column to use as event timestamp"
    }
  }
}