| (root) | object | Domain event payload with compact field names. The fc, cv, and pv fields contain JSON strings that must be parsed. Their structure depends on the ety (entityType) field: - Asset: See AssetEntity schema - User/Driver: See PersonEntity schema - HierarchyNode: See HierarchyNodeEntity schema - Customer: See CustomerEntity schema | - | - | additional properties are allowed |
| et | string | Event timestamp - when the domain event occurred (ISO 8601 format) | - | format (date-time) | required |
| un | string | Username - the user who made the change | - | - | - |
| cid | string | Customer ID - identifier of the customer owning the entity | - | - | required |
| eid | string | Entity ID - unique identifier of the changed entity | - | - | required |
| en | string | Entity name - human-readable name of the entity (e.g., asset registration, person name) | - | - | - |
| ety | string | Entity type - determines the structure of fc, cv, and pv fields | allowed ("Asset", "User/Driver", "HierarchyNode", "Customer") | - | required |
| ddo | string | Domain data operation: - CREATED: New entity created - UPDATED: Existing entity modified - DELETED: Entity removed - REFRESH: Entity data refreshed (sync) | allowed ("CREATED", "UPDATED", "DELETED", "REFRESH") | - | required |
| ipids | array<string> | Interested party IDs - list of interested party identifiers (omitted if empty) | - | - | - |
| ipids (single item) | string | - | - | - | - |
| iptags | array<string> | Interested party tags - list of interested party tags (omitted if empty) | - | - | - |
| iptags (single item) | string | - | - | - | - |
| fc | string | Field changes - JSON string containing an array of field change objects. Each object has fieldName, previousValue, and currentValue. Present for CREATED and UPDATED operations. See FieldChange schema for structure. | - | - | - |
| cv | string | Current version - JSON string containing the full entity state after the change. The structure depends on the ety field. Null for DELETED operations. See entity schemas (AssetEntity, PersonEntity, etc.). | - | - | - |
| pv | string | Previous version - JSON string containing the full entity state before the change. The structure depends on the ety field. Null for CREATED operations. See entity schemas (AssetEntity, PersonEntity, etc.). | - | - | - |