Unity · Schema

AnalyticsEvent

Game DevelopmentReal-Time 3DMultiplayerGame ServicesCloud Gaming

Properties

Name Type Description
name string Custom event name (e.g., "game_started", "level_completed")
eventVersion string Version of the event schema
eventTimestamp string ISO 8601 timestamp of when the event occurred
eventUuid string Unique event identifier for deduplication
installationUuid string Unique installation identifier
sessionUuid string Unique session identifier
parameters object Custom event parameters as key-value pairs
userProperties object User-level properties for segmentation
gameStoreVersion string
storeType string
osVersion string
sdkVersion string
userId string Unity player ID if authenticated
View JSON Schema on GitHub

JSON Schema

unity-analyticsevent-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AnalyticsEvent",
  "title": "AnalyticsEvent",
  "type": "object",
  "required": [
    "name",
    "eventVersion",
    "eventTimestamp",
    "eventUuid",
    "installationUuid",
    "sessionUuid"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Custom event name (e.g., \"game_started\", \"level_completed\")"
    },
    "eventVersion": {
      "type": "string",
      "description": "Version of the event schema"
    },
    "eventTimestamp": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp of when the event occurred"
    },
    "eventUuid": {
      "type": "string",
      "format": "uuid",
      "description": "Unique event identifier for deduplication"
    },
    "installationUuid": {
      "type": "string",
      "format": "uuid",
      "description": "Unique installation identifier"
    },
    "sessionUuid": {
      "type": "string",
      "format": "uuid",
      "description": "Unique session identifier"
    },
    "parameters": {
      "type": "object",
      "description": "Custom event parameters as key-value pairs"
    },
    "userProperties": {
      "type": "object",
      "description": "User-level properties for segmentation"
    },
    "gameStoreVersion": {
      "type": "string"
    },
    "storeType": {
      "type": "string"
    },
    "osVersion": {
      "type": "string"
    },
    "sdkVersion": {
      "type": "string"
    },
    "userId": {
      "type": "string",
      "description": "Unity player ID if authenticated"
    }
  }
}