package v1

type EventSchemaHeader struct {
	EventId    string `json:"event_id"`
	Token      string `json:"token"`
	CreateTime string `json:"create_time"`
	EventType  string `json:"event_type"`
	TenantKey  string `json:"tenant_key"`
	AppId      string `json:"app_id"`
}

type EventSchemaV2 struct {
	Schema string                 `json:"schema"`
	Header EventSchemaHeader      `json:"header"`
	Event  map[string]interface{} `json:"event"`
}

type EventSchemaV1 struct {
	TS    string                 `json:"ts"`
	UUID  string                 `json:"uuid"`
	Event map[string]interface{} `json:"event"`
}
