{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/gainsight/main/json-schema/gainsight-custom-event-schema.json", "title": "CustomEvent", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/gainsight-custom-events-api-openapi.yml#/components/schemas/CustomEvent", "type": "object", "required": [ "identifyId", "eventName" ], "properties": { "identifyId": { "type": "string", "description": "User identification string" }, "accountId": { "type": "string", "description": "Account identifier" }, "eventName": { "type": "string", "description": "Name of the custom event" }, "date": { "type": "integer", "format": "int64", "description": "Event timestamp in milliseconds" }, "attributes": { "type": "object", "description": "Custom event attributes" }, "url": { "type": "string", "description": "URL where the event occurred" }, "referrer": { "type": "string", "description": "Referrer URL" } } }