PostHog · Schema
PatchedEnterpriseEventDefinition
Serializer mixin that handles tags for objects.
A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| name | string | |
| owner | integer | |
| description | string | |
| tags | array | |
| created_at | string | |
| updated_at | string | |
| updated_by | object | |
| last_seen_at | string | |
| last_updated_at | string | |
| verified | boolean | |
| verified_at | string | |
| verified_by | object | |
| hidden | boolean | |
| enforcement_mode | object | |
| promoted_property | string | Name of a single property on this event that PostHog UIs should display alongside the event (for example `$pathname` on `$pageview`). When set, surfaces like the session replay inspector show the prop |
| is_action | boolean | |
| action_id | integer | |
| is_calculating | boolean | |
| last_calculated_at | string | |
| created_by | object | |
| post_to_slack | boolean | |
| default_columns | array | |
| media_preview_urls | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/PatchedEnterpriseEventDefinition",
"title": "PatchedEnterpriseEventDefinition",
"type": "object",
"description": "Serializer mixin that handles tags for objects.",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"readOnly": true
},
"name": {
"type": "string",
"maxLength": 400
},
"owner": {
"type": "integer",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"tags": {
"type": "array",
"items": {}
},
"created_at": {
"type": "string",
"format": "date-time",
"readOnly": true,
"nullable": true
},
"updated_at": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"updated_by": {
"allOf": [
{
"$ref": "#/components/schemas/UserBasic"
}
],
"readOnly": true
},
"last_seen_at": {
"type": "string",
"format": "date-time",
"readOnly": true,
"nullable": true
},
"last_updated_at": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"verified": {
"type": "boolean"
},
"verified_at": {
"type": "string",
"format": "date-time",
"readOnly": true,
"nullable": true
},
"verified_by": {
"allOf": [
{
"$ref": "#/components/schemas/UserBasic"
}
],
"readOnly": true
},
"hidden": {
"type": "boolean",
"nullable": true
},
"enforcement_mode": {
"$ref": "#/components/schemas/EnforcementModeEnum"
},
"promoted_property": {
"type": "string",
"nullable": true,
"description": "Name of a single property on this event that PostHog UIs should display alongside the event (for example `$pathname` on `$pageview`). When set, surfaces like the session replay inspector show the property's value next to the event name without the user having to open the event.",
"maxLength": 400
},
"is_action": {
"type": "boolean",
"readOnly": true
},
"action_id": {
"type": "integer",
"readOnly": true
},
"is_calculating": {
"type": "boolean",
"readOnly": true
},
"last_calculated_at": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"created_by": {
"allOf": [
{
"$ref": "#/components/schemas/UserBasic"
}
],
"readOnly": true
},
"post_to_slack": {
"type": "boolean",
"default": false
},
"default_columns": {
"type": "array",
"items": {
"type": "string"
}
},
"media_preview_urls": {
"type": "array",
"items": {
"type": "string"
},
"readOnly": true
}
}
}