{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/EnterpriseEventDefinition", "title": "EnterpriseEventDefinition", "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 } }, "required": [ "action_id", "created_at", "created_by", "id", "is_action", "is_calculating", "last_calculated_at", "last_seen_at", "last_updated_at", "media_preview_urls", "name", "updated_at", "updated_by", "verified_at", "verified_by" ] }